Index: src/record/SkRecordOpts.h |
diff --git a/src/record/SkRecordCulling.h b/src/record/SkRecordOpts.h |
similarity index 54% |
rename from src/record/SkRecordCulling.h |
rename to src/record/SkRecordOpts.h |
index 60420f223c74f30c8cd2d9ab2e77c3c66354caf7..bc19a1fcc439e81155c0872966391b655b567a45 100644 |
--- a/src/record/SkRecordCulling.h |
+++ b/src/record/SkRecordOpts.h |
@@ -5,12 +5,16 @@ |
* found in the LICENSE file. |
*/ |
-#ifndef SkRecordCulling_DEFINED |
-#define SkRecordCulling_DEFINED |
+#ifndef SkRecordOpts_DEFINED |
+#define SkRecordOpts_DEFINED |
#include "SkRecord.h" |
+// Run all optimizations in recommended order. |
+void SkRecordOptimize(SkRecord*); |
+ |
+ |
// Annotates PushCull records in record with the relative offset of their paired PopCull. |
-void SkRecordAnnotateCullingPairs(SkRecord* record); |
+void SkRecordAnnotateCullingPairs(SkRecord*); |
-#endif//SkRecordCulling_DEFINED |
+#endif//SkRecordOpts_DEFINED |