From: Changyeon Lee Date: Wed, 7 Dec 2016 12:38:12 +0000 (+0900) Subject: e_plane: don't return ture in e_plane_fetch if plane is need to unset commit X-Git-Tag: submit/tizen_3.0/20161209.094517~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F40%2F103640%2F2;p=platform%2Fupstream%2Fenlightenment.git e_plane: don't return ture in e_plane_fetch if plane is need to unset commit - Don't output commit when compositor doens't complete rendering but anthor plane need to unset commit - plane_surface_unset must be commit with plane_surface_set of fb target. Change-Id: Ic689546b900af2aa7152dd2520341b788a3659f0 --- diff --git a/src/bin/e_plane.c b/src/bin/e_plane.c index 10313020b5..d7a6e8f60c 100644 --- a/src/bin/e_plane.c +++ b/src/bin/e_plane.c @@ -731,9 +731,6 @@ e_plane_fetch(E_Plane *plane) if (plane->pending_commit_data) return EINA_FALSE; - if (plane->need_to_unset_commit) - return EINA_TRUE; - if (plane->is_fb && !plane->ec) { /* acquire the surface */ @@ -768,6 +765,9 @@ e_plane_fetch(E_Plane *plane) if (!tsurface) return EINA_FALSE; + if (plane->need_to_unset_commit) + plane->need_to_unset_commit = EINA_FALSE; + e_plane_renderer_previous_surface_set(plane->renderer, plane->tsurface); plane->tsurface = tsurface;