diff options
author | egdaniel <egdaniel@google.com> | 2015-11-04 04:23:53 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-11-04 04:23:53 -0800 |
commit | b7e7d5748d74c7482436b33733d7770484bb62e3 (patch) | |
tree | 29849ef2c2004f4215882b1f1987a4e4445b2d80 /src/gpu/gl/GrGLGpu.h | |
parent | df85a7254798f44e1d5b532fd4cbe58826b8d160 (diff) |
Create swizzle table inside of glsl caps
BUG=skia:
Committed: https://skia.googlesource.com/skia/+/4036674952f341dab0695c3b054fefa5bb8cdec1
Review URL: https://codereview.chromium.org/1420033005
Diffstat (limited to 'src/gpu/gl/GrGLGpu.h')
-rw-r--r-- | src/gpu/gl/GrGLGpu.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/gpu/gl/GrGLGpu.h b/src/gpu/gl/GrGLGpu.h index c10d79e744..396d488174 100644 --- a/src/gpu/gl/GrGLGpu.h +++ b/src/gpu/gl/GrGLGpu.h @@ -128,11 +128,6 @@ public: bool isTestingOnlyBackendTexture(GrBackendObject id) const override; void deleteTestingOnlyBackendTexture(GrBackendObject id) const override; - /** If texture swizzling is available using tex parameters then it is preferred over mangling - the generated shader code. This potentially allows greater reuse of cached shaders. */ - static const GrGLenum* GetTexParamSwizzle(GrPixelConfig config, const GrGLCaps& caps); - - private: GrGLGpu(GrGLContext* ctx, GrContext* context); |