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 SkRecordCulling_DEFINED | 8 #ifndef SkRecordOpts_DEFINED |
9 #define SkRecordCulling_DEFINED | 9 #define SkRecordOpts_DEFINED |
10 | 10 |
11 #include "SkRecord.h" | 11 #include "SkRecord.h" |
12 | 12 |
| 13 // Run all optimizations in recommended order. |
| 14 void SkRecordOptimize(SkRecord*); |
| 15 |
| 16 |
13 // Annotates PushCull records in record with the relative offset of their paired
PopCull. | 17 // Annotates PushCull records in record with the relative offset of their paired
PopCull. |
14 void SkRecordAnnotateCullingPairs(SkRecord* record); | 18 void SkRecordAnnotateCullingPairs(SkRecord*); |
15 | 19 |
16 #endif//SkRecordCulling_DEFINED | 20 #endif//SkRecordOpts_DEFINED |
OLD | NEW |