diff options
author | reed <reed@google.com> | 2015-06-09 12:16:53 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-06-09 12:16:53 -0700 |
commit | 41e010cb901c0da9066c4df562030808c9ccd7f8 (patch) | |
tree | 3bf17e946f9eadd43040ea6968adcfa5f2f882a4 /src/gpu/GrSWMaskHelper.h | |
parent | 1831f990c31bad0d84641663c96aa8eebf846ab9 (diff) |
Revert[2] SkDraw and all Blitters to use pixmap instead of bitmapi
This reverts commit b3f0ec9f9967da2f80f0d842cb7fd53617b48de3.
BUG=skia:
Review URL: https://codereview.chromium.org/1168303006
Diffstat (limited to 'src/gpu/GrSWMaskHelper.h')
-rw-r--r-- | src/gpu/GrSWMaskHelper.h | 4 |
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; |