diff options
author | 2011-03-15 21:27:08 +0000 | |
---|---|---|
committer | 2011-03-15 21:27:08 +0000 | |
commit | 7ffb1b21abcc7bbed5a0fc711f6dd7b9dbb4f577 (patch) | |
tree | 6deb18fc39212bf0e90b684e25e3de14044f0a14 /src/core/SkBitmapProcState_filter.h | |
parent | f67e4cf4c18cd228738a11372859ee0280bce1d7 (diff) |
Add code needed to build skia as a windows dll within the chromium project.
- Export/import skia APIs if SKIA_DLL is defined.
- This change has no effect on skia.
Review URL: http://codereview.appspot.com/4282042
git-svn-id: http://skia.googlecode.com/svn/trunk@944 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/core/SkBitmapProcState_filter.h')
-rw-r--r-- | src/core/SkBitmapProcState_filter.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/SkBitmapProcState_filter.h b/src/core/SkBitmapProcState_filter.h index 7b9b3e5500..d187983c8f 100644 --- a/src/core/SkBitmapProcState_filter.h +++ b/src/core/SkBitmapProcState_filter.h @@ -111,7 +111,7 @@ static inline void Filter_32_opaque_portable(unsigned x, unsigned y, SkASSERT((unsigned)y <= 0xF); int xy = x * y; - uint32_t mask = gMask_00FF00FF; //0xFF00FF; + static const uint32_t mask = gMask_00FF00FF; //0xFF00FF; int scale = 256 - 16*y - 16*x + xy; uint32_t lo = (a00 & mask) * scale; @@ -141,7 +141,7 @@ static inline void Filter_32_alpha_portable(unsigned x, unsigned y, SkASSERT(alphaScale <= 256); int xy = x * y; - uint32_t mask = gMask_00FF00FF; //0xFF00FF; + static const uint32_t mask = gMask_00FF00FF; //0xFF00FF; int scale = 256 - 16*y - 16*x + xy; uint32_t lo = (a00 & mask) * scale; |