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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 M(Save) \ | 47 M(Save) \ |
48 M(SaveLayer) \ | 48 M(SaveLayer) \ |
49 M(SetMatrix) \ | 49 M(SetMatrix) \ |
50 M(Concat) \ | 50 M(Concat) \ |
51 M(ClipPath) \ | 51 M(ClipPath) \ |
52 M(ClipRRect) \ | 52 M(ClipRRect) \ |
53 M(ClipRect) \ | 53 M(ClipRect) \ |
54 M(ClipRegion) \ | 54 M(ClipRegion) \ |
55 M(DrawBitmap) \ | 55 M(DrawBitmap) \ |
56 M(DrawBitmapNine) \ | 56 M(DrawBitmapNine) \ |
| 57 M(DrawBitmapNineDivs) \ |
57 M(DrawBitmapRect) \ | 58 M(DrawBitmapRect) \ |
58 M(DrawBitmapRectFast) \ | 59 M(DrawBitmapRectFast) \ |
59 M(DrawBitmapRectFixedSize) \ | 60 M(DrawBitmapRectFixedSize) \ |
60 M(DrawDrawable) \ | 61 M(DrawDrawable) \ |
61 M(DrawImage) \ | 62 M(DrawImage) \ |
62 M(DrawImageRect) \ | 63 M(DrawImageRect) \ |
63 M(DrawImageNine) \ | 64 M(DrawImageNine) \ |
64 M(DrawDRRect) \ | 65 M(DrawDRRect) \ |
65 M(DrawOval) \ | 66 M(DrawOval) \ |
66 M(DrawPaint) \ | 67 M(DrawPaint) \ |
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
247 RECORD(DrawBitmap, kDraw_Tag|kHasImage_Tag, | 248 RECORD(DrawBitmap, kDraw_Tag|kHasImage_Tag, |
248 Optional<SkPaint> paint; | 249 Optional<SkPaint> paint; |
249 ImmutableBitmap bitmap; | 250 ImmutableBitmap bitmap; |
250 SkScalar left; | 251 SkScalar left; |
251 SkScalar top); | 252 SkScalar top); |
252 RECORD(DrawBitmapNine, kDraw_Tag|kHasImage_Tag, | 253 RECORD(DrawBitmapNine, kDraw_Tag|kHasImage_Tag, |
253 Optional<SkPaint> paint; | 254 Optional<SkPaint> paint; |
254 ImmutableBitmap bitmap; | 255 ImmutableBitmap bitmap; |
255 SkIRect center; | 256 SkIRect center; |
256 SkRect dst); | 257 SkRect dst); |
| 258 RECORD(DrawBitmapNineDivs, kDraw_Tag|kHasImage_Tag, |
| 259 Optional<SkPaint> paint; |
| 260 ImmutableBitmap bitmap; |
| 261 sk_sp<SkData> divs; |
| 262 SkRect dst); |
257 RECORD(DrawBitmapRect, kDraw_Tag|kHasImage_Tag, | 263 RECORD(DrawBitmapRect, kDraw_Tag|kHasImage_Tag, |
258 Optional<SkPaint> paint; | 264 Optional<SkPaint> paint; |
259 ImmutableBitmap bitmap; | 265 ImmutableBitmap bitmap; |
260 Optional<SkRect> src; | 266 Optional<SkRect> src; |
261 SkRect dst); | 267 SkRect dst); |
262 RECORD(DrawBitmapRectFast, kDraw_Tag|kHasImage_Tag, | 268 RECORD(DrawBitmapRectFast, kDraw_Tag|kHasImage_Tag, |
263 Optional<SkPaint> paint; | 269 Optional<SkPaint> paint; |
264 ImmutableBitmap bitmap; | 270 ImmutableBitmap bitmap; |
265 Optional<SkRect> src; | 271 Optional<SkRect> src; |
266 SkRect dst); | 272 SkRect dst); |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
378 int indexCount); | 384 int indexCount); |
379 RECORD(DrawAnnotation, 0, | 385 RECORD(DrawAnnotation, 0, |
380 SkRect rect; | 386 SkRect rect; |
381 SkString key; | 387 SkString key; |
382 RefBox<SkData> value); | 388 RefBox<SkData> value); |
383 #undef RECORD | 389 #undef RECORD |
384 | 390 |
385 } // namespace SkRecords | 391 } // namespace SkRecords |
386 | 392 |
387 #endif//SkRecords_DEFINED | 393 #endif//SkRecords_DEFINED |
OLD | NEW |