diff options
author | Mike Reed <reed@google.com> | 2017-05-17 08:53:36 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-05-17 13:40:42 +0000 |
commit | 4204da25aa4c6e0b321314aa32fd9affb4865563 (patch) | |
tree | 87ef273357fda474b96cc672d9247b216159b4fb /src/core/SkRecords.h | |
parent | 63e7973d1f01bd03216659b9d2267f83a752c8fb (diff) |
move shadows to device virtual
This CL keeps the impl for each device backend in the
utils file for simplicity (shared helpers). Future CLs
may move into their respective impl as they become
more specialized.
Bug: skia:
Change-Id: I97ce6cdcc5106ebf4c84778f943cc32d0b7613c1
Reviewed-on: https://skia-review.googlesource.com/15893
Reviewed-by: Mike Klein <mtklein@chromium.org>
Commit-Queue: Mike Reed <reed@google.com>
Diffstat (limited to 'src/core/SkRecords.h')
-rw-r--r-- | src/core/SkRecords.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/SkRecords.h b/src/core/SkRecords.h index 6af4aad3f5..a63ef1c6a5 100644 --- a/src/core/SkRecords.h +++ b/src/core/SkRecords.h @@ -11,6 +11,7 @@ #include "SkData.h" #include "SkCanvas.h" #include "SkDrawable.h" +#include "SkDrawShadowRec.h" #include "SkImage.h" #include "SkImageFilter.h" #include "SkMatrix.h" @@ -80,6 +81,7 @@ namespace SkRecords { M(DrawTextBlob) \ M(DrawAtlas) \ M(DrawVertices) \ + M(DrawShadowRec) \ M(DrawAnnotation) // Defines SkRecords::Type, an enum of all record types. @@ -345,6 +347,9 @@ RECORD(DrawVertices, kDraw_Tag|kHasPaint_Tag, SkPaint paint; sk_sp<SkVertices> vertices; SkBlendMode bmode); +RECORD(DrawShadowRec, kDraw_Tag, + SkPath path; + SkDrawShadowRec rec); RECORD(DrawAnnotation, 0, // TODO: kDraw_Tag, skia:5548 SkRect rect; SkString key; |