From: SooChan Lim Date: Fri, 9 Jun 2017 07:50:44 +0000 (+0900) Subject: e_plane: clear the pixmap of the ec at e_plane_commit X-Git-Tag: submit/tizen/20170612.102910^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bc601811a74d692c1f3dbde65ecb9c66de5670d4;p=platform%2Fupstream%2Fenlightenment.git 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 --- 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; } }