Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(156)

Unified Diff: include/private/SkRecords.h

Issue 1992283002: Add drawBitmapLattice() API (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Add implementation for SkRecorder and SkPictureRecord Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: include/private/SkRecords.h
diff --git a/include/private/SkRecords.h b/include/private/SkRecords.h
index 9ec2d2116cd6d8e22699f97b574ef943b6acc4a9..9c6b598887ae67f54a5434c9390a8baefabd60df 100644
--- a/include/private/SkRecords.h
+++ b/include/private/SkRecords.h
@@ -54,6 +54,7 @@ namespace SkRecords {
M(ClipRegion) \
M(DrawBitmap) \
M(DrawBitmapNine) \
+ M(DrawBitmapNineDivs) \
M(DrawBitmapRect) \
M(DrawBitmapRectFast) \
M(DrawBitmapRectFixedSize) \
@@ -254,6 +255,11 @@ RECORD(DrawBitmapNine, kDraw_Tag|kHasImage_Tag,
ImmutableBitmap bitmap;
SkIRect center;
SkRect dst);
+RECORD(DrawBitmapNineDivs, kDraw_Tag|kHasImage_Tag,
+ Optional<SkPaint> paint;
+ ImmutableBitmap bitmap;
+ sk_sp<SkData> divs;
+ SkRect dst);
RECORD(DrawBitmapRect, kDraw_Tag|kHasImage_Tag,
Optional<SkPaint> paint;
ImmutableBitmap bitmap;
« include/core/SkCanvas.h ('K') | « include/core/SkDevice.h ('k') | src/core/SkCanvas.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698