diff options
author | Brian Paul <[email protected]> | 2002-09-06 03:19:32 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2002-09-06 03:19:32 +0000 |
commit | fdaa72bc434394755353d2b649950871001e9cbf (patch) | |
tree | d960edc371a046a59f633d8fc1d6665620aeb969 /src/mesa/glapi | |
parent | 5f60a0b50ada1865d4fc6a724366e8ea0cc9a72f (diff) |
added GL_EXT_stencil_two_side and GL_NV_fence
Diffstat (limited to 'src/mesa/glapi')
-rw-r--r-- | src/mesa/glapi/APIspec | 53 | ||||
-rw-r--r-- | src/mesa/glapi/glapioffsets.h | 8 | ||||
-rw-r--r-- | src/mesa/glapi/glapitable.h | 8 | ||||
-rw-r--r-- | src/mesa/glapi/glapitemp.h | 55 |
4 files changed, 96 insertions, 28 deletions
diff --git a/src/mesa/glapi/APIspec b/src/mesa/glapi/APIspec index 858520621cc..f5b113d0a74 100644 --- a/src/mesa/glapi/APIspec +++ b/src/mesa/glapi/APIspec @@ -1,4 +1,4 @@ -# $Id: APIspec,v 1.9 2002/09/06 02:46:44 brianp Exp $ +# $Id: APIspec,v 1.10 2002/09/06 03:19:36 brianp Exp $ # This file describes all the OpenGL functions. # We use a number of Python scripts to parse this file and @@ -6562,52 +6562,53 @@ offset ? # GL_NV_fence -name GenFencesNV +name DeleteFencesNV return void param n GLsizei -param fences GLuint * +param fences const GLuint * category GL_NV_fence -offset ? +offset 647 -name DeleteFencesNV +name GenFencesNV return void param n GLsizei -param fences const GLuint * +param fences GLuint * category GL_NV_fence -offset ? +offset 648 -name SetFenceNV -return void +name IsFenceNV +return GLboolean param fence GLuint -param condition GLenum category GL_NV_fence -offset ? +offset 649 name TestFenceNV return GLboolean param fence GLuint category GL_NV_fence -offset ? +offset 650 -name FinishFenceNV +name GetFenceivNV return void param fence GLuint +param pname GLenum +param params GLint * category GL_NV_fence -offset ? +offset 651 -name IsFenceNV -return GLboolean +name FinishFenceNV +return void param fence GLuint category GL_NV_fence -offset ? +offset 652 -name GetFenceivNV +name SetFenceNV return void param fence GLuint -param pname GLenum -param params GLint * +param condition GLenum category GL_NV_fence -offset ? +offset 653 + # GL_NV_evaluators @@ -7622,6 +7623,16 @@ category 1.4 alias WindowPos3svMESA +# GL_EXT_stencil_two_side + +name ActiveStencilFaceEXT +return void +param face GLenum +category EXT_stencil_two_side +offset 646 + + + # end of file sentinal diff --git a/src/mesa/glapi/glapioffsets.h b/src/mesa/glapi/glapioffsets.h index 21d70ef2536..4223395f3d2 100644 --- a/src/mesa/glapi/glapioffsets.h +++ b/src/mesa/glapi/glapioffsets.h @@ -648,5 +648,13 @@ #define _gloffset_PointParameterivNV 643 #define _gloffset_MultiDrawArraysEXT 644 #define _gloffset_MultiDrawElementsEXT 645 +#define _gloffset_ActiveStencilFaceEXT 646 +#define _gloffset_DeleteFencesNV 647 +#define _gloffset_GenFencesNV 648 +#define _gloffset_IsFenceNV 649 +#define _gloffset_TestFenceNV 650 +#define _gloffset_GetFenceivNV 651 +#define _gloffset_FinishFenceNV 652 +#define _gloffset_SetFenceNV 653 #endif diff --git a/src/mesa/glapi/glapitable.h b/src/mesa/glapi/glapitable.h index 5511863b67b..f75ee10ca9d 100644 --- a/src/mesa/glapi/glapitable.h +++ b/src/mesa/glapi/glapitable.h @@ -652,6 +652,14 @@ struct _glapi_table void (*PointParameterivNV)(GLenum pname, const GLint * params); /* 643 */ void (*MultiDrawArraysEXT)(GLenum mode, GLint * first, GLsizei * count, GLsizei primcount); /* 644 */ void (*MultiDrawElementsEXT)(GLenum mode, const GLsizei * count, GLenum type, const GLvoid ** indices, GLsizei primcount); /* 645 */ + void (*ActiveStencilFaceEXT)(GLenum face); /* 646 */ + void (*DeleteFencesNV)(GLsizei n, const GLuint * fences); /* 647 */ + void (*GenFencesNV)(GLsizei n, GLuint * fences); /* 648 */ + GLboolean (*IsFenceNV)(GLuint fence); /* 649 */ + GLboolean (*TestFenceNV)(GLuint fence); /* 650 */ + void (*GetFenceivNV)(GLuint fence, GLenum pname, GLint * params); /* 651 */ + void (*FinishFenceNV)(GLuint fence); /* 652 */ + void (*SetFenceNV)(GLuint fence, GLenum condition); /* 653 */ }; #endif diff --git a/src/mesa/glapi/glapitemp.h b/src/mesa/glapi/glapitemp.h index a67c4fa8a6a..21acf562870 100644 --- a/src/mesa/glapi/glapitemp.h +++ b/src/mesa/glapi/glapitemp.h @@ -3534,13 +3534,41 @@ KEYWORD1 void KEYWORD2 NAME(SamplePatternEXT)(GLenum pattern) /* No dispatch for TextureColorMaskSGIS() */ /* No dispatch for IglooInterfaceSGIX() */ -/* No dispatch for GenFencesNV() */ -/* No dispatch for DeleteFencesNV() */ -/* No dispatch for SetFenceNV() */ -/* No dispatch for TestFenceNV() */ -/* No dispatch for FinishFenceNV() */ -/* No dispatch for IsFenceNV() */ -/* No dispatch for GetFenceivNV() */ +KEYWORD1 void KEYWORD2 NAME(DeleteFencesNV)(GLsizei n, const GLuint * fences) +{ + DISPATCH(DeleteFencesNV, (n, fences), (F, "glDeleteFencesNV(%d, %p);\n", n, (void *) fences)); +} + +KEYWORD1 void KEYWORD2 NAME(GenFencesNV)(GLsizei n, GLuint * fences) +{ + DISPATCH(GenFencesNV, (n, fences), (F, "glGenFencesNV(%d, %p);\n", n, (void *) fences)); +} + +KEYWORD1 GLboolean KEYWORD2 NAME(IsFenceNV)(GLuint fence) +{ + RETURN_DISPATCH(IsFenceNV, (fence), (F, "glIsFenceNV(%d);\n", fence)); +} + +KEYWORD1 GLboolean KEYWORD2 NAME(TestFenceNV)(GLuint fence) +{ + RETURN_DISPATCH(TestFenceNV, (fence), (F, "glTestFenceNV(%d);\n", fence)); +} + +KEYWORD1 void KEYWORD2 NAME(GetFenceivNV)(GLuint fence, GLenum pname, GLint * params) +{ + DISPATCH(GetFenceivNV, (fence, pname, params), (F, "glGetFenceivNV(%d, 0x%x, %p);\n", fence, pname, (void *) params)); +} + +KEYWORD1 void KEYWORD2 NAME(FinishFenceNV)(GLuint fence) +{ + DISPATCH(FinishFenceNV, (fence), (F, "glFinishFenceNV(%d);\n", fence)); +} + +KEYWORD1 void KEYWORD2 NAME(SetFenceNV)(GLuint fence, GLenum condition) +{ + DISPATCH(SetFenceNV, (fence, condition), (F, "glSetFenceNV(%d, 0x%x);\n", fence, condition)); +} + /* No dispatch for MapControlPointsNV() */ /* No dispatch for MapParameterivNV() */ /* No dispatch for MapParameterfvNV() */ @@ -4147,6 +4175,11 @@ KEYWORD1 void KEYWORD2 NAME(WindowPos3sv)(const GLshort * v) DISPATCH(WindowPos3svMESA, (v), (F, "glWindowPos3sv(%p);\n", (void *) v)); } +KEYWORD1 void KEYWORD2 NAME(ActiveStencilFaceEXT)(GLenum face) +{ + DISPATCH(ActiveStencilFaceEXT, (face), (F, "glActiveStencilFaceEXT(0x%x);\n", face)); +} + /* @@ -4806,6 +4839,14 @@ void *DISPATCH_TABLE_NAME[] = { TABLE_ENTRY(PointParameterivNV), TABLE_ENTRY(MultiDrawArraysEXT), TABLE_ENTRY(MultiDrawElementsEXT), + TABLE_ENTRY(ActiveStencilFaceEXT), + TABLE_ENTRY(DeleteFencesNV), + TABLE_ENTRY(GenFencesNV), + TABLE_ENTRY(IsFenceNV), + TABLE_ENTRY(TestFenceNV), + TABLE_ENTRY(GetFenceivNV), + TABLE_ENTRY(FinishFenceNV), + TABLE_ENTRY(SetFenceNV), /* 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. |