aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrSWMaskHelper.h
diff options
context:
space:
mode:
authorGravatar reed <reed@google.com>2015-06-09 12:16:53 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-06-09 12:16:53 -0700
commit41e010cb901c0da9066c4df562030808c9ccd7f8 (patch)
tree3bf17e946f9eadd43040ea6968adcfa5f2f882a4 /src/gpu/GrSWMaskHelper.h
parent1831f990c31bad0d84641663c96aa8eebf846ab9 (diff)
Revert[2] SkDraw and all Blitters to use pixmap instead of bitmapi
Diffstat (limited to 'src/gpu/GrSWMaskHelper.h')
-rw-r--r--src/gpu/GrSWMaskHelper.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/GrSWMaskHelper.h b/src/gpu/GrSWMaskHelper.h
index a69e4bec99..b90205b1a1 100644
--- a/src/gpu/GrSWMaskHelper.h
+++ b/src/gpu/GrSWMaskHelper.h
@@ -69,7 +69,7 @@ public:
// Reset the internal bitmap
void clear(uint8_t alpha) {
- fBM.eraseColor(SkColorSetARGB(alpha, alpha, alpha, alpha));
+ fPixels.erase(SkColorSetARGB(alpha, 0xFF, 0xFF, 0xFF));
}
// Canonical usage utility that draws a single path and uploads it
@@ -105,7 +105,7 @@ private:
GrContext* fContext;
SkMatrix fMatrix;
- SkBitmap fBM;
+ SkAutoPixmapStorage fPixels;
SkDraw fDraw;
SkRasterClip fRasterClip;