summaryrefslogtreecommitdiff
path: root/src/lib/evas/common/evas_scale_smooth_scaler_up.c
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2014-11-13 11:27:50 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2014-11-13 12:20:57 +0900
commit05aee3e3706867605d3b1bb84c3a70ccafba0673 (patch)
treecf2ee2630803ac7cadacd2a51c987e65d9d69426 /src/lib/evas/common/evas_scale_smooth_scaler_up.c
parent35beedd3d7e84723fb5ce7aca7102b594edece66 (diff)
Evas: Don't pass whole RGBA_Image to low-level render functions
Idea originated from Cedric the b0rker. This is a big fat search-and-replace commit. This commit also introduces space changes... Sorry for the mix. NOTE: This commit may have one side effect as there was some very dubious code chaning the dst image's alpha flag in the Gfx get functions. Logically this didn't make sense (at draw time the dst alpha should already be well defined), so it should be safe.
Diffstat (limited to '')
-rw-r--r--src/lib/evas/common/evas_scale_smooth_scaler_up.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/evas/common/evas_scale_smooth_scaler_up.c b/src/lib/evas/common/evas_scale_smooth_scaler_up.c
index 4b21d598dd..3921d01ba7 100644
--- a/src/lib/evas/common/evas_scale_smooth_scaler_up.c
+++ b/src/lib/evas/common/evas_scale_smooth_scaler_up.c
@@ -34,9 +34,9 @@
34 { 34 {
35 buf = alloca(dst_clip_w * sizeof(DATA32)); 35 buf = alloca(dst_clip_w * sizeof(DATA32));
36 if (mul_col != 0xffffffff) 36 if (mul_col != 0xffffffff)
37 func = evas_common_gfx_func_composite_pixel_color_span_get(src, mul_col, dst, dst_clip_w, render_op); 37 func = evas_common_gfx_func_composite_pixel_color_span_get(src->cache_entry.flags.alpha, src->cache_entry.flags.alpha_sparse, mul_col, dst->cache_entry.flags.alpha, dst_clip_w, render_op);
38 else 38 else
39 func = evas_common_gfx_func_composite_pixel_span_get(src, dst, dst_clip_w, render_op); 39 func = evas_common_gfx_func_composite_pixel_span_get(src->cache_entry.flags.alpha, src->cache_entry.flags.alpha_sparse, dst->cache_entry.flags.alpha, dst_clip_w, render_op);
40 } 40 }
41 else 41 else
42 buf = pdst; 42 buf = pdst;