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 "SkCanvasDrawable.h" | 12 #include "SkDrawable.h" |
13 #include "SkPicture.h" | 13 #include "SkPicture.h" |
14 #include "SkTextBlob.h" | 14 #include "SkTextBlob.h" |
15 | 15 |
16 namespace SkRecords { | 16 namespace SkRecords { |
17 | 17 |
18 // A list of all the types of canvas calls we can record. | 18 // A list of all the types of canvas calls we can record. |
19 // Each of these is reified into a struct below. | 19 // Each of these is reified into a struct below. |
20 // | 20 // |
21 // (We're using the macro-of-macro trick here to do several different things wit
h the same list.) | 21 // (We're using the macro-of-macro trick here to do several different things wit
h the same list.) |
22 // | 22 // |
(...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
346 #undef RECORD0 | 346 #undef RECORD0 |
347 #undef RECORD1 | 347 #undef RECORD1 |
348 #undef RECORD2 | 348 #undef RECORD2 |
349 #undef RECORD3 | 349 #undef RECORD3 |
350 #undef RECORD4 | 350 #undef RECORD4 |
351 #undef RECORD5 | 351 #undef RECORD5 |
352 | 352 |
353 } // namespace SkRecords | 353 } // namespace SkRecords |
354 | 354 |
355 #endif//SkRecords_DEFINED | 355 #endif//SkRecords_DEFINED |
OLD | NEW |