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