e_hwc_window: handle invalid case of releasing the usable queue buffer 56/286356/1 accepted/tizen/unified/20230106.165048
authorChangyeon Lee <cyeon.lee@samsung.com>
Wed, 4 Jan 2023 09:03:07 +0000 (18:03 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Wed, 4 Jan 2023 10:59:05 +0000 (19:59 +0900)
commite4e4e59272951be3b6bfbe2e72da12d6641cd47a
tree9d2421c55d4e716111de6503f53e62cf8f817f8f
parentf2b388e55f7220d9521b4b3dbe245806e2871f28
e_hwc_window: handle invalid case of releasing the usable queue buffer

if client attach general buffer after the queue buffer is attached,
the usable queue buffer is released and client can not get the queue buffer
for next frame.
it is invalid sequence of client rendering but we should handle this case.
add checking the usable queue buffer is relased and unset queue of ec.

Change-Id: I31ae261974fb3b4d76bf40cfcfbb02d22dd6b36d
src/bin/e_hwc_window_queue.c