From 15646fe045c7a9ea882eb16a7abd05e2ec629d58 Mon Sep 17 00:00:00 2001 From: Gwanglim Lee Date: Thu, 17 Aug 2017 14:11:26 +0900 Subject: [PATCH] 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 --- src/bin/e_comp_wl_rsm.c | 6 ------ 1 file changed, 6 deletions(-) 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 -- 2.7.4