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 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
261 RECORD(DrawPath, kDraw_Tag|kHasPaint_Tag, | 261 RECORD(DrawPath, kDraw_Tag|kHasPaint_Tag, |
262 SkPaint paint; | 262 SkPaint paint; |
263 PreCachedPath path); | 263 PreCachedPath path); |
264 RECORD(DrawPicture, kDraw_Tag|kHasPaint_Tag, | 264 RECORD(DrawPicture, kDraw_Tag|kHasPaint_Tag, |
265 Optional<SkPaint> paint; | 265 Optional<SkPaint> paint; |
266 sk_sp<const SkPicture> picture; | 266 sk_sp<const SkPicture> picture; |
267 TypedMatrix matrix); | 267 TypedMatrix matrix); |
268 RECORD(DrawShadowedPicture, kDraw_Tag|kHasPaint_Tag, | 268 RECORD(DrawShadowedPicture, kDraw_Tag|kHasPaint_Tag, |
269 Optional<SkPaint> paint; | 269 Optional<SkPaint> paint; |
270 sk_sp<const SkPicture> picture; | 270 sk_sp<const SkPicture> picture; |
271 TypedMatrix matrix); | 271 TypedMatrix matrix; |
| 272 const SkShadowParams& params); |
272 RECORD(DrawPoints, kDraw_Tag|kHasPaint_Tag, | 273 RECORD(DrawPoints, kDraw_Tag|kHasPaint_Tag, |
273 SkPaint paint; | 274 SkPaint paint; |
274 SkCanvas::PointMode mode; | 275 SkCanvas::PointMode mode; |
275 unsigned count; | 276 unsigned count; |
276 SkPoint* pts); | 277 SkPoint* pts); |
277 RECORD(DrawPosText, kDraw_Tag|kHasText_Tag|kHasPaint_Tag, | 278 RECORD(DrawPosText, kDraw_Tag|kHasText_Tag|kHasPaint_Tag, |
278 SkPaint paint; | 279 SkPaint paint; |
279 PODArray<char> text; | 280 PODArray<char> text; |
280 size_t byteLength; | 281 size_t byteLength; |
281 PODArray<SkPoint> pos); | 282 PODArray<SkPoint> pos); |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
341 int indexCount); | 342 int indexCount); |
342 RECORD(DrawAnnotation, 0, // TODO: kDraw_Tag, skia:5548 | 343 RECORD(DrawAnnotation, 0, // TODO: kDraw_Tag, skia:5548 |
343 SkRect rect; | 344 SkRect rect; |
344 SkString key; | 345 SkString key; |
345 sk_sp<SkData> value); | 346 sk_sp<SkData> value); |
346 #undef RECORD | 347 #undef RECORD |
347 | 348 |
348 } // namespace SkRecords | 349 } // namespace SkRecords |
349 | 350 |
350 #endif//SkRecords_DEFINED | 351 #endif//SkRecords_DEFINED |
OLD | NEW |