Chromium Code Reviews| Index: include/private/SkRecords.h |
| diff --git a/include/private/SkRecords.h b/include/private/SkRecords.h |
| index d6ef12fe6c36491229f83253d921f8f914a52ffc..5f8c3e920836efd646351e9f83c64da70b0f40ee 100644 |
| --- a/include/private/SkRecords.h |
| +++ b/include/private/SkRecords.h |
| @@ -47,6 +47,7 @@ namespace SkRecords { |
| M(Save) \ |
| M(SaveLayer) \ |
| M(SetMatrix) \ |
| + M(SetZ) \ |
| M(Concat) \ |
| M(ClipPath) \ |
| M(ClipRRect) \ |
| @@ -79,6 +80,8 @@ namespace SkRecords { |
| M(DrawVertices) \ |
| M(DrawAnnotation) |
| +// setZ is Victor |
|
jvanverth1
2016/07/07 18:43:02
Remove this comment?
vjiaoblack
2016/07/07 19:04:10
Done.
|
| + |
| // Defines SkRecords::Type, an enum of all record types. |
| #define ENUM(T) T##_Type, |
| enum Type { SK_RECORD_TYPES(ENUM) }; |
| @@ -217,6 +220,9 @@ RECORD(SetMatrix, 0, |
| RECORD(Concat, 0, |
| TypedMatrix matrix); |
| +// TEST_VICTOR |
|
jvanverth1
2016/07/07 18:43:02
Remove this comment?
|
| +RECORD(SetZ, 0, uint32_t z); |
| + |
| struct RegionOpAndAA { |
| RegionOpAndAA() {} |
| RegionOpAndAA(SkRegion::Op op, bool aa) : op(op), aa(aa) {} |
| @@ -248,6 +254,7 @@ RECORD(DrawBitmap, kDraw_Tag|kHasImage_Tag, |
| ImmutableBitmap bitmap; |
| SkScalar left; |
| SkScalar top); |
| + //uint8_t zLevel); |
|
jvanverth1
2016/07/07 18:43:02
Is this needed?
|
| RECORD(DrawBitmapNine, kDraw_Tag|kHasImage_Tag, |
| Optional<SkPaint> paint; |
| ImmutableBitmap bitmap; |