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:40:01 +0000 (00:40 +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 bf8a32e42b290e69c1d92fdc490fbd94f77ccf91..766fa44a6d69b8ea5d9573d6f3fcef1028f60cfd 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);