| 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 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 190 | 190 |
| 191 RECORD(NoOp, 0); | 191 RECORD(NoOp, 0); |
| 192 RECORD(Restore, 0, | 192 RECORD(Restore, 0, |
| 193 SkIRect devBounds; | 193 SkIRect devBounds; |
| 194 TypedMatrix matrix); | 194 TypedMatrix matrix); |
| 195 RECORD(Save, 0); | 195 RECORD(Save, 0); |
| 196 | 196 |
| 197 RECORD(SaveLayer, 0, | 197 RECORD(SaveLayer, 0, |
| 198 Optional<SkRect> bounds; | 198 Optional<SkRect> bounds; |
| 199 Optional<SkPaint> paint; | 199 Optional<SkPaint> paint; |
| 200 SkCanvas::SaveFlags flags); | 200 SkCanvas::SaveLayerFlags saveLayerFlags); |
| 201 | 201 |
| 202 RECORD(SetMatrix, 0, | 202 RECORD(SetMatrix, 0, |
| 203 TypedMatrix matrix); | 203 TypedMatrix matrix); |
| 204 RECORD(Concat, 0, | 204 RECORD(Concat, 0, |
| 205 TypedMatrix matrix); | 205 TypedMatrix matrix); |
| 206 | 206 |
| 207 struct RegionOpAndAA { | 207 struct RegionOpAndAA { |
| 208 RegionOpAndAA() {} | 208 RegionOpAndAA() {} |
| 209 RegionOpAndAA(SkRegion::Op op, bool aa) : op(op), aa(aa) {} | 209 RegionOpAndAA(SkRegion::Op op, bool aa) : op(op), aa(aa) {} |
| 210 SkRegion::Op op : 31; // This really only needs to be 3, but there's no win
today to do so. | 210 SkRegion::Op op : 31; // This really only needs to be 3, but there's no win
today to do so. |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 355 PODArray<SkColor> colors; | 355 PODArray<SkColor> colors; |
| 356 RefBox<SkXfermode> xmode; | 356 RefBox<SkXfermode> xmode; |
| 357 PODArray<uint16_t> indices; | 357 PODArray<uint16_t> indices; |
| 358 int indexCount); | 358 int indexCount); |
| 359 | 359 |
| 360 #undef RECORD | 360 #undef RECORD |
| 361 | 361 |
| 362 } // namespace SkRecords | 362 } // namespace SkRecords |
| 363 | 363 |
| 364 #endif//SkRecords_DEFINED | 364 #endif//SkRecords_DEFINED |
| OLD | NEW |