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

Unified Diff: src/core/SkCanvas.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 | « include/gpu/SkGpuDevice.h ('k') | src/core/SkDevice.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkCanvas.cpp
diff --git a/src/core/SkCanvas.cpp b/src/core/SkCanvas.cpp
index 4b1749a08b6876a30b4dc3db0e7129d9225828ce..504c9908abbb8015a65e7bfd7b77a2662d21154a 100644
--- a/src/core/SkCanvas.cpp
+++ b/src/core/SkCanvas.cpp
@@ -2386,13 +2386,6 @@ void SkCanvas::EXPERIMENTAL_optimize(const SkPicture* picture) {
}
}
-void SkCanvas::EXPERIMENTAL_purge(const SkPicture* picture) {
- SkBaseDevice* device = this->getTopDevice();
- if (NULL != device) {
- device->EXPERIMENTAL_purge(picture);
- }
-}
-
void SkCanvas::drawPicture(const SkPicture* picture) {
if (NULL != picture) {
this->onDrawPicture(picture);
« no previous file with comments | « include/gpu/SkGpuDevice.h ('k') | src/core/SkDevice.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698