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

Side by Side 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright 2014 Google Inc. 2 * Copyright 2014 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef SkRecords_DEFINED 8 #ifndef SkRecords_DEFINED
9 #define SkRecords_DEFINED 9 #define SkRecords_DEFINED
10 10
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 M(DrawOval) \ 65 M(DrawOval) \
66 M(DrawPaint) \ 66 M(DrawPaint) \
67 M(DrawPath) \ 67 M(DrawPath) \
68 M(DrawPatch) \ 68 M(DrawPatch) \
69 M(DrawPicture) \ 69 M(DrawPicture) \
70 M(DrawPoints) \ 70 M(DrawPoints) \
71 M(DrawPosText) \ 71 M(DrawPosText) \
72 M(DrawPosTextH) \ 72 M(DrawPosTextH) \
73 M(DrawText) \ 73 M(DrawText) \
74 M(DrawTextOnPath) \ 74 M(DrawTextOnPath) \
75 M(DrawTextRSXform) \
75 M(DrawRRect) \ 76 M(DrawRRect) \
76 M(DrawRect) \ 77 M(DrawRect) \
77 M(DrawTextBlob) \ 78 M(DrawTextBlob) \
78 M(DrawAtlas) \ 79 M(DrawAtlas) \
79 M(DrawVertices) \ 80 M(DrawVertices) \
80 M(DrawAnnotation) 81 M(DrawAnnotation)
81 82
82 // Defines SkRecords::Type, an enum of all record types. 83 // Defines SkRecords::Type, an enum of all record types.
83 #define ENUM(T) T##_Type, 84 #define ENUM(T) T##_Type,
84 enum Type { SK_RECORD_TYPES(ENUM) }; 85 enum Type { SK_RECORD_TYPES(ENUM) };
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
337 SkPaint paint; 338 SkPaint paint;
338 RefBox<const SkTextBlob> blob; 339 RefBox<const SkTextBlob> blob;
339 SkScalar x; 340 SkScalar x;
340 SkScalar y); 341 SkScalar y);
341 RECORD(DrawTextOnPath, kDraw_Tag|kHasText_Tag, 342 RECORD(DrawTextOnPath, kDraw_Tag|kHasText_Tag,
342 SkPaint paint; 343 SkPaint paint;
343 PODArray<char> text; 344 PODArray<char> text;
344 size_t byteLength; 345 size_t byteLength;
345 PreCachedPath path; 346 PreCachedPath path;
346 TypedMatrix matrix); 347 TypedMatrix matrix);
348 RECORD(DrawTextRSXform, kDraw_Tag|kHasText_Tag,
349 SkPaint paint;
350 PODArray<char> text;
351 size_t byteLength;
352 PODArray<SkRSXform> xforms;
353 Optional<SkRect> cull);
347 RECORD(DrawPatch, kDraw_Tag, 354 RECORD(DrawPatch, kDraw_Tag,
348 SkPaint paint; 355 SkPaint paint;
349 PODArray<SkPoint> cubics; 356 PODArray<SkPoint> cubics;
350 PODArray<SkColor> colors; 357 PODArray<SkColor> colors;
351 PODArray<SkPoint> texCoords; 358 PODArray<SkPoint> texCoords;
352 RefBox<SkXfermode> xmode); 359 RefBox<SkXfermode> xmode);
353 RECORD(DrawAtlas, kDraw_Tag|kHasImage_Tag, 360 RECORD(DrawAtlas, kDraw_Tag|kHasImage_Tag,
354 Optional<SkPaint> paint; 361 Optional<SkPaint> paint;
355 RefBox<const SkImage> atlas; 362 RefBox<const SkImage> atlas;
356 PODArray<SkRSXform> xforms; 363 PODArray<SkRSXform> xforms;
(...skipping 14 matching lines...) Expand all
371 int indexCount); 378 int indexCount);
372 RECORD(DrawAnnotation, 0, 379 RECORD(DrawAnnotation, 0,
373 SkRect rect; 380 SkRect rect;
374 SkString key; 381 SkString key;
375 RefBox<SkData> value); 382 RefBox<SkData> value);
376 #undef RECORD 383 #undef RECORD
377 384
378 } // namespace SkRecords 385 } // namespace SkRecords
379 386
380 #endif//SkRecords_DEFINED 387 #endif//SkRecords_DEFINED
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698