summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_filter_mixin.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/lib/evas/canvas/evas_filter_mixin.c
parentb9a6a8e7384fc79fced2132407208abfedf77fe1 (diff)
Eo: Partial implementation to remove eo_dodevs/felipealmeida/eo_optimisations
Diffstat (limited to 'src/lib/evas/canvas/evas_filter_mixin.c')
-rw-r--r--src/lib/evas/canvas/evas_filter_mixin.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/lib/evas/canvas/evas_filter_mixin.c b/src/lib/evas/canvas/evas_filter_mixin.c
index e93fa70..3eaabf2 100644
--- a/src/lib/evas/canvas/evas_filter_mixin.c
+++ b/src/lib/evas/canvas/evas_filter_mixin.c
@@ -32,8 +32,8 @@ _filter_cb(Evas_Filter_Context *ctx, void *data, Eina_Bool success)
32 32
33 ERR("Filter failed at runtime!"); 33 ERR("Filter failed at runtime!");
34 eo_do(eo_obj, 34 eo_do(eo_obj,
35 evas_filter_invalid_set(EINA_TRUE); 35 evas_filter_invalid_set(eo_obj, EINA_TRUE);
36 evas_filter_dirty()); 36 evas_filter_dirty(eo_obj));
37 evas_object_change(eo_obj, obj); 37 evas_object_change(eo_obj, obj);
38 evas_object_clip_dirty(eo_obj, obj); 38 evas_object_clip_dirty(eo_obj, obj);
39 evas_object_coords_recalc(eo_obj, obj); 39 evas_object_coords_recalc(eo_obj, obj);
@@ -242,7 +242,7 @@ evas_filter_object_render(Eo *eo_obj, Evas_Object_Protected_Data *obj,
242 242
243 // Request rendering from the object itself (child class) 243 // Request rendering from the object itself (child class)
244 evas_filter_program_padding_get(pd->data->chain, &l, &r, &t, &b); 244 evas_filter_program_padding_get(pd->data->chain, &l, &r, &t, &b);
245 eo_do(eo_obj, evas_filter_input_render(filter, drawctx, l, r, t, b, do_async)); 245 eo_do(eo_obj, evas_filter_input_render(eo_obj, filter, drawctx, l, r, t, b, do_async));
246 246
247 ENFN->context_free(ENDT, drawctx); 247 ENFN->context_free(ENDT, drawctx);
248 248
@@ -293,7 +293,7 @@ _evas_filter_efl_gfx_filter_program_set(Eo *eo_obj, Evas_Filter_Data *pd,
293 eina_stringshare_replace(&fcow->name, name); 293 eina_stringshare_replace(&fcow->name, name);
294 if (code) 294 if (code)
295 { 295 {
296 eo_do(eo_obj, alpha = evas_filter_input_alpha()); 296 eo_do(eo_obj, alpha = evas_filter_input_alpha(eo_obj));
297 pgm = evas_filter_program_new(fcow->name, alpha); 297 pgm = evas_filter_program_new(fcow->name, alpha);
298 evas_filter_program_source_set_all(pgm, fcow->sources); 298 evas_filter_program_source_set_all(pgm, fcow->sources);
299 evas_filter_program_data_set_all(pgm, fcow->data); 299 evas_filter_program_data_set_all(pgm, fcow->data);
@@ -316,7 +316,7 @@ _evas_filter_efl_gfx_filter_program_set(Eo *eo_obj, Evas_Filter_Data *pd,
316 FCOW_END(fcow, pd); 316 FCOW_END(fcow, pd);
317 317
318 // Update object 318 // Update object
319 eo_do(eo_obj, evas_filter_dirty()); 319 eo_do(eo_obj, evas_filter_dirty(eo_obj));
320 evas_object_change(eo_obj, obj); 320 evas_object_change(eo_obj, obj);
321 evas_object_clip_dirty(eo_obj, obj); 321 evas_object_clip_dirty(eo_obj, obj);
322 evas_object_coords_recalc(eo_obj, obj); 322 evas_object_coords_recalc(eo_obj, obj);
@@ -410,7 +410,7 @@ update:
410 FCOW_END(fcow, pd); 410 FCOW_END(fcow, pd);
411 } 411 }
412 412
413 eo_do(eo_obj, evas_filter_dirty()); 413 eo_do(eo_obj, evas_filter_dirty(eo_obj));
414 evas_object_change(eo_obj, obj); 414 evas_object_change(eo_obj, obj);
415 evas_object_clip_dirty(eo_obj, obj); 415 evas_object_clip_dirty(eo_obj, obj);
416 evas_object_coords_recalc(eo_obj, obj); 416 evas_object_coords_recalc(eo_obj, obj);
@@ -456,7 +456,7 @@ _evas_filter_efl_gfx_filter_state_set(Eo *eo_obj, Evas_Filter_Data *pd,
456 } 456 }
457 457
458 // Mark as changed 458 // Mark as changed
459 eo_do(eo_obj, evas_filter_dirty()); 459 eo_do(eo_obj, evas_filter_dirty(eo_obj));
460 evas_object_change(eo_obj, obj); 460 evas_object_change(eo_obj, obj);
461 evas_object_clip_dirty(eo_obj, obj); 461 evas_object_clip_dirty(eo_obj, obj);
462 evas_object_coords_recalc(eo_obj, obj); 462 evas_object_coords_recalc(eo_obj, obj);