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

Unified Diff: src/core/SkPictureData.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/SkPictureData.cpp
diff --git a/src/core/SkPictureData.cpp b/src/core/SkPictureData.cpp
index 123c414b53de2269e8a14fcc765e9c13343c3bb5..e5c11e9ebb09ab28f472daaf7d7fc82f46d0711f 100644
--- a/src/core/SkPictureData.cpp
+++ b/src/core/SkPictureData.cpp
@@ -684,6 +684,9 @@ bool SkPictureData::suitableForGpuRasterization(GrContext* context, const char *
}
}
+bool SkPictureData::suitableForOptimization() const {
+ return fContentInfo.suitableForOptimization();
+}
#endif
///////////////////////////////////////////////////////////////////////////////

Powered by Google App Engine
This is Rietveld 408576698