jpeg pushed a commit to branch master.

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

commit a2c3e73a87e58975e14ef34afdca6e53f7a9199e
Author: Jean-Philippe Andre <jp.an...@samsung.com>
Date:   Fri Feb 21 17:27:19 2014 +0900

    Evas filters: Fix blending with fillmode "stretch"
    
    When using stretch, all buffers were actually drawn 4 times
    on top of each other. This was not visible because in most cases
    these buffers were all opaque (alpha = 255 everywhere).
---
 src/lib/evas/filters/evas_filter_blend.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lib/evas/filters/evas_filter_blend.c 
b/src/lib/evas/filters/evas_filter_blend.c
index d7585f1..95e4887 100644
--- a/src/lib/evas/filters/evas_filter_blend.c
+++ b/src/lib/evas/filters/evas_filter_blend.c
@@ -181,7 +181,7 @@ _mapped_blend_cpu(void *data, void *drawctx,
      }
    else if (fillmode & EVAS_FILTER_FILL_MODE_STRETCH_X)
      {
-        cols = 1;
+        cols = 0;
         dw = out->cache_entry.w;
         dx = 0;
      }
@@ -204,7 +204,7 @@ _mapped_blend_cpu(void *data, void *drawctx,
      }
    else if (fillmode & EVAS_FILTER_FILL_MODE_STRETCH_Y)
      {
-        rows = 1;
+        rows = 0;
         dh = out->cache_entry.h;
         dy = 0;
      }

-- 


Reply via email to