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

Unified Diff: src/gpu/GrPathRendererChain.h

Issue 2339213002: Add GrContextOptions flag to disable distance field path renderer. (Closed)
Patch Set: Add trivial default constructor to satisfy clang Created 4 years, 3 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 | « src/gpu/GrDrawingManager.cpp ('k') | src/gpu/GrPathRendererChain.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrPathRendererChain.h
diff --git a/src/gpu/GrPathRendererChain.h b/src/gpu/GrPathRendererChain.h
index ade30551ae5011a014e1229767a1d87a916ccb75..2a11a19cda86f7ac7fd519bbbc492c8371a060b2 100644
--- a/src/gpu/GrPathRendererChain.h
+++ b/src/gpu/GrPathRendererChain.h
@@ -23,7 +23,10 @@ class GrContext;
*/
class GrPathRendererChain : public SkNoncopyable {
public:
- GrPathRendererChain(GrContext* context);
+ struct Options {
+ bool fDisableDistanceFieldRenderer = false;
+ };
+ GrPathRendererChain(GrContext* context, const Options&);
~GrPathRendererChain();
« no previous file with comments | « src/gpu/GrDrawingManager.cpp ('k') | src/gpu/GrPathRendererChain.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698