summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/teximage.h
diff options
context:
space:
mode:
authorLaura Ekstrand <[email protected]>2014-12-02 17:51:30 -0800
committerLaura Ekstrand <[email protected]>2015-01-08 11:37:30 -0800
commit98e64e538afeaa800e1cdcbc7ce5d5093b274fe7 (patch)
tree3f9e6e85c4f30ae34a8e34542be34788cc1a2df7 /src/mesa/main/teximage.h
parent499004e56a51bdabff489913680aa972e7fab369 (diff)
main: Added entry point for glTextureBuffer.
Reviewed-by: Anuj Phogat <[email protected]>
Diffstat (limited to 'src/mesa/main/teximage.h')
-rw-r--r--src/mesa/main/teximage.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/mesa/main/teximage.h b/src/mesa/main/teximage.h
index 7dd122a041c..02b0eda3858 100644
--- a/src/mesa/main/teximage.h
+++ b/src/mesa/main/teximage.h
@@ -202,6 +202,14 @@ _mesa_texture_image_multisample(struct gl_context *ctx, GLuint dims,
GLsizei height, GLsizei depth,
GLboolean fixedsamplelocations,
GLboolean immutable, const char *func);
+
+extern void
+_mesa_texture_buffer_range(struct gl_context *ctx,
+ struct gl_texture_object *texObj, GLenum target,
+ GLenum internalFormat,
+ struct gl_buffer_object *bufObj,
+ GLintptr offset, GLsizeiptr size, bool range,
+ bool dsa);
/*@}*/
@@ -394,6 +402,9 @@ extern void GLAPIENTRY
_mesa_TexBufferRange(GLenum target, GLenum internalFormat, GLuint buffer,
GLintptr offset, GLsizeiptr size);
+extern void GLAPIENTRY
+_mesa_TextureBuffer(GLuint texture, GLenum internalFormat, GLuint buffer);
+
extern void GLAPIENTRY
_mesa_TexImage2DMultisample(GLenum target, GLsizei samples,