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 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
176 | 176 |
177 operator const SkBitmap& () const { return fBitmap; } | 177 operator const SkBitmap& () const { return fBitmap; } |
178 | 178 |
179 private: | 179 private: |
180 SkBitmap fBitmap; | 180 SkBitmap fBitmap; |
181 }; | 181 }; |
182 | 182 |
183 RECORD0(NoOp); | 183 RECORD0(NoOp); |
184 | 184 |
185 RECORD0(Restore); | 185 RECORD0(Restore); |
186 RECORD1(Save, SkCanvas::SaveFlags, flags); | 186 RECORD0(Save); |
187 RECORD3(SaveLayer, Optional<SkRect>, bounds, Optional<SkPaint>, paint, SkCanvas:
:SaveFlags, flags); | 187 RECORD3(SaveLayer, Optional<SkRect>, bounds, Optional<SkPaint>, paint, SkCanvas:
:SaveFlags, flags); |
188 | 188 |
189 RECORD1(PushCull, SkRect, rect); | 189 RECORD1(PushCull, SkRect, rect); |
190 RECORD0(PopCull); | 190 RECORD0(PopCull); |
191 | 191 |
192 RECORD1(Concat, SkMatrix, matrix); | 192 RECORD1(Concat, SkMatrix, matrix); |
193 RECORD1(SetMatrix, SkMatrix, matrix); | 193 RECORD1(SetMatrix, SkMatrix, matrix); |
194 | 194 |
195 RECORD3(ClipPath, SkPath, path, SkRegion::Op, op, bool, doAA); | 195 RECORD3(ClipPath, SkPath, path, SkRegion::Op, op, bool, doAA); |
196 RECORD3(ClipRRect, SkRRect, rrect, SkRegion::Op, op, bool, doAA); | 196 RECORD3(ClipRRect, SkRRect, rrect, SkRegion::Op, op, bool, doAA); |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
282 #undef RECORD0 | 282 #undef RECORD0 |
283 #undef RECORD1 | 283 #undef RECORD1 |
284 #undef RECORD2 | 284 #undef RECORD2 |
285 #undef RECORD3 | 285 #undef RECORD3 |
286 #undef RECORD4 | 286 #undef RECORD4 |
287 #undef RECORD5 | 287 #undef RECORD5 |
288 | 288 |
289 } // namespace SkRecords | 289 } // namespace SkRecords |
290 | 290 |
291 #endif//SkRecords_DEFINED | 291 #endif//SkRecords_DEFINED |
OLD | NEW |