hermet pushed a commit to branch master.
commit 6b9a895c59448a1e8ce5b7786943cebf7e5bc4fa
Author: ChunEon Park <[email protected]>
Date: Sun Apr 14 05:18:31 2013 +0900
evas/image - don't update evas render area by a clipper if the image object
visible is changed.
---
ChangeLog | 4 ++++
NEWS | 2 ++
src/lib/evas/canvas/evas_object_image.c | 3 ++-
3 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 463da60..157bcc2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2013-04-14 ChunEon Park
+
+ * Evas: Don't update evas update area by the clipper if the image obj
visible is changed.
+
2013-04-14 Carsten Haitzler (The Rasterman)
* Evas: Work around new intel Mesa/xorg bug where alpha
diff --git a/NEWS b/NEWS
index dd591e2..3e2c407 100644
--- a/NEWS
+++ b/NEWS
@@ -239,3 +239,5 @@ Fixes:
with ligatures.
* Edje entry: When cursor is located to each edge, entry now doesn't grab
events for cursor movement.
* 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.
+
diff --git a/src/lib/evas/canvas/evas_object_image.c
b/src/lib/evas/canvas/evas_object_image.c
index 52e1e38..59b72d6 100644
--- a/src/lib/evas/canvas/evas_object_image.c
+++ b/src/lib/evas/canvas/evas_object_image.c
@@ -4042,7 +4042,8 @@ evas_object_image_render_pre(Evas_Object *eo_obj,
Evas_Object_Protected_Data *ob
/* 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, eo_obj);
+ if (is_v && was_v)
+ evas_object_render_pre_clipper_change(&e->clip_changes, eo_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