Added surface_vblanks list for safe destroy. 48/258548/1
authorJoonbum Ko <joonbum.ko@samsung.com>
Mon, 17 May 2021 07:23:49 +0000 (16:23 +0900)
committerJoonbum Ko <joonbum.ko@samsung.com>
Thu, 20 May 2021 05:36:57 +0000 (14:36 +0900)
commit4d622ed273db503b8eec82435aee9f73bcc248a7
tree3735a87682063d22077d62a1abb1d92b8e6f9d4c
parentdb90e71f23b23d30bbea125d2789ae7dde7c083b
Added surface_vblanks list for safe destroy.

 - If an error occurs in tdm_client_display,
  it is a problem that cannot be recovered,
  but it should not affect rendering.
 - In this case, destroy tdm_client and stop using wait_vblank.
 - However, a problem occurs when accessing vblank after tdm_client_destroy.
 - Therefore, the created vblanks must be destroyed first and then
  destroy the tdm_client.
 - The added surface_vblanks list is to trace the created vblanks.

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