summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2019-12-05 18:55:25 -0800
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2019-12-11 10:36:17 +0100
commit330b72bc6a2506f74703040ec21b680e2d6c86b2 (patch)
tree13ab5bd6a6e6b5d179f22b81d0e6b4e9e66be5d9
parente4765e3806eb37e5d2b2fae202550c14bb90ce23 (diff)
evas: do not call Eina_Cow GC during invalidate it is pointless.
Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D10818
-rw-r--r--src/lib/evas/canvas/evas_object_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/evas/canvas/evas_object_main.c b/src/lib/evas/canvas/evas_object_main.c
index d5b20ae..6b78b58 100644
--- a/src/lib/evas/canvas/evas_object_main.c
+++ b/src/lib/evas/canvas/evas_object_main.c
@@ -1077,7 +1077,7 @@ _efl_canvas_object_efl_object_invalidate(Eo *eo_obj, Evas_Object_Protected_Data
1077 EINA_LIST_FREE(events->events_whitelist, dev) 1077 EINA_LIST_FREE(events->events_whitelist, dev)
1078 efl_event_callback_del(dev, EFL_EVENT_DEL, _whitelist_events_device_remove_cb, obj); 1078 efl_event_callback_del(dev, EFL_EVENT_DEL, _whitelist_events_device_remove_cb, obj);
1079 } 1079 }
1080 EINA_COW_WRITE_END(evas_object_events_cow, obj->events, events); 1080 EINA_COW_WRITE_END_NOGC(evas_object_events_cow, obj->events, events);
1081 1081
1082 EINA_INLIST_FREE(pointer_grabs, pdata) 1082 EINA_INLIST_FREE(pointer_grabs, pdata)
1083 { 1083 {
@@ -1123,7 +1123,7 @@ _efl_canvas_object_efl_object_invalidate(Eo *eo_obj, Evas_Object_Protected_Data
1123 EINA_LIST_FREE(proxy_src->proxy_textures, texture) 1123 EINA_LIST_FREE(proxy_src->proxy_textures, texture)
1124 evas_canvas3d_texture_source_set(texture, NULL); 1124 evas_canvas3d_texture_source_set(texture, NULL);
1125 } 1125 }
1126 EINA_COW_WRITE_END(evas_object_proxy_cow, obj->proxy, proxy_src); 1126 EINA_COW_WRITE_END_NOGC(evas_object_proxy_cow, obj->proxy, proxy_src);
1127 } 1127 }
1128 } 1128 }
1129 1129