diff options
author | Brian Osman <brianosman@google.com> | 2017-08-30 15:14:04 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-08-30 19:35:27 +0000 |
commit | 195c05b6d5afbd65f803816938e24eebd51292c8 (patch) | |
tree | 09464cb77b796259a4ca0d75a32f8ed4d0dcf85a /src/gpu/GrShaderCaps.cpp | |
parent | ad8a43f7698071f00ce024a935b0bc04a4b19a41 (diff) |
Move several GrContextOptions fields behind GR_TEST_UTILS
Bug: skia:
Change-Id: I35bc08ad72fb94d8e47fe342d314c4496b954226
Reviewed-on: https://skia-review.googlesource.com/40881
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
Diffstat (limited to 'src/gpu/GrShaderCaps.cpp')
-rw-r--r-- | src/gpu/GrShaderCaps.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gpu/GrShaderCaps.cpp b/src/gpu/GrShaderCaps.cpp index 06fe03a5aa..dd436401a6 100644 --- a/src/gpu/GrShaderCaps.cpp +++ b/src/gpu/GrShaderCaps.cpp @@ -231,5 +231,7 @@ void GrShaderCaps::initSamplerPrecisionTable() { } void GrShaderCaps::applyOptionsOverrides(const GrContextOptions& options) { +#if GR_TEST_UTILS fDualSourceBlendingSupport = fDualSourceBlendingSupport && !options.fSuppressDualSourceBlending; +#endif } |