OLD | NEW |
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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 M(DrawDrawable) \ | 61 M(DrawDrawable) \ |
62 M(DrawImage) \ | 62 M(DrawImage) \ |
63 M(DrawImageRect) \ | 63 M(DrawImageRect) \ |
64 M(DrawImageNine) \ | 64 M(DrawImageNine) \ |
65 M(DrawDRRect) \ | 65 M(DrawDRRect) \ |
66 M(DrawOval) \ | 66 M(DrawOval) \ |
67 M(DrawPaint) \ | 67 M(DrawPaint) \ |
68 M(DrawPath) \ | 68 M(DrawPath) \ |
69 M(DrawPatch) \ | 69 M(DrawPatch) \ |
70 M(DrawPicture) \ | 70 M(DrawPicture) \ |
71 M(DrawShadowedPicture) \ | |
72 M(DrawPoints) \ | 71 M(DrawPoints) \ |
73 M(DrawPosText) \ | 72 M(DrawPosText) \ |
74 M(DrawPosTextH) \ | 73 M(DrawPosTextH) \ |
75 M(DrawText) \ | 74 M(DrawText) \ |
76 M(DrawTextOnPath) \ | 75 M(DrawTextOnPath) \ |
77 M(DrawTextRSXform) \ | 76 M(DrawTextRSXform) \ |
78 M(DrawRRect) \ | 77 M(DrawRRect) \ |
79 M(DrawRect) \ | 78 M(DrawRect) \ |
80 M(DrawTextBlob) \ | 79 M(DrawTextBlob) \ |
81 M(DrawAtlas) \ | 80 M(DrawAtlas) \ |
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
303 SkRect oval); | 302 SkRect oval); |
304 RECORD(DrawPaint, kDraw_Tag, | 303 RECORD(DrawPaint, kDraw_Tag, |
305 SkPaint paint); | 304 SkPaint paint); |
306 RECORD(DrawPath, kDraw_Tag, | 305 RECORD(DrawPath, kDraw_Tag, |
307 SkPaint paint; | 306 SkPaint paint; |
308 PreCachedPath path); | 307 PreCachedPath path); |
309 RECORD(DrawPicture, kDraw_Tag, | 308 RECORD(DrawPicture, kDraw_Tag, |
310 Optional<SkPaint> paint; | 309 Optional<SkPaint> paint; |
311 RefBox<const SkPicture> picture; | 310 RefBox<const SkPicture> picture; |
312 TypedMatrix matrix); | 311 TypedMatrix matrix); |
313 RECORD(DrawShadowedPicture, kDraw_Tag, | |
314 Optional<SkPaint> paint; | |
315 RefBox<const SkPicture> picture; | |
316 TypedMatrix matrix); | |
317 RECORD(DrawPoints, kDraw_Tag, | 312 RECORD(DrawPoints, kDraw_Tag, |
318 SkPaint paint; | 313 SkPaint paint; |
319 SkCanvas::PointMode mode; | 314 SkCanvas::PointMode mode; |
320 unsigned count; | 315 unsigned count; |
321 SkPoint* pts); | 316 SkPoint* pts); |
322 RECORD(DrawPosText, kDraw_Tag|kHasText_Tag, | 317 RECORD(DrawPosText, kDraw_Tag|kHasText_Tag, |
323 SkPaint paint; | 318 SkPaint paint; |
324 PODArray<char> text; | 319 PODArray<char> text; |
325 size_t byteLength; | 320 size_t byteLength; |
326 PODArray<SkPoint> pos); | 321 PODArray<SkPoint> pos); |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
386 int indexCount); | 381 int indexCount); |
387 RECORD(DrawAnnotation, 0, | 382 RECORD(DrawAnnotation, 0, |
388 SkRect rect; | 383 SkRect rect; |
389 SkString key; | 384 SkString key; |
390 RefBox<SkData> value); | 385 RefBox<SkData> value); |
391 #undef RECORD | 386 #undef RECORD |
392 | 387 |
393 } // namespace SkRecords | 388 } // namespace SkRecords |
394 | 389 |
395 #endif//SkRecords_DEFINED | 390 #endif//SkRecords_DEFINED |
OLD | NEW |