Index: include/private/SkRecords.h |
diff --git a/include/private/SkRecords.h b/include/private/SkRecords.h |
index 32da3dd37704c195bd941fbced5712ebda4a4d65..a095452d1cb23883f985a3e51d4a38f5754e8ea2 100644 |
--- a/include/private/SkRecords.h |
+++ b/include/private/SkRecords.h |
@@ -55,6 +55,7 @@ namespace SkRecords { |
M(ClipRegion) \ |
M(DrawDrawable) \ |
M(DrawImage) \ |
+ M(DrawImageLattice) \ |
M(DrawImageRect) \ |
M(DrawImageNine) \ |
M(DrawDRRect) \ |
@@ -222,6 +223,14 @@ RECORD(DrawImage, kDraw_Tag|kHasImage_Tag|kHasPaint_Tag, |
sk_sp<const SkImage> image; |
SkScalar left; |
SkScalar top); |
+RECORD(DrawImageLattice, kDraw_Tag|kHasImage_Tag|kHasPaint_Tag, |
+ Optional<SkPaint> paint; |
+ sk_sp<const SkImage> image; |
+ int xCount; |
+ PODArray<int> xDivs; |
+ int yCount; |
+ PODArray<int> yDivs; |
+ SkRect dst); |
RECORD(DrawImageRect, kDraw_Tag|kHasImage_Tag|kHasPaint_Tag, |
Optional<SkPaint> paint; |
sk_sp<const SkImage> image; |