diff options
Diffstat (limited to 'src/gpu/glsl/GrGLSLCaps.h')
-rwxr-xr-x | src/gpu/glsl/GrGLSLCaps.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/gpu/glsl/GrGLSLCaps.h b/src/gpu/glsl/GrGLSLCaps.h index e703fb8523..f93ef2766d 100755 --- a/src/gpu/glsl/GrGLSLCaps.h +++ b/src/gpu/glsl/GrGLSLCaps.h @@ -82,15 +82,6 @@ public: return fShaderDerivativeExtensionString; } - bool mustSwizzleInShader() const { return fMustSwizzleInShader; } - - /** - * Returns a string which represents how to map from an internal GLFormat to a given - * GrPixelConfig. The function mustSwizzleInShader determines whether this swizzle is applied - * in the generated shader code or using sample state in the 3D API. - */ - const char* getSwizzleMap(GrPixelConfig config) const { return fConfigSwizzle[config]; } - GrGLSLGeneration generation() const { return fGLSLGeneration; } /** @@ -99,8 +90,6 @@ public: SkString dump() const override; private: - void onApplyOptionsOverrides(const GrContextOptions& options) override; - GrGLSLGeneration fGLSLGeneration; bool fDropsTileOnZeroDivide : 1; @@ -120,9 +109,6 @@ private: AdvBlendEqInteraction fAdvBlendEqInteraction; - bool fMustSwizzleInShader; - const char* fConfigSwizzle[kGrPixelConfigCnt]; - friend class GrGLCaps; // For initialization. typedef GrShaderCaps INHERITED; |