added hw composite end condition
authorJuyeon Lee <juyeonne.lee@samsung.com>
Wed, 8 Jun 2016 13:02:40 +0000 (22:02 +0900)
committerJuyeon Lee <juyeonne.lee@samsung.com>
Fri, 10 Jun 2016 02:14:04 +0000 (11:14 +0900)
Change-Id: If6612b1c2c5902ef674372c9e3a210414d65adb4

src/bin/e_comp.c
src/bin/e_pointer.c

index b57a4874fcbbd2fa47db5493d7ffd74a4a8be250..77bfdf8a176c60ede48ed302a2076481f60759bb 100644 (file)
@@ -1717,7 +1717,14 @@ E_API void
 e_comp_override_add()
 {
    e_comp->hwc_override++;
-   if ((e_comp->hwc_override > 0) && (e_comp->nocomp)) e_comp_nocomp_end(__FUNCTION__);
+   if ((e_comp->hwc_override > 0) && (e_comp->nocomp))
+     {
+#ifdef MULTI_PLANE_HWC
+        _e_comp_hwc_end(__FUNCTION__);
+#else
+        e_comp_nocomp_end(__FUNCTION__);
+#endif // end of MULTI_PLANE_HWC
+     }
 }
 
 E_API E_Comp *
index d03eaba9906fa360ea6e0a3b1b59ed5fda69108f..0876291c9350b2f562c6b13299127a6f176bdfc6 100644 (file)
@@ -718,7 +718,11 @@ e_pointer_object_set(E_Pointer *ptr, Evas_Object *obj, int x, int y)
              ecore_evas_object_cursor_set(ptr->ee, obj, E_LAYER_MAX - 1, x, y);
              if (e_pointer_is_hidden(ptr))
                {
-                 e_comp_nocomp_end("re_cursor_set");
+#ifdef MULTI_PLANE_HWC
+                  _e_comp_hwc_end("re_cursor_set");
+#else
+                  e_comp_nocomp_end("re_cursor_set");
+#endif // end of MULTI_PLANE_HWC
                }
              return;
           }
@@ -740,7 +744,11 @@ e_pointer_object_set(E_Pointer *ptr, Evas_Object *obj, int x, int y)
 
    if (e_pointer_is_hidden(ptr))
      {
+#ifdef MULTI_PLANE_HWC
+       _e_comp_hwc_end("cursor_set");
+#else
        e_comp_nocomp_end("cursor_set");
+#endif // end of MULTI_PLANE_HWC
      }
 }