- If activate-> deactivate-> activate occurs between
tpl_surface_dequeue <-> tpl_surface_dequeue, a new dequeue is needed.
Change-Id: Ie76f8f0ccd3e7aac6b912f6e9bd4dd90eea9b121
Signed-off-by: Joonbum Ko <joonbum.ko@samsung.com>
* it will return that frontbuffer if it is still activated,
* otherwise dequeue the new buffer after initializing
* surface->frontbuffer to NULL. */
- if (is_activated) {
+ if (is_activated && !wayland_egl_surface->reset) {
TPL_LOG_B("WL_EGL",
"[DEQ][F] surface->frontbuffer(%p) BO_NAME(%d)",
surface->frontbuffer,
* it will return that frontbuffer if it is still activated,
* otherwise dequeue the new buffer after initializing
* surface->frontbuffer to NULL. */
- if (is_activated) {
+ if (is_activated && !wayland_egl_surface->reset) {
TPL_LOG_T("WL_EGL",
"[DEQ][F] surface->frontbuffer(%p) BO_NAME(%d)",
surface->frontbuffer,