summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaeun Choi <jaeun12.choi@samsung.com>2014-12-23 16:27:30 +0900
committerJaeun Choi <jaeun12.choi@samsung.com>2014-12-23 16:27:30 +0900
commit829f484a0e0fb4ce6bc7ea03829c85d6c8d13b68 (patch)
tree2bc0183d5118db611361ceea352dd9868c156542
parent59fa2d26dc57497c23abf982ff00b9dd3bee60e2 (diff)
Evas masking: Fix rendering optionsdevs/eunue/evas_masking
-rw-r--r--src/lib/evas/common/evas_map_image_internal.c4
-rw-r--r--src/lib/evas/common/evas_scale_sample.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/evas/common/evas_map_image_internal.c b/src/lib/evas/common/evas_map_image_internal.c
index f3238b2420..e758fe2102 100644
--- a/src/lib/evas/common/evas_map_image_internal.c
+++ b/src/lib/evas/common/evas_map_image_internal.c
@@ -116,7 +116,7 @@ FUNC_NAME(RGBA_Image *src, RGBA_Image *dst,
116 { 116 {
117 func = evas_common_gfx_func_composite_pixel_mask_span_get(sa, ssa, da, cw, render_op); 117 func = evas_common_gfx_func_composite_pixel_mask_span_get(sa, ssa, da, cw, render_op);
118 if (mul_col != 0xffffffff) 118 if (mul_col != 0xffffffff)
119 func2 = evas_common_gfx_func_composite_pixel_color_span_get(sa, ssa, mul_col, da, cw, render_op); 119 func2 = evas_common_gfx_func_composite_pixel_color_span_get(sa, ssa, mul_col, da, cw, EVAS_RENDER_COPY);
120 } 120 }
121 121
122 if (anti_alias) src->cache_entry.flags.alpha = EINA_TRUE; 122 if (anti_alias) src->cache_entry.flags.alpha = EINA_TRUE;
@@ -202,7 +202,7 @@ FUNC_NAME_DO(RGBA_Image *src, RGBA_Image *dst,
202 { 202 {
203 func = evas_common_gfx_func_composite_pixel_mask_span_get(sa, ssa, da, cw, dc->render_op); 203 func = evas_common_gfx_func_composite_pixel_mask_span_get(sa, ssa, da, cw, dc->render_op);
204 if (mul_col != 0xffffffff) 204 if (mul_col != 0xffffffff)
205 func2 = evas_common_gfx_func_composite_pixel_color_span_get(sa, ssa, dc->mul.col, da, cw, dc->render_op); 205 func2 = evas_common_gfx_func_composite_pixel_color_span_get(sa, ssa, dc->mul.col, da, cw, EVAS_RENDER_COPY);
206 } 206 }
207 } 207 }
208 208
diff --git a/src/lib/evas/common/evas_scale_sample.c b/src/lib/evas/common/evas_scale_sample.c
index c888aa7450..187b6c0621 100644
--- a/src/lib/evas/common/evas_scale_sample.c
+++ b/src/lib/evas/common/evas_scale_sample.c
@@ -479,7 +479,7 @@ scale_rgba_in_to_out_clip_sample_internal(RGBA_Image *src, RGBA_Image *dst,
479 { 479 {
480 func = evas_common_gfx_func_composite_pixel_mask_span_get(src->cache_entry.flags.alpha, src->cache_entry.flags.alpha_sparse, dst->cache_entry.flags.alpha, dst_clip_w, dc->render_op); 480 func = evas_common_gfx_func_composite_pixel_mask_span_get(src->cache_entry.flags.alpha, src->cache_entry.flags.alpha_sparse, dst->cache_entry.flags.alpha, dst_clip_w, dc->render_op);
481 if (dc->mul.use) 481 if (dc->mul.use)
482 func2 = evas_common_gfx_func_composite_pixel_color_span_get(src->cache_entry.flags.alpha, src->cache_entry.flags.alpha_sparse, dc->mul.col, dst->cache_entry.flags.alpha, dst_clip_w, dc->render_op); 482 func2 = evas_common_gfx_func_composite_pixel_color_span_get(src->cache_entry.flags.alpha, src->cache_entry.flags.alpha_sparse, dc->mul.col, dst->cache_entry.flags.alpha, dst_clip_w, EVAS_RENDER_COPY);
483 } 483 }
484 484
485 if ((dst_region_w == src_region_w) && (dst_region_h == src_region_h)) 485 if ((dst_region_w == src_region_w) && (dst_region_h == src_region_h))