jpeg pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=0d794e0b3739f40c42459baab6a10d10de861233

commit 0d794e0b3739f40c42459baab6a10d10de861233
Author: Jean-Philippe Andre <jp.an...@samsung.com>
Date:   Fri Feb 27 13:32:50 2015 +0900

    Evas masking: Skip GL fast path if image has fill options
    
    If the image is not "filled", then we can't assume its image
    source geometry is the same as its texture geometry.
    
    Note: Implementing a fast path for non-filled images would
          require a hell of a lot more work (need to cut the render
          into a lot more triangles) for little real-life use.
---
 src/lib/evas/canvas/evas_render.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/evas/canvas/evas_render.c 
b/src/lib/evas/canvas/evas_render.c
index c0a9e17..c7facab 100644
--- a/src/lib/evas/canvas/evas_render.c
+++ b/src/lib/evas/canvas/evas_render.c
@@ -1825,7 +1825,7 @@ evas_render_mask_subrender(Evas_Public_Data *evas,
      mdata->redraw = EINA_FALSE;
 
      if (is_image && !prev_mask && mask->func->engine_data_get &&
-         ENFN->image_scaled_update)
+         ENFN->image_scaled_update && 
evas_object_image_filled_get(mask->object))
        {
           /* Fast path (for GL) that avoids creating a map surface, render the
            * scaled image in it, when the shaders can just scale on the fly. */

-- 


Reply via email to