jpeg pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=2317bb83fc830e302d23047dc7ab06e61333a4dc

commit 2317bb83fc830e302d23047dc7ab06e61333a4dc
Author: Jean-Philippe Andre <jp.an...@samsung.com>
Date:   Fri Oct 2 16:32:05 2015 +0900

    Evas image: Simplify updates if adding whole region at once
---
 src/lib/evas/canvas/evas_object_image.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/lib/evas/canvas/evas_object_image.c 
b/src/lib/evas/canvas/evas_object_image.c
index ee177c2..b366831 100644
--- a/src/lib/evas/canvas/evas_object_image.c
+++ b/src/lib/evas/canvas/evas_object_image.c
@@ -1505,7 +1505,8 @@ _evas_image_data_update_add(Eo *eo_obj, Evas_Image_Data 
*o, int x, int y, int w,
                return;
           }
      }
-   if (cnt >= 512)
+   if ((cnt >= 512) ||
+       (((x == 0) && (y == 0) && (w == o->cur->image.w) && (h == 
o->cur->image.h))))
      { // too many update rects - just make a single blob update
         EINA_COW_PIXEL_WRITE_BEGIN(o, pixi_write)
           {

-- 


Reply via email to