commit | 195c05b6d5afbd65f803816938e24eebd51292c8 | [log] [tgz] |
---|---|---|
author | Brian Osman <brianosman@google.com> | Wed Aug 30 15:14:04 2017 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Wed Aug 30 19:35:27 2017 +0000 |
tree | 09464cb77b796259a4ca0d75a32f8ed4d0dcf85a | |
parent | ad8a43f7698071f00ce024a935b0bc04a4b19a41 [diff] [blame] |
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>
diff --git a/src/gpu/GrShaderCaps.cpp b/src/gpu/GrShaderCaps.cpp index 06fe03a..dd43640 100644 --- a/src/gpu/GrShaderCaps.cpp +++ b/src/gpu/GrShaderCaps.cpp
@@ -231,5 +231,7 @@ } void GrShaderCaps::applyOptionsOverrides(const GrContextOptions& options) { +#if GR_TEST_UTILS fDualSourceBlendingSupport = fDualSourceBlendingSupport && !options.fSuppressDualSourceBlending; +#endif }