Index: src/gpu/glsl/GrGLSLCaps.cpp |
diff --git a/src/gpu/glsl/GrGLSLCaps.cpp b/src/gpu/glsl/GrGLSLCaps.cpp |
index 140cb11494753e28e0b3fea639124b2c551be5cc..54d041e3a0ebafa5e19594cdbd9da3ba67d287c7 100755 |
--- a/src/gpu/glsl/GrGLSLCaps.cpp |
+++ b/src/gpu/glsl/GrGLSLCaps.cpp |
@@ -7,8 +7,6 @@ |
#include "GrGLSLCaps.h" |
- |
-#include "GrContextOptions.h" |
//////////////////////////////////////////////////////////////////////////////////////////// |
@@ -27,9 +25,6 @@ |
fFBFetchColorName = nullptr; |
fFBFetchExtensionString = nullptr; |
fAdvBlendEqInteraction = kNotSupported_AdvBlendEqInteraction; |
- |
- fMustSwizzleInShader = false; |
- memset(fConfigSwizzle, 0, sizeof(fConfigSwizzle)); |
} |
SkString GrGLSLCaps::dump() const { |
@@ -61,9 +56,3 @@ |
return r; |
} |
-void GrGLSLCaps::onApplyOptionsOverrides(const GrContextOptions& options) { |
- if (options.fUseShaderSwizzling) { |
- fMustSwizzleInShader = true; |
- } |
-} |
- |