wl_egl: queue resize will be run in thread 04/304504/4
authorJoonbum Ko <joonbum.ko@samsung.com>
Wed, 17 Jan 2024 04:40:11 +0000 (13:40 +0900)
committerJoonbum Ko <joonbum.ko@samsung.com>
Thu, 18 Jan 2024 11:08:10 +0000 (20:08 +0900)
commitd54ab12e2a3702e3dc1e9ec1f0cd58834a74e5e4
tree87bc17f393843a70855da9f672ba7b2ae5d33a5d
parentb33eab5a410b1a965aaea2fd657582b84ca7b41a
wl_egl: queue resize will be run in thread

 AS-IS
  - In an arbitrary thread where wl_egl_window_resize called,
  if the reisze callback is called inside it,
  and reset the tbm_surface_queue to the requested size.
 PROBLEMS
  - It is difficult to protect against all cases of resizing at
  unpredictable times.
 TO-BE
  - All resets of the tbm_surface_queue are performed only in
  wl-egl-thread.

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