e_policy: force render for uniconified client having unused shm buffer 46/91246/3
authorMinJeong Kim <minjjj.kim@samsung.com>
Thu, 6 Oct 2016 10:49:27 +0000 (19:49 +0900)
committerMinJeong Kim <minjjj.kim@samsung.com>
Thu, 6 Oct 2016 12:40:07 +0000 (21:40 +0900)
commit8a993d65c5f617c38cf638d832c3362c61db02e1
treec78c18efee2813190a5b6de722d132ff7d1460c5
parentf2f0c2c5c24b54210b23487702623d0eb96eab52
e_policy: force render for uniconified client having unused shm buffer

 If there are clients not supporting iconify state change events, those
clients can request wl_surface@commit anytime after being iconfied. but
wl_surface@commit for iconified clients having shm buffer doesn't affect to
its comp object rendering because the comp object is invisible.
 And even if the client is uniconified, it can be never composited if the client
doesn't send new wl_surface@attach.
 So, wl_callback@done is never sent to client as well, and it's possible to
cause block of client-side rendering.

 To resolve the problem, we need to do force render for uniconified client
having unused shm buffer.

Change-Id: I9d227c3a27b5cdaa1b773a174e772f01ed338886
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
src/bin/e_policy.c
src/bin/e_policy_wl.c
src/bin/e_policy_wl.h