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

Unified Diff: include/private/SkRecords.h

Issue 2130643004: drawTextRSXform (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: update util canvases 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 d6ef12fe6c36491229f83253d921f8f914a52ffc..9ec2d2116cd6d8e22699f97b574ef943b6acc4a9 100644
--- a/include/private/SkRecords.h
+++ b/include/private/SkRecords.h
@@ -72,6 +72,7 @@ namespace SkRecords {
M(DrawPosTextH) \
M(DrawText) \
M(DrawTextOnPath) \
+ M(DrawTextRSXform) \
M(DrawRRect) \
M(DrawRect) \
M(DrawTextBlob) \
@@ -344,6 +345,12 @@ RECORD(DrawTextOnPath, kDraw_Tag|kHasText_Tag,
size_t byteLength;
PreCachedPath path;
TypedMatrix matrix);
+RECORD(DrawTextRSXform, kDraw_Tag|kHasText_Tag,
+ SkPaint paint;
+ PODArray<char> text;
+ size_t byteLength;
+ PODArray<SkRSXform> xforms;
+ Optional<SkRect> cull);
RECORD(DrawPatch, kDraw_Tag,
SkPaint paint;
PODArray<SkPoint> cubics;

Powered by Google App Engine
This is Rietveld 408576698