summaryrefslogtreecommitdiffstats
path: root/src/mapi/glapi/glapidispatch.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mapi/glapi/glapidispatch.h')
-rw-r--r--src/mapi/glapi/glapidispatch.h181
1 files changed, 129 insertions, 52 deletions
diff --git a/src/mapi/glapi/glapidispatch.h b/src/mapi/glapi/glapidispatch.h
index 1d03f4cc50c..60f216b4a99 100644
--- a/src/mapi/glapi/glapidispatch.h
+++ b/src/mapi/glapi/glapidispatch.h
@@ -2383,6 +2383,12 @@
#define CALL_ProgramNamedParameter4fvNV(disp, parameters) (*((disp)->ProgramNamedParameter4fvNV)) parameters
#define GET_ProgramNamedParameter4fvNV(disp) ((disp)->ProgramNamedParameter4fvNV)
#define SET_ProgramNamedParameter4fvNV(disp, fn) ((disp)->ProgramNamedParameter4fvNV = fn)
+#define CALL_PrimitiveRestartIndexNV(disp, parameters) (*((disp)->PrimitiveRestartIndexNV)) parameters
+#define GET_PrimitiveRestartIndexNV(disp) ((disp)->PrimitiveRestartIndexNV)
+#define SET_PrimitiveRestartIndexNV(disp, fn) ((disp)->PrimitiveRestartIndexNV = fn)
+#define CALL_PrimitiveRestartNV(disp, parameters) (*((disp)->PrimitiveRestartNV)) parameters
+#define GET_PrimitiveRestartNV(disp) ((disp)->PrimitiveRestartNV)
+#define SET_PrimitiveRestartNV(disp, fn) ((disp)->PrimitiveRestartNV = fn)
#define CALL_DepthBoundsEXT(disp, parameters) (*((disp)->DepthBoundsEXT)) parameters
#define GET_DepthBoundsEXT(disp) ((disp)->DepthBoundsEXT)
#define SET_DepthBoundsEXT(disp, fn) ((disp)->DepthBoundsEXT = fn)
@@ -2470,6 +2476,24 @@
#define CALL_IsEnabledIndexedEXT(disp, parameters) (*((disp)->IsEnabledIndexedEXT)) parameters
#define GET_IsEnabledIndexedEXT(disp) ((disp)->IsEnabledIndexedEXT)
#define SET_IsEnabledIndexedEXT(disp, fn) ((disp)->IsEnabledIndexedEXT = fn)
+#define CALL_ClearColorIiEXT(disp, parameters) (*((disp)->ClearColorIiEXT)) parameters
+#define GET_ClearColorIiEXT(disp) ((disp)->ClearColorIiEXT)
+#define SET_ClearColorIiEXT(disp, fn) ((disp)->ClearColorIiEXT = fn)
+#define CALL_ClearColorIuiEXT(disp, parameters) (*((disp)->ClearColorIuiEXT)) parameters
+#define GET_ClearColorIuiEXT(disp) ((disp)->ClearColorIuiEXT)
+#define SET_ClearColorIuiEXT(disp, fn) ((disp)->ClearColorIuiEXT = fn)
+#define CALL_GetTexParameterIivEXT(disp, parameters) (*((disp)->GetTexParameterIivEXT)) parameters
+#define GET_GetTexParameterIivEXT(disp) ((disp)->GetTexParameterIivEXT)
+#define SET_GetTexParameterIivEXT(disp, fn) ((disp)->GetTexParameterIivEXT = fn)
+#define CALL_GetTexParameterIuivEXT(disp, parameters) (*((disp)->GetTexParameterIuivEXT)) parameters
+#define GET_GetTexParameterIuivEXT(disp) ((disp)->GetTexParameterIuivEXT)
+#define SET_GetTexParameterIuivEXT(disp, fn) ((disp)->GetTexParameterIuivEXT = fn)
+#define CALL_TexParameterIivEXT(disp, parameters) (*((disp)->TexParameterIivEXT)) parameters
+#define GET_TexParameterIivEXT(disp) ((disp)->TexParameterIivEXT)
+#define SET_TexParameterIivEXT(disp, fn) ((disp)->TexParameterIivEXT = fn)
+#define CALL_TexParameterIuivEXT(disp, parameters) (*((disp)->TexParameterIuivEXT)) parameters
+#define GET_TexParameterIuivEXT(disp) ((disp)->TexParameterIuivEXT)
+#define SET_TexParameterIuivEXT(disp, fn) ((disp)->TexParameterIuivEXT = fn)
#define CALL_BeginConditionalRenderNV(disp, parameters) (*((disp)->BeginConditionalRenderNV)) parameters
#define GET_BeginConditionalRenderNV(disp) ((disp)->BeginConditionalRenderNV)
#define SET_BeginConditionalRenderNV(disp, fn) ((disp)->BeginConditionalRenderNV = fn)
@@ -2515,6 +2539,15 @@
#define CALL_ObjectUnpurgeableAPPLE(disp, parameters) (*((disp)->ObjectUnpurgeableAPPLE)) parameters
#define GET_ObjectUnpurgeableAPPLE(disp) ((disp)->ObjectUnpurgeableAPPLE)
#define SET_ObjectUnpurgeableAPPLE(disp, fn) ((disp)->ObjectUnpurgeableAPPLE = fn)
+#define CALL_ActiveProgramEXT(disp, parameters) (*((disp)->ActiveProgramEXT)) parameters
+#define GET_ActiveProgramEXT(disp) ((disp)->ActiveProgramEXT)
+#define SET_ActiveProgramEXT(disp, fn) ((disp)->ActiveProgramEXT = fn)
+#define CALL_CreateShaderProgramEXT(disp, parameters) (*((disp)->CreateShaderProgramEXT)) parameters
+#define GET_CreateShaderProgramEXT(disp) ((disp)->CreateShaderProgramEXT)
+#define SET_CreateShaderProgramEXT(disp, fn) ((disp)->CreateShaderProgramEXT = fn)
+#define CALL_UseShaderProgramEXT(disp, parameters) (*((disp)->UseShaderProgramEXT)) parameters
+#define GET_UseShaderProgramEXT(disp) ((disp)->UseShaderProgramEXT)
+#define SET_UseShaderProgramEXT(disp, fn) ((disp)->UseShaderProgramEXT = fn)
#define CALL_StencilFuncSeparateATI(disp, parameters) (*((disp)->StencilFuncSeparateATI)) parameters
#define GET_StencilFuncSeparateATI(disp) ((disp)->StencilFuncSeparateATI)
#define SET_StencilFuncSeparateATI(disp, fn) ((disp)->StencilFuncSeparateATI = fn)
@@ -2539,7 +2572,7 @@
#else
-#define driDispatchRemapTable_size 417
+#define driDispatchRemapTable_size 428
extern int driDispatchRemapTable[ driDispatchRemapTable_size ];
#define AttachShader_remap_index 0
@@ -2908,57 +2941,68 @@ extern int driDispatchRemapTable[ driDispatchRemapTable_size ];
#define ProgramNamedParameter4dvNV_remap_index 363
#define ProgramNamedParameter4fNV_remap_index 364
#define ProgramNamedParameter4fvNV_remap_index 365
-#define DepthBoundsEXT_remap_index 366
-#define BlendEquationSeparateEXT_remap_index 367
-#define BindFramebufferEXT_remap_index 368
-#define BindRenderbufferEXT_remap_index 369
-#define CheckFramebufferStatusEXT_remap_index 370
-#define DeleteFramebuffersEXT_remap_index 371
-#define DeleteRenderbuffersEXT_remap_index 372
-#define FramebufferRenderbufferEXT_remap_index 373
-#define FramebufferTexture1DEXT_remap_index 374
-#define FramebufferTexture2DEXT_remap_index 375
-#define FramebufferTexture3DEXT_remap_index 376
-#define GenFramebuffersEXT_remap_index 377
-#define GenRenderbuffersEXT_remap_index 378
-#define GenerateMipmapEXT_remap_index 379
-#define GetFramebufferAttachmentParameterivEXT_remap_index 380
-#define GetRenderbufferParameterivEXT_remap_index 381
-#define IsFramebufferEXT_remap_index 382
-#define IsRenderbufferEXT_remap_index 383
-#define RenderbufferStorageEXT_remap_index 384
-#define BlitFramebufferEXT_remap_index 385
-#define BufferParameteriAPPLE_remap_index 386
-#define FlushMappedBufferRangeAPPLE_remap_index 387
-#define FramebufferTextureLayerEXT_remap_index 388
-#define ColorMaskIndexedEXT_remap_index 389
-#define DisableIndexedEXT_remap_index 390
-#define EnableIndexedEXT_remap_index 391
-#define GetBooleanIndexedvEXT_remap_index 392
-#define GetIntegerIndexedvEXT_remap_index 393
-#define IsEnabledIndexedEXT_remap_index 394
-#define BeginConditionalRenderNV_remap_index 395
-#define EndConditionalRenderNV_remap_index 396
-#define BeginTransformFeedbackEXT_remap_index 397
-#define BindBufferBaseEXT_remap_index 398
-#define BindBufferOffsetEXT_remap_index 399
-#define BindBufferRangeEXT_remap_index 400
-#define EndTransformFeedbackEXT_remap_index 401
-#define GetTransformFeedbackVaryingEXT_remap_index 402
-#define TransformFeedbackVaryingsEXT_remap_index 403
-#define ProvokingVertexEXT_remap_index 404
-#define GetTexParameterPointervAPPLE_remap_index 405
-#define TextureRangeAPPLE_remap_index 406
-#define GetObjectParameterivAPPLE_remap_index 407
-#define ObjectPurgeableAPPLE_remap_index 408
-#define ObjectUnpurgeableAPPLE_remap_index 409
-#define StencilFuncSeparateATI_remap_index 410
-#define ProgramEnvParameters4fvEXT_remap_index 411
-#define ProgramLocalParameters4fvEXT_remap_index 412
-#define GetQueryObjecti64vEXT_remap_index 413
-#define GetQueryObjectui64vEXT_remap_index 414
-#define EGLImageTargetRenderbufferStorageOES_remap_index 415
-#define EGLImageTargetTexture2DOES_remap_index 416
+#define PrimitiveRestartIndexNV_remap_index 366
+#define PrimitiveRestartNV_remap_index 367
+#define DepthBoundsEXT_remap_index 368
+#define BlendEquationSeparateEXT_remap_index 369
+#define BindFramebufferEXT_remap_index 370
+#define BindRenderbufferEXT_remap_index 371
+#define CheckFramebufferStatusEXT_remap_index 372
+#define DeleteFramebuffersEXT_remap_index 373
+#define DeleteRenderbuffersEXT_remap_index 374
+#define FramebufferRenderbufferEXT_remap_index 375
+#define FramebufferTexture1DEXT_remap_index 376
+#define FramebufferTexture2DEXT_remap_index 377
+#define FramebufferTexture3DEXT_remap_index 378
+#define GenFramebuffersEXT_remap_index 379
+#define GenRenderbuffersEXT_remap_index 380
+#define GenerateMipmapEXT_remap_index 381
+#define GetFramebufferAttachmentParameterivEXT_remap_index 382
+#define GetRenderbufferParameterivEXT_remap_index 383
+#define IsFramebufferEXT_remap_index 384
+#define IsRenderbufferEXT_remap_index 385
+#define RenderbufferStorageEXT_remap_index 386
+#define BlitFramebufferEXT_remap_index 387
+#define BufferParameteriAPPLE_remap_index 388
+#define FlushMappedBufferRangeAPPLE_remap_index 389
+#define FramebufferTextureLayerEXT_remap_index 390
+#define ColorMaskIndexedEXT_remap_index 391
+#define DisableIndexedEXT_remap_index 392
+#define EnableIndexedEXT_remap_index 393
+#define GetBooleanIndexedvEXT_remap_index 394
+#define GetIntegerIndexedvEXT_remap_index 395
+#define IsEnabledIndexedEXT_remap_index 396
+#define ClearColorIiEXT_remap_index 397
+#define ClearColorIuiEXT_remap_index 398
+#define GetTexParameterIivEXT_remap_index 399
+#define GetTexParameterIuivEXT_remap_index 400
+#define TexParameterIivEXT_remap_index 401
+#define TexParameterIuivEXT_remap_index 402
+#define BeginConditionalRenderNV_remap_index 403
+#define EndConditionalRenderNV_remap_index 404
+#define BeginTransformFeedbackEXT_remap_index 405
+#define BindBufferBaseEXT_remap_index 406
+#define BindBufferOffsetEXT_remap_index 407
+#define BindBufferRangeEXT_remap_index 408
+#define EndTransformFeedbackEXT_remap_index 409
+#define GetTransformFeedbackVaryingEXT_remap_index 410
+#define TransformFeedbackVaryingsEXT_remap_index 411
+#define ProvokingVertexEXT_remap_index 412
+#define GetTexParameterPointervAPPLE_remap_index 413
+#define TextureRangeAPPLE_remap_index 414
+#define GetObjectParameterivAPPLE_remap_index 415
+#define ObjectPurgeableAPPLE_remap_index 416
+#define ObjectUnpurgeableAPPLE_remap_index 417
+#define ActiveProgramEXT_remap_index 418
+#define CreateShaderProgramEXT_remap_index 419
+#define UseShaderProgramEXT_remap_index 420
+#define StencilFuncSeparateATI_remap_index 421
+#define ProgramEnvParameters4fvEXT_remap_index 422
+#define ProgramLocalParameters4fvEXT_remap_index 423
+#define GetQueryObjecti64vEXT_remap_index 424
+#define GetQueryObjectui64vEXT_remap_index 425
+#define EGLImageTargetRenderbufferStorageOES_remap_index 426
+#define EGLImageTargetTexture2DOES_remap_index 427
#define CALL_AttachShader(disp, parameters) CALL_by_offset(disp, (void (GLAPIENTRYP)(GLuint, GLuint)), driDispatchRemapTable[AttachShader_remap_index], parameters)
#define GET_AttachShader(disp) GET_by_offset(disp, driDispatchRemapTable[AttachShader_remap_index])
@@ -4058,6 +4102,12 @@ extern int driDispatchRemapTable[ driDispatchRemapTable_size ];
#define CALL_ProgramNamedParameter4fvNV(disp, parameters) CALL_by_offset(disp, (void (GLAPIENTRYP)(GLuint, GLsizei, const GLubyte *, const GLfloat *)), driDispatchRemapTable[ProgramNamedParameter4fvNV_remap_index], parameters)
#define GET_ProgramNamedParameter4fvNV(disp) GET_by_offset(disp, driDispatchRemapTable[ProgramNamedParameter4fvNV_remap_index])
#define SET_ProgramNamedParameter4fvNV(disp, fn) SET_by_offset(disp, driDispatchRemapTable[ProgramNamedParameter4fvNV_remap_index], fn)
+#define CALL_PrimitiveRestartIndexNV(disp, parameters) CALL_by_offset(disp, (void (GLAPIENTRYP)(GLuint)), driDispatchRemapTable[PrimitiveRestartIndexNV_remap_index], parameters)
+#define GET_PrimitiveRestartIndexNV(disp) GET_by_offset(disp, driDispatchRemapTable[PrimitiveRestartIndexNV_remap_index])
+#define SET_PrimitiveRestartIndexNV(disp, fn) SET_by_offset(disp, driDispatchRemapTable[PrimitiveRestartIndexNV_remap_index], fn)
+#define CALL_PrimitiveRestartNV(disp, parameters) CALL_by_offset(disp, (void (GLAPIENTRYP)(void)), driDispatchRemapTable[PrimitiveRestartNV_remap_index], parameters)
+#define GET_PrimitiveRestartNV(disp) GET_by_offset(disp, driDispatchRemapTable[PrimitiveRestartNV_remap_index])
+#define SET_PrimitiveRestartNV(disp, fn) SET_by_offset(disp, driDispatchRemapTable[PrimitiveRestartNV_remap_index], fn)
#define CALL_DepthBoundsEXT(disp, parameters) CALL_by_offset(disp, (void (GLAPIENTRYP)(GLclampd, GLclampd)), driDispatchRemapTable[DepthBoundsEXT_remap_index], parameters)
#define GET_DepthBoundsEXT(disp) GET_by_offset(disp, driDispatchRemapTable[DepthBoundsEXT_remap_index])
#define SET_DepthBoundsEXT(disp, fn) SET_by_offset(disp, driDispatchRemapTable[DepthBoundsEXT_remap_index], fn)
@@ -4145,6 +4195,24 @@ extern int driDispatchRemapTable[ driDispatchRemapTable_size ];
#define CALL_IsEnabledIndexedEXT(disp, parameters) CALL_by_offset(disp, (GLboolean (GLAPIENTRYP)(GLenum, GLuint)), driDispatchRemapTable[IsEnabledIndexedEXT_remap_index], parameters)
#define GET_IsEnabledIndexedEXT(disp) GET_by_offset(disp, driDispatchRemapTable[IsEnabledIndexedEXT_remap_index])
#define SET_IsEnabledIndexedEXT(disp, fn) SET_by_offset(disp, driDispatchRemapTable[IsEnabledIndexedEXT_remap_index], fn)
+#define CALL_ClearColorIiEXT(disp, parameters) CALL_by_offset(disp, (void (GLAPIENTRYP)(GLint, GLint, GLint, GLint)), driDispatchRemapTable[ClearColorIiEXT_remap_index], parameters)
+#define GET_ClearColorIiEXT(disp) GET_by_offset(disp, driDispatchRemapTable[ClearColorIiEXT_remap_index])
+#define SET_ClearColorIiEXT(disp, fn) SET_by_offset(disp, driDispatchRemapTable[ClearColorIiEXT_remap_index], fn)
+#define CALL_ClearColorIuiEXT(disp, parameters) CALL_by_offset(disp, (void (GLAPIENTRYP)(GLuint, GLuint, GLuint, GLuint)), driDispatchRemapTable[ClearColorIuiEXT_remap_index], parameters)
+#define GET_ClearColorIuiEXT(disp) GET_by_offset(disp, driDispatchRemapTable[ClearColorIuiEXT_remap_index])
+#define SET_ClearColorIuiEXT(disp, fn) SET_by_offset(disp, driDispatchRemapTable[ClearColorIuiEXT_remap_index], fn)
+#define CALL_GetTexParameterIivEXT(disp, parameters) CALL_by_offset(disp, (void (GLAPIENTRYP)(GLenum, GLenum, GLint *)), driDispatchRemapTable[GetTexParameterIivEXT_remap_index], parameters)
+#define GET_GetTexParameterIivEXT(disp) GET_by_offset(disp, driDispatchRemapTable[GetTexParameterIivEXT_remap_index])
+#define SET_GetTexParameterIivEXT(disp, fn) SET_by_offset(disp, driDispatchRemapTable[GetTexParameterIivEXT_remap_index], fn)
+#define CALL_GetTexParameterIuivEXT(disp, parameters) CALL_by_offset(disp, (void (GLAPIENTRYP)(GLenum, GLenum, GLuint *)), driDispatchRemapTable[GetTexParameterIuivEXT_remap_index], parameters)
+#define GET_GetTexParameterIuivEXT(disp) GET_by_offset(disp, driDispatchRemapTable[GetTexParameterIuivEXT_remap_index])
+#define SET_GetTexParameterIuivEXT(disp, fn) SET_by_offset(disp, driDispatchRemapTable[GetTexParameterIuivEXT_remap_index], fn)
+#define CALL_TexParameterIivEXT(disp, parameters) CALL_by_offset(disp, (void (GLAPIENTRYP)(GLenum, GLenum, const GLint *)), driDispatchRemapTable[TexParameterIivEXT_remap_index], parameters)
+#define GET_TexParameterIivEXT(disp) GET_by_offset(disp, driDispatchRemapTable[TexParameterIivEXT_remap_index])
+#define SET_TexParameterIivEXT(disp, fn) SET_by_offset(disp, driDispatchRemapTable[TexParameterIivEXT_remap_index], fn)
+#define CALL_TexParameterIuivEXT(disp, parameters) CALL_by_offset(disp, (void (GLAPIENTRYP)(GLenum, GLenum, const GLuint *)), driDispatchRemapTable[TexParameterIuivEXT_remap_index], parameters)
+#define GET_TexParameterIuivEXT(disp) GET_by_offset(disp, driDispatchRemapTable[TexParameterIuivEXT_remap_index])
+#define SET_TexParameterIuivEXT(disp, fn) SET_by_offset(disp, driDispatchRemapTable[TexParameterIuivEXT_remap_index], fn)
#define CALL_BeginConditionalRenderNV(disp, parameters) CALL_by_offset(disp, (void (GLAPIENTRYP)(GLuint, GLenum)), driDispatchRemapTable[BeginConditionalRenderNV_remap_index], parameters)
#define GET_BeginConditionalRenderNV(disp) GET_by_offset(disp, driDispatchRemapTable[BeginConditionalRenderNV_remap_index])
#define SET_BeginConditionalRenderNV(disp, fn) SET_by_offset(disp, driDispatchRemapTable[BeginConditionalRenderNV_remap_index], fn)
@@ -4190,6 +4258,15 @@ extern int driDispatchRemapTable[ driDispatchRemapTable_size ];
#define CALL_ObjectUnpurgeableAPPLE(disp, parameters) CALL_by_offset(disp, (GLenum (GLAPIENTRYP)(GLenum, GLuint, GLenum)), driDispatchRemapTable[ObjectUnpurgeableAPPLE_remap_index], parameters)
#define GET_ObjectUnpurgeableAPPLE(disp) GET_by_offset(disp, driDispatchRemapTable[ObjectUnpurgeableAPPLE_remap_index])
#define SET_ObjectUnpurgeableAPPLE(disp, fn) SET_by_offset(disp, driDispatchRemapTable[ObjectUnpurgeableAPPLE_remap_index], fn)
+#define CALL_ActiveProgramEXT(disp, parameters) CALL_by_offset(disp, (void (GLAPIENTRYP)(GLuint)), driDispatchRemapTable[ActiveProgramEXT_remap_index], parameters)
+#define GET_ActiveProgramEXT(disp) GET_by_offset(disp, driDispatchRemapTable[ActiveProgramEXT_remap_index])
+#define SET_ActiveProgramEXT(disp, fn) SET_by_offset(disp, driDispatchRemapTable[ActiveProgramEXT_remap_index], fn)
+#define CALL_CreateShaderProgramEXT(disp, parameters) CALL_by_offset(disp, (GLuint (GLAPIENTRYP)(GLenum, const GLchar *)), driDispatchRemapTable[CreateShaderProgramEXT_remap_index], parameters)
+#define GET_CreateShaderProgramEXT(disp) GET_by_offset(disp, driDispatchRemapTable[CreateShaderProgramEXT_remap_index])
+#define SET_CreateShaderProgramEXT(disp, fn) SET_by_offset(disp, driDispatchRemapTable[CreateShaderProgramEXT_remap_index], fn)
+#define CALL_UseShaderProgramEXT(disp, parameters) CALL_by_offset(disp, (void (GLAPIENTRYP)(GLenum, GLuint)), driDispatchRemapTable[UseShaderProgramEXT_remap_index], parameters)
+#define GET_UseShaderProgramEXT(disp) GET_by_offset(disp, driDispatchRemapTable[UseShaderProgramEXT_remap_index])
+#define SET_UseShaderProgramEXT(disp, fn) SET_by_offset(disp, driDispatchRemapTable[UseShaderProgramEXT_remap_index], fn)
#define CALL_StencilFuncSeparateATI(disp, parameters) CALL_by_offset(disp, (void (GLAPIENTRYP)(GLenum, GLenum, GLint, GLuint)), driDispatchRemapTable[StencilFuncSeparateATI_remap_index], parameters)
#define GET_StencilFuncSeparateATI(disp) GET_by_offset(disp, driDispatchRemapTable[StencilFuncSeparateATI_remap_index])
#define SET_StencilFuncSeparateATI(disp, fn) SET_by_offset(disp, driDispatchRemapTable[StencilFuncSeparateATI_remap_index], fn)