[Pixman] [PATCH] Code simplification (no need advancing 'vx' at the end of scanline)
Siarhei Siamashka
siarhei.siamashka at gmail.com
Tue Jul 27 06:57:12 PDT 2010
From: Siarhei Siamashka <siarhei.siamashka at nokia.com>
---
pixman/pixman-fast-path.c | 7 -------
1 files changed, 0 insertions(+), 7 deletions(-)
diff --git a/pixman/pixman-fast-path.c b/pixman/pixman-fast-path.c
index 6ed1580..014bab6 100644
--- a/pixman/pixman-fast-path.c
+++ b/pixman/pixman-fast-path.c
@@ -1591,13 +1591,6 @@ fast_composite_scaled_nearest_ ## scale_func_name ## _ ## OP (pixman_implementat
if (w & 1) \
{ \
x1 = vx >> 16; \
- vx += unit_x; \
- if (PIXMAN_REPEAT_ ## repeat_mode == PIXMAN_REPEAT_NORMAL) \
- { \
- /* This works because we know that unit_x is positive */ \
- while (vx >= max_vx) \
- vx -= max_vx; \
- } \
s1 = src[x1]; \
\
if (PIXMAN_OP_ ## OP == PIXMAN_OP_OVER) \
--
1.6.4.4
More information about the Pixman
mailing list