summaryrefslogtreecommitdiff
path: root/src/lib/evas/common/evas_op_blend/op_blend_master_sse3.c
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2014-12-22 20:29:27 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2015-01-07 15:06:03 +0900
commit4bff14676ebe2ab981e9c10c2d6746cb3ec2737c (patch)
tree399ebb5c83328dfdc4563992373d153fc5a4baf0 /src/lib/evas/common/evas_op_blend/op_blend_master_sse3.c
parent44387b60a35836cf21e8d215be0d298a6b843431 (diff)
Evas masking: Fix mask blend functions (SW engine)
The selected op func was not performing the correct operation, thus producing rendering artifacts. These functions should not be used anywhere except in case of masking... which was not an available option earlier. It was doing (wrong): dst = interp(mask, src, dst) Instead of (correct): dst = dst + (1 - mask) * src NOTE: This commit also disables MMX, SSE3 & NEON implementations of pixel_mask blend operations, since they are also broken.
Diffstat (limited to 'src/lib/evas/common/evas_op_blend/op_blend_master_sse3.c')
-rw-r--r--src/lib/evas/common/evas_op_blend/op_blend_master_sse3.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/evas/common/evas_op_blend/op_blend_master_sse3.c b/src/lib/evas/common/evas_op_blend/op_blend_master_sse3.c
index 667838eb8a..2947b8b6b2 100644
--- a/src/lib/evas/common/evas_op_blend/op_blend_master_sse3.c
+++ b/src/lib/evas/common/evas_op_blend/op_blend_master_sse3.c
@@ -31,7 +31,7 @@ evas_common_op_blend_init_sse3(void)
31 31
32 init_blend_pixel_span_funcs_sse3(); 32 init_blend_pixel_span_funcs_sse3();
33 init_blend_pixel_color_span_funcs_sse3(); 33 init_blend_pixel_color_span_funcs_sse3();
34 init_blend_pixel_mask_span_funcs_sse3(); 34 init_blend_pixel_mask_span_funcs_sse3(); // FIXME
35 init_blend_color_span_funcs_sse3(); 35 init_blend_color_span_funcs_sse3();
36 init_blend_mask_color_span_funcs_sse3(); 36 init_blend_mask_color_span_funcs_sse3();
37 37
@@ -49,7 +49,7 @@ evas_common_op_blend_rel_init_sse3(void)
49#ifdef BUILD_SSE3 49#ifdef BUILD_SSE3
50 init_blend_rel_pixel_span_funcs_sse3(); 50 init_blend_rel_pixel_span_funcs_sse3();
51 init_blend_rel_pixel_color_span_funcs_sse3(); 51 init_blend_rel_pixel_color_span_funcs_sse3();
52 init_blend_rel_pixel_mask_span_funcs_sse3(); 52 init_blend_rel_pixel_mask_span_funcs_sse3(); // FIXME
53 init_blend_rel_color_span_funcs_sse3(); 53 init_blend_rel_color_span_funcs_sse3();
54 init_blend_rel_mask_color_span_funcs_sse3(); 54 init_blend_rel_mask_color_span_funcs_sse3();
55 55