summaryrefslogtreecommitdiff
path: root/src/modules/evas/engines/software_generic/evas_engine.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/evas/engines/software_generic/evas_engine.c')
-rw-r--r--src/modules/evas/engines/software_generic/evas_engine.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/evas/engines/software_generic/evas_engine.c b/src/modules/evas/engines/software_generic/evas_engine.c
index 085f053..33c56b1 100644
--- a/src/modules/evas/engines/software_generic/evas_engine.c
+++ b/src/modules/evas/engines/software_generic/evas_engine.c
@@ -4466,7 +4466,7 @@ _draw_thread_ector_surface_set(void *data)
4466static void 4466static void
4467eng_ector_begin(void *engine EINA_UNUSED, void *surface, 4467eng_ector_begin(void *engine EINA_UNUSED, void *surface,
4468 void *context EINA_UNUSED, Ector_Surface *ector, 4468 void *context EINA_UNUSED, Ector_Surface *ector,
4469 int x, int y, Eina_Bool clear, Eina_Bool do_async) 4469 int x, int y, Eina_Bool do_async)
4470{ 4470{
4471 if (do_async) 4471 if (do_async)
4472 { 4472 {
@@ -4479,7 +4479,6 @@ eng_ector_begin(void *engine EINA_UNUSED, void *surface,
4479 nes->pixels = surface; 4479 nes->pixels = surface;
4480 nes->x = x; 4480 nes->x = x;
4481 nes->y = y; 4481 nes->y = y;
4482 nes->clear = clear;
4483 4482
4484 QCMD(_draw_thread_ector_surface_set, nes); 4483 QCMD(_draw_thread_ector_surface_set, nes);
4485 } 4484 }
@@ -4494,7 +4493,7 @@ eng_ector_begin(void *engine EINA_UNUSED, void *surface,
4494 w = sf->cache_entry.w; 4493 w = sf->cache_entry.w;
4495 h = sf->cache_entry.h; 4494 h = sf->cache_entry.h;
4496 // clear the surface before giving to ector 4495 // clear the surface before giving to ector
4497 if (clear) memset(pixels, 0, (w * h * 4)); 4496 memset(pixels, 0, (w * h * 4));
4498 4497
4499 ector_buffer_pixels_set(ector, pixels, w, h, 0, EFL_GFX_COLORSPACE_ARGB8888, EINA_TRUE); 4498 ector_buffer_pixels_set(ector, pixels, w, h, 0, EFL_GFX_COLORSPACE_ARGB8888, EINA_TRUE);
4500 ector_surface_reference_point_set(ector, x, y); 4499 ector_surface_reference_point_set(ector, x, y);
@@ -4545,6 +4544,7 @@ _gfx_filter_func_get(Evas_Filter_Command *cmd)
4545 case EVAS_FILTER_MODE_MASK: func = eng_filter_mask_func_get(cmd); break; 4544 case EVAS_FILTER_MODE_MASK: func = eng_filter_mask_func_get(cmd); break;
4546 case EVAS_FILTER_MODE_TRANSFORM: func = eng_filter_transform_func_get(cmd); break; 4545 case EVAS_FILTER_MODE_TRANSFORM: func = eng_filter_transform_func_get(cmd); break;
4547 case EVAS_FILTER_MODE_GRAYSCALE: func = eng_filter_grayscale_func_get(cmd); break; 4546 case EVAS_FILTER_MODE_GRAYSCALE: func = eng_filter_grayscale_func_get(cmd); break;
4547 case EVAS_FILTER_MODE_INVERSE_COLOR: func = eng_filter_inverse_color_func_get(cmd); break;
4548 default: return NULL; 4548 default: return NULL;
4549 } 4549 }
4550 4550