summaryrefslogtreecommitdiff
path: root/src/mesa/main/get.h
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-12-29 15:09:16 -0700
committerBrian Paul <brianp@vmware.com>2009-12-29 15:09:16 -0700
commit126b35bd3acbf486471879531cd2e6f446b14497 (patch)
treee3997a0718682a4968525e7f0801c01d0ee0bffa /src/mesa/main/get.h
parent3728673bd1b974e54858fbab6ff62d3607b0d3f0 (diff)
mesa: implement indexed glGet functions
The functions are _mesa_GetBooleanIndexedv(), _mesa_GetIntegerIndexedv(), and _mesa_GetInteger64Indexedv(). These will be called from API functions such as glGetBooleanIndexedvEXT() and glGetBooleani_v(). Only the GL_BLEND query is supported at this time.
Diffstat (limited to 'src/mesa/main/get.h')
-rw-r--r--src/mesa/main/get.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mesa/main/get.h b/src/mesa/main/get.h
index 77a9a7d04b..076ab7a58b 100644
--- a/src/mesa/main/get.h
+++ b/src/mesa/main/get.h
@@ -51,6 +51,15 @@ extern void GLAPIENTRY
_mesa_GetInteger64v( GLenum pname, GLint64 *params );
extern void GLAPIENTRY
+_mesa_GetBooleanIndexedv( GLenum pname, GLuint index, GLboolean *params );
+
+extern void GLAPIENTRY
+_mesa_GetIntegerIndexedv( GLenum pname, GLuint index, GLint *params );
+
+extern void GLAPIENTRY
+_mesa_GetInteger64Indexedv( GLenum pname, GLuint index, GLint64 *params );
+
+extern void GLAPIENTRY
_mesa_GetPointerv( GLenum pname, GLvoid **params );
extern const GLubyte * GLAPIENTRY