[Tizen] Print infomation if we create eglSurface from Native if need 17/317617/1 accepted/tizen/9.0/unified/20250106.164718
authorEunki Hong <eunkiki.hong@samsung.com>
Thu, 2 Jan 2025 15:01:56 +0000 (00:01 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Mon, 6 Jan 2025 04:09:40 +0000 (13:09 +0900)
Change-Id: I8c45c8e228b8ba9afdf3e4606a012309081db8a4
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
dali/internal/graphics/gles/egl-implementation.cpp

index 3e5b4c6adb617619c7776b0e5f540100b35c41e7..7770232593db241ec5f0bfd82e7df5342ba01e08 100644 (file)
@@ -781,7 +781,8 @@ EGLSurface EglImplementation::CreateSurfaceWindow(EGLNativeWindowType window, Co
 
   {
     DALI_TRACE_BEGIN_WITH_MESSAGE_GENERATOR(gTraceFilter, "DALI_EGL_CREATE_SURFACE", [&](std::ostringstream& oss) {
-      oss << "[display:" << mEglDisplay << "]";
+      oss << "[display:" << mEglDisplay << ",";
+      oss << "native:" << mEglNativeDisplay << "]";
     });
     DALI_TIME_CHECKER_SCOPE(gTimeCheckerFilter, "eglCreateWindowSurface");
     mCurrentEglSurface = eglCreateWindowSurface(mEglDisplay, mEglConfig, mEglNativeWindow, NULL);
@@ -808,7 +809,8 @@ EGLSurface EglImplementation::CreateSurfacePixmap(EGLNativePixmapType pixmap, Co
 
   {
     DALI_TRACE_BEGIN_WITH_MESSAGE_GENERATOR(gTraceFilter, "DALI_EGL_CREATE_SURFACE", [&](std::ostringstream& oss) {
-      oss << "[display:" << mEglDisplay << "]";
+      oss << "[display:" << mEglDisplay << ",";
+      oss << "native:" << mCurrentEglNativePixmap << "]";
     });
     DALI_TIME_CHECKER_SCOPE(gTimeCheckerFilter, "eglCreatePixmapSurface");
     mCurrentEglSurface = eglCreatePixmapSurface(mEglDisplay, mEglConfig, mCurrentEglNativePixmap, NULL);