jpeg pushed a commit to branch master.

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

commit f57929bf6ed4f9e0d20de2c90be663c48cfadd29
Author: Jean-Philippe Andre <jp.an...@samsung.com>
Date:   Mon Jun 15 17:43:39 2015 +0900

    Evas filters: Fix blur from rgba to alpha
---
 src/lib/evas/filters/evas_filter.c | 11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)

diff --git a/src/lib/evas/filters/evas_filter.c 
b/src/lib/evas/filters/evas_filter.c
index dc022a3..7ad2878 100644
--- a/src/lib/evas/filters/evas_filter.c
+++ b/src/lib/evas/filters/evas_filter.c
@@ -931,14 +931,9 @@ evas_filter_command_blur_add(Evas_Filter_Context *ctx, 
void *drawctx,
         goto fail;
      }
 
-   if (!in->alpha_only && out->alpha_only)
-     {
-        /* FIXME: Add temporary buffer + blend */
-        ERR("Input is RGBA but output is Alpha only. Unsupported config for 
blur.");
-        goto fail;
-     }
-   else if ((blend || (in->alpha_only && !out->alpha_only)) ||
-            (!blend && !in->alpha_only && !out->alpha_only && (color != 
0xFFFFFFFF)))
+   if ((blend || (in->alpha_only && !out->alpha_only)) ||
+            (!blend && !in->alpha_only && !out->alpha_only && (color != 
0xFFFFFFFF)) ||
+            (!in->alpha_only && out->alpha_only))
      {
         XDBG("Adding extra blending step %d --> %d (%s --> %s)", in->id, 
out->id,
             in->alpha_only ? "Alpha" : "RGBA",

-- 


Reply via email to