From 98e64e538afeaa800e1cdcbc7ce5d5093b274fe7 Mon Sep 17 00:00:00 2001 From: Laura Ekstrand Date: Tue, 2 Dec 2014 17:51:30 -0800 Subject: main: Added entry point for glTextureBuffer. Reviewed-by: Anuj Phogat --- src/mesa/main/teximage.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/mesa/main/teximage.h') 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, -- cgit v1.2.3