Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(52)

Unified Diff: src/record/SkRecordOpts.h

Issue 243243003: anticipate more optimizations by renaming some files and methods (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/record/SkRecordCulling.cpp ('k') | src/record/SkRecordOpts.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « src/record/SkRecordCulling.cpp ('k') | src/record/SkRecordOpts.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698