From bc601811a74d692c1f3dbde65ecb9c66de5670d4 Mon Sep 17 00:00:00 2001 From: SooChan Lim Date: Fri, 9 Jun 2017 16:50:44 +0900 Subject: [PATCH] e_plane: clear the pixmap of the ec at e_plane_commit move the e_pixmap_image_clear from e_plane_commit_data_aquire to e_plane_commit when the comp is nocomp mode. Change-Id: I1c0840744182bb753911bf6f2ceccd39b5c6d291 --- src/bin/e_plane.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/bin/e_plane.c b/src/bin/e_plane.c index 8e2f5deb8e..d92432bc4b 100644 --- a/src/bin/e_plane.c +++ b/src/bin/e_plane.c @@ -955,6 +955,10 @@ e_plane_commit(E_Plane *plane) return EINA_FALSE; } + /* send frame event enlightenment dosen't send frame evnet in nocomp */ + if (plane->ec) + e_pixmap_image_clear(plane->ec->pixmap, 1); + plane->pending_commit = EINA_TRUE; return EINA_TRUE; @@ -1012,8 +1016,6 @@ e_plane_commit_data_aquire(E_Plane *plane) /* set the update_exist to be false */ e_plane_renderer_update_exist_set(plane->renderer, EINA_FALSE); - /* send frame event enlightenment dosen't send frame evnet in nocomp */ - e_pixmap_image_clear(plane->ec->pixmap, 1); return data; } } -- 2.34.1