evas: fix switch from MMX to FPU.
authorCedric BAIL <cedric@osg.samsung.com>
Fri, 3 Apr 2015 14:31:07 +0000 (16:31 +0200)
committerCedric BAIL <cedric@osg.samsung.com>
Fri, 3 Apr 2015 14:31:07 +0000 (16:31 +0200)
src/modules/evas/engines/software_generic/evas_engine.c

index 1613087..bd40f6d 100644 (file)
@@ -3606,6 +3606,8 @@ _draw_thread_ector_surface_set(void *data)
    eo_do(_software_ector,
          ector_cairo_software_surface_set(pixels, w, h));
 
+   evas_common_cpu_end_opt();
+
    eina_mempool_free(_mp_command_ector_surface, ector_surface);
 }
 
@@ -3656,6 +3658,8 @@ eng_ector_end(void *data EINA_UNUSED, void *context EINA_UNUSED, void *surface E
    else
      {
         eo_do(_software_ector, ector_cairo_software_surface_set(NULL, 0, 0));
+
+        evas_common_cpu_end_opt();
      }
 }