summaryrefslogtreecommitdiff
path: root/src/lib/evas/common/evas_op_blend_main_.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_main_.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 '')
-rw-r--r--src/lib/evas/common/evas_op_blend_main_.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/evas/common/evas_op_blend_main_.c b/src/lib/evas/common/evas_op_blend_main_.c
index aff6cdb8b7..33f7a7a7ce 100644
--- a/src/lib/evas/common/evas_op_blend_main_.c
+++ b/src/lib/evas/common/evas_op_blend_main_.c
@@ -109,7 +109,7 @@ op_blend_init(void)
109 { 109 {
110 init_blend_pixel_span_funcs_mmx(); 110 init_blend_pixel_span_funcs_mmx();
111 init_blend_pixel_color_span_funcs_mmx(); 111 init_blend_pixel_color_span_funcs_mmx();
112 init_blend_pixel_mask_span_funcs_mmx(); 112 init_blend_pixel_mask_span_funcs_mmx(); // FIXME
113 init_blend_color_span_funcs_mmx(); 113 init_blend_color_span_funcs_mmx();
114 init_blend_mask_color_span_funcs_mmx(); 114 init_blend_mask_color_span_funcs_mmx();
115 115
@@ -125,7 +125,7 @@ op_blend_init(void)
125 { 125 {
126 init_blend_pixel_span_funcs_neon(); 126 init_blend_pixel_span_funcs_neon();
127 init_blend_pixel_color_span_funcs_neon(); 127 init_blend_pixel_color_span_funcs_neon();
128 init_blend_pixel_mask_span_funcs_neon(); 128 init_blend_pixel_mask_span_funcs_neon(); // FIXME
129 init_blend_color_span_funcs_neon(); 129 init_blend_color_span_funcs_neon();
130 init_blend_mask_color_span_funcs_neon(); 130 init_blend_mask_color_span_funcs_neon();
131 131