tpl_wayland_egl: Modified to track committed wl_buffer using global list. 03/185003/1
authorJoonbum Ko <joonbum.ko@samsung.com>
Wed, 25 Jul 2018 06:40:09 +0000 (15:40 +0900)
committerJoonbum Ko <joonbum.ko@samsung.com>
Wed, 25 Jul 2018 06:40:12 +0000 (15:40 +0900)
commit5bedc776b5d4187eca392ee48b6c6badec849d9a
tree2e47042591ffcae80c701655372e8e06a0c4e4db
parenta39d57611f9f64dcda6efe72fa6ed4ba54107f2e
tpl_wayland_egl: Modified to track committed wl_buffer using global list.

 - If more than one release event is processed for only once committed wl_buffer,
  the tbm_surface that should not be destroyed can be destroyed.
 - Save wl_buffer during from wl_surface_commit to wl_buffer_release to a global list
  called committed_wl_buffers to filter out unwanted release events.

 [The cases of the problem]
  1. Multi-surfaces client.
  2. client want to render in iconified status.

Change-Id: I09ea2f0ba26b7066695971238d9bed003443e9e4
Signed-off-by: Joonbum Ko <joonbum.ko@samsung.com>
src/tpl_wayland_egl.c