Remove wl_egl_buffer from vblank list when it freed. 38/268438/1
authorJoonbum Ko <joonbum.ko@samsung.com>
Wed, 22 Dec 2021 08:16:12 +0000 (17:16 +0900)
committerJoonbum Ko <joonbum.ko@samsung.com>
Thu, 23 Dec 2021 01:37:29 +0000 (10:37 +0900)
commit2b08fb080e648c8a4457d9ffe4329b743f34a38c
tree610f88fd088e5391484fed11b212b8f646811104
parent155d233eb92548790b0625a6c7d6db9cfb15f664
Remove wl_egl_buffer from vblank list when it freed.

 - If the wl_egl_buffer is forcibly free from the buffer_clear(),
  the invalid wl_egl_buffer remains in vblank->waiting_buffers.
 - This invalid pointer should be removed from the list
  when wl_egl_buffer free.

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