diff options
author | Brian Salomon <bsalomon@google.com> | 2017-12-07 14:34:36 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-12-08 13:41:10 +0000 |
commit | f06c3582677270c741a5e4fb366ec8b5d4ec4c21 (patch) | |
tree | be9fb470ef48933fdd5b6deb18ab3a01d373686b /tools/gpu/GrContextFactory.cpp | |
parent | 852ca318a16f9c455d2bed3efb2063dff0e4d068 (diff) |
Remove instanced rendering
Change-Id: I4219b1d23a647b849ee41fe71b53e1c45edfc3f4
Reviewed-on: https://skia-review.googlesource.com/82241
Reviewed-by: Chris Dalton <csmartdalton@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'tools/gpu/GrContextFactory.cpp')
-rw-r--r-- | tools/gpu/GrContextFactory.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/tools/gpu/GrContextFactory.cpp b/tools/gpu/GrContextFactory.cpp index 00c4b65edc..109d02896d 100644 --- a/tools/gpu/GrContextFactory.cpp +++ b/tools/gpu/GrContextFactory.cpp @@ -245,9 +245,6 @@ ContextInfo GrContextFactory::getContextInfoInternal(ContextType type, ContextOv if (ContextOverrides::kDisableNVPR & overrides) { grOptions.fSuppressPathRendering = true; } - if (ContextOverrides::kUseInstanced & overrides) { - grOptions.fEnableInstancedRendering = true; - } if (ContextOverrides::kAllowSRGBWithoutDecodeControl & overrides) { grOptions.fRequireDecodeDisableForSRGB = false; } @@ -267,11 +264,6 @@ ContextInfo GrContextFactory::getContextInfoInternal(ContextType type, ContextOv return ContextInfo(); } } - if (ContextOverrides::kUseInstanced & overrides) { - if (GrCaps::InstancedSupport::kNone == grCtx->caps()->instancedSupport()) { - return ContextInfo(); - } - } if (ContextOverrides::kRequireSRGBSupport & overrides) { if (!grCtx->caps()->srgbSupport()) { return ContextInfo(); |