| 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 |
| 11 #include "SkCanvas.h" | 11 #include "SkCanvas.h" |
| 12 #include "SkDrawable.h" | 12 #include "SkDrawable.h" |
| 13 #include "SkImageFilter.h" | |
| 14 #include "SkMatrix.h" | 13 #include "SkMatrix.h" |
| 15 #include "SkPath.h" | 14 #include "SkPath.h" |
| 16 #include "SkPicture.h" | 15 #include "SkPicture.h" |
| 17 #include "SkRect.h" | 16 #include "SkRect.h" |
| 18 #include "SkRRect.h" | 17 #include "SkRRect.h" |
| 19 #include "SkRSXform.h" | 18 #include "SkRSXform.h" |
| 20 #include "SkTextBlob.h" | 19 #include "SkTextBlob.h" |
| 21 | 20 |
| 22 namespace SkRecords { | 21 namespace SkRecords { |
| 23 | 22 |
| (...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 191 | 190 |
| 192 RECORD(NoOp, 0); | 191 RECORD(NoOp, 0); |
| 193 RECORD(Restore, 0, | 192 RECORD(Restore, 0, |
| 194 SkIRect devBounds; | 193 SkIRect devBounds; |
| 195 TypedMatrix matrix); | 194 TypedMatrix matrix); |
| 196 RECORD(Save, 0); | 195 RECORD(Save, 0); |
| 197 | 196 |
| 198 RECORD(SaveLayer, 0, | 197 RECORD(SaveLayer, 0, |
| 199 Optional<SkRect> bounds; | 198 Optional<SkRect> bounds; |
| 200 Optional<SkPaint> paint; | 199 Optional<SkPaint> paint; |
| 201 RefBox<const SkImageFilter> backdrop; | |
| 202 SkCanvas::SaveLayerFlags saveLayerFlags); | 200 SkCanvas::SaveLayerFlags saveLayerFlags); |
| 203 | 201 |
| 204 RECORD(SetMatrix, 0, | 202 RECORD(SetMatrix, 0, |
| 205 TypedMatrix matrix); | 203 TypedMatrix matrix); |
| 206 RECORD(Concat, 0, | 204 RECORD(Concat, 0, |
| 207 TypedMatrix matrix); | 205 TypedMatrix matrix); |
| 208 | 206 |
| 209 struct RegionOpAndAA { | 207 struct RegionOpAndAA { |
| 210 RegionOpAndAA() {} | 208 RegionOpAndAA() {} |
| 211 RegionOpAndAA(SkRegion::Op op, bool aa) : op(op), aa(aa) {} | 209 RegionOpAndAA(SkRegion::Op op, bool aa) : op(op), aa(aa) {} |
| (...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 357 PODArray<SkColor> colors; | 355 PODArray<SkColor> colors; |
| 358 RefBox<SkXfermode> xmode; | 356 RefBox<SkXfermode> xmode; |
| 359 PODArray<uint16_t> indices; | 357 PODArray<uint16_t> indices; |
| 360 int indexCount); | 358 int indexCount); |
| 361 | 359 |
| 362 #undef RECORD | 360 #undef RECORD |
| 363 | 361 |
| 364 } // namespace SkRecords | 362 } // namespace SkRecords |
| 365 | 363 |
| 366 #endif//SkRecords_DEFINED | 364 #endif//SkRecords_DEFINED |
| OLD | NEW |