diff options
author | Kristian Høgsberg <[email protected]> | 2010-05-11 12:07:10 -0400 |
---|---|---|
committer | Kristian Høgsberg <[email protected]> | 2010-05-11 14:06:22 -0400 |
commit | 199b0894b501607bf8d599ef5efc08cd6c08c79d (patch) | |
tree | 7c545c23739311eee3c8897b2a1d3b7ee09dae92 /src/mesa/main/get.h | |
parent | 08e443a1c8218e43dcd953859843d95d9020a892 (diff) |
mesa: Optimize get.c by using a table-driven approach
Diffstat (limited to 'src/mesa/main/get.h')
-rw-r--r-- | src/mesa/main/get.h | 26 |
1 files changed, 3 insertions, 23 deletions
diff --git a/src/mesa/main/get.h b/src/mesa/main/get.h index 47e549e396b..320492b4ce2 100644 --- a/src/mesa/main/get.h +++ b/src/mesa/main/get.h @@ -51,6 +51,9 @@ extern void GLAPIENTRY _mesa_GetInteger64v( GLenum pname, GLint64 *params ); extern void GLAPIENTRY +_mesa_GetFixedv(GLenum pname, GLfixed *params); + +extern void GLAPIENTRY _mesa_GetBooleanIndexedv( GLenum pname, GLuint index, GLboolean *params ); extern void GLAPIENTRY @@ -71,27 +74,4 @@ _mesa_GetStringi(GLenum name, GLuint index); extern GLenum GLAPIENTRY _mesa_GetError( void ); - -extern void GLAPIENTRY -_es1_GetBooleanv( GLenum pname, GLboolean *params ); - -extern void GLAPIENTRY -_es1_GetFloatv( GLenum pname, GLfloat *params ); - -extern void GLAPIENTRY -_es1_GetIntegerv( GLenum pname, GLint *params ); - -extern void GLAPIENTRY -_es1_GetFixedv( GLenum pname, GLfixed *params ); - - -extern void GLAPIENTRY -_es2_GetBooleanv( GLenum pname, GLboolean *params ); - -extern void GLAPIENTRY -_es2_GetFloatv( GLenum pname, GLfloat *params ); - -extern void GLAPIENTRY -_es2_GetIntegerv( GLenum pname, GLint *params ); - #endif |