diff options
author | Brian Salomon <bsalomon@google.com> | 2018-07-30 10:24:13 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-07-30 14:54:25 +0000 |
commit | 60dd8c746428fb6218fff5f437b1b7c5256bba13 (patch) | |
tree | bc9c5c5b16de0ecf6d60452d69dbfd870126f97a /src/gpu/gl/GrGLUniformHandler.h | |
parent | 12e42565886ac6b28cbcae40d63ee093bde3e630 (diff) |
Introduce enum class for texture type.
This represents the GL texture "target" but at the API-neutral level. It
will be needed here because proxy's that wrap imported texture's need to
know about sampling restrictions.
Change-Id: Ie811a6f6d04ba1b04faa6908422dca64e8e447c8
Reviewed-on: https://skia-review.googlesource.com/144304
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'src/gpu/gl/GrGLUniformHandler.h')
-rw-r--r-- | src/gpu/gl/GrGLUniformHandler.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/gl/GrGLUniformHandler.h b/src/gpu/gl/GrGLUniformHandler.h index d3aa2f8358..1bf8553e73 100644 --- a/src/gpu/gl/GrGLUniformHandler.h +++ b/src/gpu/gl/GrGLUniformHandler.h @@ -39,7 +39,7 @@ private: int arrayCount, const char** outName) override; - SamplerHandle addSampler(uint32_t visibility, GrSwizzle, GrSLType, GrSLPrecision, + SamplerHandle addSampler(uint32_t visibility, GrSwizzle, GrTextureType, GrSLPrecision, const char* name) override; const GrShaderVar& samplerVariable(SamplerHandle handle) const override { |