elm glview - evas sync before rendering with always draw to sync right
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>
Fri, 10 Jan 2014 15:40:01 +0000 (00:40 +0900)
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>
Fri, 10 Jan 2014 15:42:07 +0000 (00:42 +0900)
async rendering clashes with the idle enterer glview uses to draw with
always render mode - sync first and there is no problem.

src/lib/elm_glview.c

index 8ac4cc2d02f17cedf975b6f2abe0d7c3911befc5..cd01a00b8d4e6a78863f7afb6b2e577aaff03e49 100644 (file)
@@ -138,6 +138,8 @@ _render_cb(void *obj)
         sd->resized = EINA_FALSE;
      }
 
+   if (sd->render_policy == ELM_GLVIEW_RENDER_POLICY_ALWAYS)
+     evas_sync(evas_object_evas_get(obj));
    // Call the render function
    if (sd->render_func) sd->render_func(obj);