summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Juyung Seo <seojuyung2@gmail.com>2014-01-28 01:54:25 +0900
committerDaniel Juyung Seo <seojuyung2@gmail.com>2014-01-28 01:54:49 +0900
commit4b457c5f2d3326d823ae756fdc8930da04ba0493 (patch)
treed26678620bb4601cc6186070b2fa178ddc6ec4c5 /src
parent2d4ba9e8dd0fb335ce30bce4425d273db5d6f7e7 (diff)
evas_render: avoid unnecessary assignment.
Diffstat (limited to 'src')
-rw-r--r--src/lib/evas/canvas/evas_render.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/lib/evas/canvas/evas_render.c b/src/lib/evas/canvas/evas_render.c
index e1b40496b0..a703eae028 100644
--- a/src/lib/evas/canvas/evas_render.c
+++ b/src/lib/evas/canvas/evas_render.c
@@ -1760,8 +1760,7 @@ evas_render_updates_internal(Evas *eo_e,
1760 for (i = 0; i < e->restack_objects.count; ++i) 1760 for (i = 0; i < e->restack_objects.count; ++i)
1761 { 1761 {
1762 obj = eina_array_data_get(&e->restack_objects, i); 1762 obj = eina_array_data_get(&e->restack_objects, i);
1763 eo_obj = obj->object; 1763 obj->func->render_pre(obj->object, obj, obj->private_data);
1764 obj->func->render_pre(eo_obj, obj, obj->private_data);
1765 _evas_render_prev_cur_clip_cache_add(e, obj); 1764 _evas_render_prev_cur_clip_cache_add(e, obj);
1766 } 1765 }
1767 OBJS_ARRAY_CLEAN(&e->restack_objects); 1766 OBJS_ARRAY_CLEAN(&e->restack_objects);
@@ -1886,8 +1885,7 @@ evas_render_updates_internal(Evas *eo_e,
1886 { 1885 {
1887 obj = (Evas_Object_Protected_Data *)eina_array_data_get 1886 obj = (Evas_Object_Protected_Data *)eina_array_data_get
1888 (&e->obscuring_objects, i); 1887 (&e->obscuring_objects, i);
1889 eo_obj = obj->object; 1888 if (evas_object_is_in_output_rect(obj->object, obj, ux - fx, uy - fy, uw, uh))
1890 if (evas_object_is_in_output_rect(eo_obj, obj, ux - fx, uy - fy, uw, uh))
1891 { 1889 {
1892 OBJ_ARRAY_PUSH(&e->temporary_objects, obj); 1890 OBJ_ARRAY_PUSH(&e->temporary_objects, obj);
1893 1891
@@ -2145,8 +2143,7 @@ evas_render_updates_internal(Evas *eo_e,
2145 for (i = 0; i < e->delete_objects.count; ++i) 2143 for (i = 0; i < e->delete_objects.count; ++i)
2146 { 2144 {
2147 obj = eina_array_data_get(&e->delete_objects, i); 2145 obj = eina_array_data_get(&e->delete_objects, i);
2148 eo_obj = obj->object; 2146 evas_object_free(obj->object, 1);
2149 evas_object_free(eo_obj, 1);
2150 } 2147 }
2151 eina_array_clean(&e->delete_objects); 2148 eina_array_clean(&e->delete_objects);
2152 /* if we deleted no objects this frame or we deleted a lot (> 1024) then 2149 /* if we deleted no objects this frame or we deleted a lot (> 1024) then