| Index: include/private/SkRecords.h
|
| diff --git a/include/private/SkRecords.h b/include/private/SkRecords.h
|
| index 35adca20e7aea0c6f1e5eb4cd3eb6b0a721bf7a2..518d40972bc3dc6f7db120e533e7e6dd1bb3df05 100644
|
| --- a/include/private/SkRecords.h
|
| +++ b/include/private/SkRecords.h
|
| @@ -68,6 +68,7 @@ namespace SkRecords {
|
| M(DrawPath) \
|
| M(DrawPatch) \
|
| M(DrawPicture) \
|
| + M(DrawShadowedPicture) \
|
| M(DrawPoints) \
|
| M(DrawPosText) \
|
| M(DrawPosTextH) \
|
| @@ -81,6 +82,8 @@ namespace SkRecords {
|
| M(DrawVertices) \
|
| M(DrawAnnotation)
|
|
|
| +// setZ is Victor
|
| +
|
| // Defines SkRecords::Type, an enum of all record types.
|
| #define ENUM(T) T##_Type,
|
| enum Type { SK_RECORD_TYPES(ENUM) };
|
| @@ -252,6 +255,7 @@ RECORD(DrawBitmap, kDraw_Tag|kHasImage_Tag,
|
| ImmutableBitmap bitmap;
|
| SkScalar left;
|
| SkScalar top);
|
| + //uint8_t zLevel);
|
| RECORD(DrawBitmapNine, kDraw_Tag|kHasImage_Tag,
|
| Optional<SkPaint> paint;
|
| ImmutableBitmap bitmap;
|
| @@ -309,6 +313,10 @@ RECORD(DrawPicture, kDraw_Tag,
|
| Optional<SkPaint> paint;
|
| RefBox<const SkPicture> picture;
|
| TypedMatrix matrix);
|
| +RECORD(DrawShadowedPicture, kDraw_Tag,
|
| + Optional<SkPaint> paint;
|
| + RefBox<const SkPicture> picture;
|
| + sk_sp<SkLights> lights);
|
| RECORD(DrawPoints, kDraw_Tag,
|
| SkPaint paint;
|
| SkCanvas::PointMode mode;
|
|
|