Enqueued tbm_surface is needed to unref when surface's finalize is called 88/298988/6
authorjinbong, Lee <jinbong.lee@samsung.com>
Mon, 18 Sep 2023 06:19:41 +0000 (15:19 +0900)
committerjinbong, Lee <jinbong.lee@samsung.com>
Mon, 18 Sep 2023 11:14:17 +0000 (20:14 +0900)
commit24bd311a2e3e019d4797f27eac800630ee8026db
tree222cc04eae29b6cb58e879c5d2ebca7c25e7b91a
parentdd301a71effb57c7828f8a10e6e10b30a3631cd8
Enqueued tbm_surface is needed to unref when surface's finalize is called

 - If main thread called __tpl_wl_egl_surface_fini(),
   then sometimes enqueued buffer can be remained before acquire.
   so in that case tbm_surface must be unreferenced.

Change-Id: I3482feca808deec9c238d5ca32ee46c9ebeec401
src/tpl_wl_egl_thread.c