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/glheader.h | |
parent | 08e443a1c8218e43dcd953859843d95d9020a892 (diff) |
mesa: Optimize get.c by using a table-driven approach
Diffstat (limited to 'src/mesa/main/glheader.h')
-rw-r--r-- | src/mesa/main/glheader.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/mesa/main/glheader.h b/src/mesa/main/glheader.h index 5b8e2f2d811..a4044ff5cba 100644 --- a/src/mesa/main/glheader.h +++ b/src/mesa/main/glheader.h @@ -107,6 +107,21 @@ typedef void *GLeglImageOES; #define GL_PALETTE8_RGB5_A1_OES 0x8B99 #endif +#ifndef GL_OES_matrix_get +#define GL_MODELVIEW_MATRIX_FLOAT_AS_INT_BITS_OES 0x898D +#define GL_PROJECTION_MATRIX_FLOAT_AS_INT_BITS_OES 0x898E +#define GL_TEXTURE_MATRIX_FLOAT_AS_INT_BITS_OES 0x898F +#endif + +#ifndef GL_ES_VERSION_2_0 +#define GL_SHADER_BINARY_FORMATS 0x8DF8 +#define GL_NUM_SHADER_BINARY_FORMATS 0x8DF9 +#define GL_SHADER_COMPILER 0x8DFA +#define GL_MAX_VERTEX_UNIFORM_VECTORS 0x8DFB +#define GL_MAX_VARYING_VECTORS 0x8DFC +#define GL_MAX_FRAGMENT_UNIFORM_VECTORS 0x8DFD +#endif + /** * Special, internal token */ |