| 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 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 235 sk_sp<const SkImage> image; | 235 sk_sp<const SkImage> image; |
| 236 SkScalar left; | 236 SkScalar left; |
| 237 SkScalar top); | 237 SkScalar top); |
| 238 RECORD(DrawImageLattice, kDraw_Tag|kHasImage_Tag|kHasPaint_Tag, | 238 RECORD(DrawImageLattice, kDraw_Tag|kHasImage_Tag|kHasPaint_Tag, |
| 239 Optional<SkPaint> paint; | 239 Optional<SkPaint> paint; |
| 240 sk_sp<const SkImage> image; | 240 sk_sp<const SkImage> image; |
| 241 int xCount; | 241 int xCount; |
| 242 PODArray<int> xDivs; | 242 PODArray<int> xDivs; |
| 243 int yCount; | 243 int yCount; |
| 244 PODArray<int> yDivs; | 244 PODArray<int> yDivs; |
| 245 int flagCount; |
| 246 PODArray<SkCanvas::Lattice::Flags> flags; |
| 245 SkRect dst); | 247 SkRect dst); |
| 246 RECORD(DrawImageRect, kDraw_Tag|kHasImage_Tag|kHasPaint_Tag, | 248 RECORD(DrawImageRect, kDraw_Tag|kHasImage_Tag|kHasPaint_Tag, |
| 247 Optional<SkPaint> paint; | 249 Optional<SkPaint> paint; |
| 248 sk_sp<const SkImage> image; | 250 sk_sp<const SkImage> image; |
| 249 Optional<SkRect> src; | 251 Optional<SkRect> src; |
| 250 SkRect dst; | 252 SkRect dst; |
| 251 SkCanvas::SrcRectConstraint constraint); | 253 SkCanvas::SrcRectConstraint constraint); |
| 252 RECORD(DrawImageNine, kDraw_Tag|kHasImage_Tag|kHasPaint_Tag, | 254 RECORD(DrawImageNine, kDraw_Tag|kHasImage_Tag|kHasPaint_Tag, |
| 253 Optional<SkPaint> paint; | 255 Optional<SkPaint> paint; |
| 254 sk_sp<const SkImage> image; | 256 sk_sp<const SkImage> image; |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 346 int indexCount); | 348 int indexCount); |
| 347 RECORD(DrawAnnotation, 0, // TODO: kDraw_Tag, skia:5548 | 349 RECORD(DrawAnnotation, 0, // TODO: kDraw_Tag, skia:5548 |
| 348 SkRect rect; | 350 SkRect rect; |
| 349 SkString key; | 351 SkString key; |
| 350 sk_sp<SkData> value); | 352 sk_sp<SkData> value); |
| 351 #undef RECORD | 353 #undef RECORD |
| 352 | 354 |
| 353 } // namespace SkRecords | 355 } // namespace SkRecords |
| 354 | 356 |
| 355 #endif//SkRecords_DEFINED | 357 #endif//SkRecords_DEFINED |
| OLD | NEW |