e_hwc_window_queue: add log when backup buffer is created 67/269567/2
authorChangyeon Lee <cyeon.lee@samsung.com>
Tue, 18 Jan 2022 08:05:58 +0000 (17:05 +0900)
committerchangyeon lee <cyeon.lee@samsung.com>
Tue, 18 Jan 2022 09:03:46 +0000 (09:03 +0000)
Change-Id: If4317899ea7fcd990d683b4849ba70bf23181cc4

src/bin/e_hwc_window_queue.c

index b9c2eef5a444d0e1431aa0bf739b66df6a370f03..7600390b19248d714999cba2475c51994c474d30 100644 (file)
@@ -193,6 +193,9 @@ _backup_tsurface_create(tbm_surface_h tsurface)
         return NULL;
      }
 
+   EHWQINF("Backup buffer create w:%d h:%d fmt:%c%c%c%c", NULL, NULL, NULL,
+           src_info.width, src_info.height, EHW_FOURCC_STR(src_info.format));
+
    /* get the buffer from e20 module first, if no buffer from e20 module, then create the tbm_surface here. */
    new_tsurface = e_comp_wl_tbm_egl_image_buffer_get(src_info.width, src_info.height, src_info.format);
    if (!new_tsurface)
@@ -206,6 +209,8 @@ _backup_tsurface_create(tbm_surface_h tsurface)
           }
    }
 
+   EHWQINF("Backup buffer create done tsurface:%p", NULL, NULL, NULL, new_tsurface);
+
    ret = tbm_surface_map(new_tsurface, TBM_SURF_OPTION_WRITE, &dst_info);
    if (ret != TBM_SURFACE_ERROR_NONE)
      {