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

Unified Diff: tools/gpu/GrContextFactory.cpp

Issue 1882563002: Enable NV_path_rendering in the Null GL. (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: Rebased to resolve merge conflict Created 4 years, 8 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/gl/GrGLCreateNullInterface.cpp ('k') | tools/gpu/gl/null/NullGLTestContext.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gpu/GrContextFactory.cpp
diff --git a/tools/gpu/GrContextFactory.cpp b/tools/gpu/GrContextFactory.cpp
index 651f3fcde27a81d19ca46bdbf442bcf4c1eb6b2b..eb0f41470674d81f45d970628f2bbd2e93a90479 100755
--- a/tools/gpu/GrContextFactory.cpp
+++ b/tools/gpu/GrContextFactory.cpp
@@ -141,7 +141,7 @@ ContextInfo GrContextFactory::getContextInfo(ContextType type, ContextOptions op
break;
#endif
case kNullGL_ContextType:
- glCtx.reset(CreateNullGLTestContext());
+ glCtx.reset(CreateNullGLTestContext(kEnableNVPR_ContextOptions & options));
break;
case kDebugGL_ContextType:
glCtx.reset(CreateDebugGLTestContext());
« no previous file with comments | « src/gpu/gl/GrGLCreateNullInterface.cpp ('k') | tools/gpu/gl/null/NullGLTestContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698