tpl_wayland_egl_thread: Implemented the management of the committed_buffers list... 72/161972/2
authorjoonbum.ko <joonbum.ko@samsung.com>
Thu, 19 Oct 2017 08:08:47 +0000 (17:08 +0900)
committerjoonbum.ko <joonbum.ko@samsung.com>
Tue, 28 Nov 2017 10:49:03 +0000 (19:49 +0900)
Change-Id: Ic59e7c5b820f3d017da020644766e0c187cdd110
Signed-off-by: joonbum.ko <joonbum.ko@samsung.com>
src/tpl_wayland_egl_thread.c

index 00b450a..9acfe83 100644 (file)
@@ -1661,6 +1661,10 @@ _twe_thread_wl_vk_surface_commit(twe_wl_surf_source *surf_source,
                if (_twe_surface_wait_vblank(surf_source) != TPL_ERROR_NONE)
                        TPL_ERR("Failed to set wait vblank");
        }
+
+       if (surf_source->committed_buffers) {
+               __tpl_list_push_back(surf_source->committed_buffers, tbm_surface);
+       }
 }
 
 static void