e_plane: don't unset plane if plane has pending commit data 29/116429/1 accepted/tizen/3.0/common/20170227.140111 accepted/tizen/3.0/ivi/20170227.043632 accepted/tizen/3.0/mobile/20170227.043447 accepted/tizen/3.0/tv/20170227.043518 accepted/tizen/3.0/wearable/20170227.043605 accepted/tizen/common/20170227.043202 accepted/tizen/ivi/20170227.050438 accepted/tizen/mobile/20170227.050329 accepted/tizen/tv/20170227.050351 accepted/tizen/wearable/20170227.050415 submit/tizen/20170224.113308 submit/tizen_3.0/20170224.112929
authorChangyeon Lee <cyeon.lee@samsung.com>
Fri, 24 Feb 2017 08:32:36 +0000 (17:32 +0900)
committerChangyeon Lee <cyeon.lee@samsung.com>
Fri, 24 Feb 2017 08:37:21 +0000 (17:37 +0900)
Change-Id: I8adc4e3e8cb64be5448fe19472a940569f16bf74

src/bin/e_plane.c

index f7b5f833adc9bd904404c51d7611c82e67e7e584..31602df95d1145ab568f97e38297918eb42639d5 100644 (file)
@@ -799,6 +799,9 @@ e_plane_fetch(E_Plane *plane)
      {
         if (plane->need_unset)
           {
+              if (eina_list_count(plane->pending_commit_data_list))
+                 return EINA_FALSE;
+
               plane->tsurface = NULL;
 
               /* set plane info and set tsurface to the plane */