diff options
author | 2017-12-18 14:22:34 -0700 | |
---|---|---|
committer | 2017-12-19 17:26:56 +0000 | |
commit | 040238bded7b932b916c84912cbaec1207aa29c0 (patch) | |
tree | c5552a22315889b06249b524bc2d1a6723651dcb /include/gpu/GrContextOptions.h | |
parent | c2a4101e48467ae9d574f9b85b228aabb0722d40 (diff) |
Add a tools flag to suppress geometry shaders
Bug: skia:
Change-Id: I38736c5d49e3b281c2d23af3908575274ff97b5c
Reviewed-on: https://skia-review.googlesource.com/86282
Reviewed-by: Brian Salomon <bsalomon@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Chris Dalton <csmartdalton@google.com>
Diffstat (limited to 'include/gpu/GrContextOptions.h')
-rw-r--r-- | include/gpu/GrContextOptions.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/gpu/GrContextOptions.h b/include/gpu/GrContextOptions.h index e3c05215c3..41872be78a 100644 --- a/include/gpu/GrContextOptions.h +++ b/include/gpu/GrContextOptions.h @@ -167,6 +167,11 @@ struct GrContextOptions { bool fSuppressPathRendering = false; /** + * If true, the caps will never support geometry shaders. + */ + bool fSuppressGeometryShaders = false; + + /** * Render everything in wireframe */ bool fWireframeMode = false; |