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 27 matching lines...) Expand all Loading... |
38 M(ClipRegion) \ | 38 M(ClipRegion) \ |
39 M(Clear) \ | 39 M(Clear) \ |
40 M(DrawBitmap) \ | 40 M(DrawBitmap) \ |
41 M(DrawBitmapMatrix) \ | 41 M(DrawBitmapMatrix) \ |
42 M(DrawBitmapNine) \ | 42 M(DrawBitmapNine) \ |
43 M(DrawBitmapRectToRect) \ | 43 M(DrawBitmapRectToRect) \ |
44 M(DrawDRRect) \ | 44 M(DrawDRRect) \ |
45 M(DrawOval) \ | 45 M(DrawOval) \ |
46 M(DrawPaint) \ | 46 M(DrawPaint) \ |
47 M(DrawPath) \ | 47 M(DrawPath) \ |
| 48 M(DrawPatch) \ |
48 M(DrawPoints) \ | 49 M(DrawPoints) \ |
49 M(DrawPosText) \ | 50 M(DrawPosText) \ |
50 M(DrawPosTextH) \ | 51 M(DrawPosTextH) \ |
51 M(DrawRRect) \ | 52 M(DrawRRect) \ |
52 M(DrawRect) \ | 53 M(DrawRect) \ |
53 M(DrawSprite) \ | 54 M(DrawSprite) \ |
54 M(DrawText) \ | 55 M(DrawText) \ |
55 M(DrawTextOnPath) \ | 56 M(DrawTextOnPath) \ |
56 M(DrawVertices) \ | 57 M(DrawVertices) \ |
57 M(BoundedDrawPosTextH) /*From SkRecordBoundDrawPosTextH*/ | 58 M(BoundedDrawPosTextH) /*From SkRecordBoundDrawPosTextH*/ |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
210 SkRect, dst); | 211 SkRect, dst); |
211 RECORD5(DrawBitmapRectToRect, Optional<SkPaint>, paint, | 212 RECORD5(DrawBitmapRectToRect, Optional<SkPaint>, paint, |
212 ImmutableBitmap, bitmap, | 213 ImmutableBitmap, bitmap, |
213 Optional<SkRect>, src, | 214 Optional<SkRect>, src, |
214 SkRect, dst, | 215 SkRect, dst, |
215 SkCanvas::DrawBitmapRectFlags, flags); | 216 SkCanvas::DrawBitmapRectFlags, flags); |
216 RECORD3(DrawDRRect, SkPaint, paint, SkRRect, outer, SkRRect, inner); | 217 RECORD3(DrawDRRect, SkPaint, paint, SkRRect, outer, SkRRect, inner); |
217 RECORD2(DrawOval, SkPaint, paint, SkRect, oval); | 218 RECORD2(DrawOval, SkPaint, paint, SkRect, oval); |
218 RECORD1(DrawPaint, SkPaint, paint); | 219 RECORD1(DrawPaint, SkPaint, paint); |
219 RECORD2(DrawPath, SkPaint, paint, SkPath, path); | 220 RECORD2(DrawPath, SkPaint, paint, SkPath, path); |
| 221 RECORD2(DrawPatch, SkPaint, paint, SkPatch, patch); |
220 RECORD4(DrawPoints, SkPaint, paint, SkCanvas::PointMode, mode, size_t, count, Sk
Point*, pts); | 222 RECORD4(DrawPoints, SkPaint, paint, SkCanvas::PointMode, mode, size_t, count, Sk
Point*, pts); |
221 RECORD4(DrawPosText, SkPaint, paint, | 223 RECORD4(DrawPosText, SkPaint, paint, |
222 PODArray<char>, text, | 224 PODArray<char>, text, |
223 size_t, byteLength, | 225 size_t, byteLength, |
224 PODArray<SkPoint>, pos); | 226 PODArray<SkPoint>, pos); |
225 RECORD5(DrawPosTextH, SkPaint, paint, | 227 RECORD5(DrawPosTextH, SkPaint, paint, |
226 PODArray<char>, text, | 228 PODArray<char>, text, |
227 size_t, byteLength, | 229 size_t, byteLength, |
228 PODArray<SkScalar>, xpos, | 230 PODArray<SkScalar>, xpos, |
229 SkScalar, y); | 231 SkScalar, y); |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
282 #undef RECORD0 | 284 #undef RECORD0 |
283 #undef RECORD1 | 285 #undef RECORD1 |
284 #undef RECORD2 | 286 #undef RECORD2 |
285 #undef RECORD3 | 287 #undef RECORD3 |
286 #undef RECORD4 | 288 #undef RECORD4 |
287 #undef RECORD5 | 289 #undef RECORD5 |
288 | 290 |
289 } // namespace SkRecords | 291 } // namespace SkRecords |
290 | 292 |
291 #endif//SkRecords_DEFINED | 293 #endif//SkRecords_DEFINED |
OLD | NEW |