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

Unified Diff: src/core/SkPictureData.h

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.h
diff --git a/src/core/SkPictureData.h b/src/core/SkPictureData.h
index c1cfba35fb951b437f4265af0239b2591dc88fac..8e69fd8088941411d15772d8fece543de518c7a2 100644
--- a/src/core/SkPictureData.h
+++ b/src/core/SkPictureData.h
@@ -182,6 +182,8 @@ public:
*/
bool suitableForGpuRasterization(GrContext* context, const char **reason,
GrPixelConfig config, SkScalar dpi) const;
+
+ bool suitableForOptimization() const;
#endif
private:

Powered by Google App Engine
This is Rietveld 408576698