From f3fc65c310e70437700b1ee3077f0b172410e034 Mon Sep 17 00:00:00 2001 From: "joonbum.ko" Date: Thu, 19 Oct 2017 17:08:47 +0900 Subject: [PATCH] tpl_wayland_egl_thread: Implemented the management of the committed_buffers list in vulkan_wsi backend. Change-Id: Ic59e7c5b820f3d017da020644766e0c187cdd110 Signed-off-by: joonbum.ko --- src/tpl_wayland_egl_thread.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/tpl_wayland_egl_thread.c b/src/tpl_wayland_egl_thread.c index 00b450a..9acfe83 100644 --- a/src/tpl_wayland_egl_thread.c +++ b/src/tpl_wayland_egl_thread.c @@ -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 -- 2.7.4