summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2020-03-25 09:27:16 -0400
committerMike Blumenkrantz <zmike@samsung.com>2020-03-25 09:27:16 -0400
commit6068cc9039243d493d001df7a35426cd7c5acfea (patch)
treee559c8e22d32bcecd1f729c06fc662f2b2438fb1
parent9330861f1242a923200a6e52e778401a8f30df9a (diff)
evas/render: minor cleanups for norender functions
Summary: evas_norender cannot produce update regions, so there's nothing to free remove commented lines no functional changes Reviewers: bu5hm4n Reviewed By: bu5hm4n Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11584
-rw-r--r--src/lib/evas/canvas/evas_render.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/lib/evas/canvas/evas_render.c b/src/lib/evas/canvas/evas_render.c
index 6a0d7fab0f..27cf2c52d6 100644
--- a/src/lib/evas/canvas/evas_render.c
+++ b/src/lib/evas/canvas/evas_render.c
@@ -4081,17 +4081,8 @@ _evas_canvas_render(Eo *eo_e, Evas_Public_Data *e)
4081EOLIAN void 4081EOLIAN void
4082_evas_canvas_norender(Eo *eo_e, Evas_Public_Data *e) 4082_evas_canvas_norender(Eo *eo_e, Evas_Public_Data *e)
4083{ 4083{
4084 Eina_List *ret;
4085 Render_Updates *ru;
4086
4087 evas_canvas_async_block(e); 4084 evas_canvas_async_block(e);
4088 // if (!e->changed) return; 4085 evas_render_updates_internal_wait(eo_e, 0, 0);
4089 ret = evas_render_updates_internal_wait(eo_e, 0, 0);
4090 EINA_LIST_FREE(ret, ru)
4091 {
4092 eina_rectangle_free(ru->area);
4093 free(ru);
4094 }
4095} 4086}
4096 4087
4097EAPI void 4088EAPI void
@@ -4102,7 +4093,6 @@ evas_norender_with_updates(Eo *eo_e)
4102 Render_Updates *ru; 4093 Render_Updates *ru;
4103 4094
4104 evas_canvas_async_block(e); 4095 evas_canvas_async_block(e);
4105 // if (!e->changed) return;
4106 ret = evas_render_updates_internal_wait(eo_e, 1, 0); 4096 ret = evas_render_updates_internal_wait(eo_e, 1, 0);
4107 EINA_LIST_FREE(ret, ru) 4097 EINA_LIST_FREE(ret, ru)
4108 { 4098 {