Modified the new buffer allocation in the RESET situation 32/268432/1
authorJoonbum Ko <joonbum.ko@samsung.com>
Wed, 22 Dec 2021 05:45:09 +0000 (14:45 +0900)
committerJoonbum Ko <joonbum.ko@samsung.com>
Thu, 23 Dec 2021 01:38:56 +0000 (10:38 +0900)
commit3551e544287916a3763251a6051da72f88d7d5ee
treed5d17685a1dad82088b301152d09c1e5a107e891
parentc1cdbcc95fba4b3520fb852a911011d3ce7eb439
Modified the new buffer allocation in the RESET situation

As-Is :
 - If the tbm_surface_queue_reset occurs more frequently
  than VBLANK (16ms), there is a problem that the new tbm_surface
  continues to be allocated.

To-Be :
 - If there is a dequeue buffer before the RESET occurs,
  the new buffer will be allocated after waiting for
  dequeued buffer to be commit.

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