summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas
diff options
context:
space:
mode:
authorChunEon Park <hermet@hermet.pe.kr>2015-09-10 21:27:47 +0900
committerChunEon Park <hermet@hermet.pe.kr>2015-09-10 21:31:41 +0900
commitbecf6869b9e5647595789a9094010d114e66f6a5 (patch)
tree816914f981713f38e50b171d3b99f6dd296ef30c /src/lib/evas/canvas
parent5b2baf173e7adf0ca4e68c6c168cecf9b9e9030f (diff)
map: don't update surface unencessarily.
smart object don't need to update map surface always check the state more elaborately so minus one more surface drawing!
Diffstat (limited to 'src/lib/evas/canvas')
-rw-r--r--src/lib/evas/canvas/evas_object_smart.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/evas/canvas/evas_object_smart.c b/src/lib/evas/canvas/evas_object_smart.c
index fab0f1bcf0..cacc5a4fe5 100644
--- a/src/lib/evas/canvas/evas_object_smart.c
+++ b/src/lib/evas/canvas/evas_object_smart.c
@@ -991,7 +991,9 @@ evas_object_smart_changed_get(Evas_Object *eo_obj)
991 991
992 if (has_map) 992 if (has_map)
993 { 993 {
994 if (obj->need_surface_clear || ((obj->changed_pchange) && (obj->changed_map))) 994
995 if ((obj->need_surface_clear && obj->changed && !obj->is_smart) ||
996 ((obj->changed_pchange) && (obj->changed_map)))
995 return EINA_TRUE; 997 return EINA_TRUE;
996 } 998 }
997 } 999 }