diff options
author | Brian Salomon <bsalomon@google.com> | 2018-07-12 14:53:49 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-07-13 00:45:54 +0000 |
commit | 662ea4baba570d2f21a7b33d268204e9bdfa7fb9 (patch) | |
tree | 71da861d0d9b8f014e7f09f89b122480e067e8c0 /src/gpu/glsl/GrGLSLFragmentProcessor.h | |
parent | 13ac194dbf9968d356e580b85420f1314f453a10 (diff) |
Remove texel buffer support.
Change-Id: Ia6f21afe714208979a5bc384e436b28ea2b9a297
Reviewed-on: https://skia-review.googlesource.com/141051
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'src/gpu/glsl/GrGLSLFragmentProcessor.h')
-rw-r--r-- | src/gpu/glsl/GrGLSLFragmentProcessor.h | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/src/gpu/glsl/GrGLSLFragmentProcessor.h b/src/gpu/glsl/GrGLSLFragmentProcessor.h index 1b12fb60d5..8f903755ea 100644 --- a/src/gpu/glsl/GrGLSLFragmentProcessor.h +++ b/src/gpu/glsl/GrGLSLFragmentProcessor.h @@ -30,7 +30,6 @@ public: using UniformHandle = GrGLSLUniformHandler::UniformHandle; using SamplerHandle = GrGLSLUniformHandler::SamplerHandle; - using TexelBufferHandle = GrGLSLUniformHandler::TexelBufferHandle; private: /** @@ -72,8 +71,6 @@ public: &GrFragmentProcessor::numCoordTransforms>; using TextureSamplers = BuilderInputProvider<SamplerHandle, GrResourceIOProcessor, &GrResourceIOProcessor::numTextureSamplers>; - using TexelBuffers = BuilderInputProvider<TexelBufferHandle, GrResourceIOProcessor, - &GrResourceIOProcessor::numBuffers>; /** Called when the program stage should insert its code into the shaders. The code in each shader will be in its own block ({}) and so locally scoped names will not collide across @@ -96,9 +93,6 @@ public: @param texSamplers Contains one entry for each TextureSampler of the GrProcessor. These can be passed to the builder to emit texture reads in the generated code. - @param bufferSamplers Contains one entry for each BufferAccess of the GrProcessor. These - can be passed to the builder to emit buffer reads in the generated - code. */ struct EmitArgs { EmitArgs(GrGLSLFPFragmentBuilder* fragBuilder, @@ -108,8 +102,7 @@ public: const char* outputColor, const char* inputColor, const TransformedCoordVars& transformedCoordVars, - const TextureSamplers& textureSamplers, - const TexelBuffers& texelBuffers) + const TextureSamplers& textureSamplers) : fFragBuilder(fragBuilder) , fUniformHandler(uniformHandler) , fShaderCaps(caps) @@ -117,8 +110,7 @@ public: , fOutputColor(outputColor) , fInputColor(inputColor) , fTransformedCoords(transformedCoordVars) - , fTexSamplers(textureSamplers) - , fTexelBuffers(texelBuffers) {} + , fTexSamplers(textureSamplers) {} GrGLSLFPFragmentBuilder* fFragBuilder; GrGLSLUniformHandler* fUniformHandler; const GrShaderCaps* fShaderCaps; @@ -127,7 +119,6 @@ public: const char* fInputColor; const TransformedCoordVars& fTransformedCoords; const TextureSamplers& fTexSamplers; - const TexelBuffers& fTexelBuffers; }; virtual void emitCode(EmitArgs&) = 0; |