aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkBlitter.cpp
diff options
context:
space:
mode:
authorGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-10-18 15:44:57 +0000
committerGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-10-18 15:44:57 +0000
commit7989186dab6bc2f1c1927daf91bddd32b7fd8d0c (patch)
treed6b463aa3f6ef844542cf14c317c9143df61d7c8 /src/core/SkBlitter.cpp
parent17f339485d72dae5dd9a350a46fc85099343f711 (diff)
rename SkMask::getAddr to getAddr8, to match the specificity of the others
e.g. getAddr1, getAddrLCD16, etc. This is to make way for a real getAddr that will compute its pixel-size at runtime git-svn-id: http://skia.googlecode.com/svn/trunk@2487 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/core/SkBlitter.cpp')
-rw-r--r--src/core/SkBlitter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/SkBlitter.cpp b/src/core/SkBlitter.cpp
index 2010691c00..6bb0db4a45 100644
--- a/src/core/SkBlitter.cpp
+++ b/src/core/SkBlitter.cpp
@@ -151,7 +151,7 @@ void SkBlitter::blitMask(const SkMask& mask, const SkIRect& clip) {
int width = clip.width();
SkAutoSTMalloc<64, int16_t> runStorage(width + 1);
int16_t* runs = runStorage.get();
- const uint8_t* aa = mask.getAddr(clip.fLeft, clip.fTop);
+ const uint8_t* aa = mask.getAddr8(clip.fLeft, clip.fTop);
sk_memset16((uint16_t*)runs, 1, width);
runs[width] = 0;
@@ -513,7 +513,7 @@ public:
SkASSERT(fMask->fBounds.contains(x + count - 1, y));
size_t size = fMask->computeImageSize();
- const uint8_t* alpha = fMask->getAddr(x, y);
+ const uint8_t* alpha = fMask->getAddr8(x, y);
const uint8_t* mulp = alpha + size;
const uint8_t* addp = mulp + size;