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

Unified Diff: src/core/SkPicture.cpp

Issue 464433002: Add layer counting to SkPictureRecord (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: address code review comments Created 6 years, 4 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
Index: src/core/SkPicture.cpp
diff --git a/src/core/SkPicture.cpp b/src/core/SkPicture.cpp
index 8b2bdabe77884eda37303ebab8a8eb1dd2cf041e..8f4da382207be11fb6116e9829c4c5c691187d7f 100644
--- a/src/core/SkPicture.cpp
+++ b/src/core/SkPicture.cpp
@@ -455,6 +455,11 @@ bool SkPicture::suitableForGpuRasterization(GrContext* context, const char **rea
return fData->suitableForGpuRasterization(context, reason);
}
+
+bool SkPicture::suitableForOptimization() const {
+ return fData->suitableForOptimization();
+}
+
#endif
// fRecord OK

Powered by Google App Engine
This is Rietveld 408576698