aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texstorage.h
diff options
context:
space:
mode:
authorLaura Ekstrand <[email protected]>2014-10-24 10:04:11 -0700
committerLaura Ekstrand <[email protected]>2015-01-08 11:37:28 -0800
commit5a5fe9f308908a6c09f910429d0d3021fdbf7872 (patch)
tree5ed6ccf2be70d01d65fcfca5e180a6405de391e1 /src/mesa/main/texstorage.h
parent97c838cf856e478401be9526ab028aea3aacad26 (diff)
main: Added entry points for glTextureStorage*D.
Reviewed-by: Anuj Phogat <[email protected]>
Diffstat (limited to 'src/mesa/main/texstorage.h')
-rw-r--r--src/mesa/main/texstorage.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/mesa/main/texstorage.h b/src/mesa/main/texstorage.h
index 79f228cea3e..6f5495f3856 100644
--- a/src/mesa/main/texstorage.h
+++ b/src/mesa/main/texstorage.h
@@ -26,6 +26,24 @@
#ifndef TEXSTORAGE_H
#define TEXSTORAGE_H
+/**
+ * \name Internal functions
+ */
+/*@{*/
+
+extern void
+_mesa_texture_storage(struct gl_context *ctx, GLuint dims,
+ struct gl_texture_object *texObj,
+ GLenum target, GLsizei levels,
+ GLenum internalformat, GLsizei width,
+ GLsizei height, GLsizei depth, bool dsa);
+
+/*@}*/
+
+/**
+ * \name API functions
+ */
+/*@{*/
extern void GLAPIENTRY
_mesa_TexStorage1D(GLenum target, GLsizei levels, GLenum internalformat,
@@ -41,6 +59,19 @@ extern void GLAPIENTRY
_mesa_TexStorage3D(GLenum target, GLsizei levels, GLenum internalformat,
GLsizei width, GLsizei height, GLsizei depth);
+extern void GLAPIENTRY
+_mesa_TextureStorage1D(GLuint texture, GLsizei levels, GLenum internalformat,
+ GLsizei width);
+
+
+extern void GLAPIENTRY
+_mesa_TextureStorage2D(GLuint texture, GLsizei levels, GLenum internalformat,
+ GLsizei width, GLsizei height);
+
+
+extern void GLAPIENTRY
+_mesa_TextureStorage3D(GLuint texture, GLsizei levels, GLenum internalformat,
+ GLsizei width, GLsizei height, GLsizei depth);
extern void GLAPIENTRY