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

Unified Diff: tools/render_pictures_main.cpp

Issue 408923002: Add auto purging for SkPicture-related Ganesh resources (esp. layers) (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Fix comment Created 6 years, 5 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 | « tools/PictureBenchmark.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/render_pictures_main.cpp
diff --git a/tools/render_pictures_main.cpp b/tools/render_pictures_main.cpp
index 13ae6ead3f22f2788cf152ef1963be7cdc02c3a2..c2c7875b282cc6cfbd8a0aa6b8a38eba0eecb678 100644
--- a/tools/render_pictures_main.cpp
+++ b/tools/render_pictures_main.cpp
@@ -205,12 +205,6 @@ static bool render_picture_internal(const SkString& inputPath, const SkString* w
SkDebugf("Failed to render %s\n", inputFilename.c_str());
}
- if (FLAGS_preprocess) {
- if (NULL != renderer.getCanvas()) {
- renderer.getCanvas()->EXPERIMENTAL_purge(renderer.getPicture());
- }
- }
-
renderer.end();
SkDELETE(picture);
« no previous file with comments | « tools/PictureBenchmark.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698