tpl_wayland_egl_thread: Added a list of in_use_buffers to keep track of the buffers... 10/135010/4
authorjoonbum.ko <joonbum.ko@samsung.com>
Fri, 12 May 2017 08:08:28 +0000 (17:08 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Thu, 22 Jun 2017 08:51:21 +0000 (08:51 +0000)
commit13b0520c5c0ceee519fafc1f21cf7c26f79fd91d
treea5ceae8e9d41da72e79ef3ec446a37bedb7f31e9
parent169a3a59d1d69d98c1fc3194b5e81ec726a4a6a0
tpl_wayland_egl_thread: Added a list of in_use_buffers to keep track of the buffers in use.

 - When twe_surface_del is called, if the surface is deleted even though the DDK still has a buffer,
  it can cause problems at commit time.
 - Tracking the buffers in use can solve the problem by waiting for the surface to be deleted unitl it is finished.

Change-Id: If01bd98d409c5f94b956fcfc3ac20d26ca50df55
Signed-off-by: joonbum.ko <joonbum.ko@samsung.com>
src/tpl_wayland_egl_thread.c