diff options
author | Florin Malita <fmalita@chromium.org> | 2017-04-28 13:48:37 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-05-01 14:07:10 +0000 |
commit | 53f77bd4fdd76525b66b7f26d1c5c550858120df (patch) | |
tree | d7516fa1c29a35a3e6b62aae82f3bb6e72928cf4 /src/core/SkDraw.h | |
parent | 57061eea444a8d85189827f014a451de63b49d1a (diff) |
Initial clip-mask-layer support
SkBitmapDevice-only implementation.
Will add A8 fast path specializations in a follow-up.
Change-Id: I2ccb1ffba3689e92ac90a23e94737471dfb121a1
BUG=skia:6005
Change-Id: I2ccb1ffba3689e92ac90a23e94737471dfb121a1
Reviewed-on: https://skia-review.googlesource.com/14183
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Florin Malita <fmalita@chromium.org>
Diffstat (limited to 'src/core/SkDraw.h')
-rw-r--r-- | src/core/SkDraw.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/SkDraw.h b/src/core/SkDraw.h index 3168735799..b142e7edf7 100644 --- a/src/core/SkDraw.h +++ b/src/core/SkDraw.h @@ -96,6 +96,8 @@ public: SkMask* mask, SkMask::CreateMode mode, SkStrokeRec::InitStyle style); + void drawDevMask(const SkMask& mask, const SkPaint&) const; + enum RectType { kHair_RectType, kFill_RectType, @@ -122,7 +124,6 @@ public: const SkPaint&, const SkSurfaceProps*) const; static SkScalar ComputeResScaleForStroking(const SkMatrix& ); private: - void drawDevMask(const SkMask& mask, const SkPaint&) const; void drawBitmapAsMask(const SkBitmap&, const SkPaint&) const; void drawPath(const SkPath&, const SkPaint&, const SkMatrix* preMatrix, |