hermet pushed a commit to branch evas-1.7.
commit 5c985652676810e179466258d6cbe221cb20023c
Author: ChunEon Park <[email protected]>
Date: Sun Apr 14 05:23:27 2013 +0900
image - don't update evas render area by a clipper if the image object
visible is changed.
---
ChangeLog | 5 +++++
NEWS | 1 +
src/lib/canvas/evas_object_image.c | 3 ++-
3 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 116ab78..70c3c05 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1267,3 +1267,8 @@
2013-04-13 ChunEon Park
* Evas: Don't be crashed even if the map image size is 0.
+
+2013-04-14 ChunEon Park
+
+ * Evas: Don't update evas update area by the clipper if the image obj
visible is changed.
+
diff --git a/NEWS b/NEWS
index 5da32d6..d71a5fe 100644
--- a/NEWS
+++ b/NEWS
@@ -8,6 +8,7 @@ Fixes:
* Evas font: Fix a bug with cluster size calculation with texts ending
with ligatures.
* Evas map: don't be crashed even if image size is 0.
+ * Evas: Don't update evas update area by the clipper if the image obj
visible is changed.
Evas 1.7.6
diff --git a/src/lib/canvas/evas_object_image.c
b/src/lib/canvas/evas_object_image.c
index 14556a2..855570d 100644
--- a/src/lib/canvas/evas_object_image.c
+++ b/src/lib/canvas/evas_object_image.c
@@ -3252,7 +3252,8 @@ evas_object_image_render_pre(Evas_Object *obj)
/* it's not visible - we accounted for it appearing or not so just abort */
if (!is_v) goto done;
/* clipper changed this is in addition to anything else for obj */
- evas_object_render_pre_clipper_change(&e->clip_changes, obj);
+ if (is_v && was_v)
+ evas_object_render_pre_clipper_change(&e->clip_changes, obj);
/* if we restacked (layer or just within a layer) and don't clip anyone */
if (obj->restack)
{
--
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter