evas: force cpu end opt when switching to Cairo rendering.
authorCedric BAIL <cedric@osg.samsung.com>
Fri, 3 Apr 2015 14:34:09 +0000 (16:34 +0200)
committerCedric BAIL <cedric@osg.samsung.com>
Fri, 3 Apr 2015 14:34:09 +0000 (16:34 +0200)
src/modules/evas/engines/software_generic/evas_engine.c

index 88475d6504542ad4ebab88f24d66a11e02d12de4..bf711334f0ffaed0c7e15ecfa46961431a4a1b3c 100644 (file)
@@ -5070,6 +5070,8 @@ _ector_cairo_software_surface_surface_set(Eo *obj, Ector_Cairo_Software_Surface_
    pd->height = height;
 
  end:
+   evas_common_cpu_end_opt();
+
    eo_do(obj, ector_cairo_surface_context_set(pd->ctx));
 }