Index: src/core/SkBitmapProcState_filter.h |
diff --git a/src/core/SkBitmapProcState_filter.h b/src/core/SkBitmapProcState_filter.h |
index 12606656dd88b581d7f376ed5b2b25a9a7f9e1b6..99f40eca56084ab40b6cb2212137ebaab3604c37 100644 |
--- a/src/core/SkBitmapProcState_filter.h |
+++ b/src/core/SkBitmapProcState_filter.h |
@@ -26,7 +26,7 @@ static inline void Filter_32_opaque(unsigned x, unsigned y, |
SkASSERT((unsigned)y <= 0xF); |
int xy = x * y; |
- static const uint32_t mask = gMask_00FF00FF; //0xFF00FF; |
+ const uint32_t mask = 0xFF00FF; |
int scale = 256 - 16*y - 16*x + xy; |
uint32_t lo = (a00 & mask) * scale; |
@@ -56,7 +56,7 @@ static inline void Filter_32_alpha(unsigned x, unsigned y, |
SkASSERT(alphaScale <= 256); |
int xy = x * y; |
- static const uint32_t mask = gMask_00FF00FF; //0xFF00FF; |
+ const uint32_t mask = 0xFF00FF; |
int scale = 256 - 16*y - 16*x + xy; |
uint32_t lo = (a00 & mask) * scale; |
@@ -86,7 +86,7 @@ static inline void Filter_32_opaque(unsigned t, |
SkPMColor* dstColor) { |
SkASSERT((unsigned)t <= 0xF); |
- static const uint32_t mask = gMask_00FF00FF; //0x00FF00FF; |
+ const uint32_t mask = 0xFF00FF; |
int scale = 256 - 16*t; |
uint32_t lo = (color0 & mask) * scale; |
@@ -108,7 +108,7 @@ static inline void Filter_32_alpha(unsigned t, |
SkASSERT((unsigned)t <= 0xF); |
SkASSERT(alphaScale <= 256); |
- static const uint32_t mask = gMask_00FF00FF; //0x00FF00FF; |
+ const uint32_t mask = 0xFF00FF; |
int scale = 256 - 16*t; |
uint32_t lo = (color0 & mask) * scale; |