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

Unified Diff: include/core/SkPicture.h

Issue 197803002: stub for ganesh veto (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 9 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 | « no previous file | src/core/SkPicture.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkPicture.h
diff --git a/include/core/SkPicture.h b/include/core/SkPicture.h
index d36d162aee63f5a0988461359afcb2587e9831ba..d37da97bd111f8b93e55d6bc189aef2ad9cab48d 100644
--- a/include/core/SkPicture.h
+++ b/include/core/SkPicture.h
@@ -227,6 +227,11 @@ public:
*/
void internalOnly_EnableOpts(bool enableOpts);
+ /** Return true if the picture is suitable for rendering on the GPU.
+ */
+
+ bool suitableForGpuRasterization() const;
nduca 2014/03/12 17:36:15 does this need to know the grcontext at some point
bsalomon 2014/03/12 17:43:23 Yes, we'll want to know the capabilities present t
+
protected:
// V2 : adds SkPixelRef's generation ID.
// V3 : PictInfo tag at beginning, and EOF tag at the end
« no previous file with comments | « no previous file | src/core/SkPicture.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698