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

Unified Diff: tools/CopyTilesRenderer.h

Issue 468293002: Add runtime flag to turn compressed alpha masks on (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Add flag to bench/render pictures 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
« no previous file with comments | « include/gpu/GrContextFactory.h ('k') | tools/CopyTilesRenderer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/CopyTilesRenderer.h
diff --git a/tools/CopyTilesRenderer.h b/tools/CopyTilesRenderer.h
index d7cf242fff6bea9ee9fbab13c22cbfd51c934a6c..b24414223c15be0d336aa7b4c0f1256960030f5f 100644
--- a/tools/CopyTilesRenderer.h
+++ b/tools/CopyTilesRenderer.h
@@ -22,7 +22,11 @@ namespace sk_tools {
class CopyTilesRenderer : public TiledPictureRenderer {
public:
+#if SK_SUPPORT_GPU
+ CopyTilesRenderer(const GrContext::Options &opts, int x, int y);
+#else
CopyTilesRenderer(int x, int y);
+#endif
virtual void init(const SkPicture* pict,
const SkString* writePath,
const SkString* mismatchPath,
« no previous file with comments | « include/gpu/GrContextFactory.h ('k') | tools/CopyTilesRenderer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698