From fc1122490e760336f8c0e21d15fddc9e9d317f12 Mon Sep 17 00:00:00 2001 From: Daekwang Ryu Date: Tue, 24 Apr 2018 15:40:48 +0900 Subject: [PATCH] [Tizen] Add log to check when wl_egl_window_destroy is called This reverts commit 3736803ff998bdf40ed314df2385c4636ee05992. Change-Id: I08f58afb18b5833936ab8d38ee8b90d040f9871b --- .../tizen-wayland/ecore-wl/window-render-surface-ecore-wl.cpp | 3 +++ .../tizen-wayland/ecore-wl2/window-render-surface-ecore-wl2.cpp | 3 +++ 2 files changed, 6 insertions(+) diff --git a/dali/internal/window-system/tizen-wayland/ecore-wl/window-render-surface-ecore-wl.cpp b/dali/internal/window-system/tizen-wayland/ecore-wl/window-render-surface-ecore-wl.cpp index 9e3578d..d0c3a1d 100644 --- a/dali/internal/window-system/tizen-wayland/ecore-wl/window-render-surface-ecore-wl.cpp +++ b/dali/internal/window-system/tizen-wayland/ecore-wl/window-render-surface-ecore-wl.cpp @@ -70,6 +70,7 @@ WindowRenderSurface::~WindowRenderSurface() { if( mEglWindow != NULL ) { + DALI_LOG_RELEASE_INFO("Egl window is destroyed by WindowRenderSurface Destructor\n"); wl_egl_window_destroy(mEglWindow); mEglWindow = NULL; } @@ -200,6 +201,7 @@ void WindowRenderSurface::DestroyEglSurface( EglInterface& eglIf ) if( mEglWindow != NULL ) { + DALI_LOG_RELEASE_INFO("Egl window is destroyed by WindowRenderSurface::DestroyEglSurface()\n"); wl_egl_window_destroy(mEglWindow); mEglWindow = NULL; } @@ -211,6 +213,7 @@ bool WindowRenderSurface::ReplaceEGLSurface( EglInterface& egl ) if( mEglWindow != NULL ) { + DALI_LOG_RELEASE_INFO("Egl window is destroyed by WindowRenderSurface::ReplaceEGLSurface()\n"); wl_egl_window_destroy(mEglWindow); mEglWindow = NULL; } diff --git a/dali/internal/window-system/tizen-wayland/ecore-wl2/window-render-surface-ecore-wl2.cpp b/dali/internal/window-system/tizen-wayland/ecore-wl2/window-render-surface-ecore-wl2.cpp index 0f57675..7e73f07 100644 --- a/dali/internal/window-system/tizen-wayland/ecore-wl2/window-render-surface-ecore-wl2.cpp +++ b/dali/internal/window-system/tizen-wayland/ecore-wl2/window-render-surface-ecore-wl2.cpp @@ -71,6 +71,7 @@ WindowRenderSurface::~WindowRenderSurface() { if( mEglWindow != NULL ) { + DALI_LOG_RELEASE_INFO("Egl window is destroyed by wl2 WindowRenderSurface Destructor\n"); wl_egl_window_destroy(mEglWindow); mEglWindow = NULL; } @@ -201,6 +202,7 @@ void WindowRenderSurface::DestroyEglSurface( EglInterface& eglIf ) if( mEglWindow != NULL ) { + DALI_LOG_RELEASE_INFO("Egl window is destroyed by wl2 WindowRenderSurface::DestroyEglSurface()\n"); wl_egl_window_destroy(mEglWindow); mEglWindow = NULL; } @@ -212,6 +214,7 @@ bool WindowRenderSurface::ReplaceEGLSurface( EglInterface& egl ) if( mEglWindow != NULL ) { + DALI_LOG_RELEASE_INFO("Egl window is destroyed by wl2 WindowRenderSurface::ReplaceEGLSurface()\n"); wl_egl_window_destroy(mEglWindow); mEglWindow = NULL; } -- 2.7.4