aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/evas/engines/software_generic/evas_engine.c
diff options
context:
space:
mode:
authorFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2015-11-01 21:57:43 -0200
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2015-11-01 21:57:43 -0200
commitfa88a2337f4c1ed74dbe5f8e9b8ab9e80aa94215 (patch)
tree289d1f0e30abe7aeb9100ab9ed3e3a755d1c18b7 /src/modules/evas/engines/software_generic/evas_engine.c
parentEo do: use the __thread directive when available to manage call stack. (diff)
downloadefl-devs/felipealmeida/eo_optimisations.tar.gz
Eo: Partial implementation to remove eo_dodevs/felipealmeida/eo_optimisations
Diffstat (limited to 'src/modules/evas/engines/software_generic/evas_engine.c')
-rw-r--r--src/modules/evas/engines/software_generic/evas_engine.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/modules/evas/engines/software_generic/evas_engine.c b/src/modules/evas/engines/software_generic/evas_engine.c
index d9b8956c99..4ea11f6feb 100644
--- a/src/modules/evas/engines/software_generic/evas_engine.c
+++ b/src/modules/evas/engines/software_generic/evas_engine.c
@@ -3679,12 +3679,12 @@ eng_ector_create(void *data EINA_UNUSED)
ector_backend = getenv("ECTOR_BACKEND");
if (ector_backend && !strcasecmp(ector_backend, "default"))
{
- ector = eo_add(ECTOR_SOFTWARE_SURFACE_CLASS, NULL);
+ eo_add(ector, ECTOR_SOFTWARE_SURFACE_CLASS, NULL);
use_cairo = EINA_FALSE;
}
else
{
- ector = eo_add(ECTOR_CAIRO_SOFTWARE_SURFACE_CLASS, NULL);
+ eo_add(ector, ECTOR_CAIRO_SOFTWARE_SURFACE_CLASS, NULL);
use_cairo = EINA_TRUE;
}
return ector;
@@ -3729,7 +3729,7 @@ _draw_thread_ector_draw(void *data)
Evas_Thread_Command_Ector *ector = data;
eo_do(ector->r,
- ector_renderer_draw(ector->render_op,
+ ector_renderer_draw(ector->r, ector->render_op,
ector->clips,
ector->mul_col));
@@ -3848,14 +3848,14 @@ _draw_thread_ector_surface_set(void *data)
if (use_cairo)
{
eo_do(ector_surface->ector,
- ector_cairo_software_surface_set(pixels, w, h),
- ector_surface_reference_point_set(x, y));
+ ector_cairo_software_surface_set(ector_surface->ector, pixels, w, h),
+ ector_surface_reference_point_set(ector_surface->ector, x, y));
}
else
{
eo_do(ector_surface->ector,
- ector_software_surface_set(pixels, w, h),
- ector_surface_reference_point_set(x, y));
+ ector_software_surface_set(ector_surface->ector, pixels, w, h),
+ ector_surface_reference_point_set(ector_surface->ector, x, y));
}
eina_mempool_free(_mp_command_ector_surface, ector_surface);
@@ -3892,14 +3892,14 @@ eng_ector_begin(void *data EINA_UNUSED, void *context EINA_UNUSED, Ector_Surface
if (use_cairo)
{
eo_do(ector,
- ector_cairo_software_surface_set(pixels, w, h),
- ector_surface_reference_point_set(x, y));
+ ector_cairo_software_surface_set(ector, pixels, w, h),
+ ector_surface_reference_point_set(ector, x, y));
}
else
{
eo_do(ector,
- ector_software_surface_set(pixels, w, h),
- ector_surface_reference_point_set(x, y));
+ ector_software_surface_set(ector, pixels, w, h),
+ ector_surface_reference_point_set(ector, x, y));
}
}
}
@@ -3924,12 +3924,12 @@ eng_ector_end(void *data EINA_UNUSED, void *context EINA_UNUSED, Ector_Surface *
if (use_cairo)
{
eo_do(ector,
- ector_cairo_software_surface_set(NULL, 0, 0));
+ ector_cairo_software_surface_set(ector, NULL, 0, 0));
}
else
{
eo_do(ector,
- ector_software_surface_set(NULL, 0, 0));
+ ector_software_surface_set(ector, NULL, 0, 0));
}
evas_common_cpu_end_opt();