no calling render function when output transformed 42/145642/1
authorBoram Park <boram1288.park@samsung.com>
Wed, 23 Aug 2017 06:59:19 +0000 (15:59 +0900)
committerBoram Park <boram1288.park@samsung.com>
Wed, 23 Aug 2017 07:19:23 +0000 (16:19 +0900)
If manual_render is set, client shouldn't render objects without app's
request.

Change-Id: I166ae9051a004883075fe0aabfaa930d6a2b3a0d

src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c

index 1e661b1..9cf821d 100755 (executable)
@@ -517,7 +517,9 @@ _ecore_evas_wl_common_cb_output_transform(void *data, int type EINA_UNUSED, void
 
    _ecore_evas_wl_common_rotate_update(ee);
    evas_damage_rectangle_add(ee->evas, 0, 0, ee->w, ee->h);
-   _ecore_evas_wl_common_render(ee);
+
+   if (!ee->manual_render)
+     _ecore_evas_wl_common_render(ee);
 
    return ECORE_CALLBACK_PASS_ON;
 }
@@ -531,7 +533,9 @@ _ecore_evas_wl_common_cb_ignore_output_transform(void *data, int type EINA_UNUSE
 
    _ecore_evas_wl_common_rotate_update(ee);
    evas_damage_rectangle_add(ee->evas, 0, 0, ee->w, ee->h);
-   _ecore_evas_wl_common_render(ee);
+
+   if (!ee->manual_render)
+     _ecore_evas_wl_common_render(ee);
 
    return ECORE_CALLBACK_PASS_ON;
 }