evas: flush cpu pipeline before ector drawing.

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
This commit is contained in:
Subhransu Mohanty 2015-04-03 16:34:11 +02:00 committed by Cedric BAIL
parent 1f62465916
commit 097f46a047
1 changed files with 3 additions and 2 deletions

View File

@ -3609,6 +3609,9 @@ _draw_thread_ector_surface_set(void *data)
unsigned int x = 0;
unsigned int y = 0;
// flush the cpu pipeline before ector drawing.
evas_common_cpu_end_opt();
if (surface)
{
pixels = evas_cache_image_pixels(&surface->cache_entry);
@ -3631,8 +3634,6 @@ _draw_thread_ector_surface_set(void *data)
ector_surface_reference_point_set(x, y));
}
evas_common_cpu_end_opt();
eina_mempool_free(_mp_command_ector_surface, ector_surface);
}