aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/gpu/gl/GrGLInterface.h
diff options
context:
space:
mode:
authorGravatar cdalton <cdalton@nvidia.com>2016-04-11 13:02:05 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-04-11 13:02:05 -0700
commitf8a6ce8d8c54cab5456d3099fa07e460c889c2e6 (patch)
tree81b9feb4858bf59708338b8952e6d473b7b2119b /include/gpu/gl/GrGLInterface.h
parent3f6f76f98b6b37d17d1492791ff0feb1b7586bd6 (diff)
Add GLSL support for texelFetch
Adds a cap and builder methods for texelFetch. This is required for texel buffers. Also moves the texel buffer cap into the general shader caps, and adds glTexBufferRange to the GL interface. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1869063005 Review URL: https://codereview.chromium.org/1869063005
Diffstat (limited to 'include/gpu/gl/GrGLInterface.h')
-rw-r--r--include/gpu/gl/GrGLInterface.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/gpu/gl/GrGLInterface.h b/include/gpu/gl/GrGLInterface.h
index 4ba516617f..e17bb0bd84 100644
--- a/include/gpu/gl/GrGLInterface.h
+++ b/include/gpu/gl/GrGLInterface.h
@@ -251,6 +251,7 @@ public:
GrGLFunction<GrGLStencilOpProc> fStencilOp;
GrGLFunction<GrGLStencilOpSeparateProc> fStencilOpSeparate;
GrGLFunction<GrGLTexBufferProc> fTexBuffer;
+ GrGLFunction<GrGLTexBufferRangeProc> fTexBufferRange;
GrGLFunction<GrGLTexImage2DProc> fTexImage2D;
GrGLFunction<GrGLTexParameteriProc> fTexParameteri;
GrGLFunction<GrGLTexParameterivProc> fTexParameteriv;