From: Gwanglim Lee Date: Thu, 17 Aug 2017 05:11:26 +0000 (+0900) Subject: remote_surface: do not set null buffer commit while changing the buffer for the H... X-Git-Tag: submit/tizen/20170824.044450~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F04%2F144504%2F2;p=platform%2Fupstream%2Fenlightenment.git remote_surface: do not set null buffer commit while changing the buffer for the H/W plane It prevents blinking black screen problem caused by null buffer commit while unbinding remote surface. Change-Id: I3623ec07362156d5bdf59332bc1dc496871f3e6e --- diff --git a/src/bin/e_comp_wl_rsm.c b/src/bin/e_comp_wl_rsm.c index 5d1ba8c..a4d1bd2 100644 --- a/src/bin/e_comp_wl_rsm.c +++ b/src/bin/e_comp_wl_rsm.c @@ -741,15 +741,9 @@ _remote_surface_bind_client(E_Comp_Wl_Remote_Surface *remote_surface, E_Client * NULL, NULL, "SURFACE", remote_surface, remote_surface->bind_ec); - /* do NULL buffer commit for binded ec */ - _e_comp_wl_remote_surface_state_buffer_set(&remote_surface->bind_ec->comp_data->pending, NULL); - remote_surface->bind_ec->comp_data->pending.sx = 0; remote_surface->bind_ec->comp_data->pending.sy = 0; remote_surface->bind_ec->comp_data->pending.new_attach = EINA_TRUE; - - e_comp_wl_surface_commit(remote_surface->bind_ec); - remote_surface->bind_ec = NULL; /* try to send latest buffer of the provider to the consumer when unbinding