diff options
author | Brian Paul <[email protected]> | 2002-06-30 15:47:00 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2002-06-30 15:47:00 +0000 |
commit | 2525bc7d305f6dcab3beb75535da25a488c969b0 (patch) | |
tree | 3c70b05a2c7e8649b89d68c2b7d5c1dd2c48095b /src/mesa/glapi/glapitemp.h | |
parent | 1074d8c3613bb44f12ed5dc28aec4fd7fdd79f19 (diff) |
Implemented GL_EXT_multi_draw_arrays: glMultiDrawArraysEXT() and glMultiDrawElementsEXT().
Diffstat (limited to 'src/mesa/glapi/glapitemp.h')
-rw-r--r-- | src/mesa/glapi/glapitemp.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/src/mesa/glapi/glapitemp.h b/src/mesa/glapi/glapitemp.h index cf1976e9b8d..0fcb59d6ac1 100644 --- a/src/mesa/glapi/glapitemp.h +++ b/src/mesa/glapi/glapitemp.h @@ -3169,8 +3169,16 @@ KEYWORD1 void KEYWORD2 NAME(SecondaryColorPointerEXT)(GLint size, GLenum type, G } /* No dispatch for TextureNormalEXT() */ -/* No dispatch for MultiDrawArraysEXT() */ -/* No dispatch for MultiDrawElementsEXT() */ +KEYWORD1 void KEYWORD2 NAME(MultiDrawArraysEXT)(GLenum mode, GLint * first, GLsizei * count, GLsizei primcount) +{ + DISPATCH(MultiDrawArraysEXT, (mode, first, count, primcount), (F, "glMultiDrawArraysEXT(0x%x, %p, %p, %d);\n", mode, (void *) first, (void *) count, primcount)); +} + +KEYWORD1 void KEYWORD2 NAME(MultiDrawElementsEXT)(GLenum mode, const GLsizei * count, GLenum type, const GLvoid ** indices, GLsizei primcount) +{ + DISPATCH(MultiDrawElementsEXT, (mode, count, type, indices, primcount), (F, "glMultiDrawElementsEXT(0x%x, %p, 0x%x, %p, %d);\n", mode, (void *) count, type, (void *) indices, primcount)); +} + KEYWORD1 void KEYWORD2 NAME(FogCoordfEXT)(GLfloat coord) { DISPATCH(FogCoordfEXT, (coord), (F, "glFogCoordfEXT(%f);\n", coord)); @@ -4611,6 +4619,8 @@ void *DISPATCH_TABLE_NAME[] = { TABLE_ENTRY(VertexAttribs4ubvNV), TABLE_ENTRY(PointParameteriNV), TABLE_ENTRY(PointParameterivNV), + TABLE_ENTRY(MultiDrawArraysEXT), + TABLE_ENTRY(MultiDrawElementsEXT), /* A whole bunch of no-op functions. These might be called * when someone tries to call a dynamically-registered * extension function without a current rendering context. |