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 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
250 RECORD(DrawPath, kDraw_Tag|kHasPaint_Tag, | 250 RECORD(DrawPath, kDraw_Tag|kHasPaint_Tag, |
251 SkPaint paint; | 251 SkPaint paint; |
252 PreCachedPath path); | 252 PreCachedPath path); |
253 RECORD(DrawPicture, kDraw_Tag|kHasPaint_Tag, | 253 RECORD(DrawPicture, kDraw_Tag|kHasPaint_Tag, |
254 Optional<SkPaint> paint; | 254 Optional<SkPaint> paint; |
255 sk_sp<const SkPicture> picture; | 255 sk_sp<const SkPicture> picture; |
256 TypedMatrix matrix); | 256 TypedMatrix matrix); |
257 RECORD(DrawShadowedPicture, kDraw_Tag|kHasPaint_Tag, | 257 RECORD(DrawShadowedPicture, kDraw_Tag|kHasPaint_Tag, |
258 Optional<SkPaint> paint; | 258 Optional<SkPaint> paint; |
259 sk_sp<const SkPicture> picture; | 259 sk_sp<const SkPicture> picture; |
260 TypedMatrix matrix); | 260 TypedMatrix matrix; |
261 SkShadowType sType); | |
jvanverth1
2016/08/15 16:37:16
const SkShadowType&
vjiaoblack
2016/08/15 17:43:30
Done.
| |
261 RECORD(DrawPoints, kDraw_Tag|kHasPaint_Tag, | 262 RECORD(DrawPoints, kDraw_Tag|kHasPaint_Tag, |
262 SkPaint paint; | 263 SkPaint paint; |
263 SkCanvas::PointMode mode; | 264 SkCanvas::PointMode mode; |
264 unsigned count; | 265 unsigned count; |
265 SkPoint* pts); | 266 SkPoint* pts); |
266 RECORD(DrawPosText, kDraw_Tag|kHasText_Tag|kHasPaint_Tag, | 267 RECORD(DrawPosText, kDraw_Tag|kHasText_Tag|kHasPaint_Tag, |
267 SkPaint paint; | 268 SkPaint paint; |
268 PODArray<char> text; | 269 PODArray<char> text; |
269 size_t byteLength; | 270 size_t byteLength; |
270 PODArray<SkPoint> pos); | 271 PODArray<SkPoint> pos); |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
330 int indexCount); | 331 int indexCount); |
331 RECORD(DrawAnnotation, 0, // TODO: kDraw_Tag, skia:5548 | 332 RECORD(DrawAnnotation, 0, // TODO: kDraw_Tag, skia:5548 |
332 SkRect rect; | 333 SkRect rect; |
333 SkString key; | 334 SkString key; |
334 sk_sp<SkData> value); | 335 sk_sp<SkData> value); |
335 #undef RECORD | 336 #undef RECORD |
336 | 337 |
337 } // namespace SkRecords | 338 } // namespace SkRecords |
338 | 339 |
339 #endif//SkRecords_DEFINED | 340 #endif//SkRecords_DEFINED |
OLD | NEW |