remote_surface: do not set null buffer commit while changing the buffer for the H... 04/144504/2
authorGwanglim Lee <gl77.lee@samsung.com>
Thu, 17 Aug 2017 05:11:26 +0000 (14:11 +0900)
committerDoyoun Kang <doyoun.kang@samsung.com>
Thu, 17 Aug 2017 05:21:50 +0000 (05:21 +0000)
It prevents blinking black screen problem caused by null buffer commit
while unbinding remote surface.

Change-Id: I3623ec07362156d5bdf59332bc1dc496871f3e6e

src/bin/e_comp_wl_rsm.c

index 5d1ba8c..a4d1bd2 100644 (file)
@@ -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