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

Unified Diff: src/record/SkRecording.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.cpp ('k') | tests/RecordCullingTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/record/SkRecording.cpp
diff --git a/src/record/SkRecording.cpp b/src/record/SkRecording.cpp
index 2c59c8a217174040b6da32c69c29d79b30ca806d..6af19593f85894bd1f41b3cda1326c9111859a56 100644
--- a/src/record/SkRecording.cpp
+++ b/src/record/SkRecording.cpp
@@ -8,7 +8,7 @@
#include "SkRecording.h"
#include "SkRecord.h"
-#include "SkRecordCulling.h"
+#include "SkRecordOpts.h"
#include "SkRecordDraw.h"
#include "SkRecorder.h"
@@ -37,7 +37,7 @@ SkRecording::SkRecording(int width, int height) {
/*static*/ const SkPlayback* SkRecording::Delete(SkRecording* recording) {
SkRecord* record = recording->fRecord;
- SkRecordAnnotateCullingPairs(record);
+ SkRecordOptimize(record);
SkDELETE(recording);
return SkNEW_ARGS(SkPlayback, (record));
}
« no previous file with comments | « src/record/SkRecordOpts.cpp ('k') | tests/RecordCullingTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698