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

Unified Diff: src/record/SkRecordOpts.cpp

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/SkRecordOpts.h ('k') | src/record/SkRecording.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/record/SkRecordOpts.cpp
diff --git a/src/record/SkRecordCulling.cpp b/src/record/SkRecordOpts.cpp
similarity index 91%
rename from src/record/SkRecordCulling.cpp
rename to src/record/SkRecordOpts.cpp
index f147ee668353497dac00811bdf5d70a870a3c2e7..8963c07bca9ab567a4bacd301f7a5898c4f44919 100644
--- a/src/record/SkRecordCulling.cpp
+++ b/src/record/SkRecordOpts.cpp
@@ -5,11 +5,15 @@
* found in the LICENSE file.
*/
-#include "SkRecordCulling.h"
+#include "SkRecordOpts.h"
#include "SkRecords.h"
#include "SkTDArray.h"
+void SkRecordOptimize(SkRecord* record) {
+ SkRecordAnnotateCullingPairs(record);
+}
+
namespace {
struct Annotator {
« no previous file with comments | « src/record/SkRecordOpts.h ('k') | src/record/SkRecording.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698