summaryrefslogtreecommitdiff
path: root/glx
diff options
context:
space:
mode:
Diffstat (limited to 'glx')
-rw-r--r--glx/clientinfo.c12
-rw-r--r--glx/createcontext.c6
-rw-r--r--glx/dispatch.h16912
-rw-r--r--glx/extension_string.c96
-rw-r--r--glx/extension_string.h36
-rw-r--r--glx/glapi.c332
-rw-r--r--glx/glapi.h62
-rw-r--r--glx/glapi_gentable.c7074
-rw-r--r--glx/glapitable.h1962
-rw-r--r--glx/glprocs.h2995
-rw-r--r--glx/glthread.c144
-rw-r--r--glx/glthread.h69
-rw-r--r--glx/glxbyteorder.h4
-rw-r--r--glx/glxcmds.c2107
-rw-r--r--glx/glxcmdsswap.c338
-rw-r--r--glx/glxcontext.h91
-rw-r--r--glx/glxdrawable.h28
-rw-r--r--glx/glxdri.c995
-rw-r--r--glx/glxdri2.c448
-rw-r--r--glx/glxdricommon.c249
-rw-r--r--glx/glxdricommon.h16
-rw-r--r--glx/glxdriswrast.c260
-rw-r--r--glx/glxext.c365
-rw-r--r--glx/glxext.h11
-rw-r--r--glx/glxscreens.c454
-rw-r--r--glx/glxscreens.h53
-rw-r--r--glx/glxserver.h79
-rw-r--r--glx/glxutil.h14
-rw-r--r--glx/indirect_dispatch.c6252
-rw-r--r--glx/indirect_dispatch.h1021
-rw-r--r--glx/indirect_dispatch_swap.c7370
-rw-r--r--glx/indirect_program.c131
-rw-r--r--glx/indirect_reqsize.c88
-rw-r--r--glx/indirect_reqsize.h198
-rw-r--r--glx/indirect_size.h8
-rw-r--r--glx/indirect_size_get.c3
-rw-r--r--glx/indirect_size_get.h14
-rw-r--r--glx/indirect_table.c1654
-rw-r--r--glx/indirect_table.h8
-rw-r--r--glx/indirect_texture_compression.c129
-rw-r--r--glx/indirect_util.c251
-rw-r--r--glx/indirect_util.h34
-rw-r--r--glx/render2.c249
-rw-r--r--glx/render2swap.c372
-rw-r--r--glx/renderpix.c36
-rw-r--r--glx/renderpixswap.c62
-rw-r--r--glx/rensize.c475
-rw-r--r--glx/single2.c399
-rw-r--r--glx/single2swap.c232
-rw-r--r--glx/singlepix.c433
-rw-r--r--glx/singlepixswap.c543
-rw-r--r--glx/singlesize.c204
-rw-r--r--glx/singlesize.h8
-rw-r--r--glx/swap_interval.c40
-rw-r--r--glx/unpack.h41
-rw-r--r--glx/xfont.c151
56 files changed, 32707 insertions, 22911 deletions
diff --git a/glx/clientinfo.c b/glx/clientinfo.c
index 3c0e7de45..15bbf15af 100644
--- a/glx/clientinfo.c
+++ b/glx/clientinfo.c
@@ -27,22 +27,26 @@
#include "glxserver.h"
#include "indirect_dispatch.h"
-int __glXDisp_SetClientInfoARB(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_SetClientInfoARB(__GLXclientState * cl, GLbyte * pc)
{
return BadRequest;
}
-int __glXDispSwap_SetClientInfoARB(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_SetClientInfoARB(__GLXclientState * cl, GLbyte * pc)
{
return BadRequest;
}
-int __glXDisp_SetClientInfo2ARB(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_SetClientInfo2ARB(__GLXclientState * cl, GLbyte * pc)
{
return BadRequest;
}
-int __glXDispSwap_SetClientInfo2ARB(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_SetClientInfo2ARB(__GLXclientState * cl, GLbyte * pc)
{
return BadRequest;
}
diff --git a/glx/createcontext.c b/glx/createcontext.c
index 785061d5b..9c1eab3e4 100644
--- a/glx/createcontext.c
+++ b/glx/createcontext.c
@@ -27,12 +27,14 @@
#include "glxserver.h"
#include "indirect_dispatch.h"
-int __glXDisp_CreateContextAttribsARB(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_CreateContextAttribsARB(__GLXclientState * cl, GLbyte * pc)
{
return BadRequest;
}
-int __glXDispSwap_CreateContextAttribsARB(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_CreateContextAttribsARB(__GLXclientState * cl, GLbyte * pc)
{
return BadRequest;
}
diff --git a/glx/dispatch.h b/glx/dispatch.h
index 19eabb85c..720865304 100644
--- a/glx/dispatch.h
+++ b/glx/dispatch.h
@@ -26,8 +26,7 @@
*/
#if !defined( _DISPATCH_H_ )
-# define _DISPATCH_H_
-
+#define _DISPATCH_H_
/**
* \file main/dispatch.h
@@ -1042,10 +1041,10 @@
#define _gloffset_EGLImageTargetRenderbufferStorageOES 971
#define _gloffset_EGLImageTargetTexture2DOES 972
-#else /* !FEATURE_remap_table */
+#else /* !FEATURE_remap_table */
#define driDispatchRemapTable_size 565
-extern int driDispatchRemapTable[ driDispatchRemapTable_size ];
+extern int driDispatchRemapTable[driDispatchRemapTable_size];
#define AttachShader_remap_index 0
#define CreateProgram_remap_index 1
@@ -2179,10710 +2178,17639 @@ extern int driDispatchRemapTable[ driDispatchRemapTable_size ];
#define _gloffset_EGLImageTargetRenderbufferStorageOES driDispatchRemapTable[EGLImageTargetRenderbufferStorageOES_remap_index]
#define _gloffset_EGLImageTargetTexture2DOES driDispatchRemapTable[EGLImageTargetTexture2DOES_remap_index]
-#endif /* !FEATURE_remap_table */
+#endif /* !FEATURE_remap_table */
+
+typedef void (GLAPIENTRYP _glptr_NewList) (GLuint, GLenum);
-typedef void (GLAPIENTRYP _glptr_NewList)(GLuint, GLenum);
#define CALL_NewList(disp, parameters) \
(* GET_NewList(disp)) parameters
-static inline _glptr_NewList GET_NewList(struct _glapi_table *disp) {
- return (_glptr_NewList) (GET_by_offset(disp, _gloffset_NewList));
+static inline _glptr_NewList
+GET_NewList(struct _glapi_table *disp)
+{
+ return (_glptr_NewList) (GET_by_offset(disp, _gloffset_NewList));
}
-static inline void SET_NewList(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum)) {
- SET_by_offset(disp, _gloffset_NewList, fn);
+static inline void
+SET_NewList(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLuint, GLenum))
+{
+ SET_by_offset(disp, _gloffset_NewList, fn);
}
-typedef void (GLAPIENTRYP _glptr_EndList)(void);
+typedef void (GLAPIENTRYP _glptr_EndList) (void);
+
#define CALL_EndList(disp, parameters) \
(* GET_EndList(disp)) parameters
-static inline _glptr_EndList GET_EndList(struct _glapi_table *disp) {
- return (_glptr_EndList) (GET_by_offset(disp, _gloffset_EndList));
+static inline _glptr_EndList
+GET_EndList(struct _glapi_table *disp)
+{
+ return (_glptr_EndList) (GET_by_offset(disp, _gloffset_EndList));
}
-static inline void SET_EndList(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) {
- SET_by_offset(disp, _gloffset_EndList, fn);
+static inline void
+SET_EndList(struct _glapi_table *disp, void (GLAPIENTRYP fn) (void))
+{
+ SET_by_offset(disp, _gloffset_EndList, fn);
}
-typedef void (GLAPIENTRYP _glptr_CallList)(GLuint);
+typedef void (GLAPIENTRYP _glptr_CallList) (GLuint);
+
#define CALL_CallList(disp, parameters) \
(* GET_CallList(disp)) parameters
-static inline _glptr_CallList GET_CallList(struct _glapi_table *disp) {
- return (_glptr_CallList) (GET_by_offset(disp, _gloffset_CallList));
+static inline _glptr_CallList
+GET_CallList(struct _glapi_table *disp)
+{
+ return (_glptr_CallList) (GET_by_offset(disp, _gloffset_CallList));
}
-static inline void SET_CallList(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint)) {
- SET_by_offset(disp, _gloffset_CallList, fn);
+static inline void
+SET_CallList(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLuint))
+{
+ SET_by_offset(disp, _gloffset_CallList, fn);
}
-typedef void (GLAPIENTRYP _glptr_CallLists)(GLsizei, GLenum, const GLvoid *);
+typedef void (GLAPIENTRYP _glptr_CallLists) (GLsizei, GLenum, const GLvoid *);
+
#define CALL_CallLists(disp, parameters) \
(* GET_CallLists(disp)) parameters
-static inline _glptr_CallLists GET_CallLists(struct _glapi_table *disp) {
- return (_glptr_CallLists) (GET_by_offset(disp, _gloffset_CallLists));
+static inline _glptr_CallLists
+GET_CallLists(struct _glapi_table *disp)
+{
+ return (_glptr_CallLists) (GET_by_offset(disp, _gloffset_CallLists));
}
-static inline void SET_CallLists(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, GLenum, const GLvoid *)) {
- SET_by_offset(disp, _gloffset_CallLists, fn);
+static inline void
+SET_CallLists(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLsizei, GLenum, const GLvoid *))
+{
+ SET_by_offset(disp, _gloffset_CallLists, fn);
}
-typedef void (GLAPIENTRYP _glptr_DeleteLists)(GLuint, GLsizei);
+typedef void (GLAPIENTRYP _glptr_DeleteLists) (GLuint, GLsizei);
+
#define CALL_DeleteLists(disp, parameters) \
(* GET_DeleteLists(disp)) parameters
-static inline _glptr_DeleteLists GET_DeleteLists(struct _glapi_table *disp) {
- return (_glptr_DeleteLists) (GET_by_offset(disp, _gloffset_DeleteLists));
+static inline _glptr_DeleteLists
+GET_DeleteLists(struct _glapi_table *disp)
+{
+ return (_glptr_DeleteLists) (GET_by_offset(disp, _gloffset_DeleteLists));
}
-static inline void SET_DeleteLists(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei)) {
- SET_by_offset(disp, _gloffset_DeleteLists, fn);
+static inline void
+SET_DeleteLists(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLsizei))
+{
+ SET_by_offset(disp, _gloffset_DeleteLists, fn);
}
-typedef GLuint (GLAPIENTRYP _glptr_GenLists)(GLsizei);
+typedef GLuint(GLAPIENTRYP _glptr_GenLists) (GLsizei);
+
#define CALL_GenLists(disp, parameters) \
(* GET_GenLists(disp)) parameters
-static inline _glptr_GenLists GET_GenLists(struct _glapi_table *disp) {
- return (_glptr_GenLists) (GET_by_offset(disp, _gloffset_GenLists));
+static inline _glptr_GenLists
+GET_GenLists(struct _glapi_table *disp)
+{
+ return (_glptr_GenLists) (GET_by_offset(disp, _gloffset_GenLists));
}
-static inline void SET_GenLists(struct _glapi_table *disp, GLuint (GLAPIENTRYP fn)(GLsizei)) {
- SET_by_offset(disp, _gloffset_GenLists, fn);
+static inline void
+SET_GenLists(struct _glapi_table *disp, GLuint(GLAPIENTRYP fn) (GLsizei))
+{
+ SET_by_offset(disp, _gloffset_GenLists, fn);
}
-typedef void (GLAPIENTRYP _glptr_ListBase)(GLuint);
+typedef void (GLAPIENTRYP _glptr_ListBase) (GLuint);
+
#define CALL_ListBase(disp, parameters) \
(* GET_ListBase(disp)) parameters
-static inline _glptr_ListBase GET_ListBase(struct _glapi_table *disp) {
- return (_glptr_ListBase) (GET_by_offset(disp, _gloffset_ListBase));
+static inline _glptr_ListBase
+GET_ListBase(struct _glapi_table *disp)
+{
+ return (_glptr_ListBase) (GET_by_offset(disp, _gloffset_ListBase));
}
-static inline void SET_ListBase(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint)) {
- SET_by_offset(disp, _gloffset_ListBase, fn);
+static inline void
+SET_ListBase(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLuint))
+{
+ SET_by_offset(disp, _gloffset_ListBase, fn);
}
-typedef void (GLAPIENTRYP _glptr_Begin)(GLenum);
+typedef void (GLAPIENTRYP _glptr_Begin) (GLenum);
+
#define CALL_Begin(disp, parameters) \
(* GET_Begin(disp)) parameters
-static inline _glptr_Begin GET_Begin(struct _glapi_table *disp) {
- return (_glptr_Begin) (GET_by_offset(disp, _gloffset_Begin));
+static inline _glptr_Begin
+GET_Begin(struct _glapi_table *disp)
+{
+ return (_glptr_Begin) (GET_by_offset(disp, _gloffset_Begin));
}
-static inline void SET_Begin(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) {
- SET_by_offset(disp, _gloffset_Begin, fn);
+static inline void
+SET_Begin(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLenum))
+{
+ SET_by_offset(disp, _gloffset_Begin, fn);
}
-typedef void (GLAPIENTRYP _glptr_Bitmap)(GLsizei, GLsizei, GLfloat, GLfloat, GLfloat, GLfloat, const GLubyte *);
+typedef void (GLAPIENTRYP _glptr_Bitmap) (GLsizei, GLsizei, GLfloat, GLfloat,
+ GLfloat, GLfloat, const GLubyte *);
#define CALL_Bitmap(disp, parameters) \
(* GET_Bitmap(disp)) parameters
-static inline _glptr_Bitmap GET_Bitmap(struct _glapi_table *disp) {
- return (_glptr_Bitmap) (GET_by_offset(disp, _gloffset_Bitmap));
+static inline _glptr_Bitmap
+GET_Bitmap(struct _glapi_table *disp)
+{
+ return (_glptr_Bitmap) (GET_by_offset(disp, _gloffset_Bitmap));
}
-static inline void SET_Bitmap(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, GLsizei, GLfloat, GLfloat, GLfloat, GLfloat, const GLubyte *)) {
- SET_by_offset(disp, _gloffset_Bitmap, fn);
+static inline void
+SET_Bitmap(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLsizei, GLsizei, GLfloat, GLfloat, GLfloat,
+ GLfloat, const GLubyte *))
+{
+ SET_by_offset(disp, _gloffset_Bitmap, fn);
}
-typedef void (GLAPIENTRYP _glptr_Color3b)(GLbyte, GLbyte, GLbyte);
+typedef void (GLAPIENTRYP _glptr_Color3b) (GLbyte, GLbyte, GLbyte);
+
#define CALL_Color3b(disp, parameters) \
(* GET_Color3b(disp)) parameters
-static inline _glptr_Color3b GET_Color3b(struct _glapi_table *disp) {
- return (_glptr_Color3b) (GET_by_offset(disp, _gloffset_Color3b));
+static inline _glptr_Color3b
+GET_Color3b(struct _glapi_table *disp)
+{
+ return (_glptr_Color3b) (GET_by_offset(disp, _gloffset_Color3b));
}
-static inline void SET_Color3b(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLbyte, GLbyte, GLbyte)) {
- SET_by_offset(disp, _gloffset_Color3b, fn);
+static inline void
+SET_Color3b(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLbyte, GLbyte, GLbyte))
+{
+ SET_by_offset(disp, _gloffset_Color3b, fn);
}
-typedef void (GLAPIENTRYP _glptr_Color3bv)(const GLbyte *);
+typedef void (GLAPIENTRYP _glptr_Color3bv) (const GLbyte *);
+
#define CALL_Color3bv(disp, parameters) \
(* GET_Color3bv(disp)) parameters
-static inline _glptr_Color3bv GET_Color3bv(struct _glapi_table *disp) {
- return (_glptr_Color3bv) (GET_by_offset(disp, _gloffset_Color3bv));
+static inline _glptr_Color3bv
+GET_Color3bv(struct _glapi_table *disp)
+{
+ return (_glptr_Color3bv) (GET_by_offset(disp, _gloffset_Color3bv));
}
-static inline void SET_Color3bv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLbyte *)) {
- SET_by_offset(disp, _gloffset_Color3bv, fn);
+static inline void
+SET_Color3bv(struct _glapi_table *disp, void (GLAPIENTRYP fn) (const GLbyte *))
+{
+ SET_by_offset(disp, _gloffset_Color3bv, fn);
}
-typedef void (GLAPIENTRYP _glptr_Color3d)(GLdouble, GLdouble, GLdouble);
+typedef void (GLAPIENTRYP _glptr_Color3d) (GLdouble, GLdouble, GLdouble);
+
#define CALL_Color3d(disp, parameters) \
(* GET_Color3d(disp)) parameters
-static inline _glptr_Color3d GET_Color3d(struct _glapi_table *disp) {
- return (_glptr_Color3d) (GET_by_offset(disp, _gloffset_Color3d));
+static inline _glptr_Color3d
+GET_Color3d(struct _glapi_table *disp)
+{
+ return (_glptr_Color3d) (GET_by_offset(disp, _gloffset_Color3d));
}
-static inline void SET_Color3d(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble, GLdouble)) {
- SET_by_offset(disp, _gloffset_Color3d, fn);
+static inline void
+SET_Color3d(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLdouble, GLdouble, GLdouble))
+{
+ SET_by_offset(disp, _gloffset_Color3d, fn);
}
-typedef void (GLAPIENTRYP _glptr_Color3dv)(const GLdouble *);
+typedef void (GLAPIENTRYP _glptr_Color3dv) (const GLdouble *);
+
#define CALL_Color3dv(disp, parameters) \
(* GET_Color3dv(disp)) parameters
-static inline _glptr_Color3dv GET_Color3dv(struct _glapi_table *disp) {
- return (_glptr_Color3dv) (GET_by_offset(disp, _gloffset_Color3dv));
+static inline _glptr_Color3dv
+GET_Color3dv(struct _glapi_table *disp)
+{
+ return (_glptr_Color3dv) (GET_by_offset(disp, _gloffset_Color3dv));
}
-static inline void SET_Color3dv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) {
- SET_by_offset(disp, _gloffset_Color3dv, fn);
+static inline void
+SET_Color3dv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (const GLdouble *))
+{
+ SET_by_offset(disp, _gloffset_Color3dv, fn);
}
-typedef void (GLAPIENTRYP _glptr_Color3f)(GLfloat, GLfloat, GLfloat);
+typedef void (GLAPIENTRYP _glptr_Color3f) (GLfloat, GLfloat, GLfloat);
+
#define CALL_Color3f(disp, parameters) \
(* GET_Color3f(disp)) parameters
-static inline _glptr_Color3f GET_Color3f(struct _glapi_table *disp) {
- return (_glptr_Color3f) (GET_by_offset(disp, _gloffset_Color3f));
+static inline _glptr_Color3f
+GET_Color3f(struct _glapi_table *disp)
+{
+ return (_glptr_Color3f) (GET_by_offset(disp, _gloffset_Color3f));
}
-static inline void SET_Color3f(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat, GLfloat)) {
- SET_by_offset(disp, _gloffset_Color3f, fn);
+static inline void
+SET_Color3f(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLfloat, GLfloat, GLfloat))
+{
+ SET_by_offset(disp, _gloffset_Color3f, fn);
}
-typedef void (GLAPIENTRYP _glptr_Color3fv)(const GLfloat *);
+typedef void (GLAPIENTRYP _glptr_Color3fv) (const GLfloat *);
+
#define CALL_Color3fv(disp, parameters) \
(* GET_Color3fv(disp)) parameters
-static inline _glptr_Color3fv GET_Color3fv(struct _glapi_table *disp) {
- return (_glptr_Color3fv) (GET_by_offset(disp, _gloffset_Color3fv));
+static inline _glptr_Color3fv
+GET_Color3fv(struct _glapi_table *disp)
+{
+ return (_glptr_Color3fv) (GET_by_offset(disp, _gloffset_Color3fv));
}
-static inline void SET_Color3fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) {
- SET_by_offset(disp, _gloffset_Color3fv, fn);
+static inline void
+SET_Color3fv(struct _glapi_table *disp, void (GLAPIENTRYP fn) (const GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_Color3fv, fn);
}
-typedef void (GLAPIENTRYP _glptr_Color3i)(GLint, GLint, GLint);
+typedef void (GLAPIENTRYP _glptr_Color3i) (GLint, GLint, GLint);
+
#define CALL_Color3i(disp, parameters) \
(* GET_Color3i(disp)) parameters
-static inline _glptr_Color3i GET_Color3i(struct _glapi_table *disp) {
- return (_glptr_Color3i) (GET_by_offset(disp, _gloffset_Color3i));
+static inline _glptr_Color3i
+GET_Color3i(struct _glapi_table *disp)
+{
+ return (_glptr_Color3i) (GET_by_offset(disp, _gloffset_Color3i));
}
-static inline void SET_Color3i(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLint)) {
- SET_by_offset(disp, _gloffset_Color3i, fn);
+static inline void
+SET_Color3i(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLint, GLint, GLint))
+{
+ SET_by_offset(disp, _gloffset_Color3i, fn);
}
-typedef void (GLAPIENTRYP _glptr_Color3iv)(const GLint *);
+typedef void (GLAPIENTRYP _glptr_Color3iv) (const GLint *);
+
#define CALL_Color3iv(disp, parameters) \
(* GET_Color3iv(disp)) parameters
-static inline _glptr_Color3iv GET_Color3iv(struct _glapi_table *disp) {
- return (_glptr_Color3iv) (GET_by_offset(disp, _gloffset_Color3iv));
+static inline _glptr_Color3iv
+GET_Color3iv(struct _glapi_table *disp)
+{
+ return (_glptr_Color3iv) (GET_by_offset(disp, _gloffset_Color3iv));
}
-static inline void SET_Color3iv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLint *)) {
- SET_by_offset(disp, _gloffset_Color3iv, fn);
+static inline void
+SET_Color3iv(struct _glapi_table *disp, void (GLAPIENTRYP fn) (const GLint *))
+{
+ SET_by_offset(disp, _gloffset_Color3iv, fn);
}
-typedef void (GLAPIENTRYP _glptr_Color3s)(GLshort, GLshort, GLshort);
+typedef void (GLAPIENTRYP _glptr_Color3s) (GLshort, GLshort, GLshort);
+
#define CALL_Color3s(disp, parameters) \
(* GET_Color3s(disp)) parameters
-static inline _glptr_Color3s GET_Color3s(struct _glapi_table *disp) {
- return (_glptr_Color3s) (GET_by_offset(disp, _gloffset_Color3s));
+static inline _glptr_Color3s
+GET_Color3s(struct _glapi_table *disp)
+{
+ return (_glptr_Color3s) (GET_by_offset(disp, _gloffset_Color3s));
}
-static inline void SET_Color3s(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLshort, GLshort, GLshort)) {
- SET_by_offset(disp, _gloffset_Color3s, fn);
+static inline void
+SET_Color3s(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLshort, GLshort, GLshort))
+{
+ SET_by_offset(disp, _gloffset_Color3s, fn);
}
-typedef void (GLAPIENTRYP _glptr_Color3sv)(const GLshort *);
+typedef void (GLAPIENTRYP _glptr_Color3sv) (const GLshort *);
+
#define CALL_Color3sv(disp, parameters) \
(* GET_Color3sv(disp)) parameters
-static inline _glptr_Color3sv GET_Color3sv(struct _glapi_table *disp) {
- return (_glptr_Color3sv) (GET_by_offset(disp, _gloffset_Color3sv));
+static inline _glptr_Color3sv
+GET_Color3sv(struct _glapi_table *disp)
+{
+ return (_glptr_Color3sv) (GET_by_offset(disp, _gloffset_Color3sv));
}
-static inline void SET_Color3sv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLshort *)) {
- SET_by_offset(disp, _gloffset_Color3sv, fn);
+static inline void
+SET_Color3sv(struct _glapi_table *disp, void (GLAPIENTRYP fn) (const GLshort *))
+{
+ SET_by_offset(disp, _gloffset_Color3sv, fn);
}
-typedef void (GLAPIENTRYP _glptr_Color3ub)(GLubyte, GLubyte, GLubyte);
+typedef void (GLAPIENTRYP _glptr_Color3ub) (GLubyte, GLubyte, GLubyte);
+
#define CALL_Color3ub(disp, parameters) \
(* GET_Color3ub(disp)) parameters
-static inline _glptr_Color3ub GET_Color3ub(struct _glapi_table *disp) {
- return (_glptr_Color3ub) (GET_by_offset(disp, _gloffset_Color3ub));
+static inline _glptr_Color3ub
+GET_Color3ub(struct _glapi_table *disp)
+{
+ return (_glptr_Color3ub) (GET_by_offset(disp, _gloffset_Color3ub));
}
-static inline void SET_Color3ub(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLubyte, GLubyte, GLubyte)) {
- SET_by_offset(disp, _gloffset_Color3ub, fn);
+static inline void
+SET_Color3ub(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLubyte, GLubyte, GLubyte))
+{
+ SET_by_offset(disp, _gloffset_Color3ub, fn);
}
-typedef void (GLAPIENTRYP _glptr_Color3ubv)(const GLubyte *);
+typedef void (GLAPIENTRYP _glptr_Color3ubv) (const GLubyte *);
+
#define CALL_Color3ubv(disp, parameters) \
(* GET_Color3ubv(disp)) parameters
-static inline _glptr_Color3ubv GET_Color3ubv(struct _glapi_table *disp) {
- return (_glptr_Color3ubv) (GET_by_offset(disp, _gloffset_Color3ubv));
+static inline _glptr_Color3ubv
+GET_Color3ubv(struct _glapi_table *disp)
+{
+ return (_glptr_Color3ubv) (GET_by_offset(disp, _gloffset_Color3ubv));
}
-static inline void SET_Color3ubv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLubyte *)) {
- SET_by_offset(disp, _gloffset_Color3ubv, fn);
+static inline void
+SET_Color3ubv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (const GLubyte *))
+{
+ SET_by_offset(disp, _gloffset_Color3ubv, fn);
}
-typedef void (GLAPIENTRYP _glptr_Color3ui)(GLuint, GLuint, GLuint);
+typedef void (GLAPIENTRYP _glptr_Color3ui) (GLuint, GLuint, GLuint);
+
#define CALL_Color3ui(disp, parameters) \
(* GET_Color3ui(disp)) parameters
-static inline _glptr_Color3ui GET_Color3ui(struct _glapi_table *disp) {
- return (_glptr_Color3ui) (GET_by_offset(disp, _gloffset_Color3ui));
+static inline _glptr_Color3ui
+GET_Color3ui(struct _glapi_table *disp)
+{
+ return (_glptr_Color3ui) (GET_by_offset(disp, _gloffset_Color3ui));
}
-static inline void SET_Color3ui(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLuint, GLuint)) {
- SET_by_offset(disp, _gloffset_Color3ui, fn);
+static inline void
+SET_Color3ui(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLuint, GLuint))
+{
+ SET_by_offset(disp, _gloffset_Color3ui, fn);
}
-typedef void (GLAPIENTRYP _glptr_Color3uiv)(const GLuint *);
+typedef void (GLAPIENTRYP _glptr_Color3uiv) (const GLuint *);
+
#define CALL_Color3uiv(disp, parameters) \
(* GET_Color3uiv(disp)) parameters
-static inline _glptr_Color3uiv GET_Color3uiv(struct _glapi_table *disp) {
- return (_glptr_Color3uiv) (GET_by_offset(disp, _gloffset_Color3uiv));
+static inline _glptr_Color3uiv
+GET_Color3uiv(struct _glapi_table *disp)
+{
+ return (_glptr_Color3uiv) (GET_by_offset(disp, _gloffset_Color3uiv));
}
-static inline void SET_Color3uiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLuint *)) {
- SET_by_offset(disp, _gloffset_Color3uiv, fn);
+static inline void
+SET_Color3uiv(struct _glapi_table *disp, void (GLAPIENTRYP fn) (const GLuint *))
+{
+ SET_by_offset(disp, _gloffset_Color3uiv, fn);
}
-typedef void (GLAPIENTRYP _glptr_Color3us)(GLushort, GLushort, GLushort);
+typedef void (GLAPIENTRYP _glptr_Color3us) (GLushort, GLushort, GLushort);
+
#define CALL_Color3us(disp, parameters) \
(* GET_Color3us(disp)) parameters
-static inline _glptr_Color3us GET_Color3us(struct _glapi_table *disp) {
- return (_glptr_Color3us) (GET_by_offset(disp, _gloffset_Color3us));
+static inline _glptr_Color3us
+GET_Color3us(struct _glapi_table *disp)
+{
+ return (_glptr_Color3us) (GET_by_offset(disp, _gloffset_Color3us));
}
-static inline void SET_Color3us(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLushort, GLushort, GLushort)) {
- SET_by_offset(disp, _gloffset_Color3us, fn);
+static inline void
+SET_Color3us(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLushort, GLushort, GLushort))
+{
+ SET_by_offset(disp, _gloffset_Color3us, fn);
}
-typedef void (GLAPIENTRYP _glptr_Color3usv)(const GLushort *);
+typedef void (GLAPIENTRYP _glptr_Color3usv) (const GLushort *);
+
#define CALL_Color3usv(disp, parameters) \
(* GET_Color3usv(disp)) parameters
-static inline _glptr_Color3usv GET_Color3usv(struct _glapi_table *disp) {
- return (_glptr_Color3usv) (GET_by_offset(disp, _gloffset_Color3usv));
+static inline _glptr_Color3usv
+GET_Color3usv(struct _glapi_table *disp)
+{
+ return (_glptr_Color3usv) (GET_by_offset(disp, _gloffset_Color3usv));
}
-static inline void SET_Color3usv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLushort *)) {
- SET_by_offset(disp, _gloffset_Color3usv, fn);
+static inline void
+SET_Color3usv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (const GLushort *))
+{
+ SET_by_offset(disp, _gloffset_Color3usv, fn);
}
-typedef void (GLAPIENTRYP _glptr_Color4b)(GLbyte, GLbyte, GLbyte, GLbyte);
+typedef void (GLAPIENTRYP _glptr_Color4b) (GLbyte, GLbyte, GLbyte, GLbyte);
+
#define CALL_Color4b(disp, parameters) \
(* GET_Color4b(disp)) parameters
-static inline _glptr_Color4b GET_Color4b(struct _glapi_table *disp) {
- return (_glptr_Color4b) (GET_by_offset(disp, _gloffset_Color4b));
+static inline _glptr_Color4b
+GET_Color4b(struct _glapi_table *disp)
+{
+ return (_glptr_Color4b) (GET_by_offset(disp, _gloffset_Color4b));
}
-static inline void SET_Color4b(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLbyte, GLbyte, GLbyte, GLbyte)) {
- SET_by_offset(disp, _gloffset_Color4b, fn);
+static inline void
+SET_Color4b(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLbyte, GLbyte, GLbyte, GLbyte))
+{
+ SET_by_offset(disp, _gloffset_Color4b, fn);
}
-typedef void (GLAPIENTRYP _glptr_Color4bv)(const GLbyte *);
+typedef void (GLAPIENTRYP _glptr_Color4bv) (const GLbyte *);
+
#define CALL_Color4bv(disp, parameters) \
(* GET_Color4bv(disp)) parameters
-static inline _glptr_Color4bv GET_Color4bv(struct _glapi_table *disp) {
- return (_glptr_Color4bv) (GET_by_offset(disp, _gloffset_Color4bv));
+static inline _glptr_Color4bv
+GET_Color4bv(struct _glapi_table *disp)
+{
+ return (_glptr_Color4bv) (GET_by_offset(disp, _gloffset_Color4bv));
}
-static inline void SET_Color4bv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLbyte *)) {
- SET_by_offset(disp, _gloffset_Color4bv, fn);
+static inline void
+SET_Color4bv(struct _glapi_table *disp, void (GLAPIENTRYP fn) (const GLbyte *))
+{
+ SET_by_offset(disp, _gloffset_Color4bv, fn);
}
-typedef void (GLAPIENTRYP _glptr_Color4d)(GLdouble, GLdouble, GLdouble, GLdouble);
+typedef void (GLAPIENTRYP _glptr_Color4d) (GLdouble, GLdouble, GLdouble,
+ GLdouble);
#define CALL_Color4d(disp, parameters) \
(* GET_Color4d(disp)) parameters
-static inline _glptr_Color4d GET_Color4d(struct _glapi_table *disp) {
- return (_glptr_Color4d) (GET_by_offset(disp, _gloffset_Color4d));
+static inline _glptr_Color4d
+GET_Color4d(struct _glapi_table *disp)
+{
+ return (_glptr_Color4d) (GET_by_offset(disp, _gloffset_Color4d));
}
-static inline void SET_Color4d(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble, GLdouble, GLdouble)) {
- SET_by_offset(disp, _gloffset_Color4d, fn);
+static inline void
+SET_Color4d(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLdouble, GLdouble, GLdouble, GLdouble))
+{
+ SET_by_offset(disp, _gloffset_Color4d, fn);
}
-typedef void (GLAPIENTRYP _glptr_Color4dv)(const GLdouble *);
+typedef void (GLAPIENTRYP _glptr_Color4dv) (const GLdouble *);
+
#define CALL_Color4dv(disp, parameters) \
(* GET_Color4dv(disp)) parameters
-static inline _glptr_Color4dv GET_Color4dv(struct _glapi_table *disp) {
- return (_glptr_Color4dv) (GET_by_offset(disp, _gloffset_Color4dv));
+static inline _glptr_Color4dv
+GET_Color4dv(struct _glapi_table *disp)
+{
+ return (_glptr_Color4dv) (GET_by_offset(disp, _gloffset_Color4dv));
}
-static inline void SET_Color4dv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) {
- SET_by_offset(disp, _gloffset_Color4dv, fn);
+static inline void
+SET_Color4dv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (const GLdouble *))
+{
+ SET_by_offset(disp, _gloffset_Color4dv, fn);
}
-typedef void (GLAPIENTRYP _glptr_Color4f)(GLfloat, GLfloat, GLfloat, GLfloat);
+typedef void (GLAPIENTRYP _glptr_Color4f) (GLfloat, GLfloat, GLfloat, GLfloat);
+
#define CALL_Color4f(disp, parameters) \
(* GET_Color4f(disp)) parameters
-static inline _glptr_Color4f GET_Color4f(struct _glapi_table *disp) {
- return (_glptr_Color4f) (GET_by_offset(disp, _gloffset_Color4f));
+static inline _glptr_Color4f
+GET_Color4f(struct _glapi_table *disp)
+{
+ return (_glptr_Color4f) (GET_by_offset(disp, _gloffset_Color4f));
}
-static inline void SET_Color4f(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat, GLfloat, GLfloat)) {
- SET_by_offset(disp, _gloffset_Color4f, fn);
+static inline void
+SET_Color4f(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLfloat, GLfloat, GLfloat, GLfloat))
+{
+ SET_by_offset(disp, _gloffset_Color4f, fn);
}
-typedef void (GLAPIENTRYP _glptr_Color4fv)(const GLfloat *);
+typedef void (GLAPIENTRYP _glptr_Color4fv) (const GLfloat *);
+
#define CALL_Color4fv(disp, parameters) \
(* GET_Color4fv(disp)) parameters
-static inline _glptr_Color4fv GET_Color4fv(struct _glapi_table *disp) {
- return (_glptr_Color4fv) (GET_by_offset(disp, _gloffset_Color4fv));
+static inline _glptr_Color4fv
+GET_Color4fv(struct _glapi_table *disp)
+{
+ return (_glptr_Color4fv) (GET_by_offset(disp, _gloffset_Color4fv));
}
-static inline void SET_Color4fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) {
- SET_by_offset(disp, _gloffset_Color4fv, fn);
+static inline void
+SET_Color4fv(struct _glapi_table *disp, void (GLAPIENTRYP fn) (const GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_Color4fv, fn);
}
-typedef void (GLAPIENTRYP _glptr_Color4i)(GLint, GLint, GLint, GLint);
+typedef void (GLAPIENTRYP _glptr_Color4i) (GLint, GLint, GLint, GLint);
+
#define CALL_Color4i(disp, parameters) \
(* GET_Color4i(disp)) parameters
-static inline _glptr_Color4i GET_Color4i(struct _glapi_table *disp) {
- return (_glptr_Color4i) (GET_by_offset(disp, _gloffset_Color4i));
+static inline _glptr_Color4i
+GET_Color4i(struct _glapi_table *disp)
+{
+ return (_glptr_Color4i) (GET_by_offset(disp, _gloffset_Color4i));
}
-static inline void SET_Color4i(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLint, GLint)) {
- SET_by_offset(disp, _gloffset_Color4i, fn);
+static inline void
+SET_Color4i(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLint, GLint, GLint, GLint))
+{
+ SET_by_offset(disp, _gloffset_Color4i, fn);
}
-typedef void (GLAPIENTRYP _glptr_Color4iv)(const GLint *);
+typedef void (GLAPIENTRYP _glptr_Color4iv) (const GLint *);
+
#define CALL_Color4iv(disp, parameters) \
(* GET_Color4iv(disp)) parameters
-static inline _glptr_Color4iv GET_Color4iv(struct _glapi_table *disp) {
- return (_glptr_Color4iv) (GET_by_offset(disp, _gloffset_Color4iv));
+static inline _glptr_Color4iv
+GET_Color4iv(struct _glapi_table *disp)
+{
+ return (_glptr_Color4iv) (GET_by_offset(disp, _gloffset_Color4iv));
}
-static inline void SET_Color4iv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLint *)) {
- SET_by_offset(disp, _gloffset_Color4iv, fn);
+static inline void
+SET_Color4iv(struct _glapi_table *disp, void (GLAPIENTRYP fn) (const GLint *))
+{
+ SET_by_offset(disp, _gloffset_Color4iv, fn);
}
-typedef void (GLAPIENTRYP _glptr_Color4s)(GLshort, GLshort, GLshort, GLshort);
+typedef void (GLAPIENTRYP _glptr_Color4s) (GLshort, GLshort, GLshort, GLshort);
+
#define CALL_Color4s(disp, parameters) \
(* GET_Color4s(disp)) parameters
-static inline _glptr_Color4s GET_Color4s(struct _glapi_table *disp) {
- return (_glptr_Color4s) (GET_by_offset(disp, _gloffset_Color4s));
+static inline _glptr_Color4s
+GET_Color4s(struct _glapi_table *disp)
+{
+ return (_glptr_Color4s) (GET_by_offset(disp, _gloffset_Color4s));
}
-static inline void SET_Color4s(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLshort, GLshort, GLshort, GLshort)) {
- SET_by_offset(disp, _gloffset_Color4s, fn);
+static inline void
+SET_Color4s(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLshort, GLshort, GLshort, GLshort))
+{
+ SET_by_offset(disp, _gloffset_Color4s, fn);
}
-typedef void (GLAPIENTRYP _glptr_Color4sv)(const GLshort *);
+typedef void (GLAPIENTRYP _glptr_Color4sv) (const GLshort *);
+
#define CALL_Color4sv(disp, parameters) \
(* GET_Color4sv(disp)) parameters
-static inline _glptr_Color4sv GET_Color4sv(struct _glapi_table *disp) {
- return (_glptr_Color4sv) (GET_by_offset(disp, _gloffset_Color4sv));
+static inline _glptr_Color4sv
+GET_Color4sv(struct _glapi_table *disp)
+{
+ return (_glptr_Color4sv) (GET_by_offset(disp, _gloffset_Color4sv));
}
-static inline void SET_Color4sv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLshort *)) {
- SET_by_offset(disp, _gloffset_Color4sv, fn);
+static inline void
+SET_Color4sv(struct _glapi_table *disp, void (GLAPIENTRYP fn) (const GLshort *))
+{
+ SET_by_offset(disp, _gloffset_Color4sv, fn);
}
-typedef void (GLAPIENTRYP _glptr_Color4ub)(GLubyte, GLubyte, GLubyte, GLubyte);
+typedef void (GLAPIENTRYP _glptr_Color4ub) (GLubyte, GLubyte, GLubyte, GLubyte);
+
#define CALL_Color4ub(disp, parameters) \
(* GET_Color4ub(disp)) parameters
-static inline _glptr_Color4ub GET_Color4ub(struct _glapi_table *disp) {
- return (_glptr_Color4ub) (GET_by_offset(disp, _gloffset_Color4ub));
+static inline _glptr_Color4ub
+GET_Color4ub(struct _glapi_table *disp)
+{
+ return (_glptr_Color4ub) (GET_by_offset(disp, _gloffset_Color4ub));
}
-static inline void SET_Color4ub(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLubyte, GLubyte, GLubyte, GLubyte)) {
- SET_by_offset(disp, _gloffset_Color4ub, fn);
+static inline void
+SET_Color4ub(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLubyte, GLubyte, GLubyte, GLubyte))
+{
+ SET_by_offset(disp, _gloffset_Color4ub, fn);
}
-typedef void (GLAPIENTRYP _glptr_Color4ubv)(const GLubyte *);
+typedef void (GLAPIENTRYP _glptr_Color4ubv) (const GLubyte *);
+
#define CALL_Color4ubv(disp, parameters) \
(* GET_Color4ubv(disp)) parameters
-static inline _glptr_Color4ubv GET_Color4ubv(struct _glapi_table *disp) {
- return (_glptr_Color4ubv) (GET_by_offset(disp, _gloffset_Color4ubv));
+static inline _glptr_Color4ubv
+GET_Color4ubv(struct _glapi_table *disp)
+{
+ return (_glptr_Color4ubv) (GET_by_offset(disp, _gloffset_Color4ubv));
}
-static inline void SET_Color4ubv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLubyte *)) {
- SET_by_offset(disp, _gloffset_Color4ubv, fn);
+static inline void
+SET_Color4ubv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (const GLubyte *))
+{
+ SET_by_offset(disp, _gloffset_Color4ubv, fn);
}
-typedef void (GLAPIENTRYP _glptr_Color4ui)(GLuint, GLuint, GLuint, GLuint);
+typedef void (GLAPIENTRYP _glptr_Color4ui) (GLuint, GLuint, GLuint, GLuint);
+
#define CALL_Color4ui(disp, parameters) \
(* GET_Color4ui(disp)) parameters
-static inline _glptr_Color4ui GET_Color4ui(struct _glapi_table *disp) {
- return (_glptr_Color4ui) (GET_by_offset(disp, _gloffset_Color4ui));
+static inline _glptr_Color4ui
+GET_Color4ui(struct _glapi_table *disp)
+{
+ return (_glptr_Color4ui) (GET_by_offset(disp, _gloffset_Color4ui));
}
-static inline void SET_Color4ui(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLuint, GLuint, GLuint)) {
- SET_by_offset(disp, _gloffset_Color4ui, fn);
+static inline void
+SET_Color4ui(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLuint, GLuint, GLuint))
+{
+ SET_by_offset(disp, _gloffset_Color4ui, fn);
}
-typedef void (GLAPIENTRYP _glptr_Color4uiv)(const GLuint *);
+typedef void (GLAPIENTRYP _glptr_Color4uiv) (const GLuint *);
+
#define CALL_Color4uiv(disp, parameters) \
(* GET_Color4uiv(disp)) parameters
-static inline _glptr_Color4uiv GET_Color4uiv(struct _glapi_table *disp) {
- return (_glptr_Color4uiv) (GET_by_offset(disp, _gloffset_Color4uiv));
+static inline _glptr_Color4uiv
+GET_Color4uiv(struct _glapi_table *disp)
+{
+ return (_glptr_Color4uiv) (GET_by_offset(disp, _gloffset_Color4uiv));
}
-static inline void SET_Color4uiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLuint *)) {
- SET_by_offset(disp, _gloffset_Color4uiv, fn);
+static inline void
+SET_Color4uiv(struct _glapi_table *disp, void (GLAPIENTRYP fn) (const GLuint *))
+{
+ SET_by_offset(disp, _gloffset_Color4uiv, fn);
}
-typedef void (GLAPIENTRYP _glptr_Color4us)(GLushort, GLushort, GLushort, GLushort);
+typedef void (GLAPIENTRYP _glptr_Color4us) (GLushort, GLushort, GLushort,
+ GLushort);
#define CALL_Color4us(disp, parameters) \
(* GET_Color4us(disp)) parameters
-static inline _glptr_Color4us GET_Color4us(struct _glapi_table *disp) {
- return (_glptr_Color4us) (GET_by_offset(disp, _gloffset_Color4us));
+static inline _glptr_Color4us
+GET_Color4us(struct _glapi_table *disp)
+{
+ return (_glptr_Color4us) (GET_by_offset(disp, _gloffset_Color4us));
}
-static inline void SET_Color4us(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLushort, GLushort, GLushort, GLushort)) {
- SET_by_offset(disp, _gloffset_Color4us, fn);
+static inline void
+SET_Color4us(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLushort, GLushort, GLushort, GLushort))
+{
+ SET_by_offset(disp, _gloffset_Color4us, fn);
}
-typedef void (GLAPIENTRYP _glptr_Color4usv)(const GLushort *);
+typedef void (GLAPIENTRYP _glptr_Color4usv) (const GLushort *);
+
#define CALL_Color4usv(disp, parameters) \
(* GET_Color4usv(disp)) parameters
-static inline _glptr_Color4usv GET_Color4usv(struct _glapi_table *disp) {
- return (_glptr_Color4usv) (GET_by_offset(disp, _gloffset_Color4usv));
+static inline _glptr_Color4usv
+GET_Color4usv(struct _glapi_table *disp)
+{
+ return (_glptr_Color4usv) (GET_by_offset(disp, _gloffset_Color4usv));
}
-static inline void SET_Color4usv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLushort *)) {
- SET_by_offset(disp, _gloffset_Color4usv, fn);
+static inline void
+SET_Color4usv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (const GLushort *))
+{
+ SET_by_offset(disp, _gloffset_Color4usv, fn);
}
-typedef void (GLAPIENTRYP _glptr_EdgeFlag)(GLboolean);
+typedef void (GLAPIENTRYP _glptr_EdgeFlag) (GLboolean);
+
#define CALL_EdgeFlag(disp, parameters) \
(* GET_EdgeFlag(disp)) parameters
-static inline _glptr_EdgeFlag GET_EdgeFlag(struct _glapi_table *disp) {
- return (_glptr_EdgeFlag) (GET_by_offset(disp, _gloffset_EdgeFlag));
+static inline _glptr_EdgeFlag
+GET_EdgeFlag(struct _glapi_table *disp)
+{
+ return (_glptr_EdgeFlag) (GET_by_offset(disp, _gloffset_EdgeFlag));
}
-static inline void SET_EdgeFlag(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLboolean)) {
- SET_by_offset(disp, _gloffset_EdgeFlag, fn);
+static inline void
+SET_EdgeFlag(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLboolean))
+{
+ SET_by_offset(disp, _gloffset_EdgeFlag, fn);
}
-typedef void (GLAPIENTRYP _glptr_EdgeFlagv)(const GLboolean *);
+typedef void (GLAPIENTRYP _glptr_EdgeFlagv) (const GLboolean *);
+
#define CALL_EdgeFlagv(disp, parameters) \
(* GET_EdgeFlagv(disp)) parameters
-static inline _glptr_EdgeFlagv GET_EdgeFlagv(struct _glapi_table *disp) {
- return (_glptr_EdgeFlagv) (GET_by_offset(disp, _gloffset_EdgeFlagv));
+static inline _glptr_EdgeFlagv
+GET_EdgeFlagv(struct _glapi_table *disp)
+{
+ return (_glptr_EdgeFlagv) (GET_by_offset(disp, _gloffset_EdgeFlagv));
}
-static inline void SET_EdgeFlagv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLboolean *)) {
- SET_by_offset(disp, _gloffset_EdgeFlagv, fn);
+static inline void
+SET_EdgeFlagv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (const GLboolean *))
+{
+ SET_by_offset(disp, _gloffset_EdgeFlagv, fn);
}
-typedef void (GLAPIENTRYP _glptr_End)(void);
+typedef void (GLAPIENTRYP _glptr_End) (void);
+
#define CALL_End(disp, parameters) \
(* GET_End(disp)) parameters
-static inline _glptr_End GET_End(struct _glapi_table *disp) {
- return (_glptr_End) (GET_by_offset(disp, _gloffset_End));
+static inline _glptr_End
+GET_End(struct _glapi_table *disp)
+{
+ return (_glptr_End) (GET_by_offset(disp, _gloffset_End));
}
-static inline void SET_End(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) {
- SET_by_offset(disp, _gloffset_End, fn);
+static inline void
+SET_End(struct _glapi_table *disp, void (GLAPIENTRYP fn) (void))
+{
+ SET_by_offset(disp, _gloffset_End, fn);
}
-typedef void (GLAPIENTRYP _glptr_Indexd)(GLdouble);
+typedef void (GLAPIENTRYP _glptr_Indexd) (GLdouble);
+
#define CALL_Indexd(disp, parameters) \
(* GET_Indexd(disp)) parameters
-static inline _glptr_Indexd GET_Indexd(struct _glapi_table *disp) {
- return (_glptr_Indexd) (GET_by_offset(disp, _gloffset_Indexd));
+static inline _glptr_Indexd
+GET_Indexd(struct _glapi_table *disp)
+{
+ return (_glptr_Indexd) (GET_by_offset(disp, _gloffset_Indexd));
}
-static inline void SET_Indexd(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble)) {
- SET_by_offset(disp, _gloffset_Indexd, fn);
+static inline void
+SET_Indexd(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLdouble))
+{
+ SET_by_offset(disp, _gloffset_Indexd, fn);
}
-typedef void (GLAPIENTRYP _glptr_Indexdv)(const GLdouble *);
+typedef void (GLAPIENTRYP _glptr_Indexdv) (const GLdouble *);
+
#define CALL_Indexdv(disp, parameters) \
(* GET_Indexdv(disp)) parameters
-static inline _glptr_Indexdv GET_Indexdv(struct _glapi_table *disp) {
- return (_glptr_Indexdv) (GET_by_offset(disp, _gloffset_Indexdv));
+static inline _glptr_Indexdv
+GET_Indexdv(struct _glapi_table *disp)
+{
+ return (_glptr_Indexdv) (GET_by_offset(disp, _gloffset_Indexdv));
}
-static inline void SET_Indexdv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) {
- SET_by_offset(disp, _gloffset_Indexdv, fn);
+static inline void
+SET_Indexdv(struct _glapi_table *disp, void (GLAPIENTRYP fn) (const GLdouble *))
+{
+ SET_by_offset(disp, _gloffset_Indexdv, fn);
}
-typedef void (GLAPIENTRYP _glptr_Indexf)(GLfloat);
+typedef void (GLAPIENTRYP _glptr_Indexf) (GLfloat);
+
#define CALL_Indexf(disp, parameters) \
(* GET_Indexf(disp)) parameters
-static inline _glptr_Indexf GET_Indexf(struct _glapi_table *disp) {
- return (_glptr_Indexf) (GET_by_offset(disp, _gloffset_Indexf));
+static inline _glptr_Indexf
+GET_Indexf(struct _glapi_table *disp)
+{
+ return (_glptr_Indexf) (GET_by_offset(disp, _gloffset_Indexf));
}
-static inline void SET_Indexf(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat)) {
- SET_by_offset(disp, _gloffset_Indexf, fn);
+static inline void
+SET_Indexf(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLfloat))
+{
+ SET_by_offset(disp, _gloffset_Indexf, fn);
}
-typedef void (GLAPIENTRYP _glptr_Indexfv)(const GLfloat *);
+typedef void (GLAPIENTRYP _glptr_Indexfv) (const GLfloat *);
+
#define CALL_Indexfv(disp, parameters) \
(* GET_Indexfv(disp)) parameters
-static inline _glptr_Indexfv GET_Indexfv(struct _glapi_table *disp) {
- return (_glptr_Indexfv) (GET_by_offset(disp, _gloffset_Indexfv));
+static inline _glptr_Indexfv
+GET_Indexfv(struct _glapi_table *disp)
+{
+ return (_glptr_Indexfv) (GET_by_offset(disp, _gloffset_Indexfv));
}
-static inline void SET_Indexfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) {
- SET_by_offset(disp, _gloffset_Indexfv, fn);
+static inline void
+SET_Indexfv(struct _glapi_table *disp, void (GLAPIENTRYP fn) (const GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_Indexfv, fn);
}
-typedef void (GLAPIENTRYP _glptr_Indexi)(GLint);
+typedef void (GLAPIENTRYP _glptr_Indexi) (GLint);
+
#define CALL_Indexi(disp, parameters) \
(* GET_Indexi(disp)) parameters
-static inline _glptr_Indexi GET_Indexi(struct _glapi_table *disp) {
- return (_glptr_Indexi) (GET_by_offset(disp, _gloffset_Indexi));
+static inline _glptr_Indexi
+GET_Indexi(struct _glapi_table *disp)
+{
+ return (_glptr_Indexi) (GET_by_offset(disp, _gloffset_Indexi));
}
-static inline void SET_Indexi(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint)) {
- SET_by_offset(disp, _gloffset_Indexi, fn);
+static inline void
+SET_Indexi(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLint))
+{
+ SET_by_offset(disp, _gloffset_Indexi, fn);
}
-typedef void (GLAPIENTRYP _glptr_Indexiv)(const GLint *);
+typedef void (GLAPIENTRYP _glptr_Indexiv) (const GLint *);
+
#define CALL_Indexiv(disp, parameters) \
(* GET_Indexiv(disp)) parameters
-static inline _glptr_Indexiv GET_Indexiv(struct _glapi_table *disp) {
- return (_glptr_Indexiv) (GET_by_offset(disp, _gloffset_Indexiv));
+static inline _glptr_Indexiv
+GET_Indexiv(struct _glapi_table *disp)
+{
+ return (_glptr_Indexiv) (GET_by_offset(disp, _gloffset_Indexiv));
}
-static inline void SET_Indexiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLint *)) {
- SET_by_offset(disp, _gloffset_Indexiv, fn);
+static inline void
+SET_Indexiv(struct _glapi_table *disp, void (GLAPIENTRYP fn) (const GLint *))
+{
+ SET_by_offset(disp, _gloffset_Indexiv, fn);
}
-typedef void (GLAPIENTRYP _glptr_Indexs)(GLshort);
+typedef void (GLAPIENTRYP _glptr_Indexs) (GLshort);
+
#define CALL_Indexs(disp, parameters) \
(* GET_Indexs(disp)) parameters
-static inline _glptr_Indexs GET_Indexs(struct _glapi_table *disp) {
- return (_glptr_Indexs) (GET_by_offset(disp, _gloffset_Indexs));
+static inline _glptr_Indexs
+GET_Indexs(struct _glapi_table *disp)
+{
+ return (_glptr_Indexs) (GET_by_offset(disp, _gloffset_Indexs));
}
-static inline void SET_Indexs(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLshort)) {
- SET_by_offset(disp, _gloffset_Indexs, fn);
+static inline void
+SET_Indexs(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLshort))
+{
+ SET_by_offset(disp, _gloffset_Indexs, fn);
}
-typedef void (GLAPIENTRYP _glptr_Indexsv)(const GLshort *);
+typedef void (GLAPIENTRYP _glptr_Indexsv) (const GLshort *);
+
#define CALL_Indexsv(disp, parameters) \
(* GET_Indexsv(disp)) parameters
-static inline _glptr_Indexsv GET_Indexsv(struct _glapi_table *disp) {
- return (_glptr_Indexsv) (GET_by_offset(disp, _gloffset_Indexsv));
+static inline _glptr_Indexsv
+GET_Indexsv(struct _glapi_table *disp)
+{
+ return (_glptr_Indexsv) (GET_by_offset(disp, _gloffset_Indexsv));
}
-static inline void SET_Indexsv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLshort *)) {
- SET_by_offset(disp, _gloffset_Indexsv, fn);
+static inline void
+SET_Indexsv(struct _glapi_table *disp, void (GLAPIENTRYP fn) (const GLshort *))
+{
+ SET_by_offset(disp, _gloffset_Indexsv, fn);
}
-typedef void (GLAPIENTRYP _glptr_Normal3b)(GLbyte, GLbyte, GLbyte);
+typedef void (GLAPIENTRYP _glptr_Normal3b) (GLbyte, GLbyte, GLbyte);
+
#define CALL_Normal3b(disp, parameters) \
(* GET_Normal3b(disp)) parameters
-static inline _glptr_Normal3b GET_Normal3b(struct _glapi_table *disp) {
- return (_glptr_Normal3b) (GET_by_offset(disp, _gloffset_Normal3b));
+static inline _glptr_Normal3b
+GET_Normal3b(struct _glapi_table *disp)
+{
+ return (_glptr_Normal3b) (GET_by_offset(disp, _gloffset_Normal3b));
}
-static inline void SET_Normal3b(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLbyte, GLbyte, GLbyte)) {
- SET_by_offset(disp, _gloffset_Normal3b, fn);
+static inline void
+SET_Normal3b(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLbyte, GLbyte, GLbyte))
+{
+ SET_by_offset(disp, _gloffset_Normal3b, fn);
}
-typedef void (GLAPIENTRYP _glptr_Normal3bv)(const GLbyte *);
+typedef void (GLAPIENTRYP _glptr_Normal3bv) (const GLbyte *);
+
#define CALL_Normal3bv(disp, parameters) \
(* GET_Normal3bv(disp)) parameters
-static inline _glptr_Normal3bv GET_Normal3bv(struct _glapi_table *disp) {
- return (_glptr_Normal3bv) (GET_by_offset(disp, _gloffset_Normal3bv));
+static inline _glptr_Normal3bv
+GET_Normal3bv(struct _glapi_table *disp)
+{
+ return (_glptr_Normal3bv) (GET_by_offset(disp, _gloffset_Normal3bv));
}
-static inline void SET_Normal3bv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLbyte *)) {
- SET_by_offset(disp, _gloffset_Normal3bv, fn);
+static inline void
+SET_Normal3bv(struct _glapi_table *disp, void (GLAPIENTRYP fn) (const GLbyte *))
+{
+ SET_by_offset(disp, _gloffset_Normal3bv, fn);
}
-typedef void (GLAPIENTRYP _glptr_Normal3d)(GLdouble, GLdouble, GLdouble);
+typedef void (GLAPIENTRYP _glptr_Normal3d) (GLdouble, GLdouble, GLdouble);
+
#define CALL_Normal3d(disp, parameters) \
(* GET_Normal3d(disp)) parameters
-static inline _glptr_Normal3d GET_Normal3d(struct _glapi_table *disp) {
- return (_glptr_Normal3d) (GET_by_offset(disp, _gloffset_Normal3d));
+static inline _glptr_Normal3d
+GET_Normal3d(struct _glapi_table *disp)
+{
+ return (_glptr_Normal3d) (GET_by_offset(disp, _gloffset_Normal3d));
}
-static inline void SET_Normal3d(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble, GLdouble)) {
- SET_by_offset(disp, _gloffset_Normal3d, fn);
+static inline void
+SET_Normal3d(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLdouble, GLdouble, GLdouble))
+{
+ SET_by_offset(disp, _gloffset_Normal3d, fn);
}
-typedef void (GLAPIENTRYP _glptr_Normal3dv)(const GLdouble *);
+typedef void (GLAPIENTRYP _glptr_Normal3dv) (const GLdouble *);
+
#define CALL_Normal3dv(disp, parameters) \
(* GET_Normal3dv(disp)) parameters
-static inline _glptr_Normal3dv GET_Normal3dv(struct _glapi_table *disp) {
- return (_glptr_Normal3dv) (GET_by_offset(disp, _gloffset_Normal3dv));
+static inline _glptr_Normal3dv
+GET_Normal3dv(struct _glapi_table *disp)
+{
+ return (_glptr_Normal3dv) (GET_by_offset(disp, _gloffset_Normal3dv));
}
-static inline void SET_Normal3dv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) {
- SET_by_offset(disp, _gloffset_Normal3dv, fn);
+static inline void
+SET_Normal3dv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (const GLdouble *))
+{
+ SET_by_offset(disp, _gloffset_Normal3dv, fn);
}
-typedef void (GLAPIENTRYP _glptr_Normal3f)(GLfloat, GLfloat, GLfloat);
+typedef void (GLAPIENTRYP _glptr_Normal3f) (GLfloat, GLfloat, GLfloat);
+
#define CALL_Normal3f(disp, parameters) \
(* GET_Normal3f(disp)) parameters
-static inline _glptr_Normal3f GET_Normal3f(struct _glapi_table *disp) {
- return (_glptr_Normal3f) (GET_by_offset(disp, _gloffset_Normal3f));
+static inline _glptr_Normal3f
+GET_Normal3f(struct _glapi_table *disp)
+{
+ return (_glptr_Normal3f) (GET_by_offset(disp, _gloffset_Normal3f));
}
-static inline void SET_Normal3f(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat, GLfloat)) {
- SET_by_offset(disp, _gloffset_Normal3f, fn);
+static inline void
+SET_Normal3f(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLfloat, GLfloat, GLfloat))
+{
+ SET_by_offset(disp, _gloffset_Normal3f, fn);
}
-typedef void (GLAPIENTRYP _glptr_Normal3fv)(const GLfloat *);
+typedef void (GLAPIENTRYP _glptr_Normal3fv) (const GLfloat *);
+
#define CALL_Normal3fv(disp, parameters) \
(* GET_Normal3fv(disp)) parameters
-static inline _glptr_Normal3fv GET_Normal3fv(struct _glapi_table *disp) {
- return (_glptr_Normal3fv) (GET_by_offset(disp, _gloffset_Normal3fv));
+static inline _glptr_Normal3fv
+GET_Normal3fv(struct _glapi_table *disp)
+{
+ return (_glptr_Normal3fv) (GET_by_offset(disp, _gloffset_Normal3fv));
}
-static inline void SET_Normal3fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) {
- SET_by_offset(disp, _gloffset_Normal3fv, fn);
+static inline void
+SET_Normal3fv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (const GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_Normal3fv, fn);
}
-typedef void (GLAPIENTRYP _glptr_Normal3i)(GLint, GLint, GLint);
+typedef void (GLAPIENTRYP _glptr_Normal3i) (GLint, GLint, GLint);
+
#define CALL_Normal3i(disp, parameters) \
(* GET_Normal3i(disp)) parameters
-static inline _glptr_Normal3i GET_Normal3i(struct _glapi_table *disp) {
- return (_glptr_Normal3i) (GET_by_offset(disp, _gloffset_Normal3i));
+static inline _glptr_Normal3i
+GET_Normal3i(struct _glapi_table *disp)
+{
+ return (_glptr_Normal3i) (GET_by_offset(disp, _gloffset_Normal3i));
}
-static inline void SET_Normal3i(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLint)) {
- SET_by_offset(disp, _gloffset_Normal3i, fn);
+static inline void
+SET_Normal3i(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLint, GLint, GLint))
+{
+ SET_by_offset(disp, _gloffset_Normal3i, fn);
}
-typedef void (GLAPIENTRYP _glptr_Normal3iv)(const GLint *);
+typedef void (GLAPIENTRYP _glptr_Normal3iv) (const GLint *);
+
#define CALL_Normal3iv(disp, parameters) \
(* GET_Normal3iv(disp)) parameters
-static inline _glptr_Normal3iv GET_Normal3iv(struct _glapi_table *disp) {
- return (_glptr_Normal3iv) (GET_by_offset(disp, _gloffset_Normal3iv));
+static inline _glptr_Normal3iv
+GET_Normal3iv(struct _glapi_table *disp)
+{
+ return (_glptr_Normal3iv) (GET_by_offset(disp, _gloffset_Normal3iv));
}
-static inline void SET_Normal3iv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLint *)) {
- SET_by_offset(disp, _gloffset_Normal3iv, fn);
+static inline void
+SET_Normal3iv(struct _glapi_table *disp, void (GLAPIENTRYP fn) (const GLint *))
+{
+ SET_by_offset(disp, _gloffset_Normal3iv, fn);
}
-typedef void (GLAPIENTRYP _glptr_Normal3s)(GLshort, GLshort, GLshort);
+typedef void (GLAPIENTRYP _glptr_Normal3s) (GLshort, GLshort, GLshort);
+
#define CALL_Normal3s(disp, parameters) \
(* GET_Normal3s(disp)) parameters
-static inline _glptr_Normal3s GET_Normal3s(struct _glapi_table *disp) {
- return (_glptr_Normal3s) (GET_by_offset(disp, _gloffset_Normal3s));
+static inline _glptr_Normal3s
+GET_Normal3s(struct _glapi_table *disp)
+{
+ return (_glptr_Normal3s) (GET_by_offset(disp, _gloffset_Normal3s));
}
-static inline void SET_Normal3s(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLshort, GLshort, GLshort)) {
- SET_by_offset(disp, _gloffset_Normal3s, fn);
+static inline void
+SET_Normal3s(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLshort, GLshort, GLshort))
+{
+ SET_by_offset(disp, _gloffset_Normal3s, fn);
}
-typedef void (GLAPIENTRYP _glptr_Normal3sv)(const GLshort *);
+typedef void (GLAPIENTRYP _glptr_Normal3sv) (const GLshort *);
+
#define CALL_Normal3sv(disp, parameters) \
(* GET_Normal3sv(disp)) parameters
-static inline _glptr_Normal3sv GET_Normal3sv(struct _glapi_table *disp) {
- return (_glptr_Normal3sv) (GET_by_offset(disp, _gloffset_Normal3sv));
+static inline _glptr_Normal3sv
+GET_Normal3sv(struct _glapi_table *disp)
+{
+ return (_glptr_Normal3sv) (GET_by_offset(disp, _gloffset_Normal3sv));
}
-static inline void SET_Normal3sv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLshort *)) {
- SET_by_offset(disp, _gloffset_Normal3sv, fn);
+static inline void
+SET_Normal3sv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (const GLshort *))
+{
+ SET_by_offset(disp, _gloffset_Normal3sv, fn);
}
-typedef void (GLAPIENTRYP _glptr_RasterPos2d)(GLdouble, GLdouble);
+typedef void (GLAPIENTRYP _glptr_RasterPos2d) (GLdouble, GLdouble);
+
#define CALL_RasterPos2d(disp, parameters) \
(* GET_RasterPos2d(disp)) parameters
-static inline _glptr_RasterPos2d GET_RasterPos2d(struct _glapi_table *disp) {
- return (_glptr_RasterPos2d) (GET_by_offset(disp, _gloffset_RasterPos2d));
+static inline _glptr_RasterPos2d
+GET_RasterPos2d(struct _glapi_table *disp)
+{
+ return (_glptr_RasterPos2d) (GET_by_offset(disp, _gloffset_RasterPos2d));
}
-static inline void SET_RasterPos2d(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble)) {
- SET_by_offset(disp, _gloffset_RasterPos2d, fn);
+static inline void
+SET_RasterPos2d(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLdouble, GLdouble))
+{
+ SET_by_offset(disp, _gloffset_RasterPos2d, fn);
}
-typedef void (GLAPIENTRYP _glptr_RasterPos2dv)(const GLdouble *);
+typedef void (GLAPIENTRYP _glptr_RasterPos2dv) (const GLdouble *);
+
#define CALL_RasterPos2dv(disp, parameters) \
(* GET_RasterPos2dv(disp)) parameters
-static inline _glptr_RasterPos2dv GET_RasterPos2dv(struct _glapi_table *disp) {
- return (_glptr_RasterPos2dv) (GET_by_offset(disp, _gloffset_RasterPos2dv));
+static inline _glptr_RasterPos2dv
+GET_RasterPos2dv(struct _glapi_table *disp)
+{
+ return (_glptr_RasterPos2dv) (GET_by_offset(disp, _gloffset_RasterPos2dv));
}
-static inline void SET_RasterPos2dv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) {
- SET_by_offset(disp, _gloffset_RasterPos2dv, fn);
+static inline void
+SET_RasterPos2dv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (const GLdouble *))
+{
+ SET_by_offset(disp, _gloffset_RasterPos2dv, fn);
}
-typedef void (GLAPIENTRYP _glptr_RasterPos2f)(GLfloat, GLfloat);
+typedef void (GLAPIENTRYP _glptr_RasterPos2f) (GLfloat, GLfloat);
+
#define CALL_RasterPos2f(disp, parameters) \
(* GET_RasterPos2f(disp)) parameters
-static inline _glptr_RasterPos2f GET_RasterPos2f(struct _glapi_table *disp) {
- return (_glptr_RasterPos2f) (GET_by_offset(disp, _gloffset_RasterPos2f));
+static inline _glptr_RasterPos2f
+GET_RasterPos2f(struct _glapi_table *disp)
+{
+ return (_glptr_RasterPos2f) (GET_by_offset(disp, _gloffset_RasterPos2f));
}
-static inline void SET_RasterPos2f(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat)) {
- SET_by_offset(disp, _gloffset_RasterPos2f, fn);
+static inline void
+SET_RasterPos2f(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLfloat, GLfloat))
+{
+ SET_by_offset(disp, _gloffset_RasterPos2f, fn);
}
-typedef void (GLAPIENTRYP _glptr_RasterPos2fv)(const GLfloat *);
+typedef void (GLAPIENTRYP _glptr_RasterPos2fv) (const GLfloat *);
+
#define CALL_RasterPos2fv(disp, parameters) \
(* GET_RasterPos2fv(disp)) parameters
-static inline _glptr_RasterPos2fv GET_RasterPos2fv(struct _glapi_table *disp) {
- return (_glptr_RasterPos2fv) (GET_by_offset(disp, _gloffset_RasterPos2fv));
+static inline _glptr_RasterPos2fv
+GET_RasterPos2fv(struct _glapi_table *disp)
+{
+ return (_glptr_RasterPos2fv) (GET_by_offset(disp, _gloffset_RasterPos2fv));
}
-static inline void SET_RasterPos2fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) {
- SET_by_offset(disp, _gloffset_RasterPos2fv, fn);
+static inline void
+SET_RasterPos2fv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (const GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_RasterPos2fv, fn);
}
-typedef void (GLAPIENTRYP _glptr_RasterPos2i)(GLint, GLint);
+typedef void (GLAPIENTRYP _glptr_RasterPos2i) (GLint, GLint);
+
#define CALL_RasterPos2i(disp, parameters) \
(* GET_RasterPos2i(disp)) parameters
-static inline _glptr_RasterPos2i GET_RasterPos2i(struct _glapi_table *disp) {
- return (_glptr_RasterPos2i) (GET_by_offset(disp, _gloffset_RasterPos2i));
+static inline _glptr_RasterPos2i
+GET_RasterPos2i(struct _glapi_table *disp)
+{
+ return (_glptr_RasterPos2i) (GET_by_offset(disp, _gloffset_RasterPos2i));
}
-static inline void SET_RasterPos2i(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint)) {
- SET_by_offset(disp, _gloffset_RasterPos2i, fn);
+static inline void
+SET_RasterPos2i(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLint, GLint))
+{
+ SET_by_offset(disp, _gloffset_RasterPos2i, fn);
}
-typedef void (GLAPIENTRYP _glptr_RasterPos2iv)(const GLint *);
+typedef void (GLAPIENTRYP _glptr_RasterPos2iv) (const GLint *);
+
#define CALL_RasterPos2iv(disp, parameters) \
(* GET_RasterPos2iv(disp)) parameters
-static inline _glptr_RasterPos2iv GET_RasterPos2iv(struct _glapi_table *disp) {
- return (_glptr_RasterPos2iv) (GET_by_offset(disp, _gloffset_RasterPos2iv));
+static inline _glptr_RasterPos2iv
+GET_RasterPos2iv(struct _glapi_table *disp)
+{
+ return (_glptr_RasterPos2iv) (GET_by_offset(disp, _gloffset_RasterPos2iv));
}
-static inline void SET_RasterPos2iv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLint *)) {
- SET_by_offset(disp, _gloffset_RasterPos2iv, fn);
+static inline void
+SET_RasterPos2iv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (const GLint *))
+{
+ SET_by_offset(disp, _gloffset_RasterPos2iv, fn);
}
-typedef void (GLAPIENTRYP _glptr_RasterPos2s)(GLshort, GLshort);
+typedef void (GLAPIENTRYP _glptr_RasterPos2s) (GLshort, GLshort);
+
#define CALL_RasterPos2s(disp, parameters) \
(* GET_RasterPos2s(disp)) parameters
-static inline _glptr_RasterPos2s GET_RasterPos2s(struct _glapi_table *disp) {
- return (_glptr_RasterPos2s) (GET_by_offset(disp, _gloffset_RasterPos2s));
+static inline _glptr_RasterPos2s
+GET_RasterPos2s(struct _glapi_table *disp)
+{
+ return (_glptr_RasterPos2s) (GET_by_offset(disp, _gloffset_RasterPos2s));
}
-static inline void SET_RasterPos2s(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLshort, GLshort)) {
- SET_by_offset(disp, _gloffset_RasterPos2s, fn);
+static inline void
+SET_RasterPos2s(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLshort, GLshort))
+{
+ SET_by_offset(disp, _gloffset_RasterPos2s, fn);
}
-typedef void (GLAPIENTRYP _glptr_RasterPos2sv)(const GLshort *);
+typedef void (GLAPIENTRYP _glptr_RasterPos2sv) (const GLshort *);
+
#define CALL_RasterPos2sv(disp, parameters) \
(* GET_RasterPos2sv(disp)) parameters
-static inline _glptr_RasterPos2sv GET_RasterPos2sv(struct _glapi_table *disp) {
- return (_glptr_RasterPos2sv) (GET_by_offset(disp, _gloffset_RasterPos2sv));
+static inline _glptr_RasterPos2sv
+GET_RasterPos2sv(struct _glapi_table *disp)
+{
+ return (_glptr_RasterPos2sv) (GET_by_offset(disp, _gloffset_RasterPos2sv));
}
-static inline void SET_RasterPos2sv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLshort *)) {
- SET_by_offset(disp, _gloffset_RasterPos2sv, fn);
+static inline void
+SET_RasterPos2sv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (const GLshort *))
+{
+ SET_by_offset(disp, _gloffset_RasterPos2sv, fn);
}
-typedef void (GLAPIENTRYP _glptr_RasterPos3d)(GLdouble, GLdouble, GLdouble);
+typedef void (GLAPIENTRYP _glptr_RasterPos3d) (GLdouble, GLdouble, GLdouble);
+
#define CALL_RasterPos3d(disp, parameters) \
(* GET_RasterPos3d(disp)) parameters
-static inline _glptr_RasterPos3d GET_RasterPos3d(struct _glapi_table *disp) {
- return (_glptr_RasterPos3d) (GET_by_offset(disp, _gloffset_RasterPos3d));
+static inline _glptr_RasterPos3d
+GET_RasterPos3d(struct _glapi_table *disp)
+{
+ return (_glptr_RasterPos3d) (GET_by_offset(disp, _gloffset_RasterPos3d));
}
-static inline void SET_RasterPos3d(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble, GLdouble)) {
- SET_by_offset(disp, _gloffset_RasterPos3d, fn);
+static inline void
+SET_RasterPos3d(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLdouble, GLdouble, GLdouble))
+{
+ SET_by_offset(disp, _gloffset_RasterPos3d, fn);
}
-typedef void (GLAPIENTRYP _glptr_RasterPos3dv)(const GLdouble *);
+typedef void (GLAPIENTRYP _glptr_RasterPos3dv) (const GLdouble *);
+
#define CALL_RasterPos3dv(disp, parameters) \
(* GET_RasterPos3dv(disp)) parameters
-static inline _glptr_RasterPos3dv GET_RasterPos3dv(struct _glapi_table *disp) {
- return (_glptr_RasterPos3dv) (GET_by_offset(disp, _gloffset_RasterPos3dv));
+static inline _glptr_RasterPos3dv
+GET_RasterPos3dv(struct _glapi_table *disp)
+{
+ return (_glptr_RasterPos3dv) (GET_by_offset(disp, _gloffset_RasterPos3dv));
}
-static inline void SET_RasterPos3dv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) {
- SET_by_offset(disp, _gloffset_RasterPos3dv, fn);
+static inline void
+SET_RasterPos3dv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (const GLdouble *))
+{
+ SET_by_offset(disp, _gloffset_RasterPos3dv, fn);
}
-typedef void (GLAPIENTRYP _glptr_RasterPos3f)(GLfloat, GLfloat, GLfloat);
+typedef void (GLAPIENTRYP _glptr_RasterPos3f) (GLfloat, GLfloat, GLfloat);
+
#define CALL_RasterPos3f(disp, parameters) \
(* GET_RasterPos3f(disp)) parameters
-static inline _glptr_RasterPos3f GET_RasterPos3f(struct _glapi_table *disp) {
- return (_glptr_RasterPos3f) (GET_by_offset(disp, _gloffset_RasterPos3f));
+static inline _glptr_RasterPos3f
+GET_RasterPos3f(struct _glapi_table *disp)
+{
+ return (_glptr_RasterPos3f) (GET_by_offset(disp, _gloffset_RasterPos3f));
}
-static inline void SET_RasterPos3f(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat, GLfloat)) {
- SET_by_offset(disp, _gloffset_RasterPos3f, fn);
+static inline void
+SET_RasterPos3f(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLfloat, GLfloat, GLfloat))
+{
+ SET_by_offset(disp, _gloffset_RasterPos3f, fn);
}
-typedef void (GLAPIENTRYP _glptr_RasterPos3fv)(const GLfloat *);
+typedef void (GLAPIENTRYP _glptr_RasterPos3fv) (const GLfloat *);
+
#define CALL_RasterPos3fv(disp, parameters) \
(* GET_RasterPos3fv(disp)) parameters
-static inline _glptr_RasterPos3fv GET_RasterPos3fv(struct _glapi_table *disp) {
- return (_glptr_RasterPos3fv) (GET_by_offset(disp, _gloffset_RasterPos3fv));
+static inline _glptr_RasterPos3fv
+GET_RasterPos3fv(struct _glapi_table *disp)
+{
+ return (_glptr_RasterPos3fv) (GET_by_offset(disp, _gloffset_RasterPos3fv));
}
-static inline void SET_RasterPos3fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) {
- SET_by_offset(disp, _gloffset_RasterPos3fv, fn);
+static inline void
+SET_RasterPos3fv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (const GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_RasterPos3fv, fn);
}
-typedef void (GLAPIENTRYP _glptr_RasterPos3i)(GLint, GLint, GLint);
+typedef void (GLAPIENTRYP _glptr_RasterPos3i) (GLint, GLint, GLint);
+
#define CALL_RasterPos3i(disp, parameters) \
(* GET_RasterPos3i(disp)) parameters
-static inline _glptr_RasterPos3i GET_RasterPos3i(struct _glapi_table *disp) {
- return (_glptr_RasterPos3i) (GET_by_offset(disp, _gloffset_RasterPos3i));
+static inline _glptr_RasterPos3i
+GET_RasterPos3i(struct _glapi_table *disp)
+{
+ return (_glptr_RasterPos3i) (GET_by_offset(disp, _gloffset_RasterPos3i));
}
-static inline void SET_RasterPos3i(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLint)) {
- SET_by_offset(disp, _gloffset_RasterPos3i, fn);
+static inline void
+SET_RasterPos3i(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLint, GLint, GLint))
+{
+ SET_by_offset(disp, _gloffset_RasterPos3i, fn);
}
-typedef void (GLAPIENTRYP _glptr_RasterPos3iv)(const GLint *);
+typedef void (GLAPIENTRYP _glptr_RasterPos3iv) (const GLint *);
+
#define CALL_RasterPos3iv(disp, parameters) \
(* GET_RasterPos3iv(disp)) parameters
-static inline _glptr_RasterPos3iv GET_RasterPos3iv(struct _glapi_table *disp) {
- return (_glptr_RasterPos3iv) (GET_by_offset(disp, _gloffset_RasterPos3iv));
+static inline _glptr_RasterPos3iv
+GET_RasterPos3iv(struct _glapi_table *disp)
+{
+ return (_glptr_RasterPos3iv) (GET_by_offset(disp, _gloffset_RasterPos3iv));
}
-static inline void SET_RasterPos3iv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLint *)) {
- SET_by_offset(disp, _gloffset_RasterPos3iv, fn);
+static inline void
+SET_RasterPos3iv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (const GLint *))
+{
+ SET_by_offset(disp, _gloffset_RasterPos3iv, fn);
}
-typedef void (GLAPIENTRYP _glptr_RasterPos3s)(GLshort, GLshort, GLshort);
+typedef void (GLAPIENTRYP _glptr_RasterPos3s) (GLshort, GLshort, GLshort);
+
#define CALL_RasterPos3s(disp, parameters) \
(* GET_RasterPos3s(disp)) parameters
-static inline _glptr_RasterPos3s GET_RasterPos3s(struct _glapi_table *disp) {
- return (_glptr_RasterPos3s) (GET_by_offset(disp, _gloffset_RasterPos3s));
+static inline _glptr_RasterPos3s
+GET_RasterPos3s(struct _glapi_table *disp)
+{
+ return (_glptr_RasterPos3s) (GET_by_offset(disp, _gloffset_RasterPos3s));
}
-static inline void SET_RasterPos3s(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLshort, GLshort, GLshort)) {
- SET_by_offset(disp, _gloffset_RasterPos3s, fn);
+static inline void
+SET_RasterPos3s(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLshort, GLshort, GLshort))
+{
+ SET_by_offset(disp, _gloffset_RasterPos3s, fn);
}
-typedef void (GLAPIENTRYP _glptr_RasterPos3sv)(const GLshort *);
+typedef void (GLAPIENTRYP _glptr_RasterPos3sv) (const GLshort *);
+
#define CALL_RasterPos3sv(disp, parameters) \
(* GET_RasterPos3sv(disp)) parameters
-static inline _glptr_RasterPos3sv GET_RasterPos3sv(struct _glapi_table *disp) {
- return (_glptr_RasterPos3sv) (GET_by_offset(disp, _gloffset_RasterPos3sv));
+static inline _glptr_RasterPos3sv
+GET_RasterPos3sv(struct _glapi_table *disp)
+{
+ return (_glptr_RasterPos3sv) (GET_by_offset(disp, _gloffset_RasterPos3sv));
}
-static inline void SET_RasterPos3sv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLshort *)) {
- SET_by_offset(disp, _gloffset_RasterPos3sv, fn);
+static inline void
+SET_RasterPos3sv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (const GLshort *))
+{
+ SET_by_offset(disp, _gloffset_RasterPos3sv, fn);
}
-typedef void (GLAPIENTRYP _glptr_RasterPos4d)(GLdouble, GLdouble, GLdouble, GLdouble);
+typedef void (GLAPIENTRYP _glptr_RasterPos4d) (GLdouble, GLdouble, GLdouble,
+ GLdouble);
#define CALL_RasterPos4d(disp, parameters) \
(* GET_RasterPos4d(disp)) parameters
-static inline _glptr_RasterPos4d GET_RasterPos4d(struct _glapi_table *disp) {
- return (_glptr_RasterPos4d) (GET_by_offset(disp, _gloffset_RasterPos4d));
+static inline _glptr_RasterPos4d
+GET_RasterPos4d(struct _glapi_table *disp)
+{
+ return (_glptr_RasterPos4d) (GET_by_offset(disp, _gloffset_RasterPos4d));
}
-static inline void SET_RasterPos4d(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble, GLdouble, GLdouble)) {
- SET_by_offset(disp, _gloffset_RasterPos4d, fn);
+static inline void
+SET_RasterPos4d(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLdouble, GLdouble, GLdouble, GLdouble))
+{
+ SET_by_offset(disp, _gloffset_RasterPos4d, fn);
}
-typedef void (GLAPIENTRYP _glptr_RasterPos4dv)(const GLdouble *);
+typedef void (GLAPIENTRYP _glptr_RasterPos4dv) (const GLdouble *);
+
#define CALL_RasterPos4dv(disp, parameters) \
(* GET_RasterPos4dv(disp)) parameters
-static inline _glptr_RasterPos4dv GET_RasterPos4dv(struct _glapi_table *disp) {
- return (_glptr_RasterPos4dv) (GET_by_offset(disp, _gloffset_RasterPos4dv));
+static inline _glptr_RasterPos4dv
+GET_RasterPos4dv(struct _glapi_table *disp)
+{
+ return (_glptr_RasterPos4dv) (GET_by_offset(disp, _gloffset_RasterPos4dv));
}
-static inline void SET_RasterPos4dv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) {
- SET_by_offset(disp, _gloffset_RasterPos4dv, fn);
+static inline void
+SET_RasterPos4dv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (const GLdouble *))
+{
+ SET_by_offset(disp, _gloffset_RasterPos4dv, fn);
}
-typedef void (GLAPIENTRYP _glptr_RasterPos4f)(GLfloat, GLfloat, GLfloat, GLfloat);
+typedef void (GLAPIENTRYP _glptr_RasterPos4f) (GLfloat, GLfloat, GLfloat,
+ GLfloat);
#define CALL_RasterPos4f(disp, parameters) \
(* GET_RasterPos4f(disp)) parameters
-static inline _glptr_RasterPos4f GET_RasterPos4f(struct _glapi_table *disp) {
- return (_glptr_RasterPos4f) (GET_by_offset(disp, _gloffset_RasterPos4f));
+static inline _glptr_RasterPos4f
+GET_RasterPos4f(struct _glapi_table *disp)
+{
+ return (_glptr_RasterPos4f) (GET_by_offset(disp, _gloffset_RasterPos4f));
}
-static inline void SET_RasterPos4f(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat, GLfloat, GLfloat)) {
- SET_by_offset(disp, _gloffset_RasterPos4f, fn);
+static inline void
+SET_RasterPos4f(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLfloat, GLfloat, GLfloat, GLfloat))
+{
+ SET_by_offset(disp, _gloffset_RasterPos4f, fn);
}
-typedef void (GLAPIENTRYP _glptr_RasterPos4fv)(const GLfloat *);
+typedef void (GLAPIENTRYP _glptr_RasterPos4fv) (const GLfloat *);
+
#define CALL_RasterPos4fv(disp, parameters) \
(* GET_RasterPos4fv(disp)) parameters
-static inline _glptr_RasterPos4fv GET_RasterPos4fv(struct _glapi_table *disp) {
- return (_glptr_RasterPos4fv) (GET_by_offset(disp, _gloffset_RasterPos4fv));
+static inline _glptr_RasterPos4fv
+GET_RasterPos4fv(struct _glapi_table *disp)
+{
+ return (_glptr_RasterPos4fv) (GET_by_offset(disp, _gloffset_RasterPos4fv));
}
-static inline void SET_RasterPos4fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) {
- SET_by_offset(disp, _gloffset_RasterPos4fv, fn);
+static inline void
+SET_RasterPos4fv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (const GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_RasterPos4fv, fn);
}
-typedef void (GLAPIENTRYP _glptr_RasterPos4i)(GLint, GLint, GLint, GLint);
+typedef void (GLAPIENTRYP _glptr_RasterPos4i) (GLint, GLint, GLint, GLint);
+
#define CALL_RasterPos4i(disp, parameters) \
(* GET_RasterPos4i(disp)) parameters
-static inline _glptr_RasterPos4i GET_RasterPos4i(struct _glapi_table *disp) {
- return (_glptr_RasterPos4i) (GET_by_offset(disp, _gloffset_RasterPos4i));
+static inline _glptr_RasterPos4i
+GET_RasterPos4i(struct _glapi_table *disp)
+{
+ return (_glptr_RasterPos4i) (GET_by_offset(disp, _gloffset_RasterPos4i));
}
-static inline void SET_RasterPos4i(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLint, GLint)) {
- SET_by_offset(disp, _gloffset_RasterPos4i, fn);
+static inline void
+SET_RasterPos4i(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLint, GLint, GLint, GLint))
+{
+ SET_by_offset(disp, _gloffset_RasterPos4i, fn);
}
-typedef void (GLAPIENTRYP _glptr_RasterPos4iv)(const GLint *);
+typedef void (GLAPIENTRYP _glptr_RasterPos4iv) (const GLint *);
+
#define CALL_RasterPos4iv(disp, parameters) \
(* GET_RasterPos4iv(disp)) parameters
-static inline _glptr_RasterPos4iv GET_RasterPos4iv(struct _glapi_table *disp) {
- return (_glptr_RasterPos4iv) (GET_by_offset(disp, _gloffset_RasterPos4iv));
+static inline _glptr_RasterPos4iv
+GET_RasterPos4iv(struct _glapi_table *disp)
+{
+ return (_glptr_RasterPos4iv) (GET_by_offset(disp, _gloffset_RasterPos4iv));
}
-static inline void SET_RasterPos4iv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLint *)) {
- SET_by_offset(disp, _gloffset_RasterPos4iv, fn);
+static inline void
+SET_RasterPos4iv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (const GLint *))
+{
+ SET_by_offset(disp, _gloffset_RasterPos4iv, fn);
}
-typedef void (GLAPIENTRYP _glptr_RasterPos4s)(GLshort, GLshort, GLshort, GLshort);
+typedef void (GLAPIENTRYP _glptr_RasterPos4s) (GLshort, GLshort, GLshort,
+ GLshort);
#define CALL_RasterPos4s(disp, parameters) \
(* GET_RasterPos4s(disp)) parameters
-static inline _glptr_RasterPos4s GET_RasterPos4s(struct _glapi_table *disp) {
- return (_glptr_RasterPos4s) (GET_by_offset(disp, _gloffset_RasterPos4s));
+static inline _glptr_RasterPos4s
+GET_RasterPos4s(struct _glapi_table *disp)
+{
+ return (_glptr_RasterPos4s) (GET_by_offset(disp, _gloffset_RasterPos4s));
}
-static inline void SET_RasterPos4s(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLshort, GLshort, GLshort, GLshort)) {
- SET_by_offset(disp, _gloffset_RasterPos4s, fn);
+static inline void
+SET_RasterPos4s(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLshort, GLshort, GLshort, GLshort))
+{
+ SET_by_offset(disp, _gloffset_RasterPos4s, fn);
}
-typedef void (GLAPIENTRYP _glptr_RasterPos4sv)(const GLshort *);
+typedef void (GLAPIENTRYP _glptr_RasterPos4sv) (const GLshort *);
+
#define CALL_RasterPos4sv(disp, parameters) \
(* GET_RasterPos4sv(disp)) parameters
-static inline _glptr_RasterPos4sv GET_RasterPos4sv(struct _glapi_table *disp) {
- return (_glptr_RasterPos4sv) (GET_by_offset(disp, _gloffset_RasterPos4sv));
+static inline _glptr_RasterPos4sv
+GET_RasterPos4sv(struct _glapi_table *disp)
+{
+ return (_glptr_RasterPos4sv) (GET_by_offset(disp, _gloffset_RasterPos4sv));
}
-static inline void SET_RasterPos4sv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLshort *)) {
- SET_by_offset(disp, _gloffset_RasterPos4sv, fn);
+static inline void
+SET_RasterPos4sv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (const GLshort *))
+{
+ SET_by_offset(disp, _gloffset_RasterPos4sv, fn);
}
-typedef void (GLAPIENTRYP _glptr_Rectd)(GLdouble, GLdouble, GLdouble, GLdouble);
+typedef void (GLAPIENTRYP _glptr_Rectd) (GLdouble, GLdouble, GLdouble,
+ GLdouble);
#define CALL_Rectd(disp, parameters) \
(* GET_Rectd(disp)) parameters
-static inline _glptr_Rectd GET_Rectd(struct _glapi_table *disp) {
- return (_glptr_Rectd) (GET_by_offset(disp, _gloffset_Rectd));
+static inline _glptr_Rectd
+GET_Rectd(struct _glapi_table *disp)
+{
+ return (_glptr_Rectd) (GET_by_offset(disp, _gloffset_Rectd));
}
-static inline void SET_Rectd(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble, GLdouble, GLdouble)) {
- SET_by_offset(disp, _gloffset_Rectd, fn);
+static inline void
+SET_Rectd(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLdouble, GLdouble, GLdouble, GLdouble))
+{
+ SET_by_offset(disp, _gloffset_Rectd, fn);
}
-typedef void (GLAPIENTRYP _glptr_Rectdv)(const GLdouble *, const GLdouble *);
+typedef void (GLAPIENTRYP _glptr_Rectdv) (const GLdouble *, const GLdouble *);
+
#define CALL_Rectdv(disp, parameters) \
(* GET_Rectdv(disp)) parameters
-static inline _glptr_Rectdv GET_Rectdv(struct _glapi_table *disp) {
- return (_glptr_Rectdv) (GET_by_offset(disp, _gloffset_Rectdv));
+static inline _glptr_Rectdv
+GET_Rectdv(struct _glapi_table *disp)
+{
+ return (_glptr_Rectdv) (GET_by_offset(disp, _gloffset_Rectdv));
}
-static inline void SET_Rectdv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *, const GLdouble *)) {
- SET_by_offset(disp, _gloffset_Rectdv, fn);
+static inline void
+SET_Rectdv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (const GLdouble *, const GLdouble *))
+{
+ SET_by_offset(disp, _gloffset_Rectdv, fn);
}
-typedef void (GLAPIENTRYP _glptr_Rectf)(GLfloat, GLfloat, GLfloat, GLfloat);
+typedef void (GLAPIENTRYP _glptr_Rectf) (GLfloat, GLfloat, GLfloat, GLfloat);
+
#define CALL_Rectf(disp, parameters) \
(* GET_Rectf(disp)) parameters
-static inline _glptr_Rectf GET_Rectf(struct _glapi_table *disp) {
- return (_glptr_Rectf) (GET_by_offset(disp, _gloffset_Rectf));
+static inline _glptr_Rectf
+GET_Rectf(struct _glapi_table *disp)
+{
+ return (_glptr_Rectf) (GET_by_offset(disp, _gloffset_Rectf));
}
-static inline void SET_Rectf(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat, GLfloat, GLfloat)) {
- SET_by_offset(disp, _gloffset_Rectf, fn);
+static inline void
+SET_Rectf(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLfloat, GLfloat, GLfloat, GLfloat))
+{
+ SET_by_offset(disp, _gloffset_Rectf, fn);
}
-typedef void (GLAPIENTRYP _glptr_Rectfv)(const GLfloat *, const GLfloat *);
+typedef void (GLAPIENTRYP _glptr_Rectfv) (const GLfloat *, const GLfloat *);
+
#define CALL_Rectfv(disp, parameters) \
(* GET_Rectfv(disp)) parameters
-static inline _glptr_Rectfv GET_Rectfv(struct _glapi_table *disp) {
- return (_glptr_Rectfv) (GET_by_offset(disp, _gloffset_Rectfv));
+static inline _glptr_Rectfv
+GET_Rectfv(struct _glapi_table *disp)
+{
+ return (_glptr_Rectfv) (GET_by_offset(disp, _gloffset_Rectfv));
}
-static inline void SET_Rectfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *, const GLfloat *)) {
- SET_by_offset(disp, _gloffset_Rectfv, fn);
+static inline void
+SET_Rectfv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (const GLfloat *, const GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_Rectfv, fn);
}
-typedef void (GLAPIENTRYP _glptr_Recti)(GLint, GLint, GLint, GLint);
+typedef void (GLAPIENTRYP _glptr_Recti) (GLint, GLint, GLint, GLint);
+
#define CALL_Recti(disp, parameters) \
(* GET_Recti(disp)) parameters
-static inline _glptr_Recti GET_Recti(struct _glapi_table *disp) {
- return (_glptr_Recti) (GET_by_offset(disp, _gloffset_Recti));
+static inline _glptr_Recti
+GET_Recti(struct _glapi_table *disp)
+{
+ return (_glptr_Recti) (GET_by_offset(disp, _gloffset_Recti));
}
-static inline void SET_Recti(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLint, GLint)) {
- SET_by_offset(disp, _gloffset_Recti, fn);
+static inline void
+SET_Recti(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLint, GLint, GLint, GLint))
+{
+ SET_by_offset(disp, _gloffset_Recti, fn);
}
-typedef void (GLAPIENTRYP _glptr_Rectiv)(const GLint *, const GLint *);
+typedef void (GLAPIENTRYP _glptr_Rectiv) (const GLint *, const GLint *);
+
#define CALL_Rectiv(disp, parameters) \
(* GET_Rectiv(disp)) parameters
-static inline _glptr_Rectiv GET_Rectiv(struct _glapi_table *disp) {
- return (_glptr_Rectiv) (GET_by_offset(disp, _gloffset_Rectiv));
+static inline _glptr_Rectiv
+GET_Rectiv(struct _glapi_table *disp)
+{
+ return (_glptr_Rectiv) (GET_by_offset(disp, _gloffset_Rectiv));
}
-static inline void SET_Rectiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLint *, const GLint *)) {
- SET_by_offset(disp, _gloffset_Rectiv, fn);
+static inline void
+SET_Rectiv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (const GLint *, const GLint *))
+{
+ SET_by_offset(disp, _gloffset_Rectiv, fn);
}
-typedef void (GLAPIENTRYP _glptr_Rects)(GLshort, GLshort, GLshort, GLshort);
+typedef void (GLAPIENTRYP _glptr_Rects) (GLshort, GLshort, GLshort, GLshort);
+
#define CALL_Rects(disp, parameters) \
(* GET_Rects(disp)) parameters
-static inline _glptr_Rects GET_Rects(struct _glapi_table *disp) {
- return (_glptr_Rects) (GET_by_offset(disp, _gloffset_Rects));
+static inline _glptr_Rects
+GET_Rects(struct _glapi_table *disp)
+{
+ return (_glptr_Rects) (GET_by_offset(disp, _gloffset_Rects));
}
-static inline void SET_Rects(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLshort, GLshort, GLshort, GLshort)) {
- SET_by_offset(disp, _gloffset_Rects, fn);
+static inline void
+SET_Rects(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLshort, GLshort, GLshort, GLshort))
+{
+ SET_by_offset(disp, _gloffset_Rects, fn);
}
-typedef void (GLAPIENTRYP _glptr_Rectsv)(const GLshort *, const GLshort *);
+typedef void (GLAPIENTRYP _glptr_Rectsv) (const GLshort *, const GLshort *);
+
#define CALL_Rectsv(disp, parameters) \
(* GET_Rectsv(disp)) parameters
-static inline _glptr_Rectsv GET_Rectsv(struct _glapi_table *disp) {
- return (_glptr_Rectsv) (GET_by_offset(disp, _gloffset_Rectsv));
+static inline _glptr_Rectsv
+GET_Rectsv(struct _glapi_table *disp)
+{
+ return (_glptr_Rectsv) (GET_by_offset(disp, _gloffset_Rectsv));
}
-static inline void SET_Rectsv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLshort *, const GLshort *)) {
- SET_by_offset(disp, _gloffset_Rectsv, fn);
+static inline void
+SET_Rectsv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (const GLshort *, const GLshort *))
+{
+ SET_by_offset(disp, _gloffset_Rectsv, fn);
}
-typedef void (GLAPIENTRYP _glptr_TexCoord1d)(GLdouble);
+typedef void (GLAPIENTRYP _glptr_TexCoord1d) (GLdouble);
+
#define CALL_TexCoord1d(disp, parameters) \
(* GET_TexCoord1d(disp)) parameters
-static inline _glptr_TexCoord1d GET_TexCoord1d(struct _glapi_table *disp) {
- return (_glptr_TexCoord1d) (GET_by_offset(disp, _gloffset_TexCoord1d));
+static inline _glptr_TexCoord1d
+GET_TexCoord1d(struct _glapi_table *disp)
+{
+ return (_glptr_TexCoord1d) (GET_by_offset(disp, _gloffset_TexCoord1d));
}
-static inline void SET_TexCoord1d(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble)) {
- SET_by_offset(disp, _gloffset_TexCoord1d, fn);
+static inline void
+SET_TexCoord1d(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLdouble))
+{
+ SET_by_offset(disp, _gloffset_TexCoord1d, fn);
}
-typedef void (GLAPIENTRYP _glptr_TexCoord1dv)(const GLdouble *);
+typedef void (GLAPIENTRYP _glptr_TexCoord1dv) (const GLdouble *);
+
#define CALL_TexCoord1dv(disp, parameters) \
(* GET_TexCoord1dv(disp)) parameters
-static inline _glptr_TexCoord1dv GET_TexCoord1dv(struct _glapi_table *disp) {
- return (_glptr_TexCoord1dv) (GET_by_offset(disp, _gloffset_TexCoord1dv));
+static inline _glptr_TexCoord1dv
+GET_TexCoord1dv(struct _glapi_table *disp)
+{
+ return (_glptr_TexCoord1dv) (GET_by_offset(disp, _gloffset_TexCoord1dv));
}
-static inline void SET_TexCoord1dv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) {
- SET_by_offset(disp, _gloffset_TexCoord1dv, fn);
+static inline void
+SET_TexCoord1dv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (const GLdouble *))
+{
+ SET_by_offset(disp, _gloffset_TexCoord1dv, fn);
}
-typedef void (GLAPIENTRYP _glptr_TexCoord1f)(GLfloat);
+typedef void (GLAPIENTRYP _glptr_TexCoord1f) (GLfloat);
+
#define CALL_TexCoord1f(disp, parameters) \
(* GET_TexCoord1f(disp)) parameters
-static inline _glptr_TexCoord1f GET_TexCoord1f(struct _glapi_table *disp) {
- return (_glptr_TexCoord1f) (GET_by_offset(disp, _gloffset_TexCoord1f));
+static inline _glptr_TexCoord1f
+GET_TexCoord1f(struct _glapi_table *disp)
+{
+ return (_glptr_TexCoord1f) (GET_by_offset(disp, _gloffset_TexCoord1f));
}
-static inline void SET_TexCoord1f(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat)) {
- SET_by_offset(disp, _gloffset_TexCoord1f, fn);
+static inline void
+SET_TexCoord1f(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLfloat))
+{
+ SET_by_offset(disp, _gloffset_TexCoord1f, fn);
}
-typedef void (GLAPIENTRYP _glptr_TexCoord1fv)(const GLfloat *);
+typedef void (GLAPIENTRYP _glptr_TexCoord1fv) (const GLfloat *);
+
#define CALL_TexCoord1fv(disp, parameters) \
(* GET_TexCoord1fv(disp)) parameters
-static inline _glptr_TexCoord1fv GET_TexCoord1fv(struct _glapi_table *disp) {
- return (_glptr_TexCoord1fv) (GET_by_offset(disp, _gloffset_TexCoord1fv));
+static inline _glptr_TexCoord1fv
+GET_TexCoord1fv(struct _glapi_table *disp)
+{
+ return (_glptr_TexCoord1fv) (GET_by_offset(disp, _gloffset_TexCoord1fv));
}
-static inline void SET_TexCoord1fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) {
- SET_by_offset(disp, _gloffset_TexCoord1fv, fn);
+static inline void
+SET_TexCoord1fv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (const GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_TexCoord1fv, fn);
}
-typedef void (GLAPIENTRYP _glptr_TexCoord1i)(GLint);
+typedef void (GLAPIENTRYP _glptr_TexCoord1i) (GLint);
+
#define CALL_TexCoord1i(disp, parameters) \
(* GET_TexCoord1i(disp)) parameters
-static inline _glptr_TexCoord1i GET_TexCoord1i(struct _glapi_table *disp) {
- return (_glptr_TexCoord1i) (GET_by_offset(disp, _gloffset_TexCoord1i));
+static inline _glptr_TexCoord1i
+GET_TexCoord1i(struct _glapi_table *disp)
+{
+ return (_glptr_TexCoord1i) (GET_by_offset(disp, _gloffset_TexCoord1i));
}
-static inline void SET_TexCoord1i(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint)) {
- SET_by_offset(disp, _gloffset_TexCoord1i, fn);
+static inline void
+SET_TexCoord1i(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLint))
+{
+ SET_by_offset(disp, _gloffset_TexCoord1i, fn);
}
-typedef void (GLAPIENTRYP _glptr_TexCoord1iv)(const GLint *);
+typedef void (GLAPIENTRYP _glptr_TexCoord1iv) (const GLint *);
+
#define CALL_TexCoord1iv(disp, parameters) \
(* GET_TexCoord1iv(disp)) parameters
-static inline _glptr_TexCoord1iv GET_TexCoord1iv(struct _glapi_table *disp) {
- return (_glptr_TexCoord1iv) (GET_by_offset(disp, _gloffset_TexCoord1iv));
+static inline _glptr_TexCoord1iv
+GET_TexCoord1iv(struct _glapi_table *disp)
+{
+ return (_glptr_TexCoord1iv) (GET_by_offset(disp, _gloffset_TexCoord1iv));
}
-static inline void SET_TexCoord1iv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLint *)) {
- SET_by_offset(disp, _gloffset_TexCoord1iv, fn);
+static inline void
+SET_TexCoord1iv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (const GLint *))
+{
+ SET_by_offset(disp, _gloffset_TexCoord1iv, fn);
}
-typedef void (GLAPIENTRYP _glptr_TexCoord1s)(GLshort);
+typedef void (GLAPIENTRYP _glptr_TexCoord1s) (GLshort);
+
#define CALL_TexCoord1s(disp, parameters) \
(* GET_TexCoord1s(disp)) parameters
-static inline _glptr_TexCoord1s GET_TexCoord1s(struct _glapi_table *disp) {
- return (_glptr_TexCoord1s) (GET_by_offset(disp, _gloffset_TexCoord1s));
+static inline _glptr_TexCoord1s
+GET_TexCoord1s(struct _glapi_table *disp)
+{
+ return (_glptr_TexCoord1s) (GET_by_offset(disp, _gloffset_TexCoord1s));
}
-static inline void SET_TexCoord1s(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLshort)) {
- SET_by_offset(disp, _gloffset_TexCoord1s, fn);
+static inline void
+SET_TexCoord1s(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLshort))
+{
+ SET_by_offset(disp, _gloffset_TexCoord1s, fn);
}
-typedef void (GLAPIENTRYP _glptr_TexCoord1sv)(const GLshort *);
+typedef void (GLAPIENTRYP _glptr_TexCoord1sv) (const GLshort *);
+
#define CALL_TexCoord1sv(disp, parameters) \
(* GET_TexCoord1sv(disp)) parameters
-static inline _glptr_TexCoord1sv GET_TexCoord1sv(struct _glapi_table *disp) {
- return (_glptr_TexCoord1sv) (GET_by_offset(disp, _gloffset_TexCoord1sv));
+static inline _glptr_TexCoord1sv
+GET_TexCoord1sv(struct _glapi_table *disp)
+{
+ return (_glptr_TexCoord1sv) (GET_by_offset(disp, _gloffset_TexCoord1sv));
}
-static inline void SET_TexCoord1sv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLshort *)) {
- SET_by_offset(disp, _gloffset_TexCoord1sv, fn);
+static inline void
+SET_TexCoord1sv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (const GLshort *))
+{
+ SET_by_offset(disp, _gloffset_TexCoord1sv, fn);
}
-typedef void (GLAPIENTRYP _glptr_TexCoord2d)(GLdouble, GLdouble);
+typedef void (GLAPIENTRYP _glptr_TexCoord2d) (GLdouble, GLdouble);
+
#define CALL_TexCoord2d(disp, parameters) \
(* GET_TexCoord2d(disp)) parameters
-static inline _glptr_TexCoord2d GET_TexCoord2d(struct _glapi_table *disp) {
- return (_glptr_TexCoord2d) (GET_by_offset(disp, _gloffset_TexCoord2d));
+static inline _glptr_TexCoord2d
+GET_TexCoord2d(struct _glapi_table *disp)
+{
+ return (_glptr_TexCoord2d) (GET_by_offset(disp, _gloffset_TexCoord2d));
}
-static inline void SET_TexCoord2d(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble)) {
- SET_by_offset(disp, _gloffset_TexCoord2d, fn);
+static inline void
+SET_TexCoord2d(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLdouble, GLdouble))
+{
+ SET_by_offset(disp, _gloffset_TexCoord2d, fn);
}
-typedef void (GLAPIENTRYP _glptr_TexCoord2dv)(const GLdouble *);
+typedef void (GLAPIENTRYP _glptr_TexCoord2dv) (const GLdouble *);
+
#define CALL_TexCoord2dv(disp, parameters) \
(* GET_TexCoord2dv(disp)) parameters
-static inline _glptr_TexCoord2dv GET_TexCoord2dv(struct _glapi_table *disp) {
- return (_glptr_TexCoord2dv) (GET_by_offset(disp, _gloffset_TexCoord2dv));
+static inline _glptr_TexCoord2dv
+GET_TexCoord2dv(struct _glapi_table *disp)
+{
+ return (_glptr_TexCoord2dv) (GET_by_offset(disp, _gloffset_TexCoord2dv));
}
-static inline void SET_TexCoord2dv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) {
- SET_by_offset(disp, _gloffset_TexCoord2dv, fn);
+static inline void
+SET_TexCoord2dv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (const GLdouble *))
+{
+ SET_by_offset(disp, _gloffset_TexCoord2dv, fn);
}
-typedef void (GLAPIENTRYP _glptr_TexCoord2f)(GLfloat, GLfloat);
+typedef void (GLAPIENTRYP _glptr_TexCoord2f) (GLfloat, GLfloat);
+
#define CALL_TexCoord2f(disp, parameters) \
(* GET_TexCoord2f(disp)) parameters
-static inline _glptr_TexCoord2f GET_TexCoord2f(struct _glapi_table *disp) {
- return (_glptr_TexCoord2f) (GET_by_offset(disp, _gloffset_TexCoord2f));
+static inline _glptr_TexCoord2f
+GET_TexCoord2f(struct _glapi_table *disp)
+{
+ return (_glptr_TexCoord2f) (GET_by_offset(disp, _gloffset_TexCoord2f));
}
-static inline void SET_TexCoord2f(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat)) {
- SET_by_offset(disp, _gloffset_TexCoord2f, fn);
+static inline void
+SET_TexCoord2f(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLfloat, GLfloat))
+{
+ SET_by_offset(disp, _gloffset_TexCoord2f, fn);
}
-typedef void (GLAPIENTRYP _glptr_TexCoord2fv)(const GLfloat *);
+typedef void (GLAPIENTRYP _glptr_TexCoord2fv) (const GLfloat *);
+
#define CALL_TexCoord2fv(disp, parameters) \
(* GET_TexCoord2fv(disp)) parameters
-static inline _glptr_TexCoord2fv GET_TexCoord2fv(struct _glapi_table *disp) {
- return (_glptr_TexCoord2fv) (GET_by_offset(disp, _gloffset_TexCoord2fv));
+static inline _glptr_TexCoord2fv
+GET_TexCoord2fv(struct _glapi_table *disp)
+{
+ return (_glptr_TexCoord2fv) (GET_by_offset(disp, _gloffset_TexCoord2fv));
}
-static inline void SET_TexCoord2fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) {
- SET_by_offset(disp, _gloffset_TexCoord2fv, fn);
+static inline void
+SET_TexCoord2fv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (const GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_TexCoord2fv, fn);
}
-typedef void (GLAPIENTRYP _glptr_TexCoord2i)(GLint, GLint);
+typedef void (GLAPIENTRYP _glptr_TexCoord2i) (GLint, GLint);
+
#define CALL_TexCoord2i(disp, parameters) \
(* GET_TexCoord2i(disp)) parameters
-static inline _glptr_TexCoord2i GET_TexCoord2i(struct _glapi_table *disp) {
- return (_glptr_TexCoord2i) (GET_by_offset(disp, _gloffset_TexCoord2i));
+static inline _glptr_TexCoord2i
+GET_TexCoord2i(struct _glapi_table *disp)
+{
+ return (_glptr_TexCoord2i) (GET_by_offset(disp, _gloffset_TexCoord2i));
}
-static inline void SET_TexCoord2i(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint)) {
- SET_by_offset(disp, _gloffset_TexCoord2i, fn);
+static inline void
+SET_TexCoord2i(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLint, GLint))
+{
+ SET_by_offset(disp, _gloffset_TexCoord2i, fn);
}
-typedef void (GLAPIENTRYP _glptr_TexCoord2iv)(const GLint *);
+typedef void (GLAPIENTRYP _glptr_TexCoord2iv) (const GLint *);
+
#define CALL_TexCoord2iv(disp, parameters) \
(* GET_TexCoord2iv(disp)) parameters
-static inline _glptr_TexCoord2iv GET_TexCoord2iv(struct _glapi_table *disp) {
- return (_glptr_TexCoord2iv) (GET_by_offset(disp, _gloffset_TexCoord2iv));
+static inline _glptr_TexCoord2iv
+GET_TexCoord2iv(struct _glapi_table *disp)
+{
+ return (_glptr_TexCoord2iv) (GET_by_offset(disp, _gloffset_TexCoord2iv));
}
-static inline void SET_TexCoord2iv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLint *)) {
- SET_by_offset(disp, _gloffset_TexCoord2iv, fn);
+static inline void
+SET_TexCoord2iv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (const GLint *))
+{
+ SET_by_offset(disp, _gloffset_TexCoord2iv, fn);
}
-typedef void (GLAPIENTRYP _glptr_TexCoord2s)(GLshort, GLshort);
+typedef void (GLAPIENTRYP _glptr_TexCoord2s) (GLshort, GLshort);
+
#define CALL_TexCoord2s(disp, parameters) \
(* GET_TexCoord2s(disp)) parameters
-static inline _glptr_TexCoord2s GET_TexCoord2s(struct _glapi_table *disp) {
- return (_glptr_TexCoord2s) (GET_by_offset(disp, _gloffset_TexCoord2s));
+static inline _glptr_TexCoord2s
+GET_TexCoord2s(struct _glapi_table *disp)
+{
+ return (_glptr_TexCoord2s) (GET_by_offset(disp, _gloffset_TexCoord2s));
}
-static inline void SET_TexCoord2s(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLshort, GLshort)) {
- SET_by_offset(disp, _gloffset_TexCoord2s, fn);
+static inline void
+SET_TexCoord2s(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLshort, GLshort))
+{
+ SET_by_offset(disp, _gloffset_TexCoord2s, fn);
}
-typedef void (GLAPIENTRYP _glptr_TexCoord2sv)(const GLshort *);
+typedef void (GLAPIENTRYP _glptr_TexCoord2sv) (const GLshort *);
+
#define CALL_TexCoord2sv(disp, parameters) \
(* GET_TexCoord2sv(disp)) parameters
-static inline _glptr_TexCoord2sv GET_TexCoord2sv(struct _glapi_table *disp) {
- return (_glptr_TexCoord2sv) (GET_by_offset(disp, _gloffset_TexCoord2sv));
+static inline _glptr_TexCoord2sv
+GET_TexCoord2sv(struct _glapi_table *disp)
+{
+ return (_glptr_TexCoord2sv) (GET_by_offset(disp, _gloffset_TexCoord2sv));
}
-static inline void SET_TexCoord2sv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLshort *)) {
- SET_by_offset(disp, _gloffset_TexCoord2sv, fn);
+static inline void
+SET_TexCoord2sv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (const GLshort *))
+{
+ SET_by_offset(disp, _gloffset_TexCoord2sv, fn);
}
-typedef void (GLAPIENTRYP _glptr_TexCoord3d)(GLdouble, GLdouble, GLdouble);
+typedef void (GLAPIENTRYP _glptr_TexCoord3d) (GLdouble, GLdouble, GLdouble);
+
#define CALL_TexCoord3d(disp, parameters) \
(* GET_TexCoord3d(disp)) parameters
-static inline _glptr_TexCoord3d GET_TexCoord3d(struct _glapi_table *disp) {
- return (_glptr_TexCoord3d) (GET_by_offset(disp, _gloffset_TexCoord3d));
+static inline _glptr_TexCoord3d
+GET_TexCoord3d(struct _glapi_table *disp)
+{
+ return (_glptr_TexCoord3d) (GET_by_offset(disp, _gloffset_TexCoord3d));
}
-static inline void SET_TexCoord3d(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble, GLdouble)) {
- SET_by_offset(disp, _gloffset_TexCoord3d, fn);
+static inline void
+SET_TexCoord3d(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLdouble, GLdouble, GLdouble))
+{
+ SET_by_offset(disp, _gloffset_TexCoord3d, fn);
}
-typedef void (GLAPIENTRYP _glptr_TexCoord3dv)(const GLdouble *);
+typedef void (GLAPIENTRYP _glptr_TexCoord3dv) (const GLdouble *);
+
#define CALL_TexCoord3dv(disp, parameters) \
(* GET_TexCoord3dv(disp)) parameters
-static inline _glptr_TexCoord3dv GET_TexCoord3dv(struct _glapi_table *disp) {
- return (_glptr_TexCoord3dv) (GET_by_offset(disp, _gloffset_TexCoord3dv));
+static inline _glptr_TexCoord3dv
+GET_TexCoord3dv(struct _glapi_table *disp)
+{
+ return (_glptr_TexCoord3dv) (GET_by_offset(disp, _gloffset_TexCoord3dv));
}
-static inline void SET_TexCoord3dv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) {
- SET_by_offset(disp, _gloffset_TexCoord3dv, fn);
+static inline void
+SET_TexCoord3dv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (const GLdouble *))
+{
+ SET_by_offset(disp, _gloffset_TexCoord3dv, fn);
}
-typedef void (GLAPIENTRYP _glptr_TexCoord3f)(GLfloat, GLfloat, GLfloat);
+typedef void (GLAPIENTRYP _glptr_TexCoord3f) (GLfloat, GLfloat, GLfloat);
+
#define CALL_TexCoord3f(disp, parameters) \
(* GET_TexCoord3f(disp)) parameters
-static inline _glptr_TexCoord3f GET_TexCoord3f(struct _glapi_table *disp) {
- return (_glptr_TexCoord3f) (GET_by_offset(disp, _gloffset_TexCoord3f));
+static inline _glptr_TexCoord3f
+GET_TexCoord3f(struct _glapi_table *disp)
+{
+ return (_glptr_TexCoord3f) (GET_by_offset(disp, _gloffset_TexCoord3f));
}
-static inline void SET_TexCoord3f(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat, GLfloat)) {
- SET_by_offset(disp, _gloffset_TexCoord3f, fn);
+static inline void
+SET_TexCoord3f(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLfloat, GLfloat, GLfloat))
+{
+ SET_by_offset(disp, _gloffset_TexCoord3f, fn);
}
-typedef void (GLAPIENTRYP _glptr_TexCoord3fv)(const GLfloat *);
+typedef void (GLAPIENTRYP _glptr_TexCoord3fv) (const GLfloat *);
+
#define CALL_TexCoord3fv(disp, parameters) \
(* GET_TexCoord3fv(disp)) parameters
-static inline _glptr_TexCoord3fv GET_TexCoord3fv(struct _glapi_table *disp) {
- return (_glptr_TexCoord3fv) (GET_by_offset(disp, _gloffset_TexCoord3fv));
+static inline _glptr_TexCoord3fv
+GET_TexCoord3fv(struct _glapi_table *disp)
+{
+ return (_glptr_TexCoord3fv) (GET_by_offset(disp, _gloffset_TexCoord3fv));
}
-static inline void SET_TexCoord3fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) {
- SET_by_offset(disp, _gloffset_TexCoord3fv, fn);
+static inline void
+SET_TexCoord3fv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (const GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_TexCoord3fv, fn);
}
-typedef void (GLAPIENTRYP _glptr_TexCoord3i)(GLint, GLint, GLint);
+typedef void (GLAPIENTRYP _glptr_TexCoord3i) (GLint, GLint, GLint);
+
#define CALL_TexCoord3i(disp, parameters) \
(* GET_TexCoord3i(disp)) parameters
-static inline _glptr_TexCoord3i GET_TexCoord3i(struct _glapi_table *disp) {
- return (_glptr_TexCoord3i) (GET_by_offset(disp, _gloffset_TexCoord3i));
+static inline _glptr_TexCoord3i
+GET_TexCoord3i(struct _glapi_table *disp)
+{
+ return (_glptr_TexCoord3i) (GET_by_offset(disp, _gloffset_TexCoord3i));
}
-static inline void SET_TexCoord3i(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLint)) {
- SET_by_offset(disp, _gloffset_TexCoord3i, fn);
+static inline void
+SET_TexCoord3i(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLint, GLint, GLint))
+{
+ SET_by_offset(disp, _gloffset_TexCoord3i, fn);
}
-typedef void (GLAPIENTRYP _glptr_TexCoord3iv)(const GLint *);
+typedef void (GLAPIENTRYP _glptr_TexCoord3iv) (const GLint *);
+
#define CALL_TexCoord3iv(disp, parameters) \
(* GET_TexCoord3iv(disp)) parameters
-static inline _glptr_TexCoord3iv GET_TexCoord3iv(struct _glapi_table *disp) {
- return (_glptr_TexCoord3iv) (GET_by_offset(disp, _gloffset_TexCoord3iv));
+static inline _glptr_TexCoord3iv
+GET_TexCoord3iv(struct _glapi_table *disp)
+{
+ return (_glptr_TexCoord3iv) (GET_by_offset(disp, _gloffset_TexCoord3iv));
}
-static inline void SET_TexCoord3iv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLint *)) {
- SET_by_offset(disp, _gloffset_TexCoord3iv, fn);
+static inline void
+SET_TexCoord3iv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (const GLint *))
+{
+ SET_by_offset(disp, _gloffset_TexCoord3iv, fn);
}
-typedef void (GLAPIENTRYP _glptr_TexCoord3s)(GLshort, GLshort, GLshort);
+typedef void (GLAPIENTRYP _glptr_TexCoord3s) (GLshort, GLshort, GLshort);
+
#define CALL_TexCoord3s(disp, parameters) \
(* GET_TexCoord3s(disp)) parameters
-static inline _glptr_TexCoord3s GET_TexCoord3s(struct _glapi_table *disp) {
- return (_glptr_TexCoord3s) (GET_by_offset(disp, _gloffset_TexCoord3s));
+static inline _glptr_TexCoord3s
+GET_TexCoord3s(struct _glapi_table *disp)
+{
+ return (_glptr_TexCoord3s) (GET_by_offset(disp, _gloffset_TexCoord3s));
}
-static inline void SET_TexCoord3s(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLshort, GLshort, GLshort)) {
- SET_by_offset(disp, _gloffset_TexCoord3s, fn);
+static inline void
+SET_TexCoord3s(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLshort, GLshort, GLshort))
+{
+ SET_by_offset(disp, _gloffset_TexCoord3s, fn);
}
-typedef void (GLAPIENTRYP _glptr_TexCoord3sv)(const GLshort *);
+typedef void (GLAPIENTRYP _glptr_TexCoord3sv) (const GLshort *);
+
#define CALL_TexCoord3sv(disp, parameters) \
(* GET_TexCoord3sv(disp)) parameters
-static inline _glptr_TexCoord3sv GET_TexCoord3sv(struct _glapi_table *disp) {
- return (_glptr_TexCoord3sv) (GET_by_offset(disp, _gloffset_TexCoord3sv));
+static inline _glptr_TexCoord3sv
+GET_TexCoord3sv(struct _glapi_table *disp)
+{
+ return (_glptr_TexCoord3sv) (GET_by_offset(disp, _gloffset_TexCoord3sv));
}
-static inline void SET_TexCoord3sv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLshort *)) {
- SET_by_offset(disp, _gloffset_TexCoord3sv, fn);
+static inline void
+SET_TexCoord3sv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (const GLshort *))
+{
+ SET_by_offset(disp, _gloffset_TexCoord3sv, fn);
}
-typedef void (GLAPIENTRYP _glptr_TexCoord4d)(GLdouble, GLdouble, GLdouble, GLdouble);
+typedef void (GLAPIENTRYP _glptr_TexCoord4d) (GLdouble, GLdouble, GLdouble,
+ GLdouble);
#define CALL_TexCoord4d(disp, parameters) \
(* GET_TexCoord4d(disp)) parameters
-static inline _glptr_TexCoord4d GET_TexCoord4d(struct _glapi_table *disp) {
- return (_glptr_TexCoord4d) (GET_by_offset(disp, _gloffset_TexCoord4d));
+static inline _glptr_TexCoord4d
+GET_TexCoord4d(struct _glapi_table *disp)
+{
+ return (_glptr_TexCoord4d) (GET_by_offset(disp, _gloffset_TexCoord4d));
}
-static inline void SET_TexCoord4d(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble, GLdouble, GLdouble)) {
- SET_by_offset(disp, _gloffset_TexCoord4d, fn);
+static inline void
+SET_TexCoord4d(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLdouble, GLdouble, GLdouble, GLdouble))
+{
+ SET_by_offset(disp, _gloffset_TexCoord4d, fn);
}
-typedef void (GLAPIENTRYP _glptr_TexCoord4dv)(const GLdouble *);
+typedef void (GLAPIENTRYP _glptr_TexCoord4dv) (const GLdouble *);
+
#define CALL_TexCoord4dv(disp, parameters) \
(* GET_TexCoord4dv(disp)) parameters
-static inline _glptr_TexCoord4dv GET_TexCoord4dv(struct _glapi_table *disp) {
- return (_glptr_TexCoord4dv) (GET_by_offset(disp, _gloffset_TexCoord4dv));
+static inline _glptr_TexCoord4dv
+GET_TexCoord4dv(struct _glapi_table *disp)
+{
+ return (_glptr_TexCoord4dv) (GET_by_offset(disp, _gloffset_TexCoord4dv));
}
-static inline void SET_TexCoord4dv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) {
- SET_by_offset(disp, _gloffset_TexCoord4dv, fn);
+static inline void
+SET_TexCoord4dv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (const GLdouble *))
+{
+ SET_by_offset(disp, _gloffset_TexCoord4dv, fn);
}
-typedef void (GLAPIENTRYP _glptr_TexCoord4f)(GLfloat, GLfloat, GLfloat, GLfloat);
+typedef void (GLAPIENTRYP _glptr_TexCoord4f) (GLfloat, GLfloat, GLfloat,
+ GLfloat);
#define CALL_TexCoord4f(disp, parameters) \
(* GET_TexCoord4f(disp)) parameters
-static inline _glptr_TexCoord4f GET_TexCoord4f(struct _glapi_table *disp) {
- return (_glptr_TexCoord4f) (GET_by_offset(disp, _gloffset_TexCoord4f));
+static inline _glptr_TexCoord4f
+GET_TexCoord4f(struct _glapi_table *disp)
+{
+ return (_glptr_TexCoord4f) (GET_by_offset(disp, _gloffset_TexCoord4f));
}
-static inline void SET_TexCoord4f(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat, GLfloat, GLfloat)) {
- SET_by_offset(disp, _gloffset_TexCoord4f, fn);
+static inline void
+SET_TexCoord4f(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLfloat, GLfloat, GLfloat, GLfloat))
+{
+ SET_by_offset(disp, _gloffset_TexCoord4f, fn);
}
-typedef void (GLAPIENTRYP _glptr_TexCoord4fv)(const GLfloat *);
+typedef void (GLAPIENTRYP _glptr_TexCoord4fv) (const GLfloat *);
+
#define CALL_TexCoord4fv(disp, parameters) \
(* GET_TexCoord4fv(disp)) parameters
-static inline _glptr_TexCoord4fv GET_TexCoord4fv(struct _glapi_table *disp) {
- return (_glptr_TexCoord4fv) (GET_by_offset(disp, _gloffset_TexCoord4fv));
+static inline _glptr_TexCoord4fv
+GET_TexCoord4fv(struct _glapi_table *disp)
+{
+ return (_glptr_TexCoord4fv) (GET_by_offset(disp, _gloffset_TexCoord4fv));
}
-static inline void SET_TexCoord4fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) {
- SET_by_offset(disp, _gloffset_TexCoord4fv, fn);
+static inline void
+SET_TexCoord4fv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (const GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_TexCoord4fv, fn);
}
-typedef void (GLAPIENTRYP _glptr_TexCoord4i)(GLint, GLint, GLint, GLint);
+typedef void (GLAPIENTRYP _glptr_TexCoord4i) (GLint, GLint, GLint, GLint);
+
#define CALL_TexCoord4i(disp, parameters) \
(* GET_TexCoord4i(disp)) parameters
-static inline _glptr_TexCoord4i GET_TexCoord4i(struct _glapi_table *disp) {
- return (_glptr_TexCoord4i) (GET_by_offset(disp, _gloffset_TexCoord4i));
+static inline _glptr_TexCoord4i
+GET_TexCoord4i(struct _glapi_table *disp)
+{
+ return (_glptr_TexCoord4i) (GET_by_offset(disp, _gloffset_TexCoord4i));
}
-static inline void SET_TexCoord4i(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLint, GLint)) {
- SET_by_offset(disp, _gloffset_TexCoord4i, fn);
+static inline void
+SET_TexCoord4i(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLint, GLint, GLint, GLint))
+{
+ SET_by_offset(disp, _gloffset_TexCoord4i, fn);
}
-typedef void (GLAPIENTRYP _glptr_TexCoord4iv)(const GLint *);
+typedef void (GLAPIENTRYP _glptr_TexCoord4iv) (const GLint *);
+
#define CALL_TexCoord4iv(disp, parameters) \
(* GET_TexCoord4iv(disp)) parameters
-static inline _glptr_TexCoord4iv GET_TexCoord4iv(struct _glapi_table *disp) {
- return (_glptr_TexCoord4iv) (GET_by_offset(disp, _gloffset_TexCoord4iv));
+static inline _glptr_TexCoord4iv
+GET_TexCoord4iv(struct _glapi_table *disp)
+{
+ return (_glptr_TexCoord4iv) (GET_by_offset(disp, _gloffset_TexCoord4iv));
}
-static inline void SET_TexCoord4iv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLint *)) {
- SET_by_offset(disp, _gloffset_TexCoord4iv, fn);
+static inline void
+SET_TexCoord4iv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (const GLint *))
+{
+ SET_by_offset(disp, _gloffset_TexCoord4iv, fn);
}
-typedef void (GLAPIENTRYP _glptr_TexCoord4s)(GLshort, GLshort, GLshort, GLshort);
+typedef void (GLAPIENTRYP _glptr_TexCoord4s) (GLshort, GLshort, GLshort,
+ GLshort);
#define CALL_TexCoord4s(disp, parameters) \
(* GET_TexCoord4s(disp)) parameters
-static inline _glptr_TexCoord4s GET_TexCoord4s(struct _glapi_table *disp) {
- return (_glptr_TexCoord4s) (GET_by_offset(disp, _gloffset_TexCoord4s));
+static inline _glptr_TexCoord4s
+GET_TexCoord4s(struct _glapi_table *disp)
+{
+ return (_glptr_TexCoord4s) (GET_by_offset(disp, _gloffset_TexCoord4s));
}
-static inline void SET_TexCoord4s(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLshort, GLshort, GLshort, GLshort)) {
- SET_by_offset(disp, _gloffset_TexCoord4s, fn);
+static inline void
+SET_TexCoord4s(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLshort, GLshort, GLshort, GLshort))
+{
+ SET_by_offset(disp, _gloffset_TexCoord4s, fn);
}
-typedef void (GLAPIENTRYP _glptr_TexCoord4sv)(const GLshort *);
+typedef void (GLAPIENTRYP _glptr_TexCoord4sv) (const GLshort *);
+
#define CALL_TexCoord4sv(disp, parameters) \
(* GET_TexCoord4sv(disp)) parameters
-static inline _glptr_TexCoord4sv GET_TexCoord4sv(struct _glapi_table *disp) {
- return (_glptr_TexCoord4sv) (GET_by_offset(disp, _gloffset_TexCoord4sv));
+static inline _glptr_TexCoord4sv
+GET_TexCoord4sv(struct _glapi_table *disp)
+{
+ return (_glptr_TexCoord4sv) (GET_by_offset(disp, _gloffset_TexCoord4sv));
}
-static inline void SET_TexCoord4sv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLshort *)) {
- SET_by_offset(disp, _gloffset_TexCoord4sv, fn);
+static inline void
+SET_TexCoord4sv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (const GLshort *))
+{
+ SET_by_offset(disp, _gloffset_TexCoord4sv, fn);
}
-typedef void (GLAPIENTRYP _glptr_Vertex2d)(GLdouble, GLdouble);
+typedef void (GLAPIENTRYP _glptr_Vertex2d) (GLdouble, GLdouble);
+
#define CALL_Vertex2d(disp, parameters) \
(* GET_Vertex2d(disp)) parameters
-static inline _glptr_Vertex2d GET_Vertex2d(struct _glapi_table *disp) {
- return (_glptr_Vertex2d) (GET_by_offset(disp, _gloffset_Vertex2d));
+static inline _glptr_Vertex2d
+GET_Vertex2d(struct _glapi_table *disp)
+{
+ return (_glptr_Vertex2d) (GET_by_offset(disp, _gloffset_Vertex2d));
}
-static inline void SET_Vertex2d(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble)) {
- SET_by_offset(disp, _gloffset_Vertex2d, fn);
+static inline void
+SET_Vertex2d(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLdouble, GLdouble))
+{
+ SET_by_offset(disp, _gloffset_Vertex2d, fn);
}
-typedef void (GLAPIENTRYP _glptr_Vertex2dv)(const GLdouble *);
+typedef void (GLAPIENTRYP _glptr_Vertex2dv) (const GLdouble *);
+
#define CALL_Vertex2dv(disp, parameters) \
(* GET_Vertex2dv(disp)) parameters
-static inline _glptr_Vertex2dv GET_Vertex2dv(struct _glapi_table *disp) {
- return (_glptr_Vertex2dv) (GET_by_offset(disp, _gloffset_Vertex2dv));
+static inline _glptr_Vertex2dv
+GET_Vertex2dv(struct _glapi_table *disp)
+{
+ return (_glptr_Vertex2dv) (GET_by_offset(disp, _gloffset_Vertex2dv));
}
-static inline void SET_Vertex2dv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) {
- SET_by_offset(disp, _gloffset_Vertex2dv, fn);
+static inline void
+SET_Vertex2dv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (const GLdouble *))
+{
+ SET_by_offset(disp, _gloffset_Vertex2dv, fn);
}
-typedef void (GLAPIENTRYP _glptr_Vertex2f)(GLfloat, GLfloat);
+typedef void (GLAPIENTRYP _glptr_Vertex2f) (GLfloat, GLfloat);
+
#define CALL_Vertex2f(disp, parameters) \
(* GET_Vertex2f(disp)) parameters
-static inline _glptr_Vertex2f GET_Vertex2f(struct _glapi_table *disp) {
- return (_glptr_Vertex2f) (GET_by_offset(disp, _gloffset_Vertex2f));
+static inline _glptr_Vertex2f
+GET_Vertex2f(struct _glapi_table *disp)
+{
+ return (_glptr_Vertex2f) (GET_by_offset(disp, _gloffset_Vertex2f));
}
-static inline void SET_Vertex2f(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat)) {
- SET_by_offset(disp, _gloffset_Vertex2f, fn);
+static inline void
+SET_Vertex2f(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLfloat, GLfloat))
+{
+ SET_by_offset(disp, _gloffset_Vertex2f, fn);
}
-typedef void (GLAPIENTRYP _glptr_Vertex2fv)(const GLfloat *);
+typedef void (GLAPIENTRYP _glptr_Vertex2fv) (const GLfloat *);
+
#define CALL_Vertex2fv(disp, parameters) \
(* GET_Vertex2fv(disp)) parameters
-static inline _glptr_Vertex2fv GET_Vertex2fv(struct _glapi_table *disp) {
- return (_glptr_Vertex2fv) (GET_by_offset(disp, _gloffset_Vertex2fv));
+static inline _glptr_Vertex2fv
+GET_Vertex2fv(struct _glapi_table *disp)
+{
+ return (_glptr_Vertex2fv) (GET_by_offset(disp, _gloffset_Vertex2fv));
}
-static inline void SET_Vertex2fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) {
- SET_by_offset(disp, _gloffset_Vertex2fv, fn);
+static inline void
+SET_Vertex2fv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (const GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_Vertex2fv, fn);
}
-typedef void (GLAPIENTRYP _glptr_Vertex2i)(GLint, GLint);
+typedef void (GLAPIENTRYP _glptr_Vertex2i) (GLint, GLint);
+
#define CALL_Vertex2i(disp, parameters) \
(* GET_Vertex2i(disp)) parameters
-static inline _glptr_Vertex2i GET_Vertex2i(struct _glapi_table *disp) {
- return (_glptr_Vertex2i) (GET_by_offset(disp, _gloffset_Vertex2i));
+static inline _glptr_Vertex2i
+GET_Vertex2i(struct _glapi_table *disp)
+{
+ return (_glptr_Vertex2i) (GET_by_offset(disp, _gloffset_Vertex2i));
}
-static inline void SET_Vertex2i(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint)) {
- SET_by_offset(disp, _gloffset_Vertex2i, fn);
+static inline void
+SET_Vertex2i(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLint, GLint))
+{
+ SET_by_offset(disp, _gloffset_Vertex2i, fn);
}
-typedef void (GLAPIENTRYP _glptr_Vertex2iv)(const GLint *);
+typedef void (GLAPIENTRYP _glptr_Vertex2iv) (const GLint *);
+
#define CALL_Vertex2iv(disp, parameters) \
(* GET_Vertex2iv(disp)) parameters
-static inline _glptr_Vertex2iv GET_Vertex2iv(struct _glapi_table *disp) {
- return (_glptr_Vertex2iv) (GET_by_offset(disp, _gloffset_Vertex2iv));
+static inline _glptr_Vertex2iv
+GET_Vertex2iv(struct _glapi_table *disp)
+{
+ return (_glptr_Vertex2iv) (GET_by_offset(disp, _gloffset_Vertex2iv));
}
-static inline void SET_Vertex2iv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLint *)) {
- SET_by_offset(disp, _gloffset_Vertex2iv, fn);
+static inline void
+SET_Vertex2iv(struct _glapi_table *disp, void (GLAPIENTRYP fn) (const GLint *))
+{
+ SET_by_offset(disp, _gloffset_Vertex2iv, fn);
}
-typedef void (GLAPIENTRYP _glptr_Vertex2s)(GLshort, GLshort);
+typedef void (GLAPIENTRYP _glptr_Vertex2s) (GLshort, GLshort);
+
#define CALL_Vertex2s(disp, parameters) \
(* GET_Vertex2s(disp)) parameters
-static inline _glptr_Vertex2s GET_Vertex2s(struct _glapi_table *disp) {
- return (_glptr_Vertex2s) (GET_by_offset(disp, _gloffset_Vertex2s));
+static inline _glptr_Vertex2s
+GET_Vertex2s(struct _glapi_table *disp)
+{
+ return (_glptr_Vertex2s) (GET_by_offset(disp, _gloffset_Vertex2s));
}
-static inline void SET_Vertex2s(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLshort, GLshort)) {
- SET_by_offset(disp, _gloffset_Vertex2s, fn);
+static inline void
+SET_Vertex2s(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLshort, GLshort))
+{
+ SET_by_offset(disp, _gloffset_Vertex2s, fn);
}
-typedef void (GLAPIENTRYP _glptr_Vertex2sv)(const GLshort *);
+typedef void (GLAPIENTRYP _glptr_Vertex2sv) (const GLshort *);
+
#define CALL_Vertex2sv(disp, parameters) \
(* GET_Vertex2sv(disp)) parameters
-static inline _glptr_Vertex2sv GET_Vertex2sv(struct _glapi_table *disp) {
- return (_glptr_Vertex2sv) (GET_by_offset(disp, _gloffset_Vertex2sv));
+static inline _glptr_Vertex2sv
+GET_Vertex2sv(struct _glapi_table *disp)
+{
+ return (_glptr_Vertex2sv) (GET_by_offset(disp, _gloffset_Vertex2sv));
}
-static inline void SET_Vertex2sv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLshort *)) {
- SET_by_offset(disp, _gloffset_Vertex2sv, fn);
+static inline void
+SET_Vertex2sv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (const GLshort *))
+{
+ SET_by_offset(disp, _gloffset_Vertex2sv, fn);
}
-typedef void (GLAPIENTRYP _glptr_Vertex3d)(GLdouble, GLdouble, GLdouble);
+typedef void (GLAPIENTRYP _glptr_Vertex3d) (GLdouble, GLdouble, GLdouble);
+
#define CALL_Vertex3d(disp, parameters) \
(* GET_Vertex3d(disp)) parameters
-static inline _glptr_Vertex3d GET_Vertex3d(struct _glapi_table *disp) {
- return (_glptr_Vertex3d) (GET_by_offset(disp, _gloffset_Vertex3d));
+static inline _glptr_Vertex3d
+GET_Vertex3d(struct _glapi_table *disp)
+{
+ return (_glptr_Vertex3d) (GET_by_offset(disp, _gloffset_Vertex3d));
}
-static inline void SET_Vertex3d(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble, GLdouble)) {
- SET_by_offset(disp, _gloffset_Vertex3d, fn);
+static inline void
+SET_Vertex3d(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLdouble, GLdouble, GLdouble))
+{
+ SET_by_offset(disp, _gloffset_Vertex3d, fn);
}
-typedef void (GLAPIENTRYP _glptr_Vertex3dv)(const GLdouble *);
+typedef void (GLAPIENTRYP _glptr_Vertex3dv) (const GLdouble *);
+
#define CALL_Vertex3dv(disp, parameters) \
(* GET_Vertex3dv(disp)) parameters
-static inline _glptr_Vertex3dv GET_Vertex3dv(struct _glapi_table *disp) {
- return (_glptr_Vertex3dv) (GET_by_offset(disp, _gloffset_Vertex3dv));
+static inline _glptr_Vertex3dv
+GET_Vertex3dv(struct _glapi_table *disp)
+{
+ return (_glptr_Vertex3dv) (GET_by_offset(disp, _gloffset_Vertex3dv));
}
-static inline void SET_Vertex3dv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) {
- SET_by_offset(disp, _gloffset_Vertex3dv, fn);
+static inline void
+SET_Vertex3dv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (const GLdouble *))
+{
+ SET_by_offset(disp, _gloffset_Vertex3dv, fn);
}
-typedef void (GLAPIENTRYP _glptr_Vertex3f)(GLfloat, GLfloat, GLfloat);
+typedef void (GLAPIENTRYP _glptr_Vertex3f) (GLfloat, GLfloat, GLfloat);
+
#define CALL_Vertex3f(disp, parameters) \
(* GET_Vertex3f(disp)) parameters
-static inline _glptr_Vertex3f GET_Vertex3f(struct _glapi_table *disp) {
- return (_glptr_Vertex3f) (GET_by_offset(disp, _gloffset_Vertex3f));
+static inline _glptr_Vertex3f
+GET_Vertex3f(struct _glapi_table *disp)
+{
+ return (_glptr_Vertex3f) (GET_by_offset(disp, _gloffset_Vertex3f));
}
-static inline void SET_Vertex3f(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat, GLfloat)) {
- SET_by_offset(disp, _gloffset_Vertex3f, fn);
+static inline void
+SET_Vertex3f(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLfloat, GLfloat, GLfloat))
+{
+ SET_by_offset(disp, _gloffset_Vertex3f, fn);
}
-typedef void (GLAPIENTRYP _glptr_Vertex3fv)(const GLfloat *);
+typedef void (GLAPIENTRYP _glptr_Vertex3fv) (const GLfloat *);
+
#define CALL_Vertex3fv(disp, parameters) \
(* GET_Vertex3fv(disp)) parameters
-static inline _glptr_Vertex3fv GET_Vertex3fv(struct _glapi_table *disp) {
- return (_glptr_Vertex3fv) (GET_by_offset(disp, _gloffset_Vertex3fv));
+static inline _glptr_Vertex3fv
+GET_Vertex3fv(struct _glapi_table *disp)
+{
+ return (_glptr_Vertex3fv) (GET_by_offset(disp, _gloffset_Vertex3fv));
}
-static inline void SET_Vertex3fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) {
- SET_by_offset(disp, _gloffset_Vertex3fv, fn);
+static inline void
+SET_Vertex3fv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (const GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_Vertex3fv, fn);
}
-typedef void (GLAPIENTRYP _glptr_Vertex3i)(GLint, GLint, GLint);
+typedef void (GLAPIENTRYP _glptr_Vertex3i) (GLint, GLint, GLint);
+
#define CALL_Vertex3i(disp, parameters) \
(* GET_Vertex3i(disp)) parameters
-static inline _glptr_Vertex3i GET_Vertex3i(struct _glapi_table *disp) {
- return (_glptr_Vertex3i) (GET_by_offset(disp, _gloffset_Vertex3i));
+static inline _glptr_Vertex3i
+GET_Vertex3i(struct _glapi_table *disp)
+{
+ return (_glptr_Vertex3i) (GET_by_offset(disp, _gloffset_Vertex3i));
}
-static inline void SET_Vertex3i(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLint)) {
- SET_by_offset(disp, _gloffset_Vertex3i, fn);
+static inline void
+SET_Vertex3i(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLint, GLint, GLint))
+{
+ SET_by_offset(disp, _gloffset_Vertex3i, fn);
}
-typedef void (GLAPIENTRYP _glptr_Vertex3iv)(const GLint *);
+typedef void (GLAPIENTRYP _glptr_Vertex3iv) (const GLint *);
+
#define CALL_Vertex3iv(disp, parameters) \
(* GET_Vertex3iv(disp)) parameters
-static inline _glptr_Vertex3iv GET_Vertex3iv(struct _glapi_table *disp) {
- return (_glptr_Vertex3iv) (GET_by_offset(disp, _gloffset_Vertex3iv));
+static inline _glptr_Vertex3iv
+GET_Vertex3iv(struct _glapi_table *disp)
+{
+ return (_glptr_Vertex3iv) (GET_by_offset(disp, _gloffset_Vertex3iv));
}
-static inline void SET_Vertex3iv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLint *)) {
- SET_by_offset(disp, _gloffset_Vertex3iv, fn);
+static inline void
+SET_Vertex3iv(struct _glapi_table *disp, void (GLAPIENTRYP fn) (const GLint *))
+{
+ SET_by_offset(disp, _gloffset_Vertex3iv, fn);
}
-typedef void (GLAPIENTRYP _glptr_Vertex3s)(GLshort, GLshort, GLshort);
+typedef void (GLAPIENTRYP _glptr_Vertex3s) (GLshort, GLshort, GLshort);
+
#define CALL_Vertex3s(disp, parameters) \
(* GET_Vertex3s(disp)) parameters
-static inline _glptr_Vertex3s GET_Vertex3s(struct _glapi_table *disp) {
- return (_glptr_Vertex3s) (GET_by_offset(disp, _gloffset_Vertex3s));
+static inline _glptr_Vertex3s
+GET_Vertex3s(struct _glapi_table *disp)
+{
+ return (_glptr_Vertex3s) (GET_by_offset(disp, _gloffset_Vertex3s));
}
-static inline void SET_Vertex3s(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLshort, GLshort, GLshort)) {
- SET_by_offset(disp, _gloffset_Vertex3s, fn);
+static inline void
+SET_Vertex3s(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLshort, GLshort, GLshort))
+{
+ SET_by_offset(disp, _gloffset_Vertex3s, fn);
}
-typedef void (GLAPIENTRYP _glptr_Vertex3sv)(const GLshort *);
+typedef void (GLAPIENTRYP _glptr_Vertex3sv) (const GLshort *);
+
#define CALL_Vertex3sv(disp, parameters) \
(* GET_Vertex3sv(disp)) parameters
-static inline _glptr_Vertex3sv GET_Vertex3sv(struct _glapi_table *disp) {
- return (_glptr_Vertex3sv) (GET_by_offset(disp, _gloffset_Vertex3sv));
+static inline _glptr_Vertex3sv
+GET_Vertex3sv(struct _glapi_table *disp)
+{
+ return (_glptr_Vertex3sv) (GET_by_offset(disp, _gloffset_Vertex3sv));
}
-static inline void SET_Vertex3sv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLshort *)) {
- SET_by_offset(disp, _gloffset_Vertex3sv, fn);
+static inline void
+SET_Vertex3sv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (const GLshort *))
+{
+ SET_by_offset(disp, _gloffset_Vertex3sv, fn);
}
-typedef void (GLAPIENTRYP _glptr_Vertex4d)(GLdouble, GLdouble, GLdouble, GLdouble);
+typedef void (GLAPIENTRYP _glptr_Vertex4d) (GLdouble, GLdouble, GLdouble,
+ GLdouble);
#define CALL_Vertex4d(disp, parameters) \
(* GET_Vertex4d(disp)) parameters
-static inline _glptr_Vertex4d GET_Vertex4d(struct _glapi_table *disp) {
- return (_glptr_Vertex4d) (GET_by_offset(disp, _gloffset_Vertex4d));
+static inline _glptr_Vertex4d
+GET_Vertex4d(struct _glapi_table *disp)
+{
+ return (_glptr_Vertex4d) (GET_by_offset(disp, _gloffset_Vertex4d));
}
-static inline void SET_Vertex4d(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble, GLdouble, GLdouble)) {
- SET_by_offset(disp, _gloffset_Vertex4d, fn);
+static inline void
+SET_Vertex4d(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLdouble, GLdouble, GLdouble, GLdouble))
+{
+ SET_by_offset(disp, _gloffset_Vertex4d, fn);
}
-typedef void (GLAPIENTRYP _glptr_Vertex4dv)(const GLdouble *);
+typedef void (GLAPIENTRYP _glptr_Vertex4dv) (const GLdouble *);
+
#define CALL_Vertex4dv(disp, parameters) \
(* GET_Vertex4dv(disp)) parameters
-static inline _glptr_Vertex4dv GET_Vertex4dv(struct _glapi_table *disp) {
- return (_glptr_Vertex4dv) (GET_by_offset(disp, _gloffset_Vertex4dv));
+static inline _glptr_Vertex4dv
+GET_Vertex4dv(struct _glapi_table *disp)
+{
+ return (_glptr_Vertex4dv) (GET_by_offset(disp, _gloffset_Vertex4dv));
}
-static inline void SET_Vertex4dv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) {
- SET_by_offset(disp, _gloffset_Vertex4dv, fn);
+static inline void
+SET_Vertex4dv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (const GLdouble *))
+{
+ SET_by_offset(disp, _gloffset_Vertex4dv, fn);
}
-typedef void (GLAPIENTRYP _glptr_Vertex4f)(GLfloat, GLfloat, GLfloat, GLfloat);
+typedef void (GLAPIENTRYP _glptr_Vertex4f) (GLfloat, GLfloat, GLfloat, GLfloat);
+
#define CALL_Vertex4f(disp, parameters) \
(* GET_Vertex4f(disp)) parameters
-static inline _glptr_Vertex4f GET_Vertex4f(struct _glapi_table *disp) {
- return (_glptr_Vertex4f) (GET_by_offset(disp, _gloffset_Vertex4f));
+static inline _glptr_Vertex4f
+GET_Vertex4f(struct _glapi_table *disp)
+{
+ return (_glptr_Vertex4f) (GET_by_offset(disp, _gloffset_Vertex4f));
}
-static inline void SET_Vertex4f(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat, GLfloat, GLfloat)) {
- SET_by_offset(disp, _gloffset_Vertex4f, fn);
+static inline void
+SET_Vertex4f(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLfloat, GLfloat, GLfloat, GLfloat))
+{
+ SET_by_offset(disp, _gloffset_Vertex4f, fn);
}
-typedef void (GLAPIENTRYP _glptr_Vertex4fv)(const GLfloat *);
+typedef void (GLAPIENTRYP _glptr_Vertex4fv) (const GLfloat *);
+
#define CALL_Vertex4fv(disp, parameters) \
(* GET_Vertex4fv(disp)) parameters
-static inline _glptr_Vertex4fv GET_Vertex4fv(struct _glapi_table *disp) {
- return (_glptr_Vertex4fv) (GET_by_offset(disp, _gloffset_Vertex4fv));
+static inline _glptr_Vertex4fv
+GET_Vertex4fv(struct _glapi_table *disp)
+{
+ return (_glptr_Vertex4fv) (GET_by_offset(disp, _gloffset_Vertex4fv));
}
-static inline void SET_Vertex4fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) {
- SET_by_offset(disp, _gloffset_Vertex4fv, fn);
+static inline void
+SET_Vertex4fv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (const GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_Vertex4fv, fn);
}
-typedef void (GLAPIENTRYP _glptr_Vertex4i)(GLint, GLint, GLint, GLint);
+typedef void (GLAPIENTRYP _glptr_Vertex4i) (GLint, GLint, GLint, GLint);
+
#define CALL_Vertex4i(disp, parameters) \
(* GET_Vertex4i(disp)) parameters
-static inline _glptr_Vertex4i GET_Vertex4i(struct _glapi_table *disp) {
- return (_glptr_Vertex4i) (GET_by_offset(disp, _gloffset_Vertex4i));
+static inline _glptr_Vertex4i
+GET_Vertex4i(struct _glapi_table *disp)
+{
+ return (_glptr_Vertex4i) (GET_by_offset(disp, _gloffset_Vertex4i));
}
-static inline void SET_Vertex4i(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLint, GLint)) {
- SET_by_offset(disp, _gloffset_Vertex4i, fn);
+static inline void
+SET_Vertex4i(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLint, GLint, GLint, GLint))
+{
+ SET_by_offset(disp, _gloffset_Vertex4i, fn);
}
-typedef void (GLAPIENTRYP _glptr_Vertex4iv)(const GLint *);
+typedef void (GLAPIENTRYP _glptr_Vertex4iv) (const GLint *);
+
#define CALL_Vertex4iv(disp, parameters) \
(* GET_Vertex4iv(disp)) parameters
-static inline _glptr_Vertex4iv GET_Vertex4iv(struct _glapi_table *disp) {
- return (_glptr_Vertex4iv) (GET_by_offset(disp, _gloffset_Vertex4iv));
+static inline _glptr_Vertex4iv
+GET_Vertex4iv(struct _glapi_table *disp)
+{
+ return (_glptr_Vertex4iv) (GET_by_offset(disp, _gloffset_Vertex4iv));
}
-static inline void SET_Vertex4iv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLint *)) {
- SET_by_offset(disp, _gloffset_Vertex4iv, fn);
+static inline void
+SET_Vertex4iv(struct _glapi_table *disp, void (GLAPIENTRYP fn) (const GLint *))
+{
+ SET_by_offset(disp, _gloffset_Vertex4iv, fn);
}
-typedef void (GLAPIENTRYP _glptr_Vertex4s)(GLshort, GLshort, GLshort, GLshort);
+typedef void (GLAPIENTRYP _glptr_Vertex4s) (GLshort, GLshort, GLshort, GLshort);
+
#define CALL_Vertex4s(disp, parameters) \
(* GET_Vertex4s(disp)) parameters
-static inline _glptr_Vertex4s GET_Vertex4s(struct _glapi_table *disp) {
- return (_glptr_Vertex4s) (GET_by_offset(disp, _gloffset_Vertex4s));
+static inline _glptr_Vertex4s
+GET_Vertex4s(struct _glapi_table *disp)
+{
+ return (_glptr_Vertex4s) (GET_by_offset(disp, _gloffset_Vertex4s));
}
-static inline void SET_Vertex4s(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLshort, GLshort, GLshort, GLshort)) {
- SET_by_offset(disp, _gloffset_Vertex4s, fn);
+static inline void
+SET_Vertex4s(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLshort, GLshort, GLshort, GLshort))
+{
+ SET_by_offset(disp, _gloffset_Vertex4s, fn);
}
-typedef void (GLAPIENTRYP _glptr_Vertex4sv)(const GLshort *);
+typedef void (GLAPIENTRYP _glptr_Vertex4sv) (const GLshort *);
+
#define CALL_Vertex4sv(disp, parameters) \
(* GET_Vertex4sv(disp)) parameters
-static inline _glptr_Vertex4sv GET_Vertex4sv(struct _glapi_table *disp) {
- return (_glptr_Vertex4sv) (GET_by_offset(disp, _gloffset_Vertex4sv));
+static inline _glptr_Vertex4sv
+GET_Vertex4sv(struct _glapi_table *disp)
+{
+ return (_glptr_Vertex4sv) (GET_by_offset(disp, _gloffset_Vertex4sv));
}
-static inline void SET_Vertex4sv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLshort *)) {
- SET_by_offset(disp, _gloffset_Vertex4sv, fn);
+static inline void
+SET_Vertex4sv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (const GLshort *))
+{
+ SET_by_offset(disp, _gloffset_Vertex4sv, fn);
}
-typedef void (GLAPIENTRYP _glptr_ClipPlane)(GLenum, const GLdouble *);
+typedef void (GLAPIENTRYP _glptr_ClipPlane) (GLenum, const GLdouble *);
+
#define CALL_ClipPlane(disp, parameters) \
(* GET_ClipPlane(disp)) parameters
-static inline _glptr_ClipPlane GET_ClipPlane(struct _glapi_table *disp) {
- return (_glptr_ClipPlane) (GET_by_offset(disp, _gloffset_ClipPlane));
+static inline _glptr_ClipPlane
+GET_ClipPlane(struct _glapi_table *disp)
+{
+ return (_glptr_ClipPlane) (GET_by_offset(disp, _gloffset_ClipPlane));
}
-static inline void SET_ClipPlane(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLdouble *)) {
- SET_by_offset(disp, _gloffset_ClipPlane, fn);
+static inline void
+SET_ClipPlane(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, const GLdouble *))
+{
+ SET_by_offset(disp, _gloffset_ClipPlane, fn);
}
-typedef void (GLAPIENTRYP _glptr_ColorMaterial)(GLenum, GLenum);
+typedef void (GLAPIENTRYP _glptr_ColorMaterial) (GLenum, GLenum);
+
#define CALL_ColorMaterial(disp, parameters) \
(* GET_ColorMaterial(disp)) parameters
-static inline _glptr_ColorMaterial GET_ColorMaterial(struct _glapi_table *disp) {
- return (_glptr_ColorMaterial) (GET_by_offset(disp, _gloffset_ColorMaterial));
+static inline _glptr_ColorMaterial
+GET_ColorMaterial(struct _glapi_table *disp)
+{
+ return (_glptr_ColorMaterial) (GET_by_offset
+ (disp, _gloffset_ColorMaterial));
}
-static inline void SET_ColorMaterial(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum)) {
- SET_by_offset(disp, _gloffset_ColorMaterial, fn);
+static inline void
+SET_ColorMaterial(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum))
+{
+ SET_by_offset(disp, _gloffset_ColorMaterial, fn);
}
-typedef void (GLAPIENTRYP _glptr_CullFace)(GLenum);
+typedef void (GLAPIENTRYP _glptr_CullFace) (GLenum);
+
#define CALL_CullFace(disp, parameters) \
(* GET_CullFace(disp)) parameters
-static inline _glptr_CullFace GET_CullFace(struct _glapi_table *disp) {
- return (_glptr_CullFace) (GET_by_offset(disp, _gloffset_CullFace));
+static inline _glptr_CullFace
+GET_CullFace(struct _glapi_table *disp)
+{
+ return (_glptr_CullFace) (GET_by_offset(disp, _gloffset_CullFace));
}
-static inline void SET_CullFace(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) {
- SET_by_offset(disp, _gloffset_CullFace, fn);
+static inline void
+SET_CullFace(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLenum))
+{
+ SET_by_offset(disp, _gloffset_CullFace, fn);
}
-typedef void (GLAPIENTRYP _glptr_Fogf)(GLenum, GLfloat);
+typedef void (GLAPIENTRYP _glptr_Fogf) (GLenum, GLfloat);
+
#define CALL_Fogf(disp, parameters) \
(* GET_Fogf(disp)) parameters
-static inline _glptr_Fogf GET_Fogf(struct _glapi_table *disp) {
- return (_glptr_Fogf) (GET_by_offset(disp, _gloffset_Fogf));
+static inline _glptr_Fogf
+GET_Fogf(struct _glapi_table *disp)
+{
+ return (_glptr_Fogf) (GET_by_offset(disp, _gloffset_Fogf));
}
-static inline void SET_Fogf(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLfloat)) {
- SET_by_offset(disp, _gloffset_Fogf, fn);
+static inline void
+SET_Fogf(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLenum, GLfloat))
+{
+ SET_by_offset(disp, _gloffset_Fogf, fn);
}
-typedef void (GLAPIENTRYP _glptr_Fogfv)(GLenum, const GLfloat *);
+typedef void (GLAPIENTRYP _glptr_Fogfv) (GLenum, const GLfloat *);
+
#define CALL_Fogfv(disp, parameters) \
(* GET_Fogfv(disp)) parameters
-static inline _glptr_Fogfv GET_Fogfv(struct _glapi_table *disp) {
- return (_glptr_Fogfv) (GET_by_offset(disp, _gloffset_Fogfv));
+static inline _glptr_Fogfv
+GET_Fogfv(struct _glapi_table *disp)
+{
+ return (_glptr_Fogfv) (GET_by_offset(disp, _gloffset_Fogfv));
}
-static inline void SET_Fogfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLfloat *)) {
- SET_by_offset(disp, _gloffset_Fogfv, fn);
+static inline void
+SET_Fogfv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, const GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_Fogfv, fn);
}
-typedef void (GLAPIENTRYP _glptr_Fogi)(GLenum, GLint);
+typedef void (GLAPIENTRYP _glptr_Fogi) (GLenum, GLint);
+
#define CALL_Fogi(disp, parameters) \
(* GET_Fogi(disp)) parameters
-static inline _glptr_Fogi GET_Fogi(struct _glapi_table *disp) {
- return (_glptr_Fogi) (GET_by_offset(disp, _gloffset_Fogi));
+static inline _glptr_Fogi
+GET_Fogi(struct _glapi_table *disp)
+{
+ return (_glptr_Fogi) (GET_by_offset(disp, _gloffset_Fogi));
}
-static inline void SET_Fogi(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint)) {
- SET_by_offset(disp, _gloffset_Fogi, fn);
+static inline void
+SET_Fogi(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLenum, GLint))
+{
+ SET_by_offset(disp, _gloffset_Fogi, fn);
}
-typedef void (GLAPIENTRYP _glptr_Fogiv)(GLenum, const GLint *);
+typedef void (GLAPIENTRYP _glptr_Fogiv) (GLenum, const GLint *);
+
#define CALL_Fogiv(disp, parameters) \
(* GET_Fogiv(disp)) parameters
-static inline _glptr_Fogiv GET_Fogiv(struct _glapi_table *disp) {
- return (_glptr_Fogiv) (GET_by_offset(disp, _gloffset_Fogiv));
+static inline _glptr_Fogiv
+GET_Fogiv(struct _glapi_table *disp)
+{
+ return (_glptr_Fogiv) (GET_by_offset(disp, _gloffset_Fogiv));
}
-static inline void SET_Fogiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLint *)) {
- SET_by_offset(disp, _gloffset_Fogiv, fn);
+static inline void
+SET_Fogiv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, const GLint *))
+{
+ SET_by_offset(disp, _gloffset_Fogiv, fn);
}
-typedef void (GLAPIENTRYP _glptr_FrontFace)(GLenum);
+typedef void (GLAPIENTRYP _glptr_FrontFace) (GLenum);
+
#define CALL_FrontFace(disp, parameters) \
(* GET_FrontFace(disp)) parameters
-static inline _glptr_FrontFace GET_FrontFace(struct _glapi_table *disp) {
- return (_glptr_FrontFace) (GET_by_offset(disp, _gloffset_FrontFace));
+static inline _glptr_FrontFace
+GET_FrontFace(struct _glapi_table *disp)
+{
+ return (_glptr_FrontFace) (GET_by_offset(disp, _gloffset_FrontFace));
}
-static inline void SET_FrontFace(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) {
- SET_by_offset(disp, _gloffset_FrontFace, fn);
+static inline void
+SET_FrontFace(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLenum))
+{
+ SET_by_offset(disp, _gloffset_FrontFace, fn);
}
-typedef void (GLAPIENTRYP _glptr_Hint)(GLenum, GLenum);
+typedef void (GLAPIENTRYP _glptr_Hint) (GLenum, GLenum);
+
#define CALL_Hint(disp, parameters) \
(* GET_Hint(disp)) parameters
-static inline _glptr_Hint GET_Hint(struct _glapi_table *disp) {
- return (_glptr_Hint) (GET_by_offset(disp, _gloffset_Hint));
+static inline _glptr_Hint
+GET_Hint(struct _glapi_table *disp)
+{
+ return (_glptr_Hint) (GET_by_offset(disp, _gloffset_Hint));
}
-static inline void SET_Hint(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum)) {
- SET_by_offset(disp, _gloffset_Hint, fn);
+static inline void
+SET_Hint(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLenum, GLenum))
+{
+ SET_by_offset(disp, _gloffset_Hint, fn);
}
-typedef void (GLAPIENTRYP _glptr_Lightf)(GLenum, GLenum, GLfloat);
+typedef void (GLAPIENTRYP _glptr_Lightf) (GLenum, GLenum, GLfloat);
+
#define CALL_Lightf(disp, parameters) \
(* GET_Lightf(disp)) parameters
-static inline _glptr_Lightf GET_Lightf(struct _glapi_table *disp) {
- return (_glptr_Lightf) (GET_by_offset(disp, _gloffset_Lightf));
+static inline _glptr_Lightf
+GET_Lightf(struct _glapi_table *disp)
+{
+ return (_glptr_Lightf) (GET_by_offset(disp, _gloffset_Lightf));
}
-static inline void SET_Lightf(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfloat)) {
- SET_by_offset(disp, _gloffset_Lightf, fn);
+static inline void
+SET_Lightf(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, GLfloat))
+{
+ SET_by_offset(disp, _gloffset_Lightf, fn);
}
-typedef void (GLAPIENTRYP _glptr_Lightfv)(GLenum, GLenum, const GLfloat *);
+typedef void (GLAPIENTRYP _glptr_Lightfv) (GLenum, GLenum, const GLfloat *);
+
#define CALL_Lightfv(disp, parameters) \
(* GET_Lightfv(disp)) parameters
-static inline _glptr_Lightfv GET_Lightfv(struct _glapi_table *disp) {
- return (_glptr_Lightfv) (GET_by_offset(disp, _gloffset_Lightfv));
+static inline _glptr_Lightfv
+GET_Lightfv(struct _glapi_table *disp)
+{
+ return (_glptr_Lightfv) (GET_by_offset(disp, _gloffset_Lightfv));
}
-static inline void SET_Lightfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLfloat *)) {
- SET_by_offset(disp, _gloffset_Lightfv, fn);
+static inline void
+SET_Lightfv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, const GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_Lightfv, fn);
}
-typedef void (GLAPIENTRYP _glptr_Lighti)(GLenum, GLenum, GLint);
+typedef void (GLAPIENTRYP _glptr_Lighti) (GLenum, GLenum, GLint);
+
#define CALL_Lighti(disp, parameters) \
(* GET_Lighti(disp)) parameters
-static inline _glptr_Lighti GET_Lighti(struct _glapi_table *disp) {
- return (_glptr_Lighti) (GET_by_offset(disp, _gloffset_Lighti));
+static inline _glptr_Lighti
+GET_Lighti(struct _glapi_table *disp)
+{
+ return (_glptr_Lighti) (GET_by_offset(disp, _gloffset_Lighti));
}
-static inline void SET_Lighti(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint)) {
- SET_by_offset(disp, _gloffset_Lighti, fn);
+static inline void
+SET_Lighti(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, GLint))
+{
+ SET_by_offset(disp, _gloffset_Lighti, fn);
}
-typedef void (GLAPIENTRYP _glptr_Lightiv)(GLenum, GLenum, const GLint *);
+typedef void (GLAPIENTRYP _glptr_Lightiv) (GLenum, GLenum, const GLint *);
+
#define CALL_Lightiv(disp, parameters) \
(* GET_Lightiv(disp)) parameters
-static inline _glptr_Lightiv GET_Lightiv(struct _glapi_table *disp) {
- return (_glptr_Lightiv) (GET_by_offset(disp, _gloffset_Lightiv));
+static inline _glptr_Lightiv
+GET_Lightiv(struct _glapi_table *disp)
+{
+ return (_glptr_Lightiv) (GET_by_offset(disp, _gloffset_Lightiv));
}
-static inline void SET_Lightiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLint *)) {
- SET_by_offset(disp, _gloffset_Lightiv, fn);
+static inline void
+SET_Lightiv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, const GLint *))
+{
+ SET_by_offset(disp, _gloffset_Lightiv, fn);
}
-typedef void (GLAPIENTRYP _glptr_LightModelf)(GLenum, GLfloat);
+typedef void (GLAPIENTRYP _glptr_LightModelf) (GLenum, GLfloat);
+
#define CALL_LightModelf(disp, parameters) \
(* GET_LightModelf(disp)) parameters
-static inline _glptr_LightModelf GET_LightModelf(struct _glapi_table *disp) {
- return (_glptr_LightModelf) (GET_by_offset(disp, _gloffset_LightModelf));
+static inline _glptr_LightModelf
+GET_LightModelf(struct _glapi_table *disp)
+{
+ return (_glptr_LightModelf) (GET_by_offset(disp, _gloffset_LightModelf));
}
-static inline void SET_LightModelf(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLfloat)) {
- SET_by_offset(disp, _gloffset_LightModelf, fn);
+static inline void
+SET_LightModelf(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLfloat))
+{
+ SET_by_offset(disp, _gloffset_LightModelf, fn);
}
-typedef void (GLAPIENTRYP _glptr_LightModelfv)(GLenum, const GLfloat *);
+typedef void (GLAPIENTRYP _glptr_LightModelfv) (GLenum, const GLfloat *);
+
#define CALL_LightModelfv(disp, parameters) \
(* GET_LightModelfv(disp)) parameters
-static inline _glptr_LightModelfv GET_LightModelfv(struct _glapi_table *disp) {
- return (_glptr_LightModelfv) (GET_by_offset(disp, _gloffset_LightModelfv));
+static inline _glptr_LightModelfv
+GET_LightModelfv(struct _glapi_table *disp)
+{
+ return (_glptr_LightModelfv) (GET_by_offset(disp, _gloffset_LightModelfv));
}
-static inline void SET_LightModelfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLfloat *)) {
- SET_by_offset(disp, _gloffset_LightModelfv, fn);
+static inline void
+SET_LightModelfv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, const GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_LightModelfv, fn);
}
-typedef void (GLAPIENTRYP _glptr_LightModeli)(GLenum, GLint);
+typedef void (GLAPIENTRYP _glptr_LightModeli) (GLenum, GLint);
+
#define CALL_LightModeli(disp, parameters) \
(* GET_LightModeli(disp)) parameters
-static inline _glptr_LightModeli GET_LightModeli(struct _glapi_table *disp) {
- return (_glptr_LightModeli) (GET_by_offset(disp, _gloffset_LightModeli));
+static inline _glptr_LightModeli
+GET_LightModeli(struct _glapi_table *disp)
+{
+ return (_glptr_LightModeli) (GET_by_offset(disp, _gloffset_LightModeli));
}
-static inline void SET_LightModeli(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint)) {
- SET_by_offset(disp, _gloffset_LightModeli, fn);
+static inline void
+SET_LightModeli(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLint))
+{
+ SET_by_offset(disp, _gloffset_LightModeli, fn);
}
-typedef void (GLAPIENTRYP _glptr_LightModeliv)(GLenum, const GLint *);
+typedef void (GLAPIENTRYP _glptr_LightModeliv) (GLenum, const GLint *);
+
#define CALL_LightModeliv(disp, parameters) \
(* GET_LightModeliv(disp)) parameters
-static inline _glptr_LightModeliv GET_LightModeliv(struct _glapi_table *disp) {
- return (_glptr_LightModeliv) (GET_by_offset(disp, _gloffset_LightModeliv));
+static inline _glptr_LightModeliv
+GET_LightModeliv(struct _glapi_table *disp)
+{
+ return (_glptr_LightModeliv) (GET_by_offset(disp, _gloffset_LightModeliv));
}
-static inline void SET_LightModeliv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLint *)) {
- SET_by_offset(disp, _gloffset_LightModeliv, fn);
+static inline void
+SET_LightModeliv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, const GLint *))
+{
+ SET_by_offset(disp, _gloffset_LightModeliv, fn);
}
-typedef void (GLAPIENTRYP _glptr_LineStipple)(GLint, GLushort);
+typedef void (GLAPIENTRYP _glptr_LineStipple) (GLint, GLushort);
+
#define CALL_LineStipple(disp, parameters) \
(* GET_LineStipple(disp)) parameters
-static inline _glptr_LineStipple GET_LineStipple(struct _glapi_table *disp) {
- return (_glptr_LineStipple) (GET_by_offset(disp, _gloffset_LineStipple));
+static inline _glptr_LineStipple
+GET_LineStipple(struct _glapi_table *disp)
+{
+ return (_glptr_LineStipple) (GET_by_offset(disp, _gloffset_LineStipple));
}
-static inline void SET_LineStipple(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLushort)) {
- SET_by_offset(disp, _gloffset_LineStipple, fn);
+static inline void
+SET_LineStipple(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLint, GLushort))
+{
+ SET_by_offset(disp, _gloffset_LineStipple, fn);
}
-typedef void (GLAPIENTRYP _glptr_LineWidth)(GLfloat);
+typedef void (GLAPIENTRYP _glptr_LineWidth) (GLfloat);
+
#define CALL_LineWidth(disp, parameters) \
(* GET_LineWidth(disp)) parameters
-static inline _glptr_LineWidth GET_LineWidth(struct _glapi_table *disp) {
- return (_glptr_LineWidth) (GET_by_offset(disp, _gloffset_LineWidth));
+static inline _glptr_LineWidth
+GET_LineWidth(struct _glapi_table *disp)
+{
+ return (_glptr_LineWidth) (GET_by_offset(disp, _gloffset_LineWidth));
}
-static inline void SET_LineWidth(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat)) {
- SET_by_offset(disp, _gloffset_LineWidth, fn);
+static inline void
+SET_LineWidth(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLfloat))
+{
+ SET_by_offset(disp, _gloffset_LineWidth, fn);
}
-typedef void (GLAPIENTRYP _glptr_Materialf)(GLenum, GLenum, GLfloat);
+typedef void (GLAPIENTRYP _glptr_Materialf) (GLenum, GLenum, GLfloat);
+
#define CALL_Materialf(disp, parameters) \
(* GET_Materialf(disp)) parameters
-static inline _glptr_Materialf GET_Materialf(struct _glapi_table *disp) {
- return (_glptr_Materialf) (GET_by_offset(disp, _gloffset_Materialf));
+static inline _glptr_Materialf
+GET_Materialf(struct _glapi_table *disp)
+{
+ return (_glptr_Materialf) (GET_by_offset(disp, _gloffset_Materialf));
}
-static inline void SET_Materialf(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfloat)) {
- SET_by_offset(disp, _gloffset_Materialf, fn);
+static inline void
+SET_Materialf(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, GLfloat))
+{
+ SET_by_offset(disp, _gloffset_Materialf, fn);
}
-typedef void (GLAPIENTRYP _glptr_Materialfv)(GLenum, GLenum, const GLfloat *);
+typedef void (GLAPIENTRYP _glptr_Materialfv) (GLenum, GLenum, const GLfloat *);
+
#define CALL_Materialfv(disp, parameters) \
(* GET_Materialfv(disp)) parameters
-static inline _glptr_Materialfv GET_Materialfv(struct _glapi_table *disp) {
- return (_glptr_Materialfv) (GET_by_offset(disp, _gloffset_Materialfv));
+static inline _glptr_Materialfv
+GET_Materialfv(struct _glapi_table *disp)
+{
+ return (_glptr_Materialfv) (GET_by_offset(disp, _gloffset_Materialfv));
}
-static inline void SET_Materialfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLfloat *)) {
- SET_by_offset(disp, _gloffset_Materialfv, fn);
+static inline void
+SET_Materialfv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, const GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_Materialfv, fn);
}
-typedef void (GLAPIENTRYP _glptr_Materiali)(GLenum, GLenum, GLint);
+typedef void (GLAPIENTRYP _glptr_Materiali) (GLenum, GLenum, GLint);
+
#define CALL_Materiali(disp, parameters) \
(* GET_Materiali(disp)) parameters
-static inline _glptr_Materiali GET_Materiali(struct _glapi_table *disp) {
- return (_glptr_Materiali) (GET_by_offset(disp, _gloffset_Materiali));
+static inline _glptr_Materiali
+GET_Materiali(struct _glapi_table *disp)
+{
+ return (_glptr_Materiali) (GET_by_offset(disp, _gloffset_Materiali));
}
-static inline void SET_Materiali(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint)) {
- SET_by_offset(disp, _gloffset_Materiali, fn);
+static inline void
+SET_Materiali(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, GLint))
+{
+ SET_by_offset(disp, _gloffset_Materiali, fn);
}
-typedef void (GLAPIENTRYP _glptr_Materialiv)(GLenum, GLenum, const GLint *);
+typedef void (GLAPIENTRYP _glptr_Materialiv) (GLenum, GLenum, const GLint *);
+
#define CALL_Materialiv(disp, parameters) \
(* GET_Materialiv(disp)) parameters
-static inline _glptr_Materialiv GET_Materialiv(struct _glapi_table *disp) {
- return (_glptr_Materialiv) (GET_by_offset(disp, _gloffset_Materialiv));
+static inline _glptr_Materialiv
+GET_Materialiv(struct _glapi_table *disp)
+{
+ return (_glptr_Materialiv) (GET_by_offset(disp, _gloffset_Materialiv));
}
-static inline void SET_Materialiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLint *)) {
- SET_by_offset(disp, _gloffset_Materialiv, fn);
+static inline void
+SET_Materialiv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, const GLint *))
+{
+ SET_by_offset(disp, _gloffset_Materialiv, fn);
}
-typedef void (GLAPIENTRYP _glptr_PointSize)(GLfloat);
+typedef void (GLAPIENTRYP _glptr_PointSize) (GLfloat);
+
#define CALL_PointSize(disp, parameters) \
(* GET_PointSize(disp)) parameters
-static inline _glptr_PointSize GET_PointSize(struct _glapi_table *disp) {
- return (_glptr_PointSize) (GET_by_offset(disp, _gloffset_PointSize));
+static inline _glptr_PointSize
+GET_PointSize(struct _glapi_table *disp)
+{
+ return (_glptr_PointSize) (GET_by_offset(disp, _gloffset_PointSize));
}
-static inline void SET_PointSize(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat)) {
- SET_by_offset(disp, _gloffset_PointSize, fn);
+static inline void
+SET_PointSize(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLfloat))
+{
+ SET_by_offset(disp, _gloffset_PointSize, fn);
}
-typedef void (GLAPIENTRYP _glptr_PolygonMode)(GLenum, GLenum);
+typedef void (GLAPIENTRYP _glptr_PolygonMode) (GLenum, GLenum);
+
#define CALL_PolygonMode(disp, parameters) \
(* GET_PolygonMode(disp)) parameters
-static inline _glptr_PolygonMode GET_PolygonMode(struct _glapi_table *disp) {
- return (_glptr_PolygonMode) (GET_by_offset(disp, _gloffset_PolygonMode));
+static inline _glptr_PolygonMode
+GET_PolygonMode(struct _glapi_table *disp)
+{
+ return (_glptr_PolygonMode) (GET_by_offset(disp, _gloffset_PolygonMode));
}
-static inline void SET_PolygonMode(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum)) {
- SET_by_offset(disp, _gloffset_PolygonMode, fn);
+static inline void
+SET_PolygonMode(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum))
+{
+ SET_by_offset(disp, _gloffset_PolygonMode, fn);
}
-typedef void (GLAPIENTRYP _glptr_PolygonStipple)(const GLubyte *);
+typedef void (GLAPIENTRYP _glptr_PolygonStipple) (const GLubyte *);
+
#define CALL_PolygonStipple(disp, parameters) \
(* GET_PolygonStipple(disp)) parameters
-static inline _glptr_PolygonStipple GET_PolygonStipple(struct _glapi_table *disp) {
- return (_glptr_PolygonStipple) (GET_by_offset(disp, _gloffset_PolygonStipple));
+static inline _glptr_PolygonStipple
+GET_PolygonStipple(struct _glapi_table *disp)
+{
+ return (_glptr_PolygonStipple) (GET_by_offset
+ (disp, _gloffset_PolygonStipple));
}
-static inline void SET_PolygonStipple(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLubyte *)) {
- SET_by_offset(disp, _gloffset_PolygonStipple, fn);
+static inline void
+SET_PolygonStipple(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (const GLubyte *))
+{
+ SET_by_offset(disp, _gloffset_PolygonStipple, fn);
}
-typedef void (GLAPIENTRYP _glptr_Scissor)(GLint, GLint, GLsizei, GLsizei);
+typedef void (GLAPIENTRYP _glptr_Scissor) (GLint, GLint, GLsizei, GLsizei);
+
#define CALL_Scissor(disp, parameters) \
(* GET_Scissor(disp)) parameters
-static inline _glptr_Scissor GET_Scissor(struct _glapi_table *disp) {
- return (_glptr_Scissor) (GET_by_offset(disp, _gloffset_Scissor));
+static inline _glptr_Scissor
+GET_Scissor(struct _glapi_table *disp)
+{
+ return (_glptr_Scissor) (GET_by_offset(disp, _gloffset_Scissor));
}
-static inline void SET_Scissor(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLsizei, GLsizei)) {
- SET_by_offset(disp, _gloffset_Scissor, fn);
+static inline void
+SET_Scissor(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLint, GLint, GLsizei, GLsizei))
+{
+ SET_by_offset(disp, _gloffset_Scissor, fn);
}
-typedef void (GLAPIENTRYP _glptr_ShadeModel)(GLenum);
+typedef void (GLAPIENTRYP _glptr_ShadeModel) (GLenum);
+
#define CALL_ShadeModel(disp, parameters) \
(* GET_ShadeModel(disp)) parameters
-static inline _glptr_ShadeModel GET_ShadeModel(struct _glapi_table *disp) {
- return (_glptr_ShadeModel) (GET_by_offset(disp, _gloffset_ShadeModel));
+static inline _glptr_ShadeModel
+GET_ShadeModel(struct _glapi_table *disp)
+{
+ return (_glptr_ShadeModel) (GET_by_offset(disp, _gloffset_ShadeModel));
}
-static inline void SET_ShadeModel(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) {
- SET_by_offset(disp, _gloffset_ShadeModel, fn);
+static inline void
+SET_ShadeModel(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLenum))
+{
+ SET_by_offset(disp, _gloffset_ShadeModel, fn);
}
-typedef void (GLAPIENTRYP _glptr_TexParameterf)(GLenum, GLenum, GLfloat);
+typedef void (GLAPIENTRYP _glptr_TexParameterf) (GLenum, GLenum, GLfloat);
+
#define CALL_TexParameterf(disp, parameters) \
(* GET_TexParameterf(disp)) parameters
-static inline _glptr_TexParameterf GET_TexParameterf(struct _glapi_table *disp) {
- return (_glptr_TexParameterf) (GET_by_offset(disp, _gloffset_TexParameterf));
+static inline _glptr_TexParameterf
+GET_TexParameterf(struct _glapi_table *disp)
+{
+ return (_glptr_TexParameterf) (GET_by_offset
+ (disp, _gloffset_TexParameterf));
}
-static inline void SET_TexParameterf(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfloat)) {
- SET_by_offset(disp, _gloffset_TexParameterf, fn);
+static inline void
+SET_TexParameterf(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, GLfloat))
+{
+ SET_by_offset(disp, _gloffset_TexParameterf, fn);
}
-typedef void (GLAPIENTRYP _glptr_TexParameterfv)(GLenum, GLenum, const GLfloat *);
+typedef void (GLAPIENTRYP _glptr_TexParameterfv) (GLenum, GLenum,
+ const GLfloat *);
#define CALL_TexParameterfv(disp, parameters) \
(* GET_TexParameterfv(disp)) parameters
-static inline _glptr_TexParameterfv GET_TexParameterfv(struct _glapi_table *disp) {
- return (_glptr_TexParameterfv) (GET_by_offset(disp, _gloffset_TexParameterfv));
+static inline _glptr_TexParameterfv
+GET_TexParameterfv(struct _glapi_table *disp)
+{
+ return (_glptr_TexParameterfv) (GET_by_offset
+ (disp, _gloffset_TexParameterfv));
}
-static inline void SET_TexParameterfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLfloat *)) {
- SET_by_offset(disp, _gloffset_TexParameterfv, fn);
+static inline void
+SET_TexParameterfv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, const GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_TexParameterfv, fn);
}
-typedef void (GLAPIENTRYP _glptr_TexParameteri)(GLenum, GLenum, GLint);
+typedef void (GLAPIENTRYP _glptr_TexParameteri) (GLenum, GLenum, GLint);
+
#define CALL_TexParameteri(disp, parameters) \
(* GET_TexParameteri(disp)) parameters
-static inline _glptr_TexParameteri GET_TexParameteri(struct _glapi_table *disp) {
- return (_glptr_TexParameteri) (GET_by_offset(disp, _gloffset_TexParameteri));
+static inline _glptr_TexParameteri
+GET_TexParameteri(struct _glapi_table *disp)
+{
+ return (_glptr_TexParameteri) (GET_by_offset
+ (disp, _gloffset_TexParameteri));
}
-static inline void SET_TexParameteri(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint)) {
- SET_by_offset(disp, _gloffset_TexParameteri, fn);
+static inline void
+SET_TexParameteri(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, GLint))
+{
+ SET_by_offset(disp, _gloffset_TexParameteri, fn);
}
-typedef void (GLAPIENTRYP _glptr_TexParameteriv)(GLenum, GLenum, const GLint *);
+typedef void (GLAPIENTRYP _glptr_TexParameteriv) (GLenum, GLenum,
+ const GLint *);
#define CALL_TexParameteriv(disp, parameters) \
(* GET_TexParameteriv(disp)) parameters
-static inline _glptr_TexParameteriv GET_TexParameteriv(struct _glapi_table *disp) {
- return (_glptr_TexParameteriv) (GET_by_offset(disp, _gloffset_TexParameteriv));
+static inline _glptr_TexParameteriv
+GET_TexParameteriv(struct _glapi_table *disp)
+{
+ return (_glptr_TexParameteriv) (GET_by_offset
+ (disp, _gloffset_TexParameteriv));
}
-static inline void SET_TexParameteriv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLint *)) {
- SET_by_offset(disp, _gloffset_TexParameteriv, fn);
+static inline void
+SET_TexParameteriv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, const GLint *))
+{
+ SET_by_offset(disp, _gloffset_TexParameteriv, fn);
}
-typedef void (GLAPIENTRYP _glptr_TexImage1D)(GLenum, GLint, GLint, GLsizei, GLint, GLenum, GLenum, const GLvoid *);
+typedef void (GLAPIENTRYP _glptr_TexImage1D) (GLenum, GLint, GLint, GLsizei,
+ GLint, GLenum, GLenum,
+ const GLvoid *);
#define CALL_TexImage1D(disp, parameters) \
(* GET_TexImage1D(disp)) parameters
-static inline _glptr_TexImage1D GET_TexImage1D(struct _glapi_table *disp) {
- return (_glptr_TexImage1D) (GET_by_offset(disp, _gloffset_TexImage1D));
+static inline _glptr_TexImage1D
+GET_TexImage1D(struct _glapi_table *disp)
+{
+ return (_glptr_TexImage1D) (GET_by_offset(disp, _gloffset_TexImage1D));
}
-static inline void SET_TexImage1D(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLint, GLsizei, GLint, GLenum, GLenum, const GLvoid *)) {
- SET_by_offset(disp, _gloffset_TexImage1D, fn);
+static inline void
+SET_TexImage1D(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLint, GLint, GLsizei, GLint,
+ GLenum, GLenum, const GLvoid *))
+{
+ SET_by_offset(disp, _gloffset_TexImage1D, fn);
}
-typedef void (GLAPIENTRYP _glptr_TexImage2D)(GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *);
+typedef void (GLAPIENTRYP _glptr_TexImage2D) (GLenum, GLint, GLint, GLsizei,
+ GLsizei, GLint, GLenum, GLenum,
+ const GLvoid *);
#define CALL_TexImage2D(disp, parameters) \
(* GET_TexImage2D(disp)) parameters
-static inline _glptr_TexImage2D GET_TexImage2D(struct _glapi_table *disp) {
- return (_glptr_TexImage2D) (GET_by_offset(disp, _gloffset_TexImage2D));
+static inline _glptr_TexImage2D
+GET_TexImage2D(struct _glapi_table *disp)
+{
+ return (_glptr_TexImage2D) (GET_by_offset(disp, _gloffset_TexImage2D));
}
-static inline void SET_TexImage2D(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *)) {
- SET_by_offset(disp, _gloffset_TexImage2D, fn);
+static inline void
+SET_TexImage2D(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLint, GLint, GLsizei, GLsizei,
+ GLint, GLenum, GLenum, const GLvoid *))
+{
+ SET_by_offset(disp, _gloffset_TexImage2D, fn);
}
-typedef void (GLAPIENTRYP _glptr_TexEnvf)(GLenum, GLenum, GLfloat);
+typedef void (GLAPIENTRYP _glptr_TexEnvf) (GLenum, GLenum, GLfloat);
+
#define CALL_TexEnvf(disp, parameters) \
(* GET_TexEnvf(disp)) parameters
-static inline _glptr_TexEnvf GET_TexEnvf(struct _glapi_table *disp) {
- return (_glptr_TexEnvf) (GET_by_offset(disp, _gloffset_TexEnvf));
+static inline _glptr_TexEnvf
+GET_TexEnvf(struct _glapi_table *disp)
+{
+ return (_glptr_TexEnvf) (GET_by_offset(disp, _gloffset_TexEnvf));
}
-static inline void SET_TexEnvf(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfloat)) {
- SET_by_offset(disp, _gloffset_TexEnvf, fn);
+static inline void
+SET_TexEnvf(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, GLfloat))
+{
+ SET_by_offset(disp, _gloffset_TexEnvf, fn);
}
-typedef void (GLAPIENTRYP _glptr_TexEnvfv)(GLenum, GLenum, const GLfloat *);
+typedef void (GLAPIENTRYP _glptr_TexEnvfv) (GLenum, GLenum, const GLfloat *);
+
#define CALL_TexEnvfv(disp, parameters) \
(* GET_TexEnvfv(disp)) parameters
-static inline _glptr_TexEnvfv GET_TexEnvfv(struct _glapi_table *disp) {
- return (_glptr_TexEnvfv) (GET_by_offset(disp, _gloffset_TexEnvfv));
+static inline _glptr_TexEnvfv
+GET_TexEnvfv(struct _glapi_table *disp)
+{
+ return (_glptr_TexEnvfv) (GET_by_offset(disp, _gloffset_TexEnvfv));
}
-static inline void SET_TexEnvfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLfloat *)) {
- SET_by_offset(disp, _gloffset_TexEnvfv, fn);
+static inline void
+SET_TexEnvfv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, const GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_TexEnvfv, fn);
}
-typedef void (GLAPIENTRYP _glptr_TexEnvi)(GLenum, GLenum, GLint);
+typedef void (GLAPIENTRYP _glptr_TexEnvi) (GLenum, GLenum, GLint);
+
#define CALL_TexEnvi(disp, parameters) \
(* GET_TexEnvi(disp)) parameters
-static inline _glptr_TexEnvi GET_TexEnvi(struct _glapi_table *disp) {
- return (_glptr_TexEnvi) (GET_by_offset(disp, _gloffset_TexEnvi));
+static inline _glptr_TexEnvi
+GET_TexEnvi(struct _glapi_table *disp)
+{
+ return (_glptr_TexEnvi) (GET_by_offset(disp, _gloffset_TexEnvi));
}
-static inline void SET_TexEnvi(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint)) {
- SET_by_offset(disp, _gloffset_TexEnvi, fn);
+static inline void
+SET_TexEnvi(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, GLint))
+{
+ SET_by_offset(disp, _gloffset_TexEnvi, fn);
}
-typedef void (GLAPIENTRYP _glptr_TexEnviv)(GLenum, GLenum, const GLint *);
+typedef void (GLAPIENTRYP _glptr_TexEnviv) (GLenum, GLenum, const GLint *);
+
#define CALL_TexEnviv(disp, parameters) \
(* GET_TexEnviv(disp)) parameters
-static inline _glptr_TexEnviv GET_TexEnviv(struct _glapi_table *disp) {
- return (_glptr_TexEnviv) (GET_by_offset(disp, _gloffset_TexEnviv));
+static inline _glptr_TexEnviv
+GET_TexEnviv(struct _glapi_table *disp)
+{
+ return (_glptr_TexEnviv) (GET_by_offset(disp, _gloffset_TexEnviv));
}
-static inline void SET_TexEnviv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLint *)) {
- SET_by_offset(disp, _gloffset_TexEnviv, fn);
+static inline void
+SET_TexEnviv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, const GLint *))
+{
+ SET_by_offset(disp, _gloffset_TexEnviv, fn);
}
-typedef void (GLAPIENTRYP _glptr_TexGend)(GLenum, GLenum, GLdouble);
+typedef void (GLAPIENTRYP _glptr_TexGend) (GLenum, GLenum, GLdouble);
+
#define CALL_TexGend(disp, parameters) \
(* GET_TexGend(disp)) parameters
-static inline _glptr_TexGend GET_TexGend(struct _glapi_table *disp) {
- return (_glptr_TexGend) (GET_by_offset(disp, _gloffset_TexGend));
+static inline _glptr_TexGend
+GET_TexGend(struct _glapi_table *disp)
+{
+ return (_glptr_TexGend) (GET_by_offset(disp, _gloffset_TexGend));
}
-static inline void SET_TexGend(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLdouble)) {
- SET_by_offset(disp, _gloffset_TexGend, fn);
+static inline void
+SET_TexGend(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, GLdouble))
+{
+ SET_by_offset(disp, _gloffset_TexGend, fn);
}
-typedef void (GLAPIENTRYP _glptr_TexGendv)(GLenum, GLenum, const GLdouble *);
+typedef void (GLAPIENTRYP _glptr_TexGendv) (GLenum, GLenum, const GLdouble *);
+
#define CALL_TexGendv(disp, parameters) \
(* GET_TexGendv(disp)) parameters
-static inline _glptr_TexGendv GET_TexGendv(struct _glapi_table *disp) {
- return (_glptr_TexGendv) (GET_by_offset(disp, _gloffset_TexGendv));
+static inline _glptr_TexGendv
+GET_TexGendv(struct _glapi_table *disp)
+{
+ return (_glptr_TexGendv) (GET_by_offset(disp, _gloffset_TexGendv));
}
-static inline void SET_TexGendv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLdouble *)) {
- SET_by_offset(disp, _gloffset_TexGendv, fn);
+static inline void
+SET_TexGendv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, const GLdouble *))
+{
+ SET_by_offset(disp, _gloffset_TexGendv, fn);
}
-typedef void (GLAPIENTRYP _glptr_TexGenf)(GLenum, GLenum, GLfloat);
+typedef void (GLAPIENTRYP _glptr_TexGenf) (GLenum, GLenum, GLfloat);
+
#define CALL_TexGenf(disp, parameters) \
(* GET_TexGenf(disp)) parameters
-static inline _glptr_TexGenf GET_TexGenf(struct _glapi_table *disp) {
- return (_glptr_TexGenf) (GET_by_offset(disp, _gloffset_TexGenf));
+static inline _glptr_TexGenf
+GET_TexGenf(struct _glapi_table *disp)
+{
+ return (_glptr_TexGenf) (GET_by_offset(disp, _gloffset_TexGenf));
}
-static inline void SET_TexGenf(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfloat)) {
- SET_by_offset(disp, _gloffset_TexGenf, fn);
+static inline void
+SET_TexGenf(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, GLfloat))
+{
+ SET_by_offset(disp, _gloffset_TexGenf, fn);
}
-typedef void (GLAPIENTRYP _glptr_TexGenfv)(GLenum, GLenum, const GLfloat *);
+typedef void (GLAPIENTRYP _glptr_TexGenfv) (GLenum, GLenum, const GLfloat *);
+
#define CALL_TexGenfv(disp, parameters) \
(* GET_TexGenfv(disp)) parameters
-static inline _glptr_TexGenfv GET_TexGenfv(struct _glapi_table *disp) {
- return (_glptr_TexGenfv) (GET_by_offset(disp, _gloffset_TexGenfv));
+static inline _glptr_TexGenfv
+GET_TexGenfv(struct _glapi_table *disp)
+{
+ return (_glptr_TexGenfv) (GET_by_offset(disp, _gloffset_TexGenfv));
}
-static inline void SET_TexGenfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLfloat *)) {
- SET_by_offset(disp, _gloffset_TexGenfv, fn);
+static inline void
+SET_TexGenfv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, const GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_TexGenfv, fn);
}
-typedef void (GLAPIENTRYP _glptr_TexGeni)(GLenum, GLenum, GLint);
+typedef void (GLAPIENTRYP _glptr_TexGeni) (GLenum, GLenum, GLint);
+
#define CALL_TexGeni(disp, parameters) \
(* GET_TexGeni(disp)) parameters
-static inline _glptr_TexGeni GET_TexGeni(struct _glapi_table *disp) {
- return (_glptr_TexGeni) (GET_by_offset(disp, _gloffset_TexGeni));
+static inline _glptr_TexGeni
+GET_TexGeni(struct _glapi_table *disp)
+{
+ return (_glptr_TexGeni) (GET_by_offset(disp, _gloffset_TexGeni));
}
-static inline void SET_TexGeni(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint)) {
- SET_by_offset(disp, _gloffset_TexGeni, fn);
+static inline void
+SET_TexGeni(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, GLint))
+{
+ SET_by_offset(disp, _gloffset_TexGeni, fn);
}
-typedef void (GLAPIENTRYP _glptr_TexGeniv)(GLenum, GLenum, const GLint *);
+typedef void (GLAPIENTRYP _glptr_TexGeniv) (GLenum, GLenum, const GLint *);
+
#define CALL_TexGeniv(disp, parameters) \
(* GET_TexGeniv(disp)) parameters
-static inline _glptr_TexGeniv GET_TexGeniv(struct _glapi_table *disp) {
- return (_glptr_TexGeniv) (GET_by_offset(disp, _gloffset_TexGeniv));
+static inline _glptr_TexGeniv
+GET_TexGeniv(struct _glapi_table *disp)
+{
+ return (_glptr_TexGeniv) (GET_by_offset(disp, _gloffset_TexGeniv));
}
-static inline void SET_TexGeniv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLint *)) {
- SET_by_offset(disp, _gloffset_TexGeniv, fn);
+static inline void
+SET_TexGeniv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, const GLint *))
+{
+ SET_by_offset(disp, _gloffset_TexGeniv, fn);
}
-typedef void (GLAPIENTRYP _glptr_FeedbackBuffer)(GLsizei, GLenum, GLfloat *);
+typedef void (GLAPIENTRYP _glptr_FeedbackBuffer) (GLsizei, GLenum, GLfloat *);
+
#define CALL_FeedbackBuffer(disp, parameters) \
(* GET_FeedbackBuffer(disp)) parameters
-static inline _glptr_FeedbackBuffer GET_FeedbackBuffer(struct _glapi_table *disp) {
- return (_glptr_FeedbackBuffer) (GET_by_offset(disp, _gloffset_FeedbackBuffer));
+static inline _glptr_FeedbackBuffer
+GET_FeedbackBuffer(struct _glapi_table *disp)
+{
+ return (_glptr_FeedbackBuffer) (GET_by_offset
+ (disp, _gloffset_FeedbackBuffer));
}
-static inline void SET_FeedbackBuffer(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, GLenum, GLfloat *)) {
- SET_by_offset(disp, _gloffset_FeedbackBuffer, fn);
+static inline void
+SET_FeedbackBuffer(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLsizei, GLenum, GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_FeedbackBuffer, fn);
}
-typedef void (GLAPIENTRYP _glptr_SelectBuffer)(GLsizei, GLuint *);
+typedef void (GLAPIENTRYP _glptr_SelectBuffer) (GLsizei, GLuint *);
+
#define CALL_SelectBuffer(disp, parameters) \
(* GET_SelectBuffer(disp)) parameters
-static inline _glptr_SelectBuffer GET_SelectBuffer(struct _glapi_table *disp) {
- return (_glptr_SelectBuffer) (GET_by_offset(disp, _gloffset_SelectBuffer));
+static inline _glptr_SelectBuffer
+GET_SelectBuffer(struct _glapi_table *disp)
+{
+ return (_glptr_SelectBuffer) (GET_by_offset(disp, _gloffset_SelectBuffer));
}
-static inline void SET_SelectBuffer(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, GLuint *)) {
- SET_by_offset(disp, _gloffset_SelectBuffer, fn);
+static inline void
+SET_SelectBuffer(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLsizei, GLuint *))
+{
+ SET_by_offset(disp, _gloffset_SelectBuffer, fn);
}
-typedef GLint (GLAPIENTRYP _glptr_RenderMode)(GLenum);
+typedef GLint(GLAPIENTRYP _glptr_RenderMode) (GLenum);
+
#define CALL_RenderMode(disp, parameters) \
(* GET_RenderMode(disp)) parameters
-static inline _glptr_RenderMode GET_RenderMode(struct _glapi_table *disp) {
- return (_glptr_RenderMode) (GET_by_offset(disp, _gloffset_RenderMode));
+static inline _glptr_RenderMode
+GET_RenderMode(struct _glapi_table *disp)
+{
+ return (_glptr_RenderMode) (GET_by_offset(disp, _gloffset_RenderMode));
}
-static inline void SET_RenderMode(struct _glapi_table *disp, GLint (GLAPIENTRYP fn)(GLenum)) {
- SET_by_offset(disp, _gloffset_RenderMode, fn);
+static inline void
+SET_RenderMode(struct _glapi_table *disp, GLint(GLAPIENTRYP fn) (GLenum))
+{
+ SET_by_offset(disp, _gloffset_RenderMode, fn);
}
-typedef void (GLAPIENTRYP _glptr_InitNames)(void);
+typedef void (GLAPIENTRYP _glptr_InitNames) (void);
+
#define CALL_InitNames(disp, parameters) \
(* GET_InitNames(disp)) parameters
-static inline _glptr_InitNames GET_InitNames(struct _glapi_table *disp) {
- return (_glptr_InitNames) (GET_by_offset(disp, _gloffset_InitNames));
+static inline _glptr_InitNames
+GET_InitNames(struct _glapi_table *disp)
+{
+ return (_glptr_InitNames) (GET_by_offset(disp, _gloffset_InitNames));
}
-static inline void SET_InitNames(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) {
- SET_by_offset(disp, _gloffset_InitNames, fn);
+static inline void
+SET_InitNames(struct _glapi_table *disp, void (GLAPIENTRYP fn) (void))
+{
+ SET_by_offset(disp, _gloffset_InitNames, fn);
}
-typedef void (GLAPIENTRYP _glptr_LoadName)(GLuint);
+typedef void (GLAPIENTRYP _glptr_LoadName) (GLuint);
+
#define CALL_LoadName(disp, parameters) \
(* GET_LoadName(disp)) parameters
-static inline _glptr_LoadName GET_LoadName(struct _glapi_table *disp) {
- return (_glptr_LoadName) (GET_by_offset(disp, _gloffset_LoadName));
+static inline _glptr_LoadName
+GET_LoadName(struct _glapi_table *disp)
+{
+ return (_glptr_LoadName) (GET_by_offset(disp, _gloffset_LoadName));
}
-static inline void SET_LoadName(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint)) {
- SET_by_offset(disp, _gloffset_LoadName, fn);
+static inline void
+SET_LoadName(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLuint))
+{
+ SET_by_offset(disp, _gloffset_LoadName, fn);
}
-typedef void (GLAPIENTRYP _glptr_PassThrough)(GLfloat);
+typedef void (GLAPIENTRYP _glptr_PassThrough) (GLfloat);
+
#define CALL_PassThrough(disp, parameters) \
(* GET_PassThrough(disp)) parameters
-static inline _glptr_PassThrough GET_PassThrough(struct _glapi_table *disp) {
- return (_glptr_PassThrough) (GET_by_offset(disp, _gloffset_PassThrough));
+static inline _glptr_PassThrough
+GET_PassThrough(struct _glapi_table *disp)
+{
+ return (_glptr_PassThrough) (GET_by_offset(disp, _gloffset_PassThrough));
}
-static inline void SET_PassThrough(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat)) {
- SET_by_offset(disp, _gloffset_PassThrough, fn);
+static inline void
+SET_PassThrough(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLfloat))
+{
+ SET_by_offset(disp, _gloffset_PassThrough, fn);
}
-typedef void (GLAPIENTRYP _glptr_PopName)(void);
+typedef void (GLAPIENTRYP _glptr_PopName) (void);
+
#define CALL_PopName(disp, parameters) \
(* GET_PopName(disp)) parameters
-static inline _glptr_PopName GET_PopName(struct _glapi_table *disp) {
- return (_glptr_PopName) (GET_by_offset(disp, _gloffset_PopName));
+static inline _glptr_PopName
+GET_PopName(struct _glapi_table *disp)
+{
+ return (_glptr_PopName) (GET_by_offset(disp, _gloffset_PopName));
}
-static inline void SET_PopName(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) {
- SET_by_offset(disp, _gloffset_PopName, fn);
+static inline void
+SET_PopName(struct _glapi_table *disp, void (GLAPIENTRYP fn) (void))
+{
+ SET_by_offset(disp, _gloffset_PopName, fn);
}
-typedef void (GLAPIENTRYP _glptr_PushName)(GLuint);
+typedef void (GLAPIENTRYP _glptr_PushName) (GLuint);
+
#define CALL_PushName(disp, parameters) \
(* GET_PushName(disp)) parameters
-static inline _glptr_PushName GET_PushName(struct _glapi_table *disp) {
- return (_glptr_PushName) (GET_by_offset(disp, _gloffset_PushName));
+static inline _glptr_PushName
+GET_PushName(struct _glapi_table *disp)
+{
+ return (_glptr_PushName) (GET_by_offset(disp, _gloffset_PushName));
}
-static inline void SET_PushName(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint)) {
- SET_by_offset(disp, _gloffset_PushName, fn);
+static inline void
+SET_PushName(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLuint))
+{
+ SET_by_offset(disp, _gloffset_PushName, fn);
}
-typedef void (GLAPIENTRYP _glptr_DrawBuffer)(GLenum);
+typedef void (GLAPIENTRYP _glptr_DrawBuffer) (GLenum);
+
#define CALL_DrawBuffer(disp, parameters) \
(* GET_DrawBuffer(disp)) parameters
-static inline _glptr_DrawBuffer GET_DrawBuffer(struct _glapi_table *disp) {
- return (_glptr_DrawBuffer) (GET_by_offset(disp, _gloffset_DrawBuffer));
+static inline _glptr_DrawBuffer
+GET_DrawBuffer(struct _glapi_table *disp)
+{
+ return (_glptr_DrawBuffer) (GET_by_offset(disp, _gloffset_DrawBuffer));
}
-static inline void SET_DrawBuffer(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) {
- SET_by_offset(disp, _gloffset_DrawBuffer, fn);
+static inline void
+SET_DrawBuffer(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLenum))
+{
+ SET_by_offset(disp, _gloffset_DrawBuffer, fn);
}
-typedef void (GLAPIENTRYP _glptr_Clear)(GLbitfield);
+typedef void (GLAPIENTRYP _glptr_Clear) (GLbitfield);
+
#define CALL_Clear(disp, parameters) \
(* GET_Clear(disp)) parameters
-static inline _glptr_Clear GET_Clear(struct _glapi_table *disp) {
- return (_glptr_Clear) (GET_by_offset(disp, _gloffset_Clear));
+static inline _glptr_Clear
+GET_Clear(struct _glapi_table *disp)
+{
+ return (_glptr_Clear) (GET_by_offset(disp, _gloffset_Clear));
}
-static inline void SET_Clear(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLbitfield)) {
- SET_by_offset(disp, _gloffset_Clear, fn);
+static inline void
+SET_Clear(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLbitfield))
+{
+ SET_by_offset(disp, _gloffset_Clear, fn);
}
-typedef void (GLAPIENTRYP _glptr_ClearAccum)(GLfloat, GLfloat, GLfloat, GLfloat);
+typedef void (GLAPIENTRYP _glptr_ClearAccum) (GLfloat, GLfloat, GLfloat,
+ GLfloat);
#define CALL_ClearAccum(disp, parameters) \
(* GET_ClearAccum(disp)) parameters
-static inline _glptr_ClearAccum GET_ClearAccum(struct _glapi_table *disp) {
- return (_glptr_ClearAccum) (GET_by_offset(disp, _gloffset_ClearAccum));
+static inline _glptr_ClearAccum
+GET_ClearAccum(struct _glapi_table *disp)
+{
+ return (_glptr_ClearAccum) (GET_by_offset(disp, _gloffset_ClearAccum));
}
-static inline void SET_ClearAccum(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat, GLfloat, GLfloat)) {
- SET_by_offset(disp, _gloffset_ClearAccum, fn);
+static inline void
+SET_ClearAccum(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLfloat, GLfloat, GLfloat, GLfloat))
+{
+ SET_by_offset(disp, _gloffset_ClearAccum, fn);
}
-typedef void (GLAPIENTRYP _glptr_ClearIndex)(GLfloat);
+typedef void (GLAPIENTRYP _glptr_ClearIndex) (GLfloat);
+
#define CALL_ClearIndex(disp, parameters) \
(* GET_ClearIndex(disp)) parameters
-static inline _glptr_ClearIndex GET_ClearIndex(struct _glapi_table *disp) {
- return (_glptr_ClearIndex) (GET_by_offset(disp, _gloffset_ClearIndex));
+static inline _glptr_ClearIndex
+GET_ClearIndex(struct _glapi_table *disp)
+{
+ return (_glptr_ClearIndex) (GET_by_offset(disp, _gloffset_ClearIndex));
}
-static inline void SET_ClearIndex(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat)) {
- SET_by_offset(disp, _gloffset_ClearIndex, fn);
+static inline void
+SET_ClearIndex(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLfloat))
+{
+ SET_by_offset(disp, _gloffset_ClearIndex, fn);
}
-typedef void (GLAPIENTRYP _glptr_ClearColor)(GLclampf, GLclampf, GLclampf, GLclampf);
+typedef void (GLAPIENTRYP _glptr_ClearColor) (GLclampf, GLclampf, GLclampf,
+ GLclampf);
#define CALL_ClearColor(disp, parameters) \
(* GET_ClearColor(disp)) parameters
-static inline _glptr_ClearColor GET_ClearColor(struct _glapi_table *disp) {
- return (_glptr_ClearColor) (GET_by_offset(disp, _gloffset_ClearColor));
+static inline _glptr_ClearColor
+GET_ClearColor(struct _glapi_table *disp)
+{
+ return (_glptr_ClearColor) (GET_by_offset(disp, _gloffset_ClearColor));
}
-static inline void SET_ClearColor(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLclampf, GLclampf, GLclampf, GLclampf)) {
- SET_by_offset(disp, _gloffset_ClearColor, fn);
+static inline void
+SET_ClearColor(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLclampf, GLclampf, GLclampf, GLclampf))
+{
+ SET_by_offset(disp, _gloffset_ClearColor, fn);
}
-typedef void (GLAPIENTRYP _glptr_ClearStencil)(GLint);
+typedef void (GLAPIENTRYP _glptr_ClearStencil) (GLint);
+
#define CALL_ClearStencil(disp, parameters) \
(* GET_ClearStencil(disp)) parameters
-static inline _glptr_ClearStencil GET_ClearStencil(struct _glapi_table *disp) {
- return (_glptr_ClearStencil) (GET_by_offset(disp, _gloffset_ClearStencil));
+static inline _glptr_ClearStencil
+GET_ClearStencil(struct _glapi_table *disp)
+{
+ return (_glptr_ClearStencil) (GET_by_offset(disp, _gloffset_ClearStencil));
}
-static inline void SET_ClearStencil(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint)) {
- SET_by_offset(disp, _gloffset_ClearStencil, fn);
+static inline void
+SET_ClearStencil(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLint))
+{
+ SET_by_offset(disp, _gloffset_ClearStencil, fn);
}
-typedef void (GLAPIENTRYP _glptr_ClearDepth)(GLclampd);
+typedef void (GLAPIENTRYP _glptr_ClearDepth) (GLclampd);
+
#define CALL_ClearDepth(disp, parameters) \
(* GET_ClearDepth(disp)) parameters
-static inline _glptr_ClearDepth GET_ClearDepth(struct _glapi_table *disp) {
- return (_glptr_ClearDepth) (GET_by_offset(disp, _gloffset_ClearDepth));
+static inline _glptr_ClearDepth
+GET_ClearDepth(struct _glapi_table *disp)
+{
+ return (_glptr_ClearDepth) (GET_by_offset(disp, _gloffset_ClearDepth));
}
-static inline void SET_ClearDepth(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLclampd)) {
- SET_by_offset(disp, _gloffset_ClearDepth, fn);
+static inline void
+SET_ClearDepth(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLclampd))
+{
+ SET_by_offset(disp, _gloffset_ClearDepth, fn);
}
-typedef void (GLAPIENTRYP _glptr_StencilMask)(GLuint);
+typedef void (GLAPIENTRYP _glptr_StencilMask) (GLuint);
+
#define CALL_StencilMask(disp, parameters) \
(* GET_StencilMask(disp)) parameters
-static inline _glptr_StencilMask GET_StencilMask(struct _glapi_table *disp) {
- return (_glptr_StencilMask) (GET_by_offset(disp, _gloffset_StencilMask));
+static inline _glptr_StencilMask
+GET_StencilMask(struct _glapi_table *disp)
+{
+ return (_glptr_StencilMask) (GET_by_offset(disp, _gloffset_StencilMask));
}
-static inline void SET_StencilMask(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint)) {
- SET_by_offset(disp, _gloffset_StencilMask, fn);
+static inline void
+SET_StencilMask(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLuint))
+{
+ SET_by_offset(disp, _gloffset_StencilMask, fn);
}
-typedef void (GLAPIENTRYP _glptr_ColorMask)(GLboolean, GLboolean, GLboolean, GLboolean);
+typedef void (GLAPIENTRYP _glptr_ColorMask) (GLboolean, GLboolean, GLboolean,
+ GLboolean);
#define CALL_ColorMask(disp, parameters) \
(* GET_ColorMask(disp)) parameters
-static inline _glptr_ColorMask GET_ColorMask(struct _glapi_table *disp) {
- return (_glptr_ColorMask) (GET_by_offset(disp, _gloffset_ColorMask));
+static inline _glptr_ColorMask
+GET_ColorMask(struct _glapi_table *disp)
+{
+ return (_glptr_ColorMask) (GET_by_offset(disp, _gloffset_ColorMask));
}
-static inline void SET_ColorMask(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLboolean, GLboolean, GLboolean, GLboolean)) {
- SET_by_offset(disp, _gloffset_ColorMask, fn);
+static inline void
+SET_ColorMask(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLboolean, GLboolean, GLboolean,
+ GLboolean))
+{
+ SET_by_offset(disp, _gloffset_ColorMask, fn);
}
-typedef void (GLAPIENTRYP _glptr_DepthMask)(GLboolean);
+typedef void (GLAPIENTRYP _glptr_DepthMask) (GLboolean);
+
#define CALL_DepthMask(disp, parameters) \
(* GET_DepthMask(disp)) parameters
-static inline _glptr_DepthMask GET_DepthMask(struct _glapi_table *disp) {
- return (_glptr_DepthMask) (GET_by_offset(disp, _gloffset_DepthMask));
+static inline _glptr_DepthMask
+GET_DepthMask(struct _glapi_table *disp)
+{
+ return (_glptr_DepthMask) (GET_by_offset(disp, _gloffset_DepthMask));
}
-static inline void SET_DepthMask(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLboolean)) {
- SET_by_offset(disp, _gloffset_DepthMask, fn);
+static inline void
+SET_DepthMask(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLboolean))
+{
+ SET_by_offset(disp, _gloffset_DepthMask, fn);
}
-typedef void (GLAPIENTRYP _glptr_IndexMask)(GLuint);
+typedef void (GLAPIENTRYP _glptr_IndexMask) (GLuint);
+
#define CALL_IndexMask(disp, parameters) \
(* GET_IndexMask(disp)) parameters
-static inline _glptr_IndexMask GET_IndexMask(struct _glapi_table *disp) {
- return (_glptr_IndexMask) (GET_by_offset(disp, _gloffset_IndexMask));
+static inline _glptr_IndexMask
+GET_IndexMask(struct _glapi_table *disp)
+{
+ return (_glptr_IndexMask) (GET_by_offset(disp, _gloffset_IndexMask));
}
-static inline void SET_IndexMask(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint)) {
- SET_by_offset(disp, _gloffset_IndexMask, fn);
+static inline void
+SET_IndexMask(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLuint))
+{
+ SET_by_offset(disp, _gloffset_IndexMask, fn);
}
-typedef void (GLAPIENTRYP _glptr_Accum)(GLenum, GLfloat);
+typedef void (GLAPIENTRYP _glptr_Accum) (GLenum, GLfloat);
+
#define CALL_Accum(disp, parameters) \
(* GET_Accum(disp)) parameters
-static inline _glptr_Accum GET_Accum(struct _glapi_table *disp) {
- return (_glptr_Accum) (GET_by_offset(disp, _gloffset_Accum));
+static inline _glptr_Accum
+GET_Accum(struct _glapi_table *disp)
+{
+ return (_glptr_Accum) (GET_by_offset(disp, _gloffset_Accum));
}
-static inline void SET_Accum(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLfloat)) {
- SET_by_offset(disp, _gloffset_Accum, fn);
+static inline void
+SET_Accum(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLenum, GLfloat))
+{
+ SET_by_offset(disp, _gloffset_Accum, fn);
}
-typedef void (GLAPIENTRYP _glptr_Disable)(GLenum);
+typedef void (GLAPIENTRYP _glptr_Disable) (GLenum);
+
#define CALL_Disable(disp, parameters) \
(* GET_Disable(disp)) parameters
-static inline _glptr_Disable GET_Disable(struct _glapi_table *disp) {
- return (_glptr_Disable) (GET_by_offset(disp, _gloffset_Disable));
+static inline _glptr_Disable
+GET_Disable(struct _glapi_table *disp)
+{
+ return (_glptr_Disable) (GET_by_offset(disp, _gloffset_Disable));
}
-static inline void SET_Disable(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) {
- SET_by_offset(disp, _gloffset_Disable, fn);
+static inline void
+SET_Disable(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLenum))
+{
+ SET_by_offset(disp, _gloffset_Disable, fn);
}
-typedef void (GLAPIENTRYP _glptr_Enable)(GLenum);
+typedef void (GLAPIENTRYP _glptr_Enable) (GLenum);
+
#define CALL_Enable(disp, parameters) \
(* GET_Enable(disp)) parameters
-static inline _glptr_Enable GET_Enable(struct _glapi_table *disp) {
- return (_glptr_Enable) (GET_by_offset(disp, _gloffset_Enable));
+static inline _glptr_Enable
+GET_Enable(struct _glapi_table *disp)
+{
+ return (_glptr_Enable) (GET_by_offset(disp, _gloffset_Enable));
}
-static inline void SET_Enable(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) {
- SET_by_offset(disp, _gloffset_Enable, fn);
+static inline void
+SET_Enable(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLenum))
+{
+ SET_by_offset(disp, _gloffset_Enable, fn);
}
-typedef void (GLAPIENTRYP _glptr_Finish)(void);
+typedef void (GLAPIENTRYP _glptr_Finish) (void);
+
#define CALL_Finish(disp, parameters) \
(* GET_Finish(disp)) parameters
-static inline _glptr_Finish GET_Finish(struct _glapi_table *disp) {
- return (_glptr_Finish) (GET_by_offset(disp, _gloffset_Finish));
+static inline _glptr_Finish
+GET_Finish(struct _glapi_table *disp)
+{
+ return (_glptr_Finish) (GET_by_offset(disp, _gloffset_Finish));
}
-static inline void SET_Finish(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) {
- SET_by_offset(disp, _gloffset_Finish, fn);
+static inline void
+SET_Finish(struct _glapi_table *disp, void (GLAPIENTRYP fn) (void))
+{
+ SET_by_offset(disp, _gloffset_Finish, fn);
}
-typedef void (GLAPIENTRYP _glptr_Flush)(void);
+typedef void (GLAPIENTRYP _glptr_Flush) (void);
+
#define CALL_Flush(disp, parameters) \
(* GET_Flush(disp)) parameters
-static inline _glptr_Flush GET_Flush(struct _glapi_table *disp) {
- return (_glptr_Flush) (GET_by_offset(disp, _gloffset_Flush));
+static inline _glptr_Flush
+GET_Flush(struct _glapi_table *disp)
+{
+ return (_glptr_Flush) (GET_by_offset(disp, _gloffset_Flush));
}
-static inline void SET_Flush(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) {
- SET_by_offset(disp, _gloffset_Flush, fn);
+static inline void
+SET_Flush(struct _glapi_table *disp, void (GLAPIENTRYP fn) (void))
+{
+ SET_by_offset(disp, _gloffset_Flush, fn);
}
-typedef void (GLAPIENTRYP _glptr_PopAttrib)(void);
+typedef void (GLAPIENTRYP _glptr_PopAttrib) (void);
+
#define CALL_PopAttrib(disp, parameters) \
(* GET_PopAttrib(disp)) parameters
-static inline _glptr_PopAttrib GET_PopAttrib(struct _glapi_table *disp) {
- return (_glptr_PopAttrib) (GET_by_offset(disp, _gloffset_PopAttrib));
+static inline _glptr_PopAttrib
+GET_PopAttrib(struct _glapi_table *disp)
+{
+ return (_glptr_PopAttrib) (GET_by_offset(disp, _gloffset_PopAttrib));
}
-static inline void SET_PopAttrib(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) {
- SET_by_offset(disp, _gloffset_PopAttrib, fn);
+static inline void
+SET_PopAttrib(struct _glapi_table *disp, void (GLAPIENTRYP fn) (void))
+{
+ SET_by_offset(disp, _gloffset_PopAttrib, fn);
}
-typedef void (GLAPIENTRYP _glptr_PushAttrib)(GLbitfield);
+typedef void (GLAPIENTRYP _glptr_PushAttrib) (GLbitfield);
+
#define CALL_PushAttrib(disp, parameters) \
(* GET_PushAttrib(disp)) parameters
-static inline _glptr_PushAttrib GET_PushAttrib(struct _glapi_table *disp) {
- return (_glptr_PushAttrib) (GET_by_offset(disp, _gloffset_PushAttrib));
+static inline _glptr_PushAttrib
+GET_PushAttrib(struct _glapi_table *disp)
+{
+ return (_glptr_PushAttrib) (GET_by_offset(disp, _gloffset_PushAttrib));
}
-static inline void SET_PushAttrib(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLbitfield)) {
- SET_by_offset(disp, _gloffset_PushAttrib, fn);
+static inline void
+SET_PushAttrib(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLbitfield))
+{
+ SET_by_offset(disp, _gloffset_PushAttrib, fn);
}
-typedef void (GLAPIENTRYP _glptr_Map1d)(GLenum, GLdouble, GLdouble, GLint, GLint, const GLdouble *);
+typedef void (GLAPIENTRYP _glptr_Map1d) (GLenum, GLdouble, GLdouble, GLint,
+ GLint, const GLdouble *);
#define CALL_Map1d(disp, parameters) \
(* GET_Map1d(disp)) parameters
-static inline _glptr_Map1d GET_Map1d(struct _glapi_table *disp) {
- return (_glptr_Map1d) (GET_by_offset(disp, _gloffset_Map1d));
+static inline _glptr_Map1d
+GET_Map1d(struct _glapi_table *disp)
+{
+ return (_glptr_Map1d) (GET_by_offset(disp, _gloffset_Map1d));
}
-static inline void SET_Map1d(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLdouble, GLdouble, GLint, GLint, const GLdouble *)) {
- SET_by_offset(disp, _gloffset_Map1d, fn);
+static inline void
+SET_Map1d(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLdouble, GLdouble, GLint, GLint,
+ const GLdouble *))
+{
+ SET_by_offset(disp, _gloffset_Map1d, fn);
}
-typedef void (GLAPIENTRYP _glptr_Map1f)(GLenum, GLfloat, GLfloat, GLint, GLint, const GLfloat *);
+typedef void (GLAPIENTRYP _glptr_Map1f) (GLenum, GLfloat, GLfloat, GLint, GLint,
+ const GLfloat *);
#define CALL_Map1f(disp, parameters) \
(* GET_Map1f(disp)) parameters
-static inline _glptr_Map1f GET_Map1f(struct _glapi_table *disp) {
- return (_glptr_Map1f) (GET_by_offset(disp, _gloffset_Map1f));
+static inline _glptr_Map1f
+GET_Map1f(struct _glapi_table *disp)
+{
+ return (_glptr_Map1f) (GET_by_offset(disp, _gloffset_Map1f));
}
-static inline void SET_Map1f(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLfloat, GLfloat, GLint, GLint, const GLfloat *)) {
- SET_by_offset(disp, _gloffset_Map1f, fn);
+static inline void
+SET_Map1f(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLfloat, GLfloat, GLint, GLint,
+ const GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_Map1f, fn);
}
-typedef void (GLAPIENTRYP _glptr_Map2d)(GLenum, GLdouble, GLdouble, GLint, GLint, GLdouble, GLdouble, GLint, GLint, const GLdouble *);
+typedef void (GLAPIENTRYP _glptr_Map2d) (GLenum, GLdouble, GLdouble, GLint,
+ GLint, GLdouble, GLdouble, GLint,
+ GLint, const GLdouble *);
#define CALL_Map2d(disp, parameters) \
(* GET_Map2d(disp)) parameters
-static inline _glptr_Map2d GET_Map2d(struct _glapi_table *disp) {
- return (_glptr_Map2d) (GET_by_offset(disp, _gloffset_Map2d));
+static inline _glptr_Map2d
+GET_Map2d(struct _glapi_table *disp)
+{
+ return (_glptr_Map2d) (GET_by_offset(disp, _gloffset_Map2d));
}
-static inline void SET_Map2d(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLdouble, GLdouble, GLint, GLint, GLdouble, GLdouble, GLint, GLint, const GLdouble *)) {
- SET_by_offset(disp, _gloffset_Map2d, fn);
+static inline void
+SET_Map2d(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLdouble, GLdouble, GLint, GLint,
+ GLdouble, GLdouble, GLint, GLint,
+ const GLdouble *))
+{
+ SET_by_offset(disp, _gloffset_Map2d, fn);
}
-typedef void (GLAPIENTRYP _glptr_Map2f)(GLenum, GLfloat, GLfloat, GLint, GLint, GLfloat, GLfloat, GLint, GLint, const GLfloat *);
+typedef void (GLAPIENTRYP _glptr_Map2f) (GLenum, GLfloat, GLfloat, GLint, GLint,
+ GLfloat, GLfloat, GLint, GLint,
+ const GLfloat *);
#define CALL_Map2f(disp, parameters) \
(* GET_Map2f(disp)) parameters
-static inline _glptr_Map2f GET_Map2f(struct _glapi_table *disp) {
- return (_glptr_Map2f) (GET_by_offset(disp, _gloffset_Map2f));
+static inline _glptr_Map2f
+GET_Map2f(struct _glapi_table *disp)
+{
+ return (_glptr_Map2f) (GET_by_offset(disp, _gloffset_Map2f));
}
-static inline void SET_Map2f(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLfloat, GLfloat, GLint, GLint, GLfloat, GLfloat, GLint, GLint, const GLfloat *)) {
- SET_by_offset(disp, _gloffset_Map2f, fn);
+static inline void
+SET_Map2f(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLfloat, GLfloat, GLint, GLint,
+ GLfloat, GLfloat, GLint, GLint,
+ const GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_Map2f, fn);
}
-typedef void (GLAPIENTRYP _glptr_MapGrid1d)(GLint, GLdouble, GLdouble);
+typedef void (GLAPIENTRYP _glptr_MapGrid1d) (GLint, GLdouble, GLdouble);
+
#define CALL_MapGrid1d(disp, parameters) \
(* GET_MapGrid1d(disp)) parameters
-static inline _glptr_MapGrid1d GET_MapGrid1d(struct _glapi_table *disp) {
- return (_glptr_MapGrid1d) (GET_by_offset(disp, _gloffset_MapGrid1d));
+static inline _glptr_MapGrid1d
+GET_MapGrid1d(struct _glapi_table *disp)
+{
+ return (_glptr_MapGrid1d) (GET_by_offset(disp, _gloffset_MapGrid1d));
}
-static inline void SET_MapGrid1d(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLdouble, GLdouble)) {
- SET_by_offset(disp, _gloffset_MapGrid1d, fn);
+static inline void
+SET_MapGrid1d(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLint, GLdouble, GLdouble))
+{
+ SET_by_offset(disp, _gloffset_MapGrid1d, fn);
}
-typedef void (GLAPIENTRYP _glptr_MapGrid1f)(GLint, GLfloat, GLfloat);
+typedef void (GLAPIENTRYP _glptr_MapGrid1f) (GLint, GLfloat, GLfloat);
+
#define CALL_MapGrid1f(disp, parameters) \
(* GET_MapGrid1f(disp)) parameters
-static inline _glptr_MapGrid1f GET_MapGrid1f(struct _glapi_table *disp) {
- return (_glptr_MapGrid1f) (GET_by_offset(disp, _gloffset_MapGrid1f));
+static inline _glptr_MapGrid1f
+GET_MapGrid1f(struct _glapi_table *disp)
+{
+ return (_glptr_MapGrid1f) (GET_by_offset(disp, _gloffset_MapGrid1f));
}
-static inline void SET_MapGrid1f(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLfloat, GLfloat)) {
- SET_by_offset(disp, _gloffset_MapGrid1f, fn);
+static inline void
+SET_MapGrid1f(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLint, GLfloat, GLfloat))
+{
+ SET_by_offset(disp, _gloffset_MapGrid1f, fn);
}
-typedef void (GLAPIENTRYP _glptr_MapGrid2d)(GLint, GLdouble, GLdouble, GLint, GLdouble, GLdouble);
+typedef void (GLAPIENTRYP _glptr_MapGrid2d) (GLint, GLdouble, GLdouble, GLint,
+ GLdouble, GLdouble);
#define CALL_MapGrid2d(disp, parameters) \
(* GET_MapGrid2d(disp)) parameters
-static inline _glptr_MapGrid2d GET_MapGrid2d(struct _glapi_table *disp) {
- return (_glptr_MapGrid2d) (GET_by_offset(disp, _gloffset_MapGrid2d));
+static inline _glptr_MapGrid2d
+GET_MapGrid2d(struct _glapi_table *disp)
+{
+ return (_glptr_MapGrid2d) (GET_by_offset(disp, _gloffset_MapGrid2d));
}
-static inline void SET_MapGrid2d(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLdouble, GLdouble, GLint, GLdouble, GLdouble)) {
- SET_by_offset(disp, _gloffset_MapGrid2d, fn);
+static inline void
+SET_MapGrid2d(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLint, GLdouble, GLdouble, GLint, GLdouble,
+ GLdouble))
+{
+ SET_by_offset(disp, _gloffset_MapGrid2d, fn);
}
-typedef void (GLAPIENTRYP _glptr_MapGrid2f)(GLint, GLfloat, GLfloat, GLint, GLfloat, GLfloat);
+typedef void (GLAPIENTRYP _glptr_MapGrid2f) (GLint, GLfloat, GLfloat, GLint,
+ GLfloat, GLfloat);
#define CALL_MapGrid2f(disp, parameters) \
(* GET_MapGrid2f(disp)) parameters
-static inline _glptr_MapGrid2f GET_MapGrid2f(struct _glapi_table *disp) {
- return (_glptr_MapGrid2f) (GET_by_offset(disp, _gloffset_MapGrid2f));
+static inline _glptr_MapGrid2f
+GET_MapGrid2f(struct _glapi_table *disp)
+{
+ return (_glptr_MapGrid2f) (GET_by_offset(disp, _gloffset_MapGrid2f));
}
-static inline void SET_MapGrid2f(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLfloat, GLfloat, GLint, GLfloat, GLfloat)) {
- SET_by_offset(disp, _gloffset_MapGrid2f, fn);
+static inline void
+SET_MapGrid2f(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLint, GLfloat, GLfloat, GLint, GLfloat,
+ GLfloat))
+{
+ SET_by_offset(disp, _gloffset_MapGrid2f, fn);
}
-typedef void (GLAPIENTRYP _glptr_EvalCoord1d)(GLdouble);
+typedef void (GLAPIENTRYP _glptr_EvalCoord1d) (GLdouble);
+
#define CALL_EvalCoord1d(disp, parameters) \
(* GET_EvalCoord1d(disp)) parameters
-static inline _glptr_EvalCoord1d GET_EvalCoord1d(struct _glapi_table *disp) {
- return (_glptr_EvalCoord1d) (GET_by_offset(disp, _gloffset_EvalCoord1d));
+static inline _glptr_EvalCoord1d
+GET_EvalCoord1d(struct _glapi_table *disp)
+{
+ return (_glptr_EvalCoord1d) (GET_by_offset(disp, _gloffset_EvalCoord1d));
}
-static inline void SET_EvalCoord1d(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble)) {
- SET_by_offset(disp, _gloffset_EvalCoord1d, fn);
+static inline void
+SET_EvalCoord1d(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLdouble))
+{
+ SET_by_offset(disp, _gloffset_EvalCoord1d, fn);
}
-typedef void (GLAPIENTRYP _glptr_EvalCoord1dv)(const GLdouble *);
+typedef void (GLAPIENTRYP _glptr_EvalCoord1dv) (const GLdouble *);
+
#define CALL_EvalCoord1dv(disp, parameters) \
(* GET_EvalCoord1dv(disp)) parameters
-static inline _glptr_EvalCoord1dv GET_EvalCoord1dv(struct _glapi_table *disp) {
- return (_glptr_EvalCoord1dv) (GET_by_offset(disp, _gloffset_EvalCoord1dv));
+static inline _glptr_EvalCoord1dv
+GET_EvalCoord1dv(struct _glapi_table *disp)
+{
+ return (_glptr_EvalCoord1dv) (GET_by_offset(disp, _gloffset_EvalCoord1dv));
}
-static inline void SET_EvalCoord1dv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) {
- SET_by_offset(disp, _gloffset_EvalCoord1dv, fn);
+static inline void
+SET_EvalCoord1dv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (const GLdouble *))
+{
+ SET_by_offset(disp, _gloffset_EvalCoord1dv, fn);
}
-typedef void (GLAPIENTRYP _glptr_EvalCoord1f)(GLfloat);
+typedef void (GLAPIENTRYP _glptr_EvalCoord1f) (GLfloat);
+
#define CALL_EvalCoord1f(disp, parameters) \
(* GET_EvalCoord1f(disp)) parameters
-static inline _glptr_EvalCoord1f GET_EvalCoord1f(struct _glapi_table *disp) {
- return (_glptr_EvalCoord1f) (GET_by_offset(disp, _gloffset_EvalCoord1f));
+static inline _glptr_EvalCoord1f
+GET_EvalCoord1f(struct _glapi_table *disp)
+{
+ return (_glptr_EvalCoord1f) (GET_by_offset(disp, _gloffset_EvalCoord1f));
}
-static inline void SET_EvalCoord1f(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat)) {
- SET_by_offset(disp, _gloffset_EvalCoord1f, fn);
+static inline void
+SET_EvalCoord1f(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLfloat))
+{
+ SET_by_offset(disp, _gloffset_EvalCoord1f, fn);
}
-typedef void (GLAPIENTRYP _glptr_EvalCoord1fv)(const GLfloat *);
+typedef void (GLAPIENTRYP _glptr_EvalCoord1fv) (const GLfloat *);
+
#define CALL_EvalCoord1fv(disp, parameters) \
(* GET_EvalCoord1fv(disp)) parameters
-static inline _glptr_EvalCoord1fv GET_EvalCoord1fv(struct _glapi_table *disp) {
- return (_glptr_EvalCoord1fv) (GET_by_offset(disp, _gloffset_EvalCoord1fv));
+static inline _glptr_EvalCoord1fv
+GET_EvalCoord1fv(struct _glapi_table *disp)
+{
+ return (_glptr_EvalCoord1fv) (GET_by_offset(disp, _gloffset_EvalCoord1fv));
}
-static inline void SET_EvalCoord1fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) {
- SET_by_offset(disp, _gloffset_EvalCoord1fv, fn);
+static inline void
+SET_EvalCoord1fv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (const GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_EvalCoord1fv, fn);
}
-typedef void (GLAPIENTRYP _glptr_EvalCoord2d)(GLdouble, GLdouble);
+typedef void (GLAPIENTRYP _glptr_EvalCoord2d) (GLdouble, GLdouble);
+
#define CALL_EvalCoord2d(disp, parameters) \
(* GET_EvalCoord2d(disp)) parameters
-static inline _glptr_EvalCoord2d GET_EvalCoord2d(struct _glapi_table *disp) {
- return (_glptr_EvalCoord2d) (GET_by_offset(disp, _gloffset_EvalCoord2d));
+static inline _glptr_EvalCoord2d
+GET_EvalCoord2d(struct _glapi_table *disp)
+{
+ return (_glptr_EvalCoord2d) (GET_by_offset(disp, _gloffset_EvalCoord2d));
}
-static inline void SET_EvalCoord2d(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble)) {
- SET_by_offset(disp, _gloffset_EvalCoord2d, fn);
+static inline void
+SET_EvalCoord2d(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLdouble, GLdouble))
+{
+ SET_by_offset(disp, _gloffset_EvalCoord2d, fn);
}
-typedef void (GLAPIENTRYP _glptr_EvalCoord2dv)(const GLdouble *);
+typedef void (GLAPIENTRYP _glptr_EvalCoord2dv) (const GLdouble *);
+
#define CALL_EvalCoord2dv(disp, parameters) \
(* GET_EvalCoord2dv(disp)) parameters
-static inline _glptr_EvalCoord2dv GET_EvalCoord2dv(struct _glapi_table *disp) {
- return (_glptr_EvalCoord2dv) (GET_by_offset(disp, _gloffset_EvalCoord2dv));
+static inline _glptr_EvalCoord2dv
+GET_EvalCoord2dv(struct _glapi_table *disp)
+{
+ return (_glptr_EvalCoord2dv) (GET_by_offset(disp, _gloffset_EvalCoord2dv));
}
-static inline void SET_EvalCoord2dv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) {
- SET_by_offset(disp, _gloffset_EvalCoord2dv, fn);
+static inline void
+SET_EvalCoord2dv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (const GLdouble *))
+{
+ SET_by_offset(disp, _gloffset_EvalCoord2dv, fn);
}
-typedef void (GLAPIENTRYP _glptr_EvalCoord2f)(GLfloat, GLfloat);
+typedef void (GLAPIENTRYP _glptr_EvalCoord2f) (GLfloat, GLfloat);
+
#define CALL_EvalCoord2f(disp, parameters) \
(* GET_EvalCoord2f(disp)) parameters
-static inline _glptr_EvalCoord2f GET_EvalCoord2f(struct _glapi_table *disp) {
- return (_glptr_EvalCoord2f) (GET_by_offset(disp, _gloffset_EvalCoord2f));
+static inline _glptr_EvalCoord2f
+GET_EvalCoord2f(struct _glapi_table *disp)
+{
+ return (_glptr_EvalCoord2f) (GET_by_offset(disp, _gloffset_EvalCoord2f));
}
-static inline void SET_EvalCoord2f(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat)) {
- SET_by_offset(disp, _gloffset_EvalCoord2f, fn);
+static inline void
+SET_EvalCoord2f(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLfloat, GLfloat))
+{
+ SET_by_offset(disp, _gloffset_EvalCoord2f, fn);
}
-typedef void (GLAPIENTRYP _glptr_EvalCoord2fv)(const GLfloat *);
+typedef void (GLAPIENTRYP _glptr_EvalCoord2fv) (const GLfloat *);
+
#define CALL_EvalCoord2fv(disp, parameters) \
(* GET_EvalCoord2fv(disp)) parameters
-static inline _glptr_EvalCoord2fv GET_EvalCoord2fv(struct _glapi_table *disp) {
- return (_glptr_EvalCoord2fv) (GET_by_offset(disp, _gloffset_EvalCoord2fv));
+static inline _glptr_EvalCoord2fv
+GET_EvalCoord2fv(struct _glapi_table *disp)
+{
+ return (_glptr_EvalCoord2fv) (GET_by_offset(disp, _gloffset_EvalCoord2fv));
}
-static inline void SET_EvalCoord2fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) {
- SET_by_offset(disp, _gloffset_EvalCoord2fv, fn);
+static inline void
+SET_EvalCoord2fv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (const GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_EvalCoord2fv, fn);
}
-typedef void (GLAPIENTRYP _glptr_EvalMesh1)(GLenum, GLint, GLint);
+typedef void (GLAPIENTRYP _glptr_EvalMesh1) (GLenum, GLint, GLint);
+
#define CALL_EvalMesh1(disp, parameters) \
(* GET_EvalMesh1(disp)) parameters
-static inline _glptr_EvalMesh1 GET_EvalMesh1(struct _glapi_table *disp) {
- return (_glptr_EvalMesh1) (GET_by_offset(disp, _gloffset_EvalMesh1));
+static inline _glptr_EvalMesh1
+GET_EvalMesh1(struct _glapi_table *disp)
+{
+ return (_glptr_EvalMesh1) (GET_by_offset(disp, _gloffset_EvalMesh1));
}
-static inline void SET_EvalMesh1(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLint)) {
- SET_by_offset(disp, _gloffset_EvalMesh1, fn);
+static inline void
+SET_EvalMesh1(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLint, GLint))
+{
+ SET_by_offset(disp, _gloffset_EvalMesh1, fn);
}
-typedef void (GLAPIENTRYP _glptr_EvalPoint1)(GLint);
+typedef void (GLAPIENTRYP _glptr_EvalPoint1) (GLint);
+
#define CALL_EvalPoint1(disp, parameters) \
(* GET_EvalPoint1(disp)) parameters
-static inline _glptr_EvalPoint1 GET_EvalPoint1(struct _glapi_table *disp) {
- return (_glptr_EvalPoint1) (GET_by_offset(disp, _gloffset_EvalPoint1));
+static inline _glptr_EvalPoint1
+GET_EvalPoint1(struct _glapi_table *disp)
+{
+ return (_glptr_EvalPoint1) (GET_by_offset(disp, _gloffset_EvalPoint1));
}
-static inline void SET_EvalPoint1(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint)) {
- SET_by_offset(disp, _gloffset_EvalPoint1, fn);
+static inline void
+SET_EvalPoint1(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLint))
+{
+ SET_by_offset(disp, _gloffset_EvalPoint1, fn);
}
-typedef void (GLAPIENTRYP _glptr_EvalMesh2)(GLenum, GLint, GLint, GLint, GLint);
+typedef void (GLAPIENTRYP _glptr_EvalMesh2) (GLenum, GLint, GLint, GLint,
+ GLint);
#define CALL_EvalMesh2(disp, parameters) \
(* GET_EvalMesh2(disp)) parameters
-static inline _glptr_EvalMesh2 GET_EvalMesh2(struct _glapi_table *disp) {
- return (_glptr_EvalMesh2) (GET_by_offset(disp, _gloffset_EvalMesh2));
+static inline _glptr_EvalMesh2
+GET_EvalMesh2(struct _glapi_table *disp)
+{
+ return (_glptr_EvalMesh2) (GET_by_offset(disp, _gloffset_EvalMesh2));
}
-static inline void SET_EvalMesh2(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLint, GLint, GLint)) {
- SET_by_offset(disp, _gloffset_EvalMesh2, fn);
+static inline void
+SET_EvalMesh2(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLint, GLint, GLint, GLint))
+{
+ SET_by_offset(disp, _gloffset_EvalMesh2, fn);
}
-typedef void (GLAPIENTRYP _glptr_EvalPoint2)(GLint, GLint);
+typedef void (GLAPIENTRYP _glptr_EvalPoint2) (GLint, GLint);
+
#define CALL_EvalPoint2(disp, parameters) \
(* GET_EvalPoint2(disp)) parameters
-static inline _glptr_EvalPoint2 GET_EvalPoint2(struct _glapi_table *disp) {
- return (_glptr_EvalPoint2) (GET_by_offset(disp, _gloffset_EvalPoint2));
+static inline _glptr_EvalPoint2
+GET_EvalPoint2(struct _glapi_table *disp)
+{
+ return (_glptr_EvalPoint2) (GET_by_offset(disp, _gloffset_EvalPoint2));
}
-static inline void SET_EvalPoint2(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint)) {
- SET_by_offset(disp, _gloffset_EvalPoint2, fn);
+static inline void
+SET_EvalPoint2(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLint, GLint))
+{
+ SET_by_offset(disp, _gloffset_EvalPoint2, fn);
}
-typedef void (GLAPIENTRYP _glptr_AlphaFunc)(GLenum, GLclampf);
+typedef void (GLAPIENTRYP _glptr_AlphaFunc) (GLenum, GLclampf);
+
#define CALL_AlphaFunc(disp, parameters) \
(* GET_AlphaFunc(disp)) parameters
-static inline _glptr_AlphaFunc GET_AlphaFunc(struct _glapi_table *disp) {
- return (_glptr_AlphaFunc) (GET_by_offset(disp, _gloffset_AlphaFunc));
+static inline _glptr_AlphaFunc
+GET_AlphaFunc(struct _glapi_table *disp)
+{
+ return (_glptr_AlphaFunc) (GET_by_offset(disp, _gloffset_AlphaFunc));
}
-static inline void SET_AlphaFunc(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLclampf)) {
- SET_by_offset(disp, _gloffset_AlphaFunc, fn);
+static inline void
+SET_AlphaFunc(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLclampf))
+{
+ SET_by_offset(disp, _gloffset_AlphaFunc, fn);
}
-typedef void (GLAPIENTRYP _glptr_BlendFunc)(GLenum, GLenum);
+typedef void (GLAPIENTRYP _glptr_BlendFunc) (GLenum, GLenum);
+
#define CALL_BlendFunc(disp, parameters) \
(* GET_BlendFunc(disp)) parameters
-static inline _glptr_BlendFunc GET_BlendFunc(struct _glapi_table *disp) {
- return (_glptr_BlendFunc) (GET_by_offset(disp, _gloffset_BlendFunc));
+static inline _glptr_BlendFunc
+GET_BlendFunc(struct _glapi_table *disp)
+{
+ return (_glptr_BlendFunc) (GET_by_offset(disp, _gloffset_BlendFunc));
}
-static inline void SET_BlendFunc(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum)) {
- SET_by_offset(disp, _gloffset_BlendFunc, fn);
+static inline void
+SET_BlendFunc(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLenum, GLenum))
+{
+ SET_by_offset(disp, _gloffset_BlendFunc, fn);
}
-typedef void (GLAPIENTRYP _glptr_LogicOp)(GLenum);
+typedef void (GLAPIENTRYP _glptr_LogicOp) (GLenum);
+
#define CALL_LogicOp(disp, parameters) \
(* GET_LogicOp(disp)) parameters
-static inline _glptr_LogicOp GET_LogicOp(struct _glapi_table *disp) {
- return (_glptr_LogicOp) (GET_by_offset(disp, _gloffset_LogicOp));
+static inline _glptr_LogicOp
+GET_LogicOp(struct _glapi_table *disp)
+{
+ return (_glptr_LogicOp) (GET_by_offset(disp, _gloffset_LogicOp));
}
-static inline void SET_LogicOp(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) {
- SET_by_offset(disp, _gloffset_LogicOp, fn);
+static inline void
+SET_LogicOp(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLenum))
+{
+ SET_by_offset(disp, _gloffset_LogicOp, fn);
}
-typedef void (GLAPIENTRYP _glptr_StencilFunc)(GLenum, GLint, GLuint);
+typedef void (GLAPIENTRYP _glptr_StencilFunc) (GLenum, GLint, GLuint);
+
#define CALL_StencilFunc(disp, parameters) \
(* GET_StencilFunc(disp)) parameters
-static inline _glptr_StencilFunc GET_StencilFunc(struct _glapi_table *disp) {
- return (_glptr_StencilFunc) (GET_by_offset(disp, _gloffset_StencilFunc));
+static inline _glptr_StencilFunc
+GET_StencilFunc(struct _glapi_table *disp)
+{
+ return (_glptr_StencilFunc) (GET_by_offset(disp, _gloffset_StencilFunc));
}
-static inline void SET_StencilFunc(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLuint)) {
- SET_by_offset(disp, _gloffset_StencilFunc, fn);
+static inline void
+SET_StencilFunc(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLint, GLuint))
+{
+ SET_by_offset(disp, _gloffset_StencilFunc, fn);
}
-typedef void (GLAPIENTRYP _glptr_StencilOp)(GLenum, GLenum, GLenum);
+typedef void (GLAPIENTRYP _glptr_StencilOp) (GLenum, GLenum, GLenum);
+
#define CALL_StencilOp(disp, parameters) \
(* GET_StencilOp(disp)) parameters
-static inline _glptr_StencilOp GET_StencilOp(struct _glapi_table *disp) {
- return (_glptr_StencilOp) (GET_by_offset(disp, _gloffset_StencilOp));
+static inline _glptr_StencilOp
+GET_StencilOp(struct _glapi_table *disp)
+{
+ return (_glptr_StencilOp) (GET_by_offset(disp, _gloffset_StencilOp));
}
-static inline void SET_StencilOp(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLenum)) {
- SET_by_offset(disp, _gloffset_StencilOp, fn);
+static inline void
+SET_StencilOp(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, GLenum))
+{
+ SET_by_offset(disp, _gloffset_StencilOp, fn);
}
-typedef void (GLAPIENTRYP _glptr_DepthFunc)(GLenum);
+typedef void (GLAPIENTRYP _glptr_DepthFunc) (GLenum);
+
#define CALL_DepthFunc(disp, parameters) \
(* GET_DepthFunc(disp)) parameters
-static inline _glptr_DepthFunc GET_DepthFunc(struct _glapi_table *disp) {
- return (_glptr_DepthFunc) (GET_by_offset(disp, _gloffset_DepthFunc));
+static inline _glptr_DepthFunc
+GET_DepthFunc(struct _glapi_table *disp)
+{
+ return (_glptr_DepthFunc) (GET_by_offset(disp, _gloffset_DepthFunc));
}
-static inline void SET_DepthFunc(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) {
- SET_by_offset(disp, _gloffset_DepthFunc, fn);
+static inline void
+SET_DepthFunc(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLenum))
+{
+ SET_by_offset(disp, _gloffset_DepthFunc, fn);
}
-typedef void (GLAPIENTRYP _glptr_PixelZoom)(GLfloat, GLfloat);
+typedef void (GLAPIENTRYP _glptr_PixelZoom) (GLfloat, GLfloat);
+
#define CALL_PixelZoom(disp, parameters) \
(* GET_PixelZoom(disp)) parameters
-static inline _glptr_PixelZoom GET_PixelZoom(struct _glapi_table *disp) {
- return (_glptr_PixelZoom) (GET_by_offset(disp, _gloffset_PixelZoom));
+static inline _glptr_PixelZoom
+GET_PixelZoom(struct _glapi_table *disp)
+{
+ return (_glptr_PixelZoom) (GET_by_offset(disp, _gloffset_PixelZoom));
}
-static inline void SET_PixelZoom(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat)) {
- SET_by_offset(disp, _gloffset_PixelZoom, fn);
+static inline void
+SET_PixelZoom(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLfloat, GLfloat))
+{
+ SET_by_offset(disp, _gloffset_PixelZoom, fn);
}
-typedef void (GLAPIENTRYP _glptr_PixelTransferf)(GLenum, GLfloat);
+typedef void (GLAPIENTRYP _glptr_PixelTransferf) (GLenum, GLfloat);
+
#define CALL_PixelTransferf(disp, parameters) \
(* GET_PixelTransferf(disp)) parameters
-static inline _glptr_PixelTransferf GET_PixelTransferf(struct _glapi_table *disp) {
- return (_glptr_PixelTransferf) (GET_by_offset(disp, _gloffset_PixelTransferf));
+static inline _glptr_PixelTransferf
+GET_PixelTransferf(struct _glapi_table *disp)
+{
+ return (_glptr_PixelTransferf) (GET_by_offset
+ (disp, _gloffset_PixelTransferf));
}
-static inline void SET_PixelTransferf(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLfloat)) {
- SET_by_offset(disp, _gloffset_PixelTransferf, fn);
+static inline void
+SET_PixelTransferf(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLfloat))
+{
+ SET_by_offset(disp, _gloffset_PixelTransferf, fn);
}
-typedef void (GLAPIENTRYP _glptr_PixelTransferi)(GLenum, GLint);
+typedef void (GLAPIENTRYP _glptr_PixelTransferi) (GLenum, GLint);
+
#define CALL_PixelTransferi(disp, parameters) \
(* GET_PixelTransferi(disp)) parameters
-static inline _glptr_PixelTransferi GET_PixelTransferi(struct _glapi_table *disp) {
- return (_glptr_PixelTransferi) (GET_by_offset(disp, _gloffset_PixelTransferi));
+static inline _glptr_PixelTransferi
+GET_PixelTransferi(struct _glapi_table *disp)
+{
+ return (_glptr_PixelTransferi) (GET_by_offset
+ (disp, _gloffset_PixelTransferi));
}
-static inline void SET_PixelTransferi(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint)) {
- SET_by_offset(disp, _gloffset_PixelTransferi, fn);
+static inline void
+SET_PixelTransferi(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLint))
+{
+ SET_by_offset(disp, _gloffset_PixelTransferi, fn);
}
-typedef void (GLAPIENTRYP _glptr_PixelStoref)(GLenum, GLfloat);
+typedef void (GLAPIENTRYP _glptr_PixelStoref) (GLenum, GLfloat);
+
#define CALL_PixelStoref(disp, parameters) \
(* GET_PixelStoref(disp)) parameters
-static inline _glptr_PixelStoref GET_PixelStoref(struct _glapi_table *disp) {
- return (_glptr_PixelStoref) (GET_by_offset(disp, _gloffset_PixelStoref));
+static inline _glptr_PixelStoref
+GET_PixelStoref(struct _glapi_table *disp)
+{
+ return (_glptr_PixelStoref) (GET_by_offset(disp, _gloffset_PixelStoref));
}
-static inline void SET_PixelStoref(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLfloat)) {
- SET_by_offset(disp, _gloffset_PixelStoref, fn);
+static inline void
+SET_PixelStoref(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLfloat))
+{
+ SET_by_offset(disp, _gloffset_PixelStoref, fn);
}
-typedef void (GLAPIENTRYP _glptr_PixelStorei)(GLenum, GLint);
+typedef void (GLAPIENTRYP _glptr_PixelStorei) (GLenum, GLint);
+
#define CALL_PixelStorei(disp, parameters) \
(* GET_PixelStorei(disp)) parameters
-static inline _glptr_PixelStorei GET_PixelStorei(struct _glapi_table *disp) {
- return (_glptr_PixelStorei) (GET_by_offset(disp, _gloffset_PixelStorei));
+static inline _glptr_PixelStorei
+GET_PixelStorei(struct _glapi_table *disp)
+{
+ return (_glptr_PixelStorei) (GET_by_offset(disp, _gloffset_PixelStorei));
}
-static inline void SET_PixelStorei(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint)) {
- SET_by_offset(disp, _gloffset_PixelStorei, fn);
+static inline void
+SET_PixelStorei(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLint))
+{
+ SET_by_offset(disp, _gloffset_PixelStorei, fn);
}
-typedef void (GLAPIENTRYP _glptr_PixelMapfv)(GLenum, GLsizei, const GLfloat *);
+typedef void (GLAPIENTRYP _glptr_PixelMapfv) (GLenum, GLsizei, const GLfloat *);
+
#define CALL_PixelMapfv(disp, parameters) \
(* GET_PixelMapfv(disp)) parameters
-static inline _glptr_PixelMapfv GET_PixelMapfv(struct _glapi_table *disp) {
- return (_glptr_PixelMapfv) (GET_by_offset(disp, _gloffset_PixelMapfv));
+static inline _glptr_PixelMapfv
+GET_PixelMapfv(struct _glapi_table *disp)
+{
+ return (_glptr_PixelMapfv) (GET_by_offset(disp, _gloffset_PixelMapfv));
}
-static inline void SET_PixelMapfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, const GLfloat *)) {
- SET_by_offset(disp, _gloffset_PixelMapfv, fn);
+static inline void
+SET_PixelMapfv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLsizei, const GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_PixelMapfv, fn);
}
-typedef void (GLAPIENTRYP _glptr_PixelMapuiv)(GLenum, GLsizei, const GLuint *);
+typedef void (GLAPIENTRYP _glptr_PixelMapuiv) (GLenum, GLsizei, const GLuint *);
+
#define CALL_PixelMapuiv(disp, parameters) \
(* GET_PixelMapuiv(disp)) parameters
-static inline _glptr_PixelMapuiv GET_PixelMapuiv(struct _glapi_table *disp) {
- return (_glptr_PixelMapuiv) (GET_by_offset(disp, _gloffset_PixelMapuiv));
+static inline _glptr_PixelMapuiv
+GET_PixelMapuiv(struct _glapi_table *disp)
+{
+ return (_glptr_PixelMapuiv) (GET_by_offset(disp, _gloffset_PixelMapuiv));
}
-static inline void SET_PixelMapuiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, const GLuint *)) {
- SET_by_offset(disp, _gloffset_PixelMapuiv, fn);
+static inline void
+SET_PixelMapuiv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLsizei, const GLuint *))
+{
+ SET_by_offset(disp, _gloffset_PixelMapuiv, fn);
}
-typedef void (GLAPIENTRYP _glptr_PixelMapusv)(GLenum, GLsizei, const GLushort *);
+typedef void (GLAPIENTRYP _glptr_PixelMapusv) (GLenum, GLsizei,
+ const GLushort *);
#define CALL_PixelMapusv(disp, parameters) \
(* GET_PixelMapusv(disp)) parameters
-static inline _glptr_PixelMapusv GET_PixelMapusv(struct _glapi_table *disp) {
- return (_glptr_PixelMapusv) (GET_by_offset(disp, _gloffset_PixelMapusv));
+static inline _glptr_PixelMapusv
+GET_PixelMapusv(struct _glapi_table *disp)
+{
+ return (_glptr_PixelMapusv) (GET_by_offset(disp, _gloffset_PixelMapusv));
}
-static inline void SET_PixelMapusv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, const GLushort *)) {
- SET_by_offset(disp, _gloffset_PixelMapusv, fn);
+static inline void
+SET_PixelMapusv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLsizei, const GLushort *))
+{
+ SET_by_offset(disp, _gloffset_PixelMapusv, fn);
}
-typedef void (GLAPIENTRYP _glptr_ReadBuffer)(GLenum);
+typedef void (GLAPIENTRYP _glptr_ReadBuffer) (GLenum);
+
#define CALL_ReadBuffer(disp, parameters) \
(* GET_ReadBuffer(disp)) parameters
-static inline _glptr_ReadBuffer GET_ReadBuffer(struct _glapi_table *disp) {
- return (_glptr_ReadBuffer) (GET_by_offset(disp, _gloffset_ReadBuffer));
+static inline _glptr_ReadBuffer
+GET_ReadBuffer(struct _glapi_table *disp)
+{
+ return (_glptr_ReadBuffer) (GET_by_offset(disp, _gloffset_ReadBuffer));
}
-static inline void SET_ReadBuffer(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) {
- SET_by_offset(disp, _gloffset_ReadBuffer, fn);
+static inline void
+SET_ReadBuffer(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLenum))
+{
+ SET_by_offset(disp, _gloffset_ReadBuffer, fn);
}
-typedef void (GLAPIENTRYP _glptr_CopyPixels)(GLint, GLint, GLsizei, GLsizei, GLenum);
+typedef void (GLAPIENTRYP _glptr_CopyPixels) (GLint, GLint, GLsizei, GLsizei,
+ GLenum);
#define CALL_CopyPixels(disp, parameters) \
(* GET_CopyPixels(disp)) parameters
-static inline _glptr_CopyPixels GET_CopyPixels(struct _glapi_table *disp) {
- return (_glptr_CopyPixels) (GET_by_offset(disp, _gloffset_CopyPixels));
+static inline _glptr_CopyPixels
+GET_CopyPixels(struct _glapi_table *disp)
+{
+ return (_glptr_CopyPixels) (GET_by_offset(disp, _gloffset_CopyPixels));
}
-static inline void SET_CopyPixels(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLsizei, GLsizei, GLenum)) {
- SET_by_offset(disp, _gloffset_CopyPixels, fn);
+static inline void
+SET_CopyPixels(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLint, GLint, GLsizei, GLsizei, GLenum))
+{
+ SET_by_offset(disp, _gloffset_CopyPixels, fn);
}
-typedef void (GLAPIENTRYP _glptr_ReadPixels)(GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLvoid *);
+typedef void (GLAPIENTRYP _glptr_ReadPixels) (GLint, GLint, GLsizei, GLsizei,
+ GLenum, GLenum, GLvoid *);
#define CALL_ReadPixels(disp, parameters) \
(* GET_ReadPixels(disp)) parameters
-static inline _glptr_ReadPixels GET_ReadPixels(struct _glapi_table *disp) {
- return (_glptr_ReadPixels) (GET_by_offset(disp, _gloffset_ReadPixels));
+static inline _glptr_ReadPixels
+GET_ReadPixels(struct _glapi_table *disp)
+{
+ return (_glptr_ReadPixels) (GET_by_offset(disp, _gloffset_ReadPixels));
}
-static inline void SET_ReadPixels(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLvoid *)) {
- SET_by_offset(disp, _gloffset_ReadPixels, fn);
+static inline void
+SET_ReadPixels(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLint, GLint, GLsizei, GLsizei, GLenum,
+ GLenum, GLvoid *))
+{
+ SET_by_offset(disp, _gloffset_ReadPixels, fn);
}
-typedef void (GLAPIENTRYP _glptr_DrawPixels)(GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
+typedef void (GLAPIENTRYP _glptr_DrawPixels) (GLsizei, GLsizei, GLenum, GLenum,
+ const GLvoid *);
#define CALL_DrawPixels(disp, parameters) \
(* GET_DrawPixels(disp)) parameters
-static inline _glptr_DrawPixels GET_DrawPixels(struct _glapi_table *disp) {
- return (_glptr_DrawPixels) (GET_by_offset(disp, _gloffset_DrawPixels));
+static inline _glptr_DrawPixels
+GET_DrawPixels(struct _glapi_table *disp)
+{
+ return (_glptr_DrawPixels) (GET_by_offset(disp, _gloffset_DrawPixels));
}
-static inline void SET_DrawPixels(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) {
- SET_by_offset(disp, _gloffset_DrawPixels, fn);
+static inline void
+SET_DrawPixels(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLsizei, GLsizei, GLenum, GLenum,
+ const GLvoid *))
+{
+ SET_by_offset(disp, _gloffset_DrawPixels, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetBooleanv)(GLenum, GLboolean *);
+typedef void (GLAPIENTRYP _glptr_GetBooleanv) (GLenum, GLboolean *);
+
#define CALL_GetBooleanv(disp, parameters) \
(* GET_GetBooleanv(disp)) parameters
-static inline _glptr_GetBooleanv GET_GetBooleanv(struct _glapi_table *disp) {
- return (_glptr_GetBooleanv) (GET_by_offset(disp, _gloffset_GetBooleanv));
+static inline _glptr_GetBooleanv
+GET_GetBooleanv(struct _glapi_table *disp)
+{
+ return (_glptr_GetBooleanv) (GET_by_offset(disp, _gloffset_GetBooleanv));
}
-static inline void SET_GetBooleanv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLboolean *)) {
- SET_by_offset(disp, _gloffset_GetBooleanv, fn);
+static inline void
+SET_GetBooleanv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLboolean *))
+{
+ SET_by_offset(disp, _gloffset_GetBooleanv, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetClipPlane)(GLenum, GLdouble *);
+typedef void (GLAPIENTRYP _glptr_GetClipPlane) (GLenum, GLdouble *);
+
#define CALL_GetClipPlane(disp, parameters) \
(* GET_GetClipPlane(disp)) parameters
-static inline _glptr_GetClipPlane GET_GetClipPlane(struct _glapi_table *disp) {
- return (_glptr_GetClipPlane) (GET_by_offset(disp, _gloffset_GetClipPlane));
+static inline _glptr_GetClipPlane
+GET_GetClipPlane(struct _glapi_table *disp)
+{
+ return (_glptr_GetClipPlane) (GET_by_offset(disp, _gloffset_GetClipPlane));
}
-static inline void SET_GetClipPlane(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLdouble *)) {
- SET_by_offset(disp, _gloffset_GetClipPlane, fn);
+static inline void
+SET_GetClipPlane(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLdouble *))
+{
+ SET_by_offset(disp, _gloffset_GetClipPlane, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetDoublev)(GLenum, GLdouble *);
+typedef void (GLAPIENTRYP _glptr_GetDoublev) (GLenum, GLdouble *);
+
#define CALL_GetDoublev(disp, parameters) \
(* GET_GetDoublev(disp)) parameters
-static inline _glptr_GetDoublev GET_GetDoublev(struct _glapi_table *disp) {
- return (_glptr_GetDoublev) (GET_by_offset(disp, _gloffset_GetDoublev));
+static inline _glptr_GetDoublev
+GET_GetDoublev(struct _glapi_table *disp)
+{
+ return (_glptr_GetDoublev) (GET_by_offset(disp, _gloffset_GetDoublev));
}
-static inline void SET_GetDoublev(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLdouble *)) {
- SET_by_offset(disp, _gloffset_GetDoublev, fn);
+static inline void
+SET_GetDoublev(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLdouble *))
+{
+ SET_by_offset(disp, _gloffset_GetDoublev, fn);
}
-typedef GLenum (GLAPIENTRYP _glptr_GetError)(void);
+typedef GLenum(GLAPIENTRYP _glptr_GetError) (void);
+
#define CALL_GetError(disp, parameters) \
(* GET_GetError(disp)) parameters
-static inline _glptr_GetError GET_GetError(struct _glapi_table *disp) {
- return (_glptr_GetError) (GET_by_offset(disp, _gloffset_GetError));
+static inline _glptr_GetError
+GET_GetError(struct _glapi_table *disp)
+{
+ return (_glptr_GetError) (GET_by_offset(disp, _gloffset_GetError));
}
-static inline void SET_GetError(struct _glapi_table *disp, GLenum (GLAPIENTRYP fn)(void)) {
- SET_by_offset(disp, _gloffset_GetError, fn);
+static inline void
+SET_GetError(struct _glapi_table *disp, GLenum(GLAPIENTRYP fn) (void))
+{
+ SET_by_offset(disp, _gloffset_GetError, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetFloatv)(GLenum, GLfloat *);
+typedef void (GLAPIENTRYP _glptr_GetFloatv) (GLenum, GLfloat *);
+
#define CALL_GetFloatv(disp, parameters) \
(* GET_GetFloatv(disp)) parameters
-static inline _glptr_GetFloatv GET_GetFloatv(struct _glapi_table *disp) {
- return (_glptr_GetFloatv) (GET_by_offset(disp, _gloffset_GetFloatv));
+static inline _glptr_GetFloatv
+GET_GetFloatv(struct _glapi_table *disp)
+{
+ return (_glptr_GetFloatv) (GET_by_offset(disp, _gloffset_GetFloatv));
}
-static inline void SET_GetFloatv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLfloat *)) {
- SET_by_offset(disp, _gloffset_GetFloatv, fn);
+static inline void
+SET_GetFloatv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_GetFloatv, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetIntegerv)(GLenum, GLint *);
+typedef void (GLAPIENTRYP _glptr_GetIntegerv) (GLenum, GLint *);
+
#define CALL_GetIntegerv(disp, parameters) \
(* GET_GetIntegerv(disp)) parameters
-static inline _glptr_GetIntegerv GET_GetIntegerv(struct _glapi_table *disp) {
- return (_glptr_GetIntegerv) (GET_by_offset(disp, _gloffset_GetIntegerv));
+static inline _glptr_GetIntegerv
+GET_GetIntegerv(struct _glapi_table *disp)
+{
+ return (_glptr_GetIntegerv) (GET_by_offset(disp, _gloffset_GetIntegerv));
}
-static inline void SET_GetIntegerv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint *)) {
- SET_by_offset(disp, _gloffset_GetIntegerv, fn);
+static inline void
+SET_GetIntegerv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLint *))
+{
+ SET_by_offset(disp, _gloffset_GetIntegerv, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetLightfv)(GLenum, GLenum, GLfloat *);
+typedef void (GLAPIENTRYP _glptr_GetLightfv) (GLenum, GLenum, GLfloat *);
+
#define CALL_GetLightfv(disp, parameters) \
(* GET_GetLightfv(disp)) parameters
-static inline _glptr_GetLightfv GET_GetLightfv(struct _glapi_table *disp) {
- return (_glptr_GetLightfv) (GET_by_offset(disp, _gloffset_GetLightfv));
+static inline _glptr_GetLightfv
+GET_GetLightfv(struct _glapi_table *disp)
+{
+ return (_glptr_GetLightfv) (GET_by_offset(disp, _gloffset_GetLightfv));
}
-static inline void SET_GetLightfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfloat *)) {
- SET_by_offset(disp, _gloffset_GetLightfv, fn);
+static inline void
+SET_GetLightfv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_GetLightfv, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetLightiv)(GLenum, GLenum, GLint *);
+typedef void (GLAPIENTRYP _glptr_GetLightiv) (GLenum, GLenum, GLint *);
+
#define CALL_GetLightiv(disp, parameters) \
(* GET_GetLightiv(disp)) parameters
-static inline _glptr_GetLightiv GET_GetLightiv(struct _glapi_table *disp) {
- return (_glptr_GetLightiv) (GET_by_offset(disp, _gloffset_GetLightiv));
+static inline _glptr_GetLightiv
+GET_GetLightiv(struct _glapi_table *disp)
+{
+ return (_glptr_GetLightiv) (GET_by_offset(disp, _gloffset_GetLightiv));
}
-static inline void SET_GetLightiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint *)) {
- SET_by_offset(disp, _gloffset_GetLightiv, fn);
+static inline void
+SET_GetLightiv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, GLint *))
+{
+ SET_by_offset(disp, _gloffset_GetLightiv, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetMapdv)(GLenum, GLenum, GLdouble *);
+typedef void (GLAPIENTRYP _glptr_GetMapdv) (GLenum, GLenum, GLdouble *);
+
#define CALL_GetMapdv(disp, parameters) \
(* GET_GetMapdv(disp)) parameters
-static inline _glptr_GetMapdv GET_GetMapdv(struct _glapi_table *disp) {
- return (_glptr_GetMapdv) (GET_by_offset(disp, _gloffset_GetMapdv));
+static inline _glptr_GetMapdv
+GET_GetMapdv(struct _glapi_table *disp)
+{
+ return (_glptr_GetMapdv) (GET_by_offset(disp, _gloffset_GetMapdv));
}
-static inline void SET_GetMapdv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLdouble *)) {
- SET_by_offset(disp, _gloffset_GetMapdv, fn);
+static inline void
+SET_GetMapdv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, GLdouble *))
+{
+ SET_by_offset(disp, _gloffset_GetMapdv, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetMapfv)(GLenum, GLenum, GLfloat *);
+typedef void (GLAPIENTRYP _glptr_GetMapfv) (GLenum, GLenum, GLfloat *);
+
#define CALL_GetMapfv(disp, parameters) \
(* GET_GetMapfv(disp)) parameters
-static inline _glptr_GetMapfv GET_GetMapfv(struct _glapi_table *disp) {
- return (_glptr_GetMapfv) (GET_by_offset(disp, _gloffset_GetMapfv));
+static inline _glptr_GetMapfv
+GET_GetMapfv(struct _glapi_table *disp)
+{
+ return (_glptr_GetMapfv) (GET_by_offset(disp, _gloffset_GetMapfv));
}
-static inline void SET_GetMapfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfloat *)) {
- SET_by_offset(disp, _gloffset_GetMapfv, fn);
+static inline void
+SET_GetMapfv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_GetMapfv, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetMapiv)(GLenum, GLenum, GLint *);
+typedef void (GLAPIENTRYP _glptr_GetMapiv) (GLenum, GLenum, GLint *);
+
#define CALL_GetMapiv(disp, parameters) \
(* GET_GetMapiv(disp)) parameters
-static inline _glptr_GetMapiv GET_GetMapiv(struct _glapi_table *disp) {
- return (_glptr_GetMapiv) (GET_by_offset(disp, _gloffset_GetMapiv));
+static inline _glptr_GetMapiv
+GET_GetMapiv(struct _glapi_table *disp)
+{
+ return (_glptr_GetMapiv) (GET_by_offset(disp, _gloffset_GetMapiv));
}
-static inline void SET_GetMapiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint *)) {
- SET_by_offset(disp, _gloffset_GetMapiv, fn);
+static inline void
+SET_GetMapiv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, GLint *))
+{
+ SET_by_offset(disp, _gloffset_GetMapiv, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetMaterialfv)(GLenum, GLenum, GLfloat *);
+typedef void (GLAPIENTRYP _glptr_GetMaterialfv) (GLenum, GLenum, GLfloat *);
+
#define CALL_GetMaterialfv(disp, parameters) \
(* GET_GetMaterialfv(disp)) parameters
-static inline _glptr_GetMaterialfv GET_GetMaterialfv(struct _glapi_table *disp) {
- return (_glptr_GetMaterialfv) (GET_by_offset(disp, _gloffset_GetMaterialfv));
+static inline _glptr_GetMaterialfv
+GET_GetMaterialfv(struct _glapi_table *disp)
+{
+ return (_glptr_GetMaterialfv) (GET_by_offset
+ (disp, _gloffset_GetMaterialfv));
}
-static inline void SET_GetMaterialfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfloat *)) {
- SET_by_offset(disp, _gloffset_GetMaterialfv, fn);
+static inline void
+SET_GetMaterialfv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_GetMaterialfv, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetMaterialiv)(GLenum, GLenum, GLint *);
+typedef void (GLAPIENTRYP _glptr_GetMaterialiv) (GLenum, GLenum, GLint *);
+
#define CALL_GetMaterialiv(disp, parameters) \
(* GET_GetMaterialiv(disp)) parameters
-static inline _glptr_GetMaterialiv GET_GetMaterialiv(struct _glapi_table *disp) {
- return (_glptr_GetMaterialiv) (GET_by_offset(disp, _gloffset_GetMaterialiv));
+static inline _glptr_GetMaterialiv
+GET_GetMaterialiv(struct _glapi_table *disp)
+{
+ return (_glptr_GetMaterialiv) (GET_by_offset
+ (disp, _gloffset_GetMaterialiv));
}
-static inline void SET_GetMaterialiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint *)) {
- SET_by_offset(disp, _gloffset_GetMaterialiv, fn);
+static inline void
+SET_GetMaterialiv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, GLint *))
+{
+ SET_by_offset(disp, _gloffset_GetMaterialiv, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetPixelMapfv)(GLenum, GLfloat *);
+typedef void (GLAPIENTRYP _glptr_GetPixelMapfv) (GLenum, GLfloat *);
+
#define CALL_GetPixelMapfv(disp, parameters) \
(* GET_GetPixelMapfv(disp)) parameters
-static inline _glptr_GetPixelMapfv GET_GetPixelMapfv(struct _glapi_table *disp) {
- return (_glptr_GetPixelMapfv) (GET_by_offset(disp, _gloffset_GetPixelMapfv));
+static inline _glptr_GetPixelMapfv
+GET_GetPixelMapfv(struct _glapi_table *disp)
+{
+ return (_glptr_GetPixelMapfv) (GET_by_offset
+ (disp, _gloffset_GetPixelMapfv));
}
-static inline void SET_GetPixelMapfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLfloat *)) {
- SET_by_offset(disp, _gloffset_GetPixelMapfv, fn);
+static inline void
+SET_GetPixelMapfv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_GetPixelMapfv, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetPixelMapuiv)(GLenum, GLuint *);
+typedef void (GLAPIENTRYP _glptr_GetPixelMapuiv) (GLenum, GLuint *);
+
#define CALL_GetPixelMapuiv(disp, parameters) \
(* GET_GetPixelMapuiv(disp)) parameters
-static inline _glptr_GetPixelMapuiv GET_GetPixelMapuiv(struct _glapi_table *disp) {
- return (_glptr_GetPixelMapuiv) (GET_by_offset(disp, _gloffset_GetPixelMapuiv));
+static inline _glptr_GetPixelMapuiv
+GET_GetPixelMapuiv(struct _glapi_table *disp)
+{
+ return (_glptr_GetPixelMapuiv) (GET_by_offset
+ (disp, _gloffset_GetPixelMapuiv));
}
-static inline void SET_GetPixelMapuiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint *)) {
- SET_by_offset(disp, _gloffset_GetPixelMapuiv, fn);
+static inline void
+SET_GetPixelMapuiv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLuint *))
+{
+ SET_by_offset(disp, _gloffset_GetPixelMapuiv, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetPixelMapusv)(GLenum, GLushort *);
+typedef void (GLAPIENTRYP _glptr_GetPixelMapusv) (GLenum, GLushort *);
+
#define CALL_GetPixelMapusv(disp, parameters) \
(* GET_GetPixelMapusv(disp)) parameters
-static inline _glptr_GetPixelMapusv GET_GetPixelMapusv(struct _glapi_table *disp) {
- return (_glptr_GetPixelMapusv) (GET_by_offset(disp, _gloffset_GetPixelMapusv));
+static inline _glptr_GetPixelMapusv
+GET_GetPixelMapusv(struct _glapi_table *disp)
+{
+ return (_glptr_GetPixelMapusv) (GET_by_offset
+ (disp, _gloffset_GetPixelMapusv));
}
-static inline void SET_GetPixelMapusv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLushort *)) {
- SET_by_offset(disp, _gloffset_GetPixelMapusv, fn);
+static inline void
+SET_GetPixelMapusv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLushort *))
+{
+ SET_by_offset(disp, _gloffset_GetPixelMapusv, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetPolygonStipple)(GLubyte *);
+typedef void (GLAPIENTRYP _glptr_GetPolygonStipple) (GLubyte *);
+
#define CALL_GetPolygonStipple(disp, parameters) \
(* GET_GetPolygonStipple(disp)) parameters
-static inline _glptr_GetPolygonStipple GET_GetPolygonStipple(struct _glapi_table *disp) {
- return (_glptr_GetPolygonStipple) (GET_by_offset(disp, _gloffset_GetPolygonStipple));
+static inline _glptr_GetPolygonStipple
+GET_GetPolygonStipple(struct _glapi_table *disp)
+{
+ return (_glptr_GetPolygonStipple) (GET_by_offset
+ (disp, _gloffset_GetPolygonStipple));
}
-static inline void SET_GetPolygonStipple(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLubyte *)) {
- SET_by_offset(disp, _gloffset_GetPolygonStipple, fn);
+static inline void
+SET_GetPolygonStipple(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLubyte *))
+{
+ SET_by_offset(disp, _gloffset_GetPolygonStipple, fn);
}
-typedef const GLubyte * (GLAPIENTRYP _glptr_GetString)(GLenum);
+typedef const GLubyte *(GLAPIENTRYP _glptr_GetString) (GLenum);
+
#define CALL_GetString(disp, parameters) \
(* GET_GetString(disp)) parameters
-static inline _glptr_GetString GET_GetString(struct _glapi_table *disp) {
- return (_glptr_GetString) (GET_by_offset(disp, _gloffset_GetString));
+static inline _glptr_GetString
+GET_GetString(struct _glapi_table *disp)
+{
+ return (_glptr_GetString) (GET_by_offset(disp, _gloffset_GetString));
}
-static inline void SET_GetString(struct _glapi_table *disp, const GLubyte * (GLAPIENTRYP fn)(GLenum)) {
- SET_by_offset(disp, _gloffset_GetString, fn);
+static inline void
+SET_GetString(struct _glapi_table *disp,
+ const GLubyte * (GLAPIENTRYP fn) (GLenum))
+{
+ SET_by_offset(disp, _gloffset_GetString, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetTexEnvfv)(GLenum, GLenum, GLfloat *);
+typedef void (GLAPIENTRYP _glptr_GetTexEnvfv) (GLenum, GLenum, GLfloat *);
+
#define CALL_GetTexEnvfv(disp, parameters) \
(* GET_GetTexEnvfv(disp)) parameters
-static inline _glptr_GetTexEnvfv GET_GetTexEnvfv(struct _glapi_table *disp) {
- return (_glptr_GetTexEnvfv) (GET_by_offset(disp, _gloffset_GetTexEnvfv));
+static inline _glptr_GetTexEnvfv
+GET_GetTexEnvfv(struct _glapi_table *disp)
+{
+ return (_glptr_GetTexEnvfv) (GET_by_offset(disp, _gloffset_GetTexEnvfv));
}
-static inline void SET_GetTexEnvfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfloat *)) {
- SET_by_offset(disp, _gloffset_GetTexEnvfv, fn);
+static inline void
+SET_GetTexEnvfv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_GetTexEnvfv, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetTexEnviv)(GLenum, GLenum, GLint *);
+typedef void (GLAPIENTRYP _glptr_GetTexEnviv) (GLenum, GLenum, GLint *);
+
#define CALL_GetTexEnviv(disp, parameters) \
(* GET_GetTexEnviv(disp)) parameters
-static inline _glptr_GetTexEnviv GET_GetTexEnviv(struct _glapi_table *disp) {
- return (_glptr_GetTexEnviv) (GET_by_offset(disp, _gloffset_GetTexEnviv));
+static inline _glptr_GetTexEnviv
+GET_GetTexEnviv(struct _glapi_table *disp)
+{
+ return (_glptr_GetTexEnviv) (GET_by_offset(disp, _gloffset_GetTexEnviv));
}
-static inline void SET_GetTexEnviv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint *)) {
- SET_by_offset(disp, _gloffset_GetTexEnviv, fn);
+static inline void
+SET_GetTexEnviv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, GLint *))
+{
+ SET_by_offset(disp, _gloffset_GetTexEnviv, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetTexGendv)(GLenum, GLenum, GLdouble *);
+typedef void (GLAPIENTRYP _glptr_GetTexGendv) (GLenum, GLenum, GLdouble *);
+
#define CALL_GetTexGendv(disp, parameters) \
(* GET_GetTexGendv(disp)) parameters
-static inline _glptr_GetTexGendv GET_GetTexGendv(struct _glapi_table *disp) {
- return (_glptr_GetTexGendv) (GET_by_offset(disp, _gloffset_GetTexGendv));
+static inline _glptr_GetTexGendv
+GET_GetTexGendv(struct _glapi_table *disp)
+{
+ return (_glptr_GetTexGendv) (GET_by_offset(disp, _gloffset_GetTexGendv));
}
-static inline void SET_GetTexGendv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLdouble *)) {
- SET_by_offset(disp, _gloffset_GetTexGendv, fn);
+static inline void
+SET_GetTexGendv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, GLdouble *))
+{
+ SET_by_offset(disp, _gloffset_GetTexGendv, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetTexGenfv)(GLenum, GLenum, GLfloat *);
+typedef void (GLAPIENTRYP _glptr_GetTexGenfv) (GLenum, GLenum, GLfloat *);
+
#define CALL_GetTexGenfv(disp, parameters) \
(* GET_GetTexGenfv(disp)) parameters
-static inline _glptr_GetTexGenfv GET_GetTexGenfv(struct _glapi_table *disp) {
- return (_glptr_GetTexGenfv) (GET_by_offset(disp, _gloffset_GetTexGenfv));
+static inline _glptr_GetTexGenfv
+GET_GetTexGenfv(struct _glapi_table *disp)
+{
+ return (_glptr_GetTexGenfv) (GET_by_offset(disp, _gloffset_GetTexGenfv));
}
-static inline void SET_GetTexGenfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfloat *)) {
- SET_by_offset(disp, _gloffset_GetTexGenfv, fn);
+static inline void
+SET_GetTexGenfv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_GetTexGenfv, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetTexGeniv)(GLenum, GLenum, GLint *);
+typedef void (GLAPIENTRYP _glptr_GetTexGeniv) (GLenum, GLenum, GLint *);
+
#define CALL_GetTexGeniv(disp, parameters) \
(* GET_GetTexGeniv(disp)) parameters
-static inline _glptr_GetTexGeniv GET_GetTexGeniv(struct _glapi_table *disp) {
- return (_glptr_GetTexGeniv) (GET_by_offset(disp, _gloffset_GetTexGeniv));
+static inline _glptr_GetTexGeniv
+GET_GetTexGeniv(struct _glapi_table *disp)
+{
+ return (_glptr_GetTexGeniv) (GET_by_offset(disp, _gloffset_GetTexGeniv));
}
-static inline void SET_GetTexGeniv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint *)) {
- SET_by_offset(disp, _gloffset_GetTexGeniv, fn);
+static inline void
+SET_GetTexGeniv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, GLint *))
+{
+ SET_by_offset(disp, _gloffset_GetTexGeniv, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetTexImage)(GLenum, GLint, GLenum, GLenum, GLvoid *);
+typedef void (GLAPIENTRYP _glptr_GetTexImage) (GLenum, GLint, GLenum, GLenum,
+ GLvoid *);
#define CALL_GetTexImage(disp, parameters) \
(* GET_GetTexImage(disp)) parameters
-static inline _glptr_GetTexImage GET_GetTexImage(struct _glapi_table *disp) {
- return (_glptr_GetTexImage) (GET_by_offset(disp, _gloffset_GetTexImage));
+static inline _glptr_GetTexImage
+GET_GetTexImage(struct _glapi_table *disp)
+{
+ return (_glptr_GetTexImage) (GET_by_offset(disp, _gloffset_GetTexImage));
}
-static inline void SET_GetTexImage(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLenum, GLenum, GLvoid *)) {
- SET_by_offset(disp, _gloffset_GetTexImage, fn);
+static inline void
+SET_GetTexImage(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLint, GLenum, GLenum, GLvoid *))
+{
+ SET_by_offset(disp, _gloffset_GetTexImage, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetTexParameterfv)(GLenum, GLenum, GLfloat *);
+typedef void (GLAPIENTRYP _glptr_GetTexParameterfv) (GLenum, GLenum, GLfloat *);
+
#define CALL_GetTexParameterfv(disp, parameters) \
(* GET_GetTexParameterfv(disp)) parameters
-static inline _glptr_GetTexParameterfv GET_GetTexParameterfv(struct _glapi_table *disp) {
- return (_glptr_GetTexParameterfv) (GET_by_offset(disp, _gloffset_GetTexParameterfv));
+static inline _glptr_GetTexParameterfv
+GET_GetTexParameterfv(struct _glapi_table *disp)
+{
+ return (_glptr_GetTexParameterfv) (GET_by_offset
+ (disp, _gloffset_GetTexParameterfv));
}
-static inline void SET_GetTexParameterfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfloat *)) {
- SET_by_offset(disp, _gloffset_GetTexParameterfv, fn);
+static inline void
+SET_GetTexParameterfv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_GetTexParameterfv, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetTexParameteriv)(GLenum, GLenum, GLint *);
+typedef void (GLAPIENTRYP _glptr_GetTexParameteriv) (GLenum, GLenum, GLint *);
+
#define CALL_GetTexParameteriv(disp, parameters) \
(* GET_GetTexParameteriv(disp)) parameters
-static inline _glptr_GetTexParameteriv GET_GetTexParameteriv(struct _glapi_table *disp) {
- return (_glptr_GetTexParameteriv) (GET_by_offset(disp, _gloffset_GetTexParameteriv));
+static inline _glptr_GetTexParameteriv
+GET_GetTexParameteriv(struct _glapi_table *disp)
+{
+ return (_glptr_GetTexParameteriv) (GET_by_offset
+ (disp, _gloffset_GetTexParameteriv));
}
-static inline void SET_GetTexParameteriv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint *)) {
- SET_by_offset(disp, _gloffset_GetTexParameteriv, fn);
+static inline void
+SET_GetTexParameteriv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, GLint *))
+{
+ SET_by_offset(disp, _gloffset_GetTexParameteriv, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetTexLevelParameterfv)(GLenum, GLint, GLenum, GLfloat *);
+typedef void (GLAPIENTRYP _glptr_GetTexLevelParameterfv) (GLenum, GLint, GLenum,
+ GLfloat *);
#define CALL_GetTexLevelParameterfv(disp, parameters) \
(* GET_GetTexLevelParameterfv(disp)) parameters
-static inline _glptr_GetTexLevelParameterfv GET_GetTexLevelParameterfv(struct _glapi_table *disp) {
- return (_glptr_GetTexLevelParameterfv) (GET_by_offset(disp, _gloffset_GetTexLevelParameterfv));
+static inline _glptr_GetTexLevelParameterfv
+GET_GetTexLevelParameterfv(struct _glapi_table *disp)
+{
+ return (_glptr_GetTexLevelParameterfv) (GET_by_offset
+ (disp,
+ _gloffset_GetTexLevelParameterfv));
}
-static inline void SET_GetTexLevelParameterfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLenum, GLfloat *)) {
- SET_by_offset(disp, _gloffset_GetTexLevelParameterfv, fn);
+static inline void
+SET_GetTexLevelParameterfv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLint, GLenum,
+ GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_GetTexLevelParameterfv, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetTexLevelParameteriv)(GLenum, GLint, GLenum, GLint *);
+typedef void (GLAPIENTRYP _glptr_GetTexLevelParameteriv) (GLenum, GLint, GLenum,
+ GLint *);
#define CALL_GetTexLevelParameteriv(disp, parameters) \
(* GET_GetTexLevelParameteriv(disp)) parameters
-static inline _glptr_GetTexLevelParameteriv GET_GetTexLevelParameteriv(struct _glapi_table *disp) {
- return (_glptr_GetTexLevelParameteriv) (GET_by_offset(disp, _gloffset_GetTexLevelParameteriv));
+static inline _glptr_GetTexLevelParameteriv
+GET_GetTexLevelParameteriv(struct _glapi_table *disp)
+{
+ return (_glptr_GetTexLevelParameteriv) (GET_by_offset
+ (disp,
+ _gloffset_GetTexLevelParameteriv));
}
-static inline void SET_GetTexLevelParameteriv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLenum, GLint *)) {
- SET_by_offset(disp, _gloffset_GetTexLevelParameteriv, fn);
+static inline void
+SET_GetTexLevelParameteriv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLint, GLenum,
+ GLint *))
+{
+ SET_by_offset(disp, _gloffset_GetTexLevelParameteriv, fn);
}
-typedef GLboolean (GLAPIENTRYP _glptr_IsEnabled)(GLenum);
+typedef GLboolean(GLAPIENTRYP _glptr_IsEnabled) (GLenum);
+
#define CALL_IsEnabled(disp, parameters) \
(* GET_IsEnabled(disp)) parameters
-static inline _glptr_IsEnabled GET_IsEnabled(struct _glapi_table *disp) {
- return (_glptr_IsEnabled) (GET_by_offset(disp, _gloffset_IsEnabled));
+static inline _glptr_IsEnabled
+GET_IsEnabled(struct _glapi_table *disp)
+{
+ return (_glptr_IsEnabled) (GET_by_offset(disp, _gloffset_IsEnabled));
}
-static inline void SET_IsEnabled(struct _glapi_table *disp, GLboolean (GLAPIENTRYP fn)(GLenum)) {
- SET_by_offset(disp, _gloffset_IsEnabled, fn);
+static inline void
+SET_IsEnabled(struct _glapi_table *disp, GLboolean(GLAPIENTRYP fn) (GLenum))
+{
+ SET_by_offset(disp, _gloffset_IsEnabled, fn);
}
-typedef GLboolean (GLAPIENTRYP _glptr_IsList)(GLuint);
+typedef GLboolean(GLAPIENTRYP _glptr_IsList) (GLuint);
+
#define CALL_IsList(disp, parameters) \
(* GET_IsList(disp)) parameters
-static inline _glptr_IsList GET_IsList(struct _glapi_table *disp) {
- return (_glptr_IsList) (GET_by_offset(disp, _gloffset_IsList));
+static inline _glptr_IsList
+GET_IsList(struct _glapi_table *disp)
+{
+ return (_glptr_IsList) (GET_by_offset(disp, _gloffset_IsList));
}
-static inline void SET_IsList(struct _glapi_table *disp, GLboolean (GLAPIENTRYP fn)(GLuint)) {
- SET_by_offset(disp, _gloffset_IsList, fn);
+static inline void
+SET_IsList(struct _glapi_table *disp, GLboolean(GLAPIENTRYP fn) (GLuint))
+{
+ SET_by_offset(disp, _gloffset_IsList, fn);
}
-typedef void (GLAPIENTRYP _glptr_DepthRange)(GLclampd, GLclampd);
+typedef void (GLAPIENTRYP _glptr_DepthRange) (GLclampd, GLclampd);
+
#define CALL_DepthRange(disp, parameters) \
(* GET_DepthRange(disp)) parameters
-static inline _glptr_DepthRange GET_DepthRange(struct _glapi_table *disp) {
- return (_glptr_DepthRange) (GET_by_offset(disp, _gloffset_DepthRange));
+static inline _glptr_DepthRange
+GET_DepthRange(struct _glapi_table *disp)
+{
+ return (_glptr_DepthRange) (GET_by_offset(disp, _gloffset_DepthRange));
}
-static inline void SET_DepthRange(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLclampd, GLclampd)) {
- SET_by_offset(disp, _gloffset_DepthRange, fn);
+static inline void
+SET_DepthRange(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLclampd, GLclampd))
+{
+ SET_by_offset(disp, _gloffset_DepthRange, fn);
}
-typedef void (GLAPIENTRYP _glptr_Frustum)(GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble);
+typedef void (GLAPIENTRYP _glptr_Frustum) (GLdouble, GLdouble, GLdouble,
+ GLdouble, GLdouble, GLdouble);
#define CALL_Frustum(disp, parameters) \
(* GET_Frustum(disp)) parameters
-static inline _glptr_Frustum GET_Frustum(struct _glapi_table *disp) {
- return (_glptr_Frustum) (GET_by_offset(disp, _gloffset_Frustum));
+static inline _glptr_Frustum
+GET_Frustum(struct _glapi_table *disp)
+{
+ return (_glptr_Frustum) (GET_by_offset(disp, _gloffset_Frustum));
}
-static inline void SET_Frustum(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble)) {
- SET_by_offset(disp, _gloffset_Frustum, fn);
+static inline void
+SET_Frustum(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLdouble, GLdouble, GLdouble, GLdouble,
+ GLdouble, GLdouble))
+{
+ SET_by_offset(disp, _gloffset_Frustum, fn);
}
-typedef void (GLAPIENTRYP _glptr_LoadIdentity)(void);
+typedef void (GLAPIENTRYP _glptr_LoadIdentity) (void);
+
#define CALL_LoadIdentity(disp, parameters) \
(* GET_LoadIdentity(disp)) parameters
-static inline _glptr_LoadIdentity GET_LoadIdentity(struct _glapi_table *disp) {
- return (_glptr_LoadIdentity) (GET_by_offset(disp, _gloffset_LoadIdentity));
+static inline _glptr_LoadIdentity
+GET_LoadIdentity(struct _glapi_table *disp)
+{
+ return (_glptr_LoadIdentity) (GET_by_offset(disp, _gloffset_LoadIdentity));
}
-static inline void SET_LoadIdentity(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) {
- SET_by_offset(disp, _gloffset_LoadIdentity, fn);
+static inline void
+SET_LoadIdentity(struct _glapi_table *disp, void (GLAPIENTRYP fn) (void))
+{
+ SET_by_offset(disp, _gloffset_LoadIdentity, fn);
}
-typedef void (GLAPIENTRYP _glptr_LoadMatrixf)(const GLfloat *);
+typedef void (GLAPIENTRYP _glptr_LoadMatrixf) (const GLfloat *);
+
#define CALL_LoadMatrixf(disp, parameters) \
(* GET_LoadMatrixf(disp)) parameters
-static inline _glptr_LoadMatrixf GET_LoadMatrixf(struct _glapi_table *disp) {
- return (_glptr_LoadMatrixf) (GET_by_offset(disp, _gloffset_LoadMatrixf));
+static inline _glptr_LoadMatrixf
+GET_LoadMatrixf(struct _glapi_table *disp)
+{
+ return (_glptr_LoadMatrixf) (GET_by_offset(disp, _gloffset_LoadMatrixf));
}
-static inline void SET_LoadMatrixf(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) {
- SET_by_offset(disp, _gloffset_LoadMatrixf, fn);
+static inline void
+SET_LoadMatrixf(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (const GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_LoadMatrixf, fn);
}
-typedef void (GLAPIENTRYP _glptr_LoadMatrixd)(const GLdouble *);
+typedef void (GLAPIENTRYP _glptr_LoadMatrixd) (const GLdouble *);
+
#define CALL_LoadMatrixd(disp, parameters) \
(* GET_LoadMatrixd(disp)) parameters
-static inline _glptr_LoadMatrixd GET_LoadMatrixd(struct _glapi_table *disp) {
- return (_glptr_LoadMatrixd) (GET_by_offset(disp, _gloffset_LoadMatrixd));
+static inline _glptr_LoadMatrixd
+GET_LoadMatrixd(struct _glapi_table *disp)
+{
+ return (_glptr_LoadMatrixd) (GET_by_offset(disp, _gloffset_LoadMatrixd));
}
-static inline void SET_LoadMatrixd(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) {
- SET_by_offset(disp, _gloffset_LoadMatrixd, fn);
+static inline void
+SET_LoadMatrixd(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (const GLdouble *))
+{
+ SET_by_offset(disp, _gloffset_LoadMatrixd, fn);
}
-typedef void (GLAPIENTRYP _glptr_MatrixMode)(GLenum);
+typedef void (GLAPIENTRYP _glptr_MatrixMode) (GLenum);
+
#define CALL_MatrixMode(disp, parameters) \
(* GET_MatrixMode(disp)) parameters
-static inline _glptr_MatrixMode GET_MatrixMode(struct _glapi_table *disp) {
- return (_glptr_MatrixMode) (GET_by_offset(disp, _gloffset_MatrixMode));
+static inline _glptr_MatrixMode
+GET_MatrixMode(struct _glapi_table *disp)
+{
+ return (_glptr_MatrixMode) (GET_by_offset(disp, _gloffset_MatrixMode));
}
-static inline void SET_MatrixMode(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) {
- SET_by_offset(disp, _gloffset_MatrixMode, fn);
+static inline void
+SET_MatrixMode(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLenum))
+{
+ SET_by_offset(disp, _gloffset_MatrixMode, fn);
}
-typedef void (GLAPIENTRYP _glptr_MultMatrixf)(const GLfloat *);
+typedef void (GLAPIENTRYP _glptr_MultMatrixf) (const GLfloat *);
+
#define CALL_MultMatrixf(disp, parameters) \
(* GET_MultMatrixf(disp)) parameters
-static inline _glptr_MultMatrixf GET_MultMatrixf(struct _glapi_table *disp) {
- return (_glptr_MultMatrixf) (GET_by_offset(disp, _gloffset_MultMatrixf));
+static inline _glptr_MultMatrixf
+GET_MultMatrixf(struct _glapi_table *disp)
+{
+ return (_glptr_MultMatrixf) (GET_by_offset(disp, _gloffset_MultMatrixf));
}
-static inline void SET_MultMatrixf(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) {
- SET_by_offset(disp, _gloffset_MultMatrixf, fn);
+static inline void
+SET_MultMatrixf(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (const GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_MultMatrixf, fn);
}
-typedef void (GLAPIENTRYP _glptr_MultMatrixd)(const GLdouble *);
+typedef void (GLAPIENTRYP _glptr_MultMatrixd) (const GLdouble *);
+
#define CALL_MultMatrixd(disp, parameters) \
(* GET_MultMatrixd(disp)) parameters
-static inline _glptr_MultMatrixd GET_MultMatrixd(struct _glapi_table *disp) {
- return (_glptr_MultMatrixd) (GET_by_offset(disp, _gloffset_MultMatrixd));
+static inline _glptr_MultMatrixd
+GET_MultMatrixd(struct _glapi_table *disp)
+{
+ return (_glptr_MultMatrixd) (GET_by_offset(disp, _gloffset_MultMatrixd));
}
-static inline void SET_MultMatrixd(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) {
- SET_by_offset(disp, _gloffset_MultMatrixd, fn);
+static inline void
+SET_MultMatrixd(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (const GLdouble *))
+{
+ SET_by_offset(disp, _gloffset_MultMatrixd, fn);
}
-typedef void (GLAPIENTRYP _glptr_Ortho)(GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble);
+typedef void (GLAPIENTRYP _glptr_Ortho) (GLdouble, GLdouble, GLdouble, GLdouble,
+ GLdouble, GLdouble);
#define CALL_Ortho(disp, parameters) \
(* GET_Ortho(disp)) parameters
-static inline _glptr_Ortho GET_Ortho(struct _glapi_table *disp) {
- return (_glptr_Ortho) (GET_by_offset(disp, _gloffset_Ortho));
+static inline _glptr_Ortho
+GET_Ortho(struct _glapi_table *disp)
+{
+ return (_glptr_Ortho) (GET_by_offset(disp, _gloffset_Ortho));
}
-static inline void SET_Ortho(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble)) {
- SET_by_offset(disp, _gloffset_Ortho, fn);
+static inline void
+SET_Ortho(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLdouble, GLdouble, GLdouble, GLdouble,
+ GLdouble, GLdouble))
+{
+ SET_by_offset(disp, _gloffset_Ortho, fn);
}
-typedef void (GLAPIENTRYP _glptr_PopMatrix)(void);
+typedef void (GLAPIENTRYP _glptr_PopMatrix) (void);
+
#define CALL_PopMatrix(disp, parameters) \
(* GET_PopMatrix(disp)) parameters
-static inline _glptr_PopMatrix GET_PopMatrix(struct _glapi_table *disp) {
- return (_glptr_PopMatrix) (GET_by_offset(disp, _gloffset_PopMatrix));
+static inline _glptr_PopMatrix
+GET_PopMatrix(struct _glapi_table *disp)
+{
+ return (_glptr_PopMatrix) (GET_by_offset(disp, _gloffset_PopMatrix));
}
-static inline void SET_PopMatrix(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) {
- SET_by_offset(disp, _gloffset_PopMatrix, fn);
+static inline void
+SET_PopMatrix(struct _glapi_table *disp, void (GLAPIENTRYP fn) (void))
+{
+ SET_by_offset(disp, _gloffset_PopMatrix, fn);
}
-typedef void (GLAPIENTRYP _glptr_PushMatrix)(void);
+typedef void (GLAPIENTRYP _glptr_PushMatrix) (void);
+
#define CALL_PushMatrix(disp, parameters) \
(* GET_PushMatrix(disp)) parameters
-static inline _glptr_PushMatrix GET_PushMatrix(struct _glapi_table *disp) {
- return (_glptr_PushMatrix) (GET_by_offset(disp, _gloffset_PushMatrix));
+static inline _glptr_PushMatrix
+GET_PushMatrix(struct _glapi_table *disp)
+{
+ return (_glptr_PushMatrix) (GET_by_offset(disp, _gloffset_PushMatrix));
}
-static inline void SET_PushMatrix(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) {
- SET_by_offset(disp, _gloffset_PushMatrix, fn);
+static inline void
+SET_PushMatrix(struct _glapi_table *disp, void (GLAPIENTRYP fn) (void))
+{
+ SET_by_offset(disp, _gloffset_PushMatrix, fn);
}
-typedef void (GLAPIENTRYP _glptr_Rotated)(GLdouble, GLdouble, GLdouble, GLdouble);
+typedef void (GLAPIENTRYP _glptr_Rotated) (GLdouble, GLdouble, GLdouble,
+ GLdouble);
#define CALL_Rotated(disp, parameters) \
(* GET_Rotated(disp)) parameters
-static inline _glptr_Rotated GET_Rotated(struct _glapi_table *disp) {
- return (_glptr_Rotated) (GET_by_offset(disp, _gloffset_Rotated));
+static inline _glptr_Rotated
+GET_Rotated(struct _glapi_table *disp)
+{
+ return (_glptr_Rotated) (GET_by_offset(disp, _gloffset_Rotated));
}
-static inline void SET_Rotated(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble, GLdouble, GLdouble)) {
- SET_by_offset(disp, _gloffset_Rotated, fn);
+static inline void
+SET_Rotated(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLdouble, GLdouble, GLdouble, GLdouble))
+{
+ SET_by_offset(disp, _gloffset_Rotated, fn);
}
-typedef void (GLAPIENTRYP _glptr_Rotatef)(GLfloat, GLfloat, GLfloat, GLfloat);
+typedef void (GLAPIENTRYP _glptr_Rotatef) (GLfloat, GLfloat, GLfloat, GLfloat);
+
#define CALL_Rotatef(disp, parameters) \
(* GET_Rotatef(disp)) parameters
-static inline _glptr_Rotatef GET_Rotatef(struct _glapi_table *disp) {
- return (_glptr_Rotatef) (GET_by_offset(disp, _gloffset_Rotatef));
+static inline _glptr_Rotatef
+GET_Rotatef(struct _glapi_table *disp)
+{
+ return (_glptr_Rotatef) (GET_by_offset(disp, _gloffset_Rotatef));
}
-static inline void SET_Rotatef(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat, GLfloat, GLfloat)) {
- SET_by_offset(disp, _gloffset_Rotatef, fn);
+static inline void
+SET_Rotatef(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLfloat, GLfloat, GLfloat, GLfloat))
+{
+ SET_by_offset(disp, _gloffset_Rotatef, fn);
}
-typedef void (GLAPIENTRYP _glptr_Scaled)(GLdouble, GLdouble, GLdouble);
+typedef void (GLAPIENTRYP _glptr_Scaled) (GLdouble, GLdouble, GLdouble);
+
#define CALL_Scaled(disp, parameters) \
(* GET_Scaled(disp)) parameters
-static inline _glptr_Scaled GET_Scaled(struct _glapi_table *disp) {
- return (_glptr_Scaled) (GET_by_offset(disp, _gloffset_Scaled));
+static inline _glptr_Scaled
+GET_Scaled(struct _glapi_table *disp)
+{
+ return (_glptr_Scaled) (GET_by_offset(disp, _gloffset_Scaled));
}
-static inline void SET_Scaled(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble, GLdouble)) {
- SET_by_offset(disp, _gloffset_Scaled, fn);
+static inline void
+SET_Scaled(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLdouble, GLdouble, GLdouble))
+{
+ SET_by_offset(disp, _gloffset_Scaled, fn);
}
-typedef void (GLAPIENTRYP _glptr_Scalef)(GLfloat, GLfloat, GLfloat);
+typedef void (GLAPIENTRYP _glptr_Scalef) (GLfloat, GLfloat, GLfloat);
+
#define CALL_Scalef(disp, parameters) \
(* GET_Scalef(disp)) parameters
-static inline _glptr_Scalef GET_Scalef(struct _glapi_table *disp) {
- return (_glptr_Scalef) (GET_by_offset(disp, _gloffset_Scalef));
+static inline _glptr_Scalef
+GET_Scalef(struct _glapi_table *disp)
+{
+ return (_glptr_Scalef) (GET_by_offset(disp, _gloffset_Scalef));
}
-static inline void SET_Scalef(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat, GLfloat)) {
- SET_by_offset(disp, _gloffset_Scalef, fn);
+static inline void
+SET_Scalef(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLfloat, GLfloat, GLfloat))
+{
+ SET_by_offset(disp, _gloffset_Scalef, fn);
}
-typedef void (GLAPIENTRYP _glptr_Translated)(GLdouble, GLdouble, GLdouble);
+typedef void (GLAPIENTRYP _glptr_Translated) (GLdouble, GLdouble, GLdouble);
+
#define CALL_Translated(disp, parameters) \
(* GET_Translated(disp)) parameters
-static inline _glptr_Translated GET_Translated(struct _glapi_table *disp) {
- return (_glptr_Translated) (GET_by_offset(disp, _gloffset_Translated));
+static inline _glptr_Translated
+GET_Translated(struct _glapi_table *disp)
+{
+ return (_glptr_Translated) (GET_by_offset(disp, _gloffset_Translated));
}
-static inline void SET_Translated(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble, GLdouble)) {
- SET_by_offset(disp, _gloffset_Translated, fn);
+static inline void
+SET_Translated(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLdouble, GLdouble, GLdouble))
+{
+ SET_by_offset(disp, _gloffset_Translated, fn);
}
-typedef void (GLAPIENTRYP _glptr_Translatef)(GLfloat, GLfloat, GLfloat);
+typedef void (GLAPIENTRYP _glptr_Translatef) (GLfloat, GLfloat, GLfloat);
+
#define CALL_Translatef(disp, parameters) \
(* GET_Translatef(disp)) parameters
-static inline _glptr_Translatef GET_Translatef(struct _glapi_table *disp) {
- return (_glptr_Translatef) (GET_by_offset(disp, _gloffset_Translatef));
+static inline _glptr_Translatef
+GET_Translatef(struct _glapi_table *disp)
+{
+ return (_glptr_Translatef) (GET_by_offset(disp, _gloffset_Translatef));
}
-static inline void SET_Translatef(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat, GLfloat)) {
- SET_by_offset(disp, _gloffset_Translatef, fn);
+static inline void
+SET_Translatef(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLfloat, GLfloat, GLfloat))
+{
+ SET_by_offset(disp, _gloffset_Translatef, fn);
}
-typedef void (GLAPIENTRYP _glptr_Viewport)(GLint, GLint, GLsizei, GLsizei);
+typedef void (GLAPIENTRYP _glptr_Viewport) (GLint, GLint, GLsizei, GLsizei);
+
#define CALL_Viewport(disp, parameters) \
(* GET_Viewport(disp)) parameters
-static inline _glptr_Viewport GET_Viewport(struct _glapi_table *disp) {
- return (_glptr_Viewport) (GET_by_offset(disp, _gloffset_Viewport));
+static inline _glptr_Viewport
+GET_Viewport(struct _glapi_table *disp)
+{
+ return (_glptr_Viewport) (GET_by_offset(disp, _gloffset_Viewport));
}
-static inline void SET_Viewport(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLsizei, GLsizei)) {
- SET_by_offset(disp, _gloffset_Viewport, fn);
+static inline void
+SET_Viewport(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLint, GLint, GLsizei, GLsizei))
+{
+ SET_by_offset(disp, _gloffset_Viewport, fn);
}
-typedef void (GLAPIENTRYP _glptr_ArrayElement)(GLint);
+typedef void (GLAPIENTRYP _glptr_ArrayElement) (GLint);
+
#define CALL_ArrayElement(disp, parameters) \
(* GET_ArrayElement(disp)) parameters
-static inline _glptr_ArrayElement GET_ArrayElement(struct _glapi_table *disp) {
- return (_glptr_ArrayElement) (GET_by_offset(disp, _gloffset_ArrayElement));
+static inline _glptr_ArrayElement
+GET_ArrayElement(struct _glapi_table *disp)
+{
+ return (_glptr_ArrayElement) (GET_by_offset(disp, _gloffset_ArrayElement));
}
-static inline void SET_ArrayElement(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint)) {
- SET_by_offset(disp, _gloffset_ArrayElement, fn);
+static inline void
+SET_ArrayElement(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLint))
+{
+ SET_by_offset(disp, _gloffset_ArrayElement, fn);
}
-typedef void (GLAPIENTRYP _glptr_BindTexture)(GLenum, GLuint);
+typedef void (GLAPIENTRYP _glptr_BindTexture) (GLenum, GLuint);
+
#define CALL_BindTexture(disp, parameters) \
(* GET_BindTexture(disp)) parameters
-static inline _glptr_BindTexture GET_BindTexture(struct _glapi_table *disp) {
- return (_glptr_BindTexture) (GET_by_offset(disp, _gloffset_BindTexture));
+static inline _glptr_BindTexture
+GET_BindTexture(struct _glapi_table *disp)
+{
+ return (_glptr_BindTexture) (GET_by_offset(disp, _gloffset_BindTexture));
}
-static inline void SET_BindTexture(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint)) {
- SET_by_offset(disp, _gloffset_BindTexture, fn);
+static inline void
+SET_BindTexture(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLuint))
+{
+ SET_by_offset(disp, _gloffset_BindTexture, fn);
}
-typedef void (GLAPIENTRYP _glptr_ColorPointer)(GLint, GLenum, GLsizei, const GLvoid *);
+typedef void (GLAPIENTRYP _glptr_ColorPointer) (GLint, GLenum, GLsizei,
+ const GLvoid *);
#define CALL_ColorPointer(disp, parameters) \
(* GET_ColorPointer(disp)) parameters
-static inline _glptr_ColorPointer GET_ColorPointer(struct _glapi_table *disp) {
- return (_glptr_ColorPointer) (GET_by_offset(disp, _gloffset_ColorPointer));
+static inline _glptr_ColorPointer
+GET_ColorPointer(struct _glapi_table *disp)
+{
+ return (_glptr_ColorPointer) (GET_by_offset(disp, _gloffset_ColorPointer));
}
-static inline void SET_ColorPointer(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLenum, GLsizei, const GLvoid *)) {
- SET_by_offset(disp, _gloffset_ColorPointer, fn);
+static inline void
+SET_ColorPointer(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLint, GLenum, GLsizei, const GLvoid *))
+{
+ SET_by_offset(disp, _gloffset_ColorPointer, fn);
}
-typedef void (GLAPIENTRYP _glptr_DisableClientState)(GLenum);
+typedef void (GLAPIENTRYP _glptr_DisableClientState) (GLenum);
+
#define CALL_DisableClientState(disp, parameters) \
(* GET_DisableClientState(disp)) parameters
-static inline _glptr_DisableClientState GET_DisableClientState(struct _glapi_table *disp) {
- return (_glptr_DisableClientState) (GET_by_offset(disp, _gloffset_DisableClientState));
+static inline _glptr_DisableClientState
+GET_DisableClientState(struct _glapi_table *disp)
+{
+ return (_glptr_DisableClientState) (GET_by_offset
+ (disp, _gloffset_DisableClientState));
}
-static inline void SET_DisableClientState(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) {
- SET_by_offset(disp, _gloffset_DisableClientState, fn);
+static inline void
+SET_DisableClientState(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum))
+{
+ SET_by_offset(disp, _gloffset_DisableClientState, fn);
}
-typedef void (GLAPIENTRYP _glptr_DrawArrays)(GLenum, GLint, GLsizei);
+typedef void (GLAPIENTRYP _glptr_DrawArrays) (GLenum, GLint, GLsizei);
+
#define CALL_DrawArrays(disp, parameters) \
(* GET_DrawArrays(disp)) parameters
-static inline _glptr_DrawArrays GET_DrawArrays(struct _glapi_table *disp) {
- return (_glptr_DrawArrays) (GET_by_offset(disp, _gloffset_DrawArrays));
+static inline _glptr_DrawArrays
+GET_DrawArrays(struct _glapi_table *disp)
+{
+ return (_glptr_DrawArrays) (GET_by_offset(disp, _gloffset_DrawArrays));
}
-static inline void SET_DrawArrays(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLsizei)) {
- SET_by_offset(disp, _gloffset_DrawArrays, fn);
+static inline void
+SET_DrawArrays(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLint, GLsizei))
+{
+ SET_by_offset(disp, _gloffset_DrawArrays, fn);
}
-typedef void (GLAPIENTRYP _glptr_DrawElements)(GLenum, GLsizei, GLenum, const GLvoid *);
+typedef void (GLAPIENTRYP _glptr_DrawElements) (GLenum, GLsizei, GLenum,
+ const GLvoid *);
#define CALL_DrawElements(disp, parameters) \
(* GET_DrawElements(disp)) parameters
-static inline _glptr_DrawElements GET_DrawElements(struct _glapi_table *disp) {
- return (_glptr_DrawElements) (GET_by_offset(disp, _gloffset_DrawElements));
+static inline _glptr_DrawElements
+GET_DrawElements(struct _glapi_table *disp)
+{
+ return (_glptr_DrawElements) (GET_by_offset(disp, _gloffset_DrawElements));
}
-static inline void SET_DrawElements(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, GLenum, const GLvoid *)) {
- SET_by_offset(disp, _gloffset_DrawElements, fn);
+static inline void
+SET_DrawElements(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLsizei, GLenum,
+ const GLvoid *))
+{
+ SET_by_offset(disp, _gloffset_DrawElements, fn);
}
-typedef void (GLAPIENTRYP _glptr_EdgeFlagPointer)(GLsizei, const GLvoid *);
+typedef void (GLAPIENTRYP _glptr_EdgeFlagPointer) (GLsizei, const GLvoid *);
+
#define CALL_EdgeFlagPointer(disp, parameters) \
(* GET_EdgeFlagPointer(disp)) parameters
-static inline _glptr_EdgeFlagPointer GET_EdgeFlagPointer(struct _glapi_table *disp) {
- return (_glptr_EdgeFlagPointer) (GET_by_offset(disp, _gloffset_EdgeFlagPointer));
+static inline _glptr_EdgeFlagPointer
+GET_EdgeFlagPointer(struct _glapi_table *disp)
+{
+ return (_glptr_EdgeFlagPointer) (GET_by_offset
+ (disp, _gloffset_EdgeFlagPointer));
}
-static inline void SET_EdgeFlagPointer(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, const GLvoid *)) {
- SET_by_offset(disp, _gloffset_EdgeFlagPointer, fn);
+static inline void
+SET_EdgeFlagPointer(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLsizei, const GLvoid *))
+{
+ SET_by_offset(disp, _gloffset_EdgeFlagPointer, fn);
}
-typedef void (GLAPIENTRYP _glptr_EnableClientState)(GLenum);
+typedef void (GLAPIENTRYP _glptr_EnableClientState) (GLenum);
+
#define CALL_EnableClientState(disp, parameters) \
(* GET_EnableClientState(disp)) parameters
-static inline _glptr_EnableClientState GET_EnableClientState(struct _glapi_table *disp) {
- return (_glptr_EnableClientState) (GET_by_offset(disp, _gloffset_EnableClientState));
+static inline _glptr_EnableClientState
+GET_EnableClientState(struct _glapi_table *disp)
+{
+ return (_glptr_EnableClientState) (GET_by_offset
+ (disp, _gloffset_EnableClientState));
}
-static inline void SET_EnableClientState(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) {
- SET_by_offset(disp, _gloffset_EnableClientState, fn);
+static inline void
+SET_EnableClientState(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLenum))
+{
+ SET_by_offset(disp, _gloffset_EnableClientState, fn);
}
-typedef void (GLAPIENTRYP _glptr_IndexPointer)(GLenum, GLsizei, const GLvoid *);
+typedef void (GLAPIENTRYP _glptr_IndexPointer) (GLenum, GLsizei,
+ const GLvoid *);
#define CALL_IndexPointer(disp, parameters) \
(* GET_IndexPointer(disp)) parameters
-static inline _glptr_IndexPointer GET_IndexPointer(struct _glapi_table *disp) {
- return (_glptr_IndexPointer) (GET_by_offset(disp, _gloffset_IndexPointer));
+static inline _glptr_IndexPointer
+GET_IndexPointer(struct _glapi_table *disp)
+{
+ return (_glptr_IndexPointer) (GET_by_offset(disp, _gloffset_IndexPointer));
}
-static inline void SET_IndexPointer(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, const GLvoid *)) {
- SET_by_offset(disp, _gloffset_IndexPointer, fn);
+static inline void
+SET_IndexPointer(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLsizei, const GLvoid *))
+{
+ SET_by_offset(disp, _gloffset_IndexPointer, fn);
}
-typedef void (GLAPIENTRYP _glptr_Indexub)(GLubyte);
+typedef void (GLAPIENTRYP _glptr_Indexub) (GLubyte);
+
#define CALL_Indexub(disp, parameters) \
(* GET_Indexub(disp)) parameters
-static inline _glptr_Indexub GET_Indexub(struct _glapi_table *disp) {
- return (_glptr_Indexub) (GET_by_offset(disp, _gloffset_Indexub));
+static inline _glptr_Indexub
+GET_Indexub(struct _glapi_table *disp)
+{
+ return (_glptr_Indexub) (GET_by_offset(disp, _gloffset_Indexub));
}
-static inline void SET_Indexub(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLubyte)) {
- SET_by_offset(disp, _gloffset_Indexub, fn);
+static inline void
+SET_Indexub(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLubyte))
+{
+ SET_by_offset(disp, _gloffset_Indexub, fn);
}
-typedef void (GLAPIENTRYP _glptr_Indexubv)(const GLubyte *);
+typedef void (GLAPIENTRYP _glptr_Indexubv) (const GLubyte *);
+
#define CALL_Indexubv(disp, parameters) \
(* GET_Indexubv(disp)) parameters
-static inline _glptr_Indexubv GET_Indexubv(struct _glapi_table *disp) {
- return (_glptr_Indexubv) (GET_by_offset(disp, _gloffset_Indexubv));
+static inline _glptr_Indexubv
+GET_Indexubv(struct _glapi_table *disp)
+{
+ return (_glptr_Indexubv) (GET_by_offset(disp, _gloffset_Indexubv));
}
-static inline void SET_Indexubv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLubyte *)) {
- SET_by_offset(disp, _gloffset_Indexubv, fn);
+static inline void
+SET_Indexubv(struct _glapi_table *disp, void (GLAPIENTRYP fn) (const GLubyte *))
+{
+ SET_by_offset(disp, _gloffset_Indexubv, fn);
}
-typedef void (GLAPIENTRYP _glptr_InterleavedArrays)(GLenum, GLsizei, const GLvoid *);
+typedef void (GLAPIENTRYP _glptr_InterleavedArrays) (GLenum, GLsizei,
+ const GLvoid *);
#define CALL_InterleavedArrays(disp, parameters) \
(* GET_InterleavedArrays(disp)) parameters
-static inline _glptr_InterleavedArrays GET_InterleavedArrays(struct _glapi_table *disp) {
- return (_glptr_InterleavedArrays) (GET_by_offset(disp, _gloffset_InterleavedArrays));
+static inline _glptr_InterleavedArrays
+GET_InterleavedArrays(struct _glapi_table *disp)
+{
+ return (_glptr_InterleavedArrays) (GET_by_offset
+ (disp, _gloffset_InterleavedArrays));
}
-static inline void SET_InterleavedArrays(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, const GLvoid *)) {
- SET_by_offset(disp, _gloffset_InterleavedArrays, fn);
+static inline void
+SET_InterleavedArrays(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLsizei, const GLvoid *))
+{
+ SET_by_offset(disp, _gloffset_InterleavedArrays, fn);
}
-typedef void (GLAPIENTRYP _glptr_NormalPointer)(GLenum, GLsizei, const GLvoid *);
+typedef void (GLAPIENTRYP _glptr_NormalPointer) (GLenum, GLsizei,
+ const GLvoid *);
#define CALL_NormalPointer(disp, parameters) \
(* GET_NormalPointer(disp)) parameters
-static inline _glptr_NormalPointer GET_NormalPointer(struct _glapi_table *disp) {
- return (_glptr_NormalPointer) (GET_by_offset(disp, _gloffset_NormalPointer));
+static inline _glptr_NormalPointer
+GET_NormalPointer(struct _glapi_table *disp)
+{
+ return (_glptr_NormalPointer) (GET_by_offset
+ (disp, _gloffset_NormalPointer));
}
-static inline void SET_NormalPointer(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, const GLvoid *)) {
- SET_by_offset(disp, _gloffset_NormalPointer, fn);
+static inline void
+SET_NormalPointer(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLsizei, const GLvoid *))
+{
+ SET_by_offset(disp, _gloffset_NormalPointer, fn);
}
-typedef void (GLAPIENTRYP _glptr_PolygonOffset)(GLfloat, GLfloat);
+typedef void (GLAPIENTRYP _glptr_PolygonOffset) (GLfloat, GLfloat);
+
#define CALL_PolygonOffset(disp, parameters) \
(* GET_PolygonOffset(disp)) parameters
-static inline _glptr_PolygonOffset GET_PolygonOffset(struct _glapi_table *disp) {
- return (_glptr_PolygonOffset) (GET_by_offset(disp, _gloffset_PolygonOffset));
+static inline _glptr_PolygonOffset
+GET_PolygonOffset(struct _glapi_table *disp)
+{
+ return (_glptr_PolygonOffset) (GET_by_offset
+ (disp, _gloffset_PolygonOffset));
}
-static inline void SET_PolygonOffset(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat)) {
- SET_by_offset(disp, _gloffset_PolygonOffset, fn);
+static inline void
+SET_PolygonOffset(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLfloat, GLfloat))
+{
+ SET_by_offset(disp, _gloffset_PolygonOffset, fn);
}
-typedef void (GLAPIENTRYP _glptr_TexCoordPointer)(GLint, GLenum, GLsizei, const GLvoid *);
+typedef void (GLAPIENTRYP _glptr_TexCoordPointer) (GLint, GLenum, GLsizei,
+ const GLvoid *);
#define CALL_TexCoordPointer(disp, parameters) \
(* GET_TexCoordPointer(disp)) parameters
-static inline _glptr_TexCoordPointer GET_TexCoordPointer(struct _glapi_table *disp) {
- return (_glptr_TexCoordPointer) (GET_by_offset(disp, _gloffset_TexCoordPointer));
+static inline _glptr_TexCoordPointer
+GET_TexCoordPointer(struct _glapi_table *disp)
+{
+ return (_glptr_TexCoordPointer) (GET_by_offset
+ (disp, _gloffset_TexCoordPointer));
}
-static inline void SET_TexCoordPointer(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLenum, GLsizei, const GLvoid *)) {
- SET_by_offset(disp, _gloffset_TexCoordPointer, fn);
+static inline void
+SET_TexCoordPointer(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLint, GLenum, GLsizei,
+ const GLvoid *))
+{
+ SET_by_offset(disp, _gloffset_TexCoordPointer, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexPointer)(GLint, GLenum, GLsizei, const GLvoid *);
+typedef void (GLAPIENTRYP _glptr_VertexPointer) (GLint, GLenum, GLsizei,
+ const GLvoid *);
#define CALL_VertexPointer(disp, parameters) \
(* GET_VertexPointer(disp)) parameters
-static inline _glptr_VertexPointer GET_VertexPointer(struct _glapi_table *disp) {
- return (_glptr_VertexPointer) (GET_by_offset(disp, _gloffset_VertexPointer));
+static inline _glptr_VertexPointer
+GET_VertexPointer(struct _glapi_table *disp)
+{
+ return (_glptr_VertexPointer) (GET_by_offset
+ (disp, _gloffset_VertexPointer));
}
-static inline void SET_VertexPointer(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLenum, GLsizei, const GLvoid *)) {
- SET_by_offset(disp, _gloffset_VertexPointer, fn);
+static inline void
+SET_VertexPointer(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLint, GLenum, GLsizei,
+ const GLvoid *))
+{
+ SET_by_offset(disp, _gloffset_VertexPointer, fn);
}
-typedef GLboolean (GLAPIENTRYP _glptr_AreTexturesResident)(GLsizei, const GLuint *, GLboolean *);
+typedef GLboolean(GLAPIENTRYP _glptr_AreTexturesResident) (GLsizei,
+ const GLuint *,
+ GLboolean *);
#define CALL_AreTexturesResident(disp, parameters) \
(* GET_AreTexturesResident(disp)) parameters
-static inline _glptr_AreTexturesResident GET_AreTexturesResident(struct _glapi_table *disp) {
- return (_glptr_AreTexturesResident) (GET_by_offset(disp, _gloffset_AreTexturesResident));
+static inline _glptr_AreTexturesResident
+GET_AreTexturesResident(struct _glapi_table *disp)
+{
+ return (_glptr_AreTexturesResident) (GET_by_offset
+ (disp, _gloffset_AreTexturesResident));
}
-static inline void SET_AreTexturesResident(struct _glapi_table *disp, GLboolean (GLAPIENTRYP fn)(GLsizei, const GLuint *, GLboolean *)) {
- SET_by_offset(disp, _gloffset_AreTexturesResident, fn);
+static inline void
+SET_AreTexturesResident(struct _glapi_table *disp,
+ GLboolean(GLAPIENTRYP fn) (GLsizei, const GLuint *,
+ GLboolean *))
+{
+ SET_by_offset(disp, _gloffset_AreTexturesResident, fn);
}
-typedef void (GLAPIENTRYP _glptr_CopyTexImage1D)(GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLint);
+typedef void (GLAPIENTRYP _glptr_CopyTexImage1D) (GLenum, GLint, GLenum, GLint,
+ GLint, GLsizei, GLint);
#define CALL_CopyTexImage1D(disp, parameters) \
(* GET_CopyTexImage1D(disp)) parameters
-static inline _glptr_CopyTexImage1D GET_CopyTexImage1D(struct _glapi_table *disp) {
- return (_glptr_CopyTexImage1D) (GET_by_offset(disp, _gloffset_CopyTexImage1D));
+static inline _glptr_CopyTexImage1D
+GET_CopyTexImage1D(struct _glapi_table *disp)
+{
+ return (_glptr_CopyTexImage1D) (GET_by_offset
+ (disp, _gloffset_CopyTexImage1D));
}
-static inline void SET_CopyTexImage1D(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLint)) {
- SET_by_offset(disp, _gloffset_CopyTexImage1D, fn);
+static inline void
+SET_CopyTexImage1D(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLint, GLenum, GLint, GLint,
+ GLsizei, GLint))
+{
+ SET_by_offset(disp, _gloffset_CopyTexImage1D, fn);
}
-typedef void (GLAPIENTRYP _glptr_CopyTexImage2D)(GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLsizei, GLint);
+typedef void (GLAPIENTRYP _glptr_CopyTexImage2D) (GLenum, GLint, GLenum, GLint,
+ GLint, GLsizei, GLsizei,
+ GLint);
#define CALL_CopyTexImage2D(disp, parameters) \
(* GET_CopyTexImage2D(disp)) parameters
-static inline _glptr_CopyTexImage2D GET_CopyTexImage2D(struct _glapi_table *disp) {
- return (_glptr_CopyTexImage2D) (GET_by_offset(disp, _gloffset_CopyTexImage2D));
+static inline _glptr_CopyTexImage2D
+GET_CopyTexImage2D(struct _glapi_table *disp)
+{
+ return (_glptr_CopyTexImage2D) (GET_by_offset
+ (disp, _gloffset_CopyTexImage2D));
}
-static inline void SET_CopyTexImage2D(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLsizei, GLint)) {
- SET_by_offset(disp, _gloffset_CopyTexImage2D, fn);
+static inline void
+SET_CopyTexImage2D(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLint, GLenum, GLint, GLint,
+ GLsizei, GLsizei, GLint))
+{
+ SET_by_offset(disp, _gloffset_CopyTexImage2D, fn);
}
-typedef void (GLAPIENTRYP _glptr_CopyTexSubImage1D)(GLenum, GLint, GLint, GLint, GLint, GLsizei);
+typedef void (GLAPIENTRYP _glptr_CopyTexSubImage1D) (GLenum, GLint, GLint,
+ GLint, GLint, GLsizei);
#define CALL_CopyTexSubImage1D(disp, parameters) \
(* GET_CopyTexSubImage1D(disp)) parameters
-static inline _glptr_CopyTexSubImage1D GET_CopyTexSubImage1D(struct _glapi_table *disp) {
- return (_glptr_CopyTexSubImage1D) (GET_by_offset(disp, _gloffset_CopyTexSubImage1D));
+static inline _glptr_CopyTexSubImage1D
+GET_CopyTexSubImage1D(struct _glapi_table *disp)
+{
+ return (_glptr_CopyTexSubImage1D) (GET_by_offset
+ (disp, _gloffset_CopyTexSubImage1D));
}
-static inline void SET_CopyTexSubImage1D(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLint, GLint, GLint, GLsizei)) {
- SET_by_offset(disp, _gloffset_CopyTexSubImage1D, fn);
+static inline void
+SET_CopyTexSubImage1D(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLint, GLint, GLint, GLint,
+ GLsizei))
+{
+ SET_by_offset(disp, _gloffset_CopyTexSubImage1D, fn);
}
-typedef void (GLAPIENTRYP _glptr_CopyTexSubImage2D)(GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei);
+typedef void (GLAPIENTRYP _glptr_CopyTexSubImage2D) (GLenum, GLint, GLint,
+ GLint, GLint, GLint,
+ GLsizei, GLsizei);
#define CALL_CopyTexSubImage2D(disp, parameters) \
(* GET_CopyTexSubImage2D(disp)) parameters
-static inline _glptr_CopyTexSubImage2D GET_CopyTexSubImage2D(struct _glapi_table *disp) {
- return (_glptr_CopyTexSubImage2D) (GET_by_offset(disp, _gloffset_CopyTexSubImage2D));
+static inline _glptr_CopyTexSubImage2D
+GET_CopyTexSubImage2D(struct _glapi_table *disp)
+{
+ return (_glptr_CopyTexSubImage2D) (GET_by_offset
+ (disp, _gloffset_CopyTexSubImage2D));
}
-static inline void SET_CopyTexSubImage2D(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei)) {
- SET_by_offset(disp, _gloffset_CopyTexSubImage2D, fn);
+static inline void
+SET_CopyTexSubImage2D(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLint, GLint, GLint, GLint,
+ GLint, GLsizei, GLsizei))
+{
+ SET_by_offset(disp, _gloffset_CopyTexSubImage2D, fn);
}
-typedef void (GLAPIENTRYP _glptr_DeleteTextures)(GLsizei, const GLuint *);
+typedef void (GLAPIENTRYP _glptr_DeleteTextures) (GLsizei, const GLuint *);
+
#define CALL_DeleteTextures(disp, parameters) \
(* GET_DeleteTextures(disp)) parameters
-static inline _glptr_DeleteTextures GET_DeleteTextures(struct _glapi_table *disp) {
- return (_glptr_DeleteTextures) (GET_by_offset(disp, _gloffset_DeleteTextures));
+static inline _glptr_DeleteTextures
+GET_DeleteTextures(struct _glapi_table *disp)
+{
+ return (_glptr_DeleteTextures) (GET_by_offset
+ (disp, _gloffset_DeleteTextures));
}
-static inline void SET_DeleteTextures(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, const GLuint *)) {
- SET_by_offset(disp, _gloffset_DeleteTextures, fn);
+static inline void
+SET_DeleteTextures(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLsizei, const GLuint *))
+{
+ SET_by_offset(disp, _gloffset_DeleteTextures, fn);
}
-typedef void (GLAPIENTRYP _glptr_GenTextures)(GLsizei, GLuint *);
+typedef void (GLAPIENTRYP _glptr_GenTextures) (GLsizei, GLuint *);
+
#define CALL_GenTextures(disp, parameters) \
(* GET_GenTextures(disp)) parameters
-static inline _glptr_GenTextures GET_GenTextures(struct _glapi_table *disp) {
- return (_glptr_GenTextures) (GET_by_offset(disp, _gloffset_GenTextures));
+static inline _glptr_GenTextures
+GET_GenTextures(struct _glapi_table *disp)
+{
+ return (_glptr_GenTextures) (GET_by_offset(disp, _gloffset_GenTextures));
}
-static inline void SET_GenTextures(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, GLuint *)) {
- SET_by_offset(disp, _gloffset_GenTextures, fn);
+static inline void
+SET_GenTextures(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLsizei, GLuint *))
+{
+ SET_by_offset(disp, _gloffset_GenTextures, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetPointerv)(GLenum, GLvoid **);
+typedef void (GLAPIENTRYP _glptr_GetPointerv) (GLenum, GLvoid **);
+
#define CALL_GetPointerv(disp, parameters) \
(* GET_GetPointerv(disp)) parameters
-static inline _glptr_GetPointerv GET_GetPointerv(struct _glapi_table *disp) {
- return (_glptr_GetPointerv) (GET_by_offset(disp, _gloffset_GetPointerv));
+static inline _glptr_GetPointerv
+GET_GetPointerv(struct _glapi_table *disp)
+{
+ return (_glptr_GetPointerv) (GET_by_offset(disp, _gloffset_GetPointerv));
}
-static inline void SET_GetPointerv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLvoid **)) {
- SET_by_offset(disp, _gloffset_GetPointerv, fn);
+static inline void
+SET_GetPointerv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLvoid **))
+{
+ SET_by_offset(disp, _gloffset_GetPointerv, fn);
}
-typedef GLboolean (GLAPIENTRYP _glptr_IsTexture)(GLuint);
+typedef GLboolean(GLAPIENTRYP _glptr_IsTexture) (GLuint);
+
#define CALL_IsTexture(disp, parameters) \
(* GET_IsTexture(disp)) parameters
-static inline _glptr_IsTexture GET_IsTexture(struct _glapi_table *disp) {
- return (_glptr_IsTexture) (GET_by_offset(disp, _gloffset_IsTexture));
+static inline _glptr_IsTexture
+GET_IsTexture(struct _glapi_table *disp)
+{
+ return (_glptr_IsTexture) (GET_by_offset(disp, _gloffset_IsTexture));
}
-static inline void SET_IsTexture(struct _glapi_table *disp, GLboolean (GLAPIENTRYP fn)(GLuint)) {
- SET_by_offset(disp, _gloffset_IsTexture, fn);
+static inline void
+SET_IsTexture(struct _glapi_table *disp, GLboolean(GLAPIENTRYP fn) (GLuint))
+{
+ SET_by_offset(disp, _gloffset_IsTexture, fn);
}
-typedef void (GLAPIENTRYP _glptr_PrioritizeTextures)(GLsizei, const GLuint *, const GLclampf *);
+typedef void (GLAPIENTRYP _glptr_PrioritizeTextures) (GLsizei, const GLuint *,
+ const GLclampf *);
#define CALL_PrioritizeTextures(disp, parameters) \
(* GET_PrioritizeTextures(disp)) parameters
-static inline _glptr_PrioritizeTextures GET_PrioritizeTextures(struct _glapi_table *disp) {
- return (_glptr_PrioritizeTextures) (GET_by_offset(disp, _gloffset_PrioritizeTextures));
+static inline _glptr_PrioritizeTextures
+GET_PrioritizeTextures(struct _glapi_table *disp)
+{
+ return (_glptr_PrioritizeTextures) (GET_by_offset
+ (disp, _gloffset_PrioritizeTextures));
}
-static inline void SET_PrioritizeTextures(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, const GLuint *, const GLclampf *)) {
- SET_by_offset(disp, _gloffset_PrioritizeTextures, fn);
+static inline void
+SET_PrioritizeTextures(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLsizei, const GLuint *,
+ const GLclampf *))
+{
+ SET_by_offset(disp, _gloffset_PrioritizeTextures, fn);
}
-typedef void (GLAPIENTRYP _glptr_TexSubImage1D)(GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *);
+typedef void (GLAPIENTRYP _glptr_TexSubImage1D) (GLenum, GLint, GLint, GLsizei,
+ GLenum, GLenum,
+ const GLvoid *);
#define CALL_TexSubImage1D(disp, parameters) \
(* GET_TexSubImage1D(disp)) parameters
-static inline _glptr_TexSubImage1D GET_TexSubImage1D(struct _glapi_table *disp) {
- return (_glptr_TexSubImage1D) (GET_by_offset(disp, _gloffset_TexSubImage1D));
+static inline _glptr_TexSubImage1D
+GET_TexSubImage1D(struct _glapi_table *disp)
+{
+ return (_glptr_TexSubImage1D) (GET_by_offset
+ (disp, _gloffset_TexSubImage1D));
}
-static inline void SET_TexSubImage1D(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *)) {
- SET_by_offset(disp, _gloffset_TexSubImage1D, fn);
+static inline void
+SET_TexSubImage1D(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLint, GLint, GLsizei, GLenum,
+ GLenum, const GLvoid *))
+{
+ SET_by_offset(disp, _gloffset_TexSubImage1D, fn);
}
-typedef void (GLAPIENTRYP _glptr_TexSubImage2D)(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
+typedef void (GLAPIENTRYP _glptr_TexSubImage2D) (GLenum, GLint, GLint, GLint,
+ GLsizei, GLsizei, GLenum,
+ GLenum, const GLvoid *);
#define CALL_TexSubImage2D(disp, parameters) \
(* GET_TexSubImage2D(disp)) parameters
-static inline _glptr_TexSubImage2D GET_TexSubImage2D(struct _glapi_table *disp) {
- return (_glptr_TexSubImage2D) (GET_by_offset(disp, _gloffset_TexSubImage2D));
+static inline _glptr_TexSubImage2D
+GET_TexSubImage2D(struct _glapi_table *disp)
+{
+ return (_glptr_TexSubImage2D) (GET_by_offset
+ (disp, _gloffset_TexSubImage2D));
}
-static inline void SET_TexSubImage2D(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) {
- SET_by_offset(disp, _gloffset_TexSubImage2D, fn);
+static inline void
+SET_TexSubImage2D(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLint, GLint, GLint, GLsizei,
+ GLsizei, GLenum, GLenum,
+ const GLvoid *))
+{
+ SET_by_offset(disp, _gloffset_TexSubImage2D, fn);
}
-typedef void (GLAPIENTRYP _glptr_PopClientAttrib)(void);
+typedef void (GLAPIENTRYP _glptr_PopClientAttrib) (void);
+
#define CALL_PopClientAttrib(disp, parameters) \
(* GET_PopClientAttrib(disp)) parameters
-static inline _glptr_PopClientAttrib GET_PopClientAttrib(struct _glapi_table *disp) {
- return (_glptr_PopClientAttrib) (GET_by_offset(disp, _gloffset_PopClientAttrib));
+static inline _glptr_PopClientAttrib
+GET_PopClientAttrib(struct _glapi_table *disp)
+{
+ return (_glptr_PopClientAttrib) (GET_by_offset
+ (disp, _gloffset_PopClientAttrib));
}
-static inline void SET_PopClientAttrib(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) {
- SET_by_offset(disp, _gloffset_PopClientAttrib, fn);
+static inline void
+SET_PopClientAttrib(struct _glapi_table *disp, void (GLAPIENTRYP fn) (void))
+{
+ SET_by_offset(disp, _gloffset_PopClientAttrib, fn);
}
-typedef void (GLAPIENTRYP _glptr_PushClientAttrib)(GLbitfield);
+typedef void (GLAPIENTRYP _glptr_PushClientAttrib) (GLbitfield);
+
#define CALL_PushClientAttrib(disp, parameters) \
(* GET_PushClientAttrib(disp)) parameters
-static inline _glptr_PushClientAttrib GET_PushClientAttrib(struct _glapi_table *disp) {
- return (_glptr_PushClientAttrib) (GET_by_offset(disp, _gloffset_PushClientAttrib));
+static inline _glptr_PushClientAttrib
+GET_PushClientAttrib(struct _glapi_table *disp)
+{
+ return (_glptr_PushClientAttrib) (GET_by_offset
+ (disp, _gloffset_PushClientAttrib));
}
-static inline void SET_PushClientAttrib(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLbitfield)) {
- SET_by_offset(disp, _gloffset_PushClientAttrib, fn);
+static inline void
+SET_PushClientAttrib(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLbitfield))
+{
+ SET_by_offset(disp, _gloffset_PushClientAttrib, fn);
}
-typedef void (GLAPIENTRYP _glptr_BlendColor)(GLclampf, GLclampf, GLclampf, GLclampf);
+typedef void (GLAPIENTRYP _glptr_BlendColor) (GLclampf, GLclampf, GLclampf,
+ GLclampf);
#define CALL_BlendColor(disp, parameters) \
(* GET_BlendColor(disp)) parameters
-static inline _glptr_BlendColor GET_BlendColor(struct _glapi_table *disp) {
- return (_glptr_BlendColor) (GET_by_offset(disp, _gloffset_BlendColor));
+static inline _glptr_BlendColor
+GET_BlendColor(struct _glapi_table *disp)
+{
+ return (_glptr_BlendColor) (GET_by_offset(disp, _gloffset_BlendColor));
}
-static inline void SET_BlendColor(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLclampf, GLclampf, GLclampf, GLclampf)) {
- SET_by_offset(disp, _gloffset_BlendColor, fn);
+static inline void
+SET_BlendColor(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLclampf, GLclampf, GLclampf, GLclampf))
+{
+ SET_by_offset(disp, _gloffset_BlendColor, fn);
}
-typedef void (GLAPIENTRYP _glptr_BlendEquation)(GLenum);
+typedef void (GLAPIENTRYP _glptr_BlendEquation) (GLenum);
+
#define CALL_BlendEquation(disp, parameters) \
(* GET_BlendEquation(disp)) parameters
-static inline _glptr_BlendEquation GET_BlendEquation(struct _glapi_table *disp) {
- return (_glptr_BlendEquation) (GET_by_offset(disp, _gloffset_BlendEquation));
+static inline _glptr_BlendEquation
+GET_BlendEquation(struct _glapi_table *disp)
+{
+ return (_glptr_BlendEquation) (GET_by_offset
+ (disp, _gloffset_BlendEquation));
}
-static inline void SET_BlendEquation(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) {
- SET_by_offset(disp, _gloffset_BlendEquation, fn);
+static inline void
+SET_BlendEquation(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLenum))
+{
+ SET_by_offset(disp, _gloffset_BlendEquation, fn);
}
-typedef void (GLAPIENTRYP _glptr_DrawRangeElements)(GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *);
+typedef void (GLAPIENTRYP _glptr_DrawRangeElements) (GLenum, GLuint, GLuint,
+ GLsizei, GLenum,
+ const GLvoid *);
#define CALL_DrawRangeElements(disp, parameters) \
(* GET_DrawRangeElements(disp)) parameters
-static inline _glptr_DrawRangeElements GET_DrawRangeElements(struct _glapi_table *disp) {
- return (_glptr_DrawRangeElements) (GET_by_offset(disp, _gloffset_DrawRangeElements));
+static inline _glptr_DrawRangeElements
+GET_DrawRangeElements(struct _glapi_table *disp)
+{
+ return (_glptr_DrawRangeElements) (GET_by_offset
+ (disp, _gloffset_DrawRangeElements));
}
-static inline void SET_DrawRangeElements(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *)) {
- SET_by_offset(disp, _gloffset_DrawRangeElements, fn);
+static inline void
+SET_DrawRangeElements(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLuint, GLuint, GLsizei,
+ GLenum, const GLvoid *))
+{
+ SET_by_offset(disp, _gloffset_DrawRangeElements, fn);
}
-typedef void (GLAPIENTRYP _glptr_ColorTable)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *);
+typedef void (GLAPIENTRYP _glptr_ColorTable) (GLenum, GLenum, GLsizei, GLenum,
+ GLenum, const GLvoid *);
#define CALL_ColorTable(disp, parameters) \
(* GET_ColorTable(disp)) parameters
-static inline _glptr_ColorTable GET_ColorTable(struct _glapi_table *disp) {
- return (_glptr_ColorTable) (GET_by_offset(disp, _gloffset_ColorTable));
+static inline _glptr_ColorTable
+GET_ColorTable(struct _glapi_table *disp)
+{
+ return (_glptr_ColorTable) (GET_by_offset(disp, _gloffset_ColorTable));
}
-static inline void SET_ColorTable(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *)) {
- SET_by_offset(disp, _gloffset_ColorTable, fn);
+static inline void
+SET_ColorTable(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, GLsizei, GLenum, GLenum,
+ const GLvoid *))
+{
+ SET_by_offset(disp, _gloffset_ColorTable, fn);
}
-typedef void (GLAPIENTRYP _glptr_ColorTableParameterfv)(GLenum, GLenum, const GLfloat *);
+typedef void (GLAPIENTRYP _glptr_ColorTableParameterfv) (GLenum, GLenum,
+ const GLfloat *);
#define CALL_ColorTableParameterfv(disp, parameters) \
(* GET_ColorTableParameterfv(disp)) parameters
-static inline _glptr_ColorTableParameterfv GET_ColorTableParameterfv(struct _glapi_table *disp) {
- return (_glptr_ColorTableParameterfv) (GET_by_offset(disp, _gloffset_ColorTableParameterfv));
+static inline _glptr_ColorTableParameterfv
+GET_ColorTableParameterfv(struct _glapi_table *disp)
+{
+ return (_glptr_ColorTableParameterfv) (GET_by_offset
+ (disp,
+ _gloffset_ColorTableParameterfv));
}
-static inline void SET_ColorTableParameterfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLfloat *)) {
- SET_by_offset(disp, _gloffset_ColorTableParameterfv, fn);
+static inline void
+SET_ColorTableParameterfv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum,
+ const GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_ColorTableParameterfv, fn);
}
-typedef void (GLAPIENTRYP _glptr_ColorTableParameteriv)(GLenum, GLenum, const GLint *);
+typedef void (GLAPIENTRYP _glptr_ColorTableParameteriv) (GLenum, GLenum,
+ const GLint *);
#define CALL_ColorTableParameteriv(disp, parameters) \
(* GET_ColorTableParameteriv(disp)) parameters
-static inline _glptr_ColorTableParameteriv GET_ColorTableParameteriv(struct _glapi_table *disp) {
- return (_glptr_ColorTableParameteriv) (GET_by_offset(disp, _gloffset_ColorTableParameteriv));
+static inline _glptr_ColorTableParameteriv
+GET_ColorTableParameteriv(struct _glapi_table *disp)
+{
+ return (_glptr_ColorTableParameteriv) (GET_by_offset
+ (disp,
+ _gloffset_ColorTableParameteriv));
}
-static inline void SET_ColorTableParameteriv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLint *)) {
- SET_by_offset(disp, _gloffset_ColorTableParameteriv, fn);
+static inline void
+SET_ColorTableParameteriv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, const GLint *))
+{
+ SET_by_offset(disp, _gloffset_ColorTableParameteriv, fn);
}
-typedef void (GLAPIENTRYP _glptr_CopyColorTable)(GLenum, GLenum, GLint, GLint, GLsizei);
+typedef void (GLAPIENTRYP _glptr_CopyColorTable) (GLenum, GLenum, GLint, GLint,
+ GLsizei);
#define CALL_CopyColorTable(disp, parameters) \
(* GET_CopyColorTable(disp)) parameters
-static inline _glptr_CopyColorTable GET_CopyColorTable(struct _glapi_table *disp) {
- return (_glptr_CopyColorTable) (GET_by_offset(disp, _gloffset_CopyColorTable));
+static inline _glptr_CopyColorTable
+GET_CopyColorTable(struct _glapi_table *disp)
+{
+ return (_glptr_CopyColorTable) (GET_by_offset
+ (disp, _gloffset_CopyColorTable));
}
-static inline void SET_CopyColorTable(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint, GLint, GLsizei)) {
- SET_by_offset(disp, _gloffset_CopyColorTable, fn);
+static inline void
+SET_CopyColorTable(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, GLint, GLint,
+ GLsizei))
+{
+ SET_by_offset(disp, _gloffset_CopyColorTable, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetColorTable)(GLenum, GLenum, GLenum, GLvoid *);
+typedef void (GLAPIENTRYP _glptr_GetColorTable) (GLenum, GLenum, GLenum,
+ GLvoid *);
#define CALL_GetColorTable(disp, parameters) \
(* GET_GetColorTable(disp)) parameters
-static inline _glptr_GetColorTable GET_GetColorTable(struct _glapi_table *disp) {
- return (_glptr_GetColorTable) (GET_by_offset(disp, _gloffset_GetColorTable));
+static inline _glptr_GetColorTable
+GET_GetColorTable(struct _glapi_table *disp)
+{
+ return (_glptr_GetColorTable) (GET_by_offset
+ (disp, _gloffset_GetColorTable));
}
-static inline void SET_GetColorTable(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLenum, GLvoid *)) {
- SET_by_offset(disp, _gloffset_GetColorTable, fn);
+static inline void
+SET_GetColorTable(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, GLenum, GLvoid *))
+{
+ SET_by_offset(disp, _gloffset_GetColorTable, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetColorTableParameterfv)(GLenum, GLenum, GLfloat *);
+typedef void (GLAPIENTRYP _glptr_GetColorTableParameterfv) (GLenum, GLenum,
+ GLfloat *);
#define CALL_GetColorTableParameterfv(disp, parameters) \
(* GET_GetColorTableParameterfv(disp)) parameters
-static inline _glptr_GetColorTableParameterfv GET_GetColorTableParameterfv(struct _glapi_table *disp) {
- return (_glptr_GetColorTableParameterfv) (GET_by_offset(disp, _gloffset_GetColorTableParameterfv));
+static inline _glptr_GetColorTableParameterfv
+GET_GetColorTableParameterfv(struct _glapi_table *disp)
+{
+ return (_glptr_GetColorTableParameterfv) (GET_by_offset
+ (disp,
+ _gloffset_GetColorTableParameterfv));
}
-static inline void SET_GetColorTableParameterfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfloat *)) {
- SET_by_offset(disp, _gloffset_GetColorTableParameterfv, fn);
+static inline void
+SET_GetColorTableParameterfv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_GetColorTableParameterfv, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetColorTableParameteriv)(GLenum, GLenum, GLint *);
+typedef void (GLAPIENTRYP _glptr_GetColorTableParameteriv) (GLenum, GLenum,
+ GLint *);
#define CALL_GetColorTableParameteriv(disp, parameters) \
(* GET_GetColorTableParameteriv(disp)) parameters
-static inline _glptr_GetColorTableParameteriv GET_GetColorTableParameteriv(struct _glapi_table *disp) {
- return (_glptr_GetColorTableParameteriv) (GET_by_offset(disp, _gloffset_GetColorTableParameteriv));
+static inline _glptr_GetColorTableParameteriv
+GET_GetColorTableParameteriv(struct _glapi_table *disp)
+{
+ return (_glptr_GetColorTableParameteriv) (GET_by_offset
+ (disp,
+ _gloffset_GetColorTableParameteriv));
}
-static inline void SET_GetColorTableParameteriv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint *)) {
- SET_by_offset(disp, _gloffset_GetColorTableParameteriv, fn);
+static inline void
+SET_GetColorTableParameteriv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, GLint *))
+{
+ SET_by_offset(disp, _gloffset_GetColorTableParameteriv, fn);
}
-typedef void (GLAPIENTRYP _glptr_ColorSubTable)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
+typedef void (GLAPIENTRYP _glptr_ColorSubTable) (GLenum, GLsizei, GLsizei,
+ GLenum, GLenum,
+ const GLvoid *);
#define CALL_ColorSubTable(disp, parameters) \
(* GET_ColorSubTable(disp)) parameters
-static inline _glptr_ColorSubTable GET_ColorSubTable(struct _glapi_table *disp) {
- return (_glptr_ColorSubTable) (GET_by_offset(disp, _gloffset_ColorSubTable));
+static inline _glptr_ColorSubTable
+GET_ColorSubTable(struct _glapi_table *disp)
+{
+ return (_glptr_ColorSubTable) (GET_by_offset
+ (disp, _gloffset_ColorSubTable));
}
-static inline void SET_ColorSubTable(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) {
- SET_by_offset(disp, _gloffset_ColorSubTable, fn);
+static inline void
+SET_ColorSubTable(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLsizei, GLsizei, GLenum,
+ GLenum, const GLvoid *))
+{
+ SET_by_offset(disp, _gloffset_ColorSubTable, fn);
}
-typedef void (GLAPIENTRYP _glptr_CopyColorSubTable)(GLenum, GLsizei, GLint, GLint, GLsizei);
+typedef void (GLAPIENTRYP _glptr_CopyColorSubTable) (GLenum, GLsizei, GLint,
+ GLint, GLsizei);
#define CALL_CopyColorSubTable(disp, parameters) \
(* GET_CopyColorSubTable(disp)) parameters
-static inline _glptr_CopyColorSubTable GET_CopyColorSubTable(struct _glapi_table *disp) {
- return (_glptr_CopyColorSubTable) (GET_by_offset(disp, _gloffset_CopyColorSubTable));
+static inline _glptr_CopyColorSubTable
+GET_CopyColorSubTable(struct _glapi_table *disp)
+{
+ return (_glptr_CopyColorSubTable) (GET_by_offset
+ (disp, _gloffset_CopyColorSubTable));
}
-static inline void SET_CopyColorSubTable(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, GLint, GLint, GLsizei)) {
- SET_by_offset(disp, _gloffset_CopyColorSubTable, fn);
+static inline void
+SET_CopyColorSubTable(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLsizei, GLint, GLint,
+ GLsizei))
+{
+ SET_by_offset(disp, _gloffset_CopyColorSubTable, fn);
}
-typedef void (GLAPIENTRYP _glptr_ConvolutionFilter1D)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *);
+typedef void (GLAPIENTRYP _glptr_ConvolutionFilter1D) (GLenum, GLenum, GLsizei,
+ GLenum, GLenum,
+ const GLvoid *);
#define CALL_ConvolutionFilter1D(disp, parameters) \
(* GET_ConvolutionFilter1D(disp)) parameters
-static inline _glptr_ConvolutionFilter1D GET_ConvolutionFilter1D(struct _glapi_table *disp) {
- return (_glptr_ConvolutionFilter1D) (GET_by_offset(disp, _gloffset_ConvolutionFilter1D));
+static inline _glptr_ConvolutionFilter1D
+GET_ConvolutionFilter1D(struct _glapi_table *disp)
+{
+ return (_glptr_ConvolutionFilter1D) (GET_by_offset
+ (disp, _gloffset_ConvolutionFilter1D));
}
-static inline void SET_ConvolutionFilter1D(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *)) {
- SET_by_offset(disp, _gloffset_ConvolutionFilter1D, fn);
+static inline void
+SET_ConvolutionFilter1D(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, GLsizei, GLenum,
+ GLenum, const GLvoid *))
+{
+ SET_by_offset(disp, _gloffset_ConvolutionFilter1D, fn);
}
-typedef void (GLAPIENTRYP _glptr_ConvolutionFilter2D)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
+typedef void (GLAPIENTRYP _glptr_ConvolutionFilter2D) (GLenum, GLenum, GLsizei,
+ GLsizei, GLenum, GLenum,
+ const GLvoid *);
#define CALL_ConvolutionFilter2D(disp, parameters) \
(* GET_ConvolutionFilter2D(disp)) parameters
-static inline _glptr_ConvolutionFilter2D GET_ConvolutionFilter2D(struct _glapi_table *disp) {
- return (_glptr_ConvolutionFilter2D) (GET_by_offset(disp, _gloffset_ConvolutionFilter2D));
+static inline _glptr_ConvolutionFilter2D
+GET_ConvolutionFilter2D(struct _glapi_table *disp)
+{
+ return (_glptr_ConvolutionFilter2D) (GET_by_offset
+ (disp, _gloffset_ConvolutionFilter2D));
}
-static inline void SET_ConvolutionFilter2D(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) {
- SET_by_offset(disp, _gloffset_ConvolutionFilter2D, fn);
+static inline void
+SET_ConvolutionFilter2D(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, GLsizei, GLsizei,
+ GLenum, GLenum, const GLvoid *))
+{
+ SET_by_offset(disp, _gloffset_ConvolutionFilter2D, fn);
}
-typedef void (GLAPIENTRYP _glptr_ConvolutionParameterf)(GLenum, GLenum, GLfloat);
+typedef void (GLAPIENTRYP _glptr_ConvolutionParameterf) (GLenum, GLenum,
+ GLfloat);
#define CALL_ConvolutionParameterf(disp, parameters) \
(* GET_ConvolutionParameterf(disp)) parameters
-static inline _glptr_ConvolutionParameterf GET_ConvolutionParameterf(struct _glapi_table *disp) {
- return (_glptr_ConvolutionParameterf) (GET_by_offset(disp, _gloffset_ConvolutionParameterf));
+static inline _glptr_ConvolutionParameterf
+GET_ConvolutionParameterf(struct _glapi_table *disp)
+{
+ return (_glptr_ConvolutionParameterf) (GET_by_offset
+ (disp,
+ _gloffset_ConvolutionParameterf));
}
-static inline void SET_ConvolutionParameterf(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfloat)) {
- SET_by_offset(disp, _gloffset_ConvolutionParameterf, fn);
+static inline void
+SET_ConvolutionParameterf(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, GLfloat))
+{
+ SET_by_offset(disp, _gloffset_ConvolutionParameterf, fn);
}
-typedef void (GLAPIENTRYP _glptr_ConvolutionParameterfv)(GLenum, GLenum, const GLfloat *);
+typedef void (GLAPIENTRYP _glptr_ConvolutionParameterfv) (GLenum, GLenum,
+ const GLfloat *);
#define CALL_ConvolutionParameterfv(disp, parameters) \
(* GET_ConvolutionParameterfv(disp)) parameters
-static inline _glptr_ConvolutionParameterfv GET_ConvolutionParameterfv(struct _glapi_table *disp) {
- return (_glptr_ConvolutionParameterfv) (GET_by_offset(disp, _gloffset_ConvolutionParameterfv));
+static inline _glptr_ConvolutionParameterfv
+GET_ConvolutionParameterfv(struct _glapi_table *disp)
+{
+ return (_glptr_ConvolutionParameterfv) (GET_by_offset
+ (disp,
+ _gloffset_ConvolutionParameterfv));
}
-static inline void SET_ConvolutionParameterfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLfloat *)) {
- SET_by_offset(disp, _gloffset_ConvolutionParameterfv, fn);
+static inline void
+SET_ConvolutionParameterfv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum,
+ const GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_ConvolutionParameterfv, fn);
}
-typedef void (GLAPIENTRYP _glptr_ConvolutionParameteri)(GLenum, GLenum, GLint);
+typedef void (GLAPIENTRYP _glptr_ConvolutionParameteri) (GLenum, GLenum, GLint);
+
#define CALL_ConvolutionParameteri(disp, parameters) \
(* GET_ConvolutionParameteri(disp)) parameters
-static inline _glptr_ConvolutionParameteri GET_ConvolutionParameteri(struct _glapi_table *disp) {
- return (_glptr_ConvolutionParameteri) (GET_by_offset(disp, _gloffset_ConvolutionParameteri));
+static inline _glptr_ConvolutionParameteri
+GET_ConvolutionParameteri(struct _glapi_table *disp)
+{
+ return (_glptr_ConvolutionParameteri) (GET_by_offset
+ (disp,
+ _gloffset_ConvolutionParameteri));
}
-static inline void SET_ConvolutionParameteri(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint)) {
- SET_by_offset(disp, _gloffset_ConvolutionParameteri, fn);
+static inline void
+SET_ConvolutionParameteri(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, GLint))
+{
+ SET_by_offset(disp, _gloffset_ConvolutionParameteri, fn);
}
-typedef void (GLAPIENTRYP _glptr_ConvolutionParameteriv)(GLenum, GLenum, const GLint *);
+typedef void (GLAPIENTRYP _glptr_ConvolutionParameteriv) (GLenum, GLenum,
+ const GLint *);
#define CALL_ConvolutionParameteriv(disp, parameters) \
(* GET_ConvolutionParameteriv(disp)) parameters
-static inline _glptr_ConvolutionParameteriv GET_ConvolutionParameteriv(struct _glapi_table *disp) {
- return (_glptr_ConvolutionParameteriv) (GET_by_offset(disp, _gloffset_ConvolutionParameteriv));
+static inline _glptr_ConvolutionParameteriv
+GET_ConvolutionParameteriv(struct _glapi_table *disp)
+{
+ return (_glptr_ConvolutionParameteriv) (GET_by_offset
+ (disp,
+ _gloffset_ConvolutionParameteriv));
}
-static inline void SET_ConvolutionParameteriv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLint *)) {
- SET_by_offset(disp, _gloffset_ConvolutionParameteriv, fn);
+static inline void
+SET_ConvolutionParameteriv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum,
+ const GLint *))
+{
+ SET_by_offset(disp, _gloffset_ConvolutionParameteriv, fn);
}
-typedef void (GLAPIENTRYP _glptr_CopyConvolutionFilter1D)(GLenum, GLenum, GLint, GLint, GLsizei);
+typedef void (GLAPIENTRYP _glptr_CopyConvolutionFilter1D) (GLenum, GLenum,
+ GLint, GLint,
+ GLsizei);
#define CALL_CopyConvolutionFilter1D(disp, parameters) \
(* GET_CopyConvolutionFilter1D(disp)) parameters
-static inline _glptr_CopyConvolutionFilter1D GET_CopyConvolutionFilter1D(struct _glapi_table *disp) {
- return (_glptr_CopyConvolutionFilter1D) (GET_by_offset(disp, _gloffset_CopyConvolutionFilter1D));
+static inline _glptr_CopyConvolutionFilter1D
+GET_CopyConvolutionFilter1D(struct _glapi_table *disp)
+{
+ return (_glptr_CopyConvolutionFilter1D) (GET_by_offset
+ (disp,
+ _gloffset_CopyConvolutionFilter1D));
}
-static inline void SET_CopyConvolutionFilter1D(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint, GLint, GLsizei)) {
- SET_by_offset(disp, _gloffset_CopyConvolutionFilter1D, fn);
+static inline void
+SET_CopyConvolutionFilter1D(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, GLint, GLint,
+ GLsizei))
+{
+ SET_by_offset(disp, _gloffset_CopyConvolutionFilter1D, fn);
}
-typedef void (GLAPIENTRYP _glptr_CopyConvolutionFilter2D)(GLenum, GLenum, GLint, GLint, GLsizei, GLsizei);
+typedef void (GLAPIENTRYP _glptr_CopyConvolutionFilter2D) (GLenum, GLenum,
+ GLint, GLint,
+ GLsizei, GLsizei);
#define CALL_CopyConvolutionFilter2D(disp, parameters) \
(* GET_CopyConvolutionFilter2D(disp)) parameters
-static inline _glptr_CopyConvolutionFilter2D GET_CopyConvolutionFilter2D(struct _glapi_table *disp) {
- return (_glptr_CopyConvolutionFilter2D) (GET_by_offset(disp, _gloffset_CopyConvolutionFilter2D));
+static inline _glptr_CopyConvolutionFilter2D
+GET_CopyConvolutionFilter2D(struct _glapi_table *disp)
+{
+ return (_glptr_CopyConvolutionFilter2D) (GET_by_offset
+ (disp,
+ _gloffset_CopyConvolutionFilter2D));
}
-static inline void SET_CopyConvolutionFilter2D(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint, GLint, GLsizei, GLsizei)) {
- SET_by_offset(disp, _gloffset_CopyConvolutionFilter2D, fn);
+static inline void
+SET_CopyConvolutionFilter2D(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, GLint, GLint,
+ GLsizei, GLsizei))
+{
+ SET_by_offset(disp, _gloffset_CopyConvolutionFilter2D, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetConvolutionFilter)(GLenum, GLenum, GLenum, GLvoid *);
+typedef void (GLAPIENTRYP _glptr_GetConvolutionFilter) (GLenum, GLenum, GLenum,
+ GLvoid *);
#define CALL_GetConvolutionFilter(disp, parameters) \
(* GET_GetConvolutionFilter(disp)) parameters
-static inline _glptr_GetConvolutionFilter GET_GetConvolutionFilter(struct _glapi_table *disp) {
- return (_glptr_GetConvolutionFilter) (GET_by_offset(disp, _gloffset_GetConvolutionFilter));
+static inline _glptr_GetConvolutionFilter
+GET_GetConvolutionFilter(struct _glapi_table *disp)
+{
+ return (_glptr_GetConvolutionFilter) (GET_by_offset
+ (disp,
+ _gloffset_GetConvolutionFilter));
}
-static inline void SET_GetConvolutionFilter(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLenum, GLvoid *)) {
- SET_by_offset(disp, _gloffset_GetConvolutionFilter, fn);
+static inline void
+SET_GetConvolutionFilter(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, GLenum,
+ GLvoid *))
+{
+ SET_by_offset(disp, _gloffset_GetConvolutionFilter, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetConvolutionParameterfv)(GLenum, GLenum, GLfloat *);
+typedef void (GLAPIENTRYP _glptr_GetConvolutionParameterfv) (GLenum, GLenum,
+ GLfloat *);
#define CALL_GetConvolutionParameterfv(disp, parameters) \
(* GET_GetConvolutionParameterfv(disp)) parameters
-static inline _glptr_GetConvolutionParameterfv GET_GetConvolutionParameterfv(struct _glapi_table *disp) {
- return (_glptr_GetConvolutionParameterfv) (GET_by_offset(disp, _gloffset_GetConvolutionParameterfv));
+static inline _glptr_GetConvolutionParameterfv
+GET_GetConvolutionParameterfv(struct _glapi_table *disp)
+{
+ return (_glptr_GetConvolutionParameterfv) (GET_by_offset
+ (disp,
+ _gloffset_GetConvolutionParameterfv));
}
-static inline void SET_GetConvolutionParameterfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfloat *)) {
- SET_by_offset(disp, _gloffset_GetConvolutionParameterfv, fn);
+static inline void
+SET_GetConvolutionParameterfv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_GetConvolutionParameterfv, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetConvolutionParameteriv)(GLenum, GLenum, GLint *);
+typedef void (GLAPIENTRYP _glptr_GetConvolutionParameteriv) (GLenum, GLenum,
+ GLint *);
#define CALL_GetConvolutionParameteriv(disp, parameters) \
(* GET_GetConvolutionParameteriv(disp)) parameters
-static inline _glptr_GetConvolutionParameteriv GET_GetConvolutionParameteriv(struct _glapi_table *disp) {
- return (_glptr_GetConvolutionParameteriv) (GET_by_offset(disp, _gloffset_GetConvolutionParameteriv));
+static inline _glptr_GetConvolutionParameteriv
+GET_GetConvolutionParameteriv(struct _glapi_table *disp)
+{
+ return (_glptr_GetConvolutionParameteriv) (GET_by_offset
+ (disp,
+ _gloffset_GetConvolutionParameteriv));
}
-static inline void SET_GetConvolutionParameteriv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint *)) {
- SET_by_offset(disp, _gloffset_GetConvolutionParameteriv, fn);
+static inline void
+SET_GetConvolutionParameteriv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, GLint *))
+{
+ SET_by_offset(disp, _gloffset_GetConvolutionParameteriv, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetSeparableFilter)(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *);
+typedef void (GLAPIENTRYP _glptr_GetSeparableFilter) (GLenum, GLenum, GLenum,
+ GLvoid *, GLvoid *,
+ GLvoid *);
#define CALL_GetSeparableFilter(disp, parameters) \
(* GET_GetSeparableFilter(disp)) parameters
-static inline _glptr_GetSeparableFilter GET_GetSeparableFilter(struct _glapi_table *disp) {
- return (_glptr_GetSeparableFilter) (GET_by_offset(disp, _gloffset_GetSeparableFilter));
+static inline _glptr_GetSeparableFilter
+GET_GetSeparableFilter(struct _glapi_table *disp)
+{
+ return (_glptr_GetSeparableFilter) (GET_by_offset
+ (disp, _gloffset_GetSeparableFilter));
}
-static inline void SET_GetSeparableFilter(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *)) {
- SET_by_offset(disp, _gloffset_GetSeparableFilter, fn);
+static inline void
+SET_GetSeparableFilter(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, GLenum, GLvoid *,
+ GLvoid *, GLvoid *))
+{
+ SET_by_offset(disp, _gloffset_GetSeparableFilter, fn);
}
-typedef void (GLAPIENTRYP _glptr_SeparableFilter2D)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *);
+typedef void (GLAPIENTRYP _glptr_SeparableFilter2D) (GLenum, GLenum, GLsizei,
+ GLsizei, GLenum, GLenum,
+ const GLvoid *,
+ const GLvoid *);
#define CALL_SeparableFilter2D(disp, parameters) \
(* GET_SeparableFilter2D(disp)) parameters
-static inline _glptr_SeparableFilter2D GET_SeparableFilter2D(struct _glapi_table *disp) {
- return (_glptr_SeparableFilter2D) (GET_by_offset(disp, _gloffset_SeparableFilter2D));
+static inline _glptr_SeparableFilter2D
+GET_SeparableFilter2D(struct _glapi_table *disp)
+{
+ return (_glptr_SeparableFilter2D) (GET_by_offset
+ (disp, _gloffset_SeparableFilter2D));
}
-static inline void SET_SeparableFilter2D(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *)) {
- SET_by_offset(disp, _gloffset_SeparableFilter2D, fn);
+static inline void
+SET_SeparableFilter2D(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, GLsizei, GLsizei,
+ GLenum, GLenum, const GLvoid *,
+ const GLvoid *))
+{
+ SET_by_offset(disp, _gloffset_SeparableFilter2D, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetHistogram)(GLenum, GLboolean, GLenum, GLenum, GLvoid *);
+typedef void (GLAPIENTRYP _glptr_GetHistogram) (GLenum, GLboolean, GLenum,
+ GLenum, GLvoid *);
#define CALL_GetHistogram(disp, parameters) \
(* GET_GetHistogram(disp)) parameters
-static inline _glptr_GetHistogram GET_GetHistogram(struct _glapi_table *disp) {
- return (_glptr_GetHistogram) (GET_by_offset(disp, _gloffset_GetHistogram));
+static inline _glptr_GetHistogram
+GET_GetHistogram(struct _glapi_table *disp)
+{
+ return (_glptr_GetHistogram) (GET_by_offset(disp, _gloffset_GetHistogram));
}
-static inline void SET_GetHistogram(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLboolean, GLenum, GLenum, GLvoid *)) {
- SET_by_offset(disp, _gloffset_GetHistogram, fn);
+static inline void
+SET_GetHistogram(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLboolean, GLenum, GLenum,
+ GLvoid *))
+{
+ SET_by_offset(disp, _gloffset_GetHistogram, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetHistogramParameterfv)(GLenum, GLenum, GLfloat *);
+typedef void (GLAPIENTRYP _glptr_GetHistogramParameterfv) (GLenum, GLenum,
+ GLfloat *);
#define CALL_GetHistogramParameterfv(disp, parameters) \
(* GET_GetHistogramParameterfv(disp)) parameters
-static inline _glptr_GetHistogramParameterfv GET_GetHistogramParameterfv(struct _glapi_table *disp) {
- return (_glptr_GetHistogramParameterfv) (GET_by_offset(disp, _gloffset_GetHistogramParameterfv));
+static inline _glptr_GetHistogramParameterfv
+GET_GetHistogramParameterfv(struct _glapi_table *disp)
+{
+ return (_glptr_GetHistogramParameterfv) (GET_by_offset
+ (disp,
+ _gloffset_GetHistogramParameterfv));
}
-static inline void SET_GetHistogramParameterfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfloat *)) {
- SET_by_offset(disp, _gloffset_GetHistogramParameterfv, fn);
+static inline void
+SET_GetHistogramParameterfv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_GetHistogramParameterfv, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetHistogramParameteriv)(GLenum, GLenum, GLint *);
+typedef void (GLAPIENTRYP _glptr_GetHistogramParameteriv) (GLenum, GLenum,
+ GLint *);
#define CALL_GetHistogramParameteriv(disp, parameters) \
(* GET_GetHistogramParameteriv(disp)) parameters
-static inline _glptr_GetHistogramParameteriv GET_GetHistogramParameteriv(struct _glapi_table *disp) {
- return (_glptr_GetHistogramParameteriv) (GET_by_offset(disp, _gloffset_GetHistogramParameteriv));
+static inline _glptr_GetHistogramParameteriv
+GET_GetHistogramParameteriv(struct _glapi_table *disp)
+{
+ return (_glptr_GetHistogramParameteriv) (GET_by_offset
+ (disp,
+ _gloffset_GetHistogramParameteriv));
}
-static inline void SET_GetHistogramParameteriv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint *)) {
- SET_by_offset(disp, _gloffset_GetHistogramParameteriv, fn);
+static inline void
+SET_GetHistogramParameteriv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, GLint *))
+{
+ SET_by_offset(disp, _gloffset_GetHistogramParameteriv, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetMinmax)(GLenum, GLboolean, GLenum, GLenum, GLvoid *);
+typedef void (GLAPIENTRYP _glptr_GetMinmax) (GLenum, GLboolean, GLenum, GLenum,
+ GLvoid *);
#define CALL_GetMinmax(disp, parameters) \
(* GET_GetMinmax(disp)) parameters
-static inline _glptr_GetMinmax GET_GetMinmax(struct _glapi_table *disp) {
- return (_glptr_GetMinmax) (GET_by_offset(disp, _gloffset_GetMinmax));
+static inline _glptr_GetMinmax
+GET_GetMinmax(struct _glapi_table *disp)
+{
+ return (_glptr_GetMinmax) (GET_by_offset(disp, _gloffset_GetMinmax));
}
-static inline void SET_GetMinmax(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLboolean, GLenum, GLenum, GLvoid *)) {
- SET_by_offset(disp, _gloffset_GetMinmax, fn);
+static inline void
+SET_GetMinmax(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLboolean, GLenum, GLenum,
+ GLvoid *))
+{
+ SET_by_offset(disp, _gloffset_GetMinmax, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetMinmaxParameterfv)(GLenum, GLenum, GLfloat *);
+typedef void (GLAPIENTRYP _glptr_GetMinmaxParameterfv) (GLenum, GLenum,
+ GLfloat *);
#define CALL_GetMinmaxParameterfv(disp, parameters) \
(* GET_GetMinmaxParameterfv(disp)) parameters
-static inline _glptr_GetMinmaxParameterfv GET_GetMinmaxParameterfv(struct _glapi_table *disp) {
- return (_glptr_GetMinmaxParameterfv) (GET_by_offset(disp, _gloffset_GetMinmaxParameterfv));
+static inline _glptr_GetMinmaxParameterfv
+GET_GetMinmaxParameterfv(struct _glapi_table *disp)
+{
+ return (_glptr_GetMinmaxParameterfv) (GET_by_offset
+ (disp,
+ _gloffset_GetMinmaxParameterfv));
}
-static inline void SET_GetMinmaxParameterfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfloat *)) {
- SET_by_offset(disp, _gloffset_GetMinmaxParameterfv, fn);
+static inline void
+SET_GetMinmaxParameterfv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_GetMinmaxParameterfv, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetMinmaxParameteriv)(GLenum, GLenum, GLint *);
+typedef void (GLAPIENTRYP _glptr_GetMinmaxParameteriv) (GLenum, GLenum,
+ GLint *);
#define CALL_GetMinmaxParameteriv(disp, parameters) \
(* GET_GetMinmaxParameteriv(disp)) parameters
-static inline _glptr_GetMinmaxParameteriv GET_GetMinmaxParameteriv(struct _glapi_table *disp) {
- return (_glptr_GetMinmaxParameteriv) (GET_by_offset(disp, _gloffset_GetMinmaxParameteriv));
+static inline _glptr_GetMinmaxParameteriv
+GET_GetMinmaxParameteriv(struct _glapi_table *disp)
+{
+ return (_glptr_GetMinmaxParameteriv) (GET_by_offset
+ (disp,
+ _gloffset_GetMinmaxParameteriv));
}
-static inline void SET_GetMinmaxParameteriv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint *)) {
- SET_by_offset(disp, _gloffset_GetMinmaxParameteriv, fn);
+static inline void
+SET_GetMinmaxParameteriv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, GLint *))
+{
+ SET_by_offset(disp, _gloffset_GetMinmaxParameteriv, fn);
}
-typedef void (GLAPIENTRYP _glptr_Histogram)(GLenum, GLsizei, GLenum, GLboolean);
+typedef void (GLAPIENTRYP _glptr_Histogram) (GLenum, GLsizei, GLenum,
+ GLboolean);
#define CALL_Histogram(disp, parameters) \
(* GET_Histogram(disp)) parameters
-static inline _glptr_Histogram GET_Histogram(struct _glapi_table *disp) {
- return (_glptr_Histogram) (GET_by_offset(disp, _gloffset_Histogram));
+static inline _glptr_Histogram
+GET_Histogram(struct _glapi_table *disp)
+{
+ return (_glptr_Histogram) (GET_by_offset(disp, _gloffset_Histogram));
}
-static inline void SET_Histogram(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, GLenum, GLboolean)) {
- SET_by_offset(disp, _gloffset_Histogram, fn);
+static inline void
+SET_Histogram(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLsizei, GLenum, GLboolean))
+{
+ SET_by_offset(disp, _gloffset_Histogram, fn);
}
-typedef void (GLAPIENTRYP _glptr_Minmax)(GLenum, GLenum, GLboolean);
+typedef void (GLAPIENTRYP _glptr_Minmax) (GLenum, GLenum, GLboolean);
+
#define CALL_Minmax(disp, parameters) \
(* GET_Minmax(disp)) parameters
-static inline _glptr_Minmax GET_Minmax(struct _glapi_table *disp) {
- return (_glptr_Minmax) (GET_by_offset(disp, _gloffset_Minmax));
+static inline _glptr_Minmax
+GET_Minmax(struct _glapi_table *disp)
+{
+ return (_glptr_Minmax) (GET_by_offset(disp, _gloffset_Minmax));
}
-static inline void SET_Minmax(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLboolean)) {
- SET_by_offset(disp, _gloffset_Minmax, fn);
+static inline void
+SET_Minmax(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, GLboolean))
+{
+ SET_by_offset(disp, _gloffset_Minmax, fn);
}
-typedef void (GLAPIENTRYP _glptr_ResetHistogram)(GLenum);
+typedef void (GLAPIENTRYP _glptr_ResetHistogram) (GLenum);
+
#define CALL_ResetHistogram(disp, parameters) \
(* GET_ResetHistogram(disp)) parameters
-static inline _glptr_ResetHistogram GET_ResetHistogram(struct _glapi_table *disp) {
- return (_glptr_ResetHistogram) (GET_by_offset(disp, _gloffset_ResetHistogram));
+static inline _glptr_ResetHistogram
+GET_ResetHistogram(struct _glapi_table *disp)
+{
+ return (_glptr_ResetHistogram) (GET_by_offset
+ (disp, _gloffset_ResetHistogram));
}
-static inline void SET_ResetHistogram(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) {
- SET_by_offset(disp, _gloffset_ResetHistogram, fn);
+static inline void
+SET_ResetHistogram(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLenum))
+{
+ SET_by_offset(disp, _gloffset_ResetHistogram, fn);
}
-typedef void (GLAPIENTRYP _glptr_ResetMinmax)(GLenum);
+typedef void (GLAPIENTRYP _glptr_ResetMinmax) (GLenum);
+
#define CALL_ResetMinmax(disp, parameters) \
(* GET_ResetMinmax(disp)) parameters
-static inline _glptr_ResetMinmax GET_ResetMinmax(struct _glapi_table *disp) {
- return (_glptr_ResetMinmax) (GET_by_offset(disp, _gloffset_ResetMinmax));
+static inline _glptr_ResetMinmax
+GET_ResetMinmax(struct _glapi_table *disp)
+{
+ return (_glptr_ResetMinmax) (GET_by_offset(disp, _gloffset_ResetMinmax));
}
-static inline void SET_ResetMinmax(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) {
- SET_by_offset(disp, _gloffset_ResetMinmax, fn);
+static inline void
+SET_ResetMinmax(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLenum))
+{
+ SET_by_offset(disp, _gloffset_ResetMinmax, fn);
}
-typedef void (GLAPIENTRYP _glptr_TexImage3D)(GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *);
+typedef void (GLAPIENTRYP _glptr_TexImage3D) (GLenum, GLint, GLint, GLsizei,
+ GLsizei, GLsizei, GLint, GLenum,
+ GLenum, const GLvoid *);
#define CALL_TexImage3D(disp, parameters) \
(* GET_TexImage3D(disp)) parameters
-static inline _glptr_TexImage3D GET_TexImage3D(struct _glapi_table *disp) {
- return (_glptr_TexImage3D) (GET_by_offset(disp, _gloffset_TexImage3D));
+static inline _glptr_TexImage3D
+GET_TexImage3D(struct _glapi_table *disp)
+{
+ return (_glptr_TexImage3D) (GET_by_offset(disp, _gloffset_TexImage3D));
}
-static inline void SET_TexImage3D(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *)) {
- SET_by_offset(disp, _gloffset_TexImage3D, fn);
+static inline void
+SET_TexImage3D(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLint, GLint, GLsizei, GLsizei,
+ GLsizei, GLint, GLenum, GLenum,
+ const GLvoid *))
+{
+ SET_by_offset(disp, _gloffset_TexImage3D, fn);
}
-typedef void (GLAPIENTRYP _glptr_TexSubImage3D)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
+typedef void (GLAPIENTRYP _glptr_TexSubImage3D) (GLenum, GLint, GLint, GLint,
+ GLint, GLsizei, GLsizei,
+ GLsizei, GLenum, GLenum,
+ const GLvoid *);
#define CALL_TexSubImage3D(disp, parameters) \
(* GET_TexSubImage3D(disp)) parameters
-static inline _glptr_TexSubImage3D GET_TexSubImage3D(struct _glapi_table *disp) {
- return (_glptr_TexSubImage3D) (GET_by_offset(disp, _gloffset_TexSubImage3D));
+static inline _glptr_TexSubImage3D
+GET_TexSubImage3D(struct _glapi_table *disp)
+{
+ return (_glptr_TexSubImage3D) (GET_by_offset
+ (disp, _gloffset_TexSubImage3D));
}
-static inline void SET_TexSubImage3D(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) {
- SET_by_offset(disp, _gloffset_TexSubImage3D, fn);
+static inline void
+SET_TexSubImage3D(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLint, GLint, GLint, GLint,
+ GLsizei, GLsizei, GLsizei, GLenum,
+ GLenum, const GLvoid *))
+{
+ SET_by_offset(disp, _gloffset_TexSubImage3D, fn);
}
-typedef void (GLAPIENTRYP _glptr_CopyTexSubImage3D)(GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei);
+typedef void (GLAPIENTRYP _glptr_CopyTexSubImage3D) (GLenum, GLint, GLint,
+ GLint, GLint, GLint, GLint,
+ GLsizei, GLsizei);
#define CALL_CopyTexSubImage3D(disp, parameters) \
(* GET_CopyTexSubImage3D(disp)) parameters
-static inline _glptr_CopyTexSubImage3D GET_CopyTexSubImage3D(struct _glapi_table *disp) {
- return (_glptr_CopyTexSubImage3D) (GET_by_offset(disp, _gloffset_CopyTexSubImage3D));
+static inline _glptr_CopyTexSubImage3D
+GET_CopyTexSubImage3D(struct _glapi_table *disp)
+{
+ return (_glptr_CopyTexSubImage3D) (GET_by_offset
+ (disp, _gloffset_CopyTexSubImage3D));
}
-static inline void SET_CopyTexSubImage3D(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei)) {
- SET_by_offset(disp, _gloffset_CopyTexSubImage3D, fn);
+static inline void
+SET_CopyTexSubImage3D(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLint, GLint, GLint, GLint,
+ GLint, GLint, GLsizei, GLsizei))
+{
+ SET_by_offset(disp, _gloffset_CopyTexSubImage3D, fn);
}
-typedef void (GLAPIENTRYP _glptr_ActiveTextureARB)(GLenum);
+typedef void (GLAPIENTRYP _glptr_ActiveTextureARB) (GLenum);
+
#define CALL_ActiveTextureARB(disp, parameters) \
(* GET_ActiveTextureARB(disp)) parameters
-static inline _glptr_ActiveTextureARB GET_ActiveTextureARB(struct _glapi_table *disp) {
- return (_glptr_ActiveTextureARB) (GET_by_offset(disp, _gloffset_ActiveTextureARB));
+static inline _glptr_ActiveTextureARB
+GET_ActiveTextureARB(struct _glapi_table *disp)
+{
+ return (_glptr_ActiveTextureARB) (GET_by_offset
+ (disp, _gloffset_ActiveTextureARB));
}
-static inline void SET_ActiveTextureARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) {
- SET_by_offset(disp, _gloffset_ActiveTextureARB, fn);
+static inline void
+SET_ActiveTextureARB(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLenum))
+{
+ SET_by_offset(disp, _gloffset_ActiveTextureARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_ClientActiveTextureARB)(GLenum);
+typedef void (GLAPIENTRYP _glptr_ClientActiveTextureARB) (GLenum);
+
#define CALL_ClientActiveTextureARB(disp, parameters) \
(* GET_ClientActiveTextureARB(disp)) parameters
-static inline _glptr_ClientActiveTextureARB GET_ClientActiveTextureARB(struct _glapi_table *disp) {
- return (_glptr_ClientActiveTextureARB) (GET_by_offset(disp, _gloffset_ClientActiveTextureARB));
+static inline _glptr_ClientActiveTextureARB
+GET_ClientActiveTextureARB(struct _glapi_table *disp)
+{
+ return (_glptr_ClientActiveTextureARB) (GET_by_offset
+ (disp,
+ _gloffset_ClientActiveTextureARB));
}
-static inline void SET_ClientActiveTextureARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) {
- SET_by_offset(disp, _gloffset_ClientActiveTextureARB, fn);
+static inline void
+SET_ClientActiveTextureARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum))
+{
+ SET_by_offset(disp, _gloffset_ClientActiveTextureARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_MultiTexCoord1dARB)(GLenum, GLdouble);
+typedef void (GLAPIENTRYP _glptr_MultiTexCoord1dARB) (GLenum, GLdouble);
+
#define CALL_MultiTexCoord1dARB(disp, parameters) \
(* GET_MultiTexCoord1dARB(disp)) parameters
-static inline _glptr_MultiTexCoord1dARB GET_MultiTexCoord1dARB(struct _glapi_table *disp) {
- return (_glptr_MultiTexCoord1dARB) (GET_by_offset(disp, _gloffset_MultiTexCoord1dARB));
+static inline _glptr_MultiTexCoord1dARB
+GET_MultiTexCoord1dARB(struct _glapi_table *disp)
+{
+ return (_glptr_MultiTexCoord1dARB) (GET_by_offset
+ (disp, _gloffset_MultiTexCoord1dARB));
}
-static inline void SET_MultiTexCoord1dARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLdouble)) {
- SET_by_offset(disp, _gloffset_MultiTexCoord1dARB, fn);
+static inline void
+SET_MultiTexCoord1dARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLdouble))
+{
+ SET_by_offset(disp, _gloffset_MultiTexCoord1dARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_MultiTexCoord1dvARB)(GLenum, const GLdouble *);
+typedef void (GLAPIENTRYP _glptr_MultiTexCoord1dvARB) (GLenum,
+ const GLdouble *);
#define CALL_MultiTexCoord1dvARB(disp, parameters) \
(* GET_MultiTexCoord1dvARB(disp)) parameters
-static inline _glptr_MultiTexCoord1dvARB GET_MultiTexCoord1dvARB(struct _glapi_table *disp) {
- return (_glptr_MultiTexCoord1dvARB) (GET_by_offset(disp, _gloffset_MultiTexCoord1dvARB));
+static inline _glptr_MultiTexCoord1dvARB
+GET_MultiTexCoord1dvARB(struct _glapi_table *disp)
+{
+ return (_glptr_MultiTexCoord1dvARB) (GET_by_offset
+ (disp, _gloffset_MultiTexCoord1dvARB));
}
-static inline void SET_MultiTexCoord1dvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLdouble *)) {
- SET_by_offset(disp, _gloffset_MultiTexCoord1dvARB, fn);
+static inline void
+SET_MultiTexCoord1dvARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, const GLdouble *))
+{
+ SET_by_offset(disp, _gloffset_MultiTexCoord1dvARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_MultiTexCoord1fARB)(GLenum, GLfloat);
+typedef void (GLAPIENTRYP _glptr_MultiTexCoord1fARB) (GLenum, GLfloat);
+
#define CALL_MultiTexCoord1fARB(disp, parameters) \
(* GET_MultiTexCoord1fARB(disp)) parameters
-static inline _glptr_MultiTexCoord1fARB GET_MultiTexCoord1fARB(struct _glapi_table *disp) {
- return (_glptr_MultiTexCoord1fARB) (GET_by_offset(disp, _gloffset_MultiTexCoord1fARB));
+static inline _glptr_MultiTexCoord1fARB
+GET_MultiTexCoord1fARB(struct _glapi_table *disp)
+{
+ return (_glptr_MultiTexCoord1fARB) (GET_by_offset
+ (disp, _gloffset_MultiTexCoord1fARB));
}
-static inline void SET_MultiTexCoord1fARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLfloat)) {
- SET_by_offset(disp, _gloffset_MultiTexCoord1fARB, fn);
+static inline void
+SET_MultiTexCoord1fARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLfloat))
+{
+ SET_by_offset(disp, _gloffset_MultiTexCoord1fARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_MultiTexCoord1fvARB)(GLenum, const GLfloat *);
+typedef void (GLAPIENTRYP _glptr_MultiTexCoord1fvARB) (GLenum, const GLfloat *);
+
#define CALL_MultiTexCoord1fvARB(disp, parameters) \
(* GET_MultiTexCoord1fvARB(disp)) parameters
-static inline _glptr_MultiTexCoord1fvARB GET_MultiTexCoord1fvARB(struct _glapi_table *disp) {
- return (_glptr_MultiTexCoord1fvARB) (GET_by_offset(disp, _gloffset_MultiTexCoord1fvARB));
+static inline _glptr_MultiTexCoord1fvARB
+GET_MultiTexCoord1fvARB(struct _glapi_table *disp)
+{
+ return (_glptr_MultiTexCoord1fvARB) (GET_by_offset
+ (disp, _gloffset_MultiTexCoord1fvARB));
}
-static inline void SET_MultiTexCoord1fvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLfloat *)) {
- SET_by_offset(disp, _gloffset_MultiTexCoord1fvARB, fn);
+static inline void
+SET_MultiTexCoord1fvARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, const GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_MultiTexCoord1fvARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_MultiTexCoord1iARB)(GLenum, GLint);
+typedef void (GLAPIENTRYP _glptr_MultiTexCoord1iARB) (GLenum, GLint);
+
#define CALL_MultiTexCoord1iARB(disp, parameters) \
(* GET_MultiTexCoord1iARB(disp)) parameters
-static inline _glptr_MultiTexCoord1iARB GET_MultiTexCoord1iARB(struct _glapi_table *disp) {
- return (_glptr_MultiTexCoord1iARB) (GET_by_offset(disp, _gloffset_MultiTexCoord1iARB));
+static inline _glptr_MultiTexCoord1iARB
+GET_MultiTexCoord1iARB(struct _glapi_table *disp)
+{
+ return (_glptr_MultiTexCoord1iARB) (GET_by_offset
+ (disp, _gloffset_MultiTexCoord1iARB));
}
-static inline void SET_MultiTexCoord1iARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint)) {
- SET_by_offset(disp, _gloffset_MultiTexCoord1iARB, fn);
+static inline void
+SET_MultiTexCoord1iARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLint))
+{
+ SET_by_offset(disp, _gloffset_MultiTexCoord1iARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_MultiTexCoord1ivARB)(GLenum, const GLint *);
+typedef void (GLAPIENTRYP _glptr_MultiTexCoord1ivARB) (GLenum, const GLint *);
+
#define CALL_MultiTexCoord1ivARB(disp, parameters) \
(* GET_MultiTexCoord1ivARB(disp)) parameters
-static inline _glptr_MultiTexCoord1ivARB GET_MultiTexCoord1ivARB(struct _glapi_table *disp) {
- return (_glptr_MultiTexCoord1ivARB) (GET_by_offset(disp, _gloffset_MultiTexCoord1ivARB));
+static inline _glptr_MultiTexCoord1ivARB
+GET_MultiTexCoord1ivARB(struct _glapi_table *disp)
+{
+ return (_glptr_MultiTexCoord1ivARB) (GET_by_offset
+ (disp, _gloffset_MultiTexCoord1ivARB));
}
-static inline void SET_MultiTexCoord1ivARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLint *)) {
- SET_by_offset(disp, _gloffset_MultiTexCoord1ivARB, fn);
+static inline void
+SET_MultiTexCoord1ivARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, const GLint *))
+{
+ SET_by_offset(disp, _gloffset_MultiTexCoord1ivARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_MultiTexCoord1sARB)(GLenum, GLshort);
+typedef void (GLAPIENTRYP _glptr_MultiTexCoord1sARB) (GLenum, GLshort);
+
#define CALL_MultiTexCoord1sARB(disp, parameters) \
(* GET_MultiTexCoord1sARB(disp)) parameters
-static inline _glptr_MultiTexCoord1sARB GET_MultiTexCoord1sARB(struct _glapi_table *disp) {
- return (_glptr_MultiTexCoord1sARB) (GET_by_offset(disp, _gloffset_MultiTexCoord1sARB));
+static inline _glptr_MultiTexCoord1sARB
+GET_MultiTexCoord1sARB(struct _glapi_table *disp)
+{
+ return (_glptr_MultiTexCoord1sARB) (GET_by_offset
+ (disp, _gloffset_MultiTexCoord1sARB));
}
-static inline void SET_MultiTexCoord1sARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLshort)) {
- SET_by_offset(disp, _gloffset_MultiTexCoord1sARB, fn);
+static inline void
+SET_MultiTexCoord1sARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLshort))
+{
+ SET_by_offset(disp, _gloffset_MultiTexCoord1sARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_MultiTexCoord1svARB)(GLenum, const GLshort *);
+typedef void (GLAPIENTRYP _glptr_MultiTexCoord1svARB) (GLenum, const GLshort *);
+
#define CALL_MultiTexCoord1svARB(disp, parameters) \
(* GET_MultiTexCoord1svARB(disp)) parameters
-static inline _glptr_MultiTexCoord1svARB GET_MultiTexCoord1svARB(struct _glapi_table *disp) {
- return (_glptr_MultiTexCoord1svARB) (GET_by_offset(disp, _gloffset_MultiTexCoord1svARB));
+static inline _glptr_MultiTexCoord1svARB
+GET_MultiTexCoord1svARB(struct _glapi_table *disp)
+{
+ return (_glptr_MultiTexCoord1svARB) (GET_by_offset
+ (disp, _gloffset_MultiTexCoord1svARB));
}
-static inline void SET_MultiTexCoord1svARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLshort *)) {
- SET_by_offset(disp, _gloffset_MultiTexCoord1svARB, fn);
+static inline void
+SET_MultiTexCoord1svARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, const GLshort *))
+{
+ SET_by_offset(disp, _gloffset_MultiTexCoord1svARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_MultiTexCoord2dARB)(GLenum, GLdouble, GLdouble);
+typedef void (GLAPIENTRYP _glptr_MultiTexCoord2dARB) (GLenum, GLdouble,
+ GLdouble);
#define CALL_MultiTexCoord2dARB(disp, parameters) \
(* GET_MultiTexCoord2dARB(disp)) parameters
-static inline _glptr_MultiTexCoord2dARB GET_MultiTexCoord2dARB(struct _glapi_table *disp) {
- return (_glptr_MultiTexCoord2dARB) (GET_by_offset(disp, _gloffset_MultiTexCoord2dARB));
+static inline _glptr_MultiTexCoord2dARB
+GET_MultiTexCoord2dARB(struct _glapi_table *disp)
+{
+ return (_glptr_MultiTexCoord2dARB) (GET_by_offset
+ (disp, _gloffset_MultiTexCoord2dARB));
}
-static inline void SET_MultiTexCoord2dARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLdouble, GLdouble)) {
- SET_by_offset(disp, _gloffset_MultiTexCoord2dARB, fn);
+static inline void
+SET_MultiTexCoord2dARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLdouble, GLdouble))
+{
+ SET_by_offset(disp, _gloffset_MultiTexCoord2dARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_MultiTexCoord2dvARB)(GLenum, const GLdouble *);
+typedef void (GLAPIENTRYP _glptr_MultiTexCoord2dvARB) (GLenum,
+ const GLdouble *);
#define CALL_MultiTexCoord2dvARB(disp, parameters) \
(* GET_MultiTexCoord2dvARB(disp)) parameters
-static inline _glptr_MultiTexCoord2dvARB GET_MultiTexCoord2dvARB(struct _glapi_table *disp) {
- return (_glptr_MultiTexCoord2dvARB) (GET_by_offset(disp, _gloffset_MultiTexCoord2dvARB));
+static inline _glptr_MultiTexCoord2dvARB
+GET_MultiTexCoord2dvARB(struct _glapi_table *disp)
+{
+ return (_glptr_MultiTexCoord2dvARB) (GET_by_offset
+ (disp, _gloffset_MultiTexCoord2dvARB));
}
-static inline void SET_MultiTexCoord2dvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLdouble *)) {
- SET_by_offset(disp, _gloffset_MultiTexCoord2dvARB, fn);
+static inline void
+SET_MultiTexCoord2dvARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, const GLdouble *))
+{
+ SET_by_offset(disp, _gloffset_MultiTexCoord2dvARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_MultiTexCoord2fARB)(GLenum, GLfloat, GLfloat);
+typedef void (GLAPIENTRYP _glptr_MultiTexCoord2fARB) (GLenum, GLfloat, GLfloat);
+
#define CALL_MultiTexCoord2fARB(disp, parameters) \
(* GET_MultiTexCoord2fARB(disp)) parameters
-static inline _glptr_MultiTexCoord2fARB GET_MultiTexCoord2fARB(struct _glapi_table *disp) {
- return (_glptr_MultiTexCoord2fARB) (GET_by_offset(disp, _gloffset_MultiTexCoord2fARB));
+static inline _glptr_MultiTexCoord2fARB
+GET_MultiTexCoord2fARB(struct _glapi_table *disp)
+{
+ return (_glptr_MultiTexCoord2fARB) (GET_by_offset
+ (disp, _gloffset_MultiTexCoord2fARB));
}
-static inline void SET_MultiTexCoord2fARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLfloat, GLfloat)) {
- SET_by_offset(disp, _gloffset_MultiTexCoord2fARB, fn);
+static inline void
+SET_MultiTexCoord2fARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLfloat, GLfloat))
+{
+ SET_by_offset(disp, _gloffset_MultiTexCoord2fARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_MultiTexCoord2fvARB)(GLenum, const GLfloat *);
+typedef void (GLAPIENTRYP _glptr_MultiTexCoord2fvARB) (GLenum, const GLfloat *);
+
#define CALL_MultiTexCoord2fvARB(disp, parameters) \
(* GET_MultiTexCoord2fvARB(disp)) parameters
-static inline _glptr_MultiTexCoord2fvARB GET_MultiTexCoord2fvARB(struct _glapi_table *disp) {
- return (_glptr_MultiTexCoord2fvARB) (GET_by_offset(disp, _gloffset_MultiTexCoord2fvARB));
+static inline _glptr_MultiTexCoord2fvARB
+GET_MultiTexCoord2fvARB(struct _glapi_table *disp)
+{
+ return (_glptr_MultiTexCoord2fvARB) (GET_by_offset
+ (disp, _gloffset_MultiTexCoord2fvARB));
}
-static inline void SET_MultiTexCoord2fvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLfloat *)) {
- SET_by_offset(disp, _gloffset_MultiTexCoord2fvARB, fn);
+static inline void
+SET_MultiTexCoord2fvARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, const GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_MultiTexCoord2fvARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_MultiTexCoord2iARB)(GLenum, GLint, GLint);
+typedef void (GLAPIENTRYP _glptr_MultiTexCoord2iARB) (GLenum, GLint, GLint);
+
#define CALL_MultiTexCoord2iARB(disp, parameters) \
(* GET_MultiTexCoord2iARB(disp)) parameters
-static inline _glptr_MultiTexCoord2iARB GET_MultiTexCoord2iARB(struct _glapi_table *disp) {
- return (_glptr_MultiTexCoord2iARB) (GET_by_offset(disp, _gloffset_MultiTexCoord2iARB));
+static inline _glptr_MultiTexCoord2iARB
+GET_MultiTexCoord2iARB(struct _glapi_table *disp)
+{
+ return (_glptr_MultiTexCoord2iARB) (GET_by_offset
+ (disp, _gloffset_MultiTexCoord2iARB));
}
-static inline void SET_MultiTexCoord2iARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLint)) {
- SET_by_offset(disp, _gloffset_MultiTexCoord2iARB, fn);
+static inline void
+SET_MultiTexCoord2iARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLint, GLint))
+{
+ SET_by_offset(disp, _gloffset_MultiTexCoord2iARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_MultiTexCoord2ivARB)(GLenum, const GLint *);
+typedef void (GLAPIENTRYP _glptr_MultiTexCoord2ivARB) (GLenum, const GLint *);
+
#define CALL_MultiTexCoord2ivARB(disp, parameters) \
(* GET_MultiTexCoord2ivARB(disp)) parameters
-static inline _glptr_MultiTexCoord2ivARB GET_MultiTexCoord2ivARB(struct _glapi_table *disp) {
- return (_glptr_MultiTexCoord2ivARB) (GET_by_offset(disp, _gloffset_MultiTexCoord2ivARB));
+static inline _glptr_MultiTexCoord2ivARB
+GET_MultiTexCoord2ivARB(struct _glapi_table *disp)
+{
+ return (_glptr_MultiTexCoord2ivARB) (GET_by_offset
+ (disp, _gloffset_MultiTexCoord2ivARB));
}
-static inline void SET_MultiTexCoord2ivARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLint *)) {
- SET_by_offset(disp, _gloffset_MultiTexCoord2ivARB, fn);
+static inline void
+SET_MultiTexCoord2ivARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, const GLint *))
+{
+ SET_by_offset(disp, _gloffset_MultiTexCoord2ivARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_MultiTexCoord2sARB)(GLenum, GLshort, GLshort);
+typedef void (GLAPIENTRYP _glptr_MultiTexCoord2sARB) (GLenum, GLshort, GLshort);
+
#define CALL_MultiTexCoord2sARB(disp, parameters) \
(* GET_MultiTexCoord2sARB(disp)) parameters
-static inline _glptr_MultiTexCoord2sARB GET_MultiTexCoord2sARB(struct _glapi_table *disp) {
- return (_glptr_MultiTexCoord2sARB) (GET_by_offset(disp, _gloffset_MultiTexCoord2sARB));
+static inline _glptr_MultiTexCoord2sARB
+GET_MultiTexCoord2sARB(struct _glapi_table *disp)
+{
+ return (_glptr_MultiTexCoord2sARB) (GET_by_offset
+ (disp, _gloffset_MultiTexCoord2sARB));
}
-static inline void SET_MultiTexCoord2sARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLshort, GLshort)) {
- SET_by_offset(disp, _gloffset_MultiTexCoord2sARB, fn);
+static inline void
+SET_MultiTexCoord2sARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLshort, GLshort))
+{
+ SET_by_offset(disp, _gloffset_MultiTexCoord2sARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_MultiTexCoord2svARB)(GLenum, const GLshort *);
+typedef void (GLAPIENTRYP _glptr_MultiTexCoord2svARB) (GLenum, const GLshort *);
+
#define CALL_MultiTexCoord2svARB(disp, parameters) \
(* GET_MultiTexCoord2svARB(disp)) parameters
-static inline _glptr_MultiTexCoord2svARB GET_MultiTexCoord2svARB(struct _glapi_table *disp) {
- return (_glptr_MultiTexCoord2svARB) (GET_by_offset(disp, _gloffset_MultiTexCoord2svARB));
+static inline _glptr_MultiTexCoord2svARB
+GET_MultiTexCoord2svARB(struct _glapi_table *disp)
+{
+ return (_glptr_MultiTexCoord2svARB) (GET_by_offset
+ (disp, _gloffset_MultiTexCoord2svARB));
}
-static inline void SET_MultiTexCoord2svARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLshort *)) {
- SET_by_offset(disp, _gloffset_MultiTexCoord2svARB, fn);
+static inline void
+SET_MultiTexCoord2svARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, const GLshort *))
+{
+ SET_by_offset(disp, _gloffset_MultiTexCoord2svARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_MultiTexCoord3dARB)(GLenum, GLdouble, GLdouble, GLdouble);
+typedef void (GLAPIENTRYP _glptr_MultiTexCoord3dARB) (GLenum, GLdouble,
+ GLdouble, GLdouble);
#define CALL_MultiTexCoord3dARB(disp, parameters) \
(* GET_MultiTexCoord3dARB(disp)) parameters
-static inline _glptr_MultiTexCoord3dARB GET_MultiTexCoord3dARB(struct _glapi_table *disp) {
- return (_glptr_MultiTexCoord3dARB) (GET_by_offset(disp, _gloffset_MultiTexCoord3dARB));
+static inline _glptr_MultiTexCoord3dARB
+GET_MultiTexCoord3dARB(struct _glapi_table *disp)
+{
+ return (_glptr_MultiTexCoord3dARB) (GET_by_offset
+ (disp, _gloffset_MultiTexCoord3dARB));
}
-static inline void SET_MultiTexCoord3dARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLdouble, GLdouble, GLdouble)) {
- SET_by_offset(disp, _gloffset_MultiTexCoord3dARB, fn);
+static inline void
+SET_MultiTexCoord3dARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLdouble, GLdouble,
+ GLdouble))
+{
+ SET_by_offset(disp, _gloffset_MultiTexCoord3dARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_MultiTexCoord3dvARB)(GLenum, const GLdouble *);
+typedef void (GLAPIENTRYP _glptr_MultiTexCoord3dvARB) (GLenum,
+ const GLdouble *);
#define CALL_MultiTexCoord3dvARB(disp, parameters) \
(* GET_MultiTexCoord3dvARB(disp)) parameters
-static inline _glptr_MultiTexCoord3dvARB GET_MultiTexCoord3dvARB(struct _glapi_table *disp) {
- return (_glptr_MultiTexCoord3dvARB) (GET_by_offset(disp, _gloffset_MultiTexCoord3dvARB));
+static inline _glptr_MultiTexCoord3dvARB
+GET_MultiTexCoord3dvARB(struct _glapi_table *disp)
+{
+ return (_glptr_MultiTexCoord3dvARB) (GET_by_offset
+ (disp, _gloffset_MultiTexCoord3dvARB));
}
-static inline void SET_MultiTexCoord3dvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLdouble *)) {
- SET_by_offset(disp, _gloffset_MultiTexCoord3dvARB, fn);
+static inline void
+SET_MultiTexCoord3dvARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, const GLdouble *))
+{
+ SET_by_offset(disp, _gloffset_MultiTexCoord3dvARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_MultiTexCoord3fARB)(GLenum, GLfloat, GLfloat, GLfloat);
+typedef void (GLAPIENTRYP _glptr_MultiTexCoord3fARB) (GLenum, GLfloat, GLfloat,
+ GLfloat);
#define CALL_MultiTexCoord3fARB(disp, parameters) \
(* GET_MultiTexCoord3fARB(disp)) parameters
-static inline _glptr_MultiTexCoord3fARB GET_MultiTexCoord3fARB(struct _glapi_table *disp) {
- return (_glptr_MultiTexCoord3fARB) (GET_by_offset(disp, _gloffset_MultiTexCoord3fARB));
+static inline _glptr_MultiTexCoord3fARB
+GET_MultiTexCoord3fARB(struct _glapi_table *disp)
+{
+ return (_glptr_MultiTexCoord3fARB) (GET_by_offset
+ (disp, _gloffset_MultiTexCoord3fARB));
}
-static inline void SET_MultiTexCoord3fARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLfloat, GLfloat, GLfloat)) {
- SET_by_offset(disp, _gloffset_MultiTexCoord3fARB, fn);
+static inline void
+SET_MultiTexCoord3fARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLfloat, GLfloat,
+ GLfloat))
+{
+ SET_by_offset(disp, _gloffset_MultiTexCoord3fARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_MultiTexCoord3fvARB)(GLenum, const GLfloat *);
+typedef void (GLAPIENTRYP _glptr_MultiTexCoord3fvARB) (GLenum, const GLfloat *);
+
#define CALL_MultiTexCoord3fvARB(disp, parameters) \
(* GET_MultiTexCoord3fvARB(disp)) parameters
-static inline _glptr_MultiTexCoord3fvARB GET_MultiTexCoord3fvARB(struct _glapi_table *disp) {
- return (_glptr_MultiTexCoord3fvARB) (GET_by_offset(disp, _gloffset_MultiTexCoord3fvARB));
+static inline _glptr_MultiTexCoord3fvARB
+GET_MultiTexCoord3fvARB(struct _glapi_table *disp)
+{
+ return (_glptr_MultiTexCoord3fvARB) (GET_by_offset
+ (disp, _gloffset_MultiTexCoord3fvARB));
}
-static inline void SET_MultiTexCoord3fvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLfloat *)) {
- SET_by_offset(disp, _gloffset_MultiTexCoord3fvARB, fn);
+static inline void
+SET_MultiTexCoord3fvARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, const GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_MultiTexCoord3fvARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_MultiTexCoord3iARB)(GLenum, GLint, GLint, GLint);
+typedef void (GLAPIENTRYP _glptr_MultiTexCoord3iARB) (GLenum, GLint, GLint,
+ GLint);
#define CALL_MultiTexCoord3iARB(disp, parameters) \
(* GET_MultiTexCoord3iARB(disp)) parameters
-static inline _glptr_MultiTexCoord3iARB GET_MultiTexCoord3iARB(struct _glapi_table *disp) {
- return (_glptr_MultiTexCoord3iARB) (GET_by_offset(disp, _gloffset_MultiTexCoord3iARB));
+static inline _glptr_MultiTexCoord3iARB
+GET_MultiTexCoord3iARB(struct _glapi_table *disp)
+{
+ return (_glptr_MultiTexCoord3iARB) (GET_by_offset
+ (disp, _gloffset_MultiTexCoord3iARB));
}
-static inline void SET_MultiTexCoord3iARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLint, GLint)) {
- SET_by_offset(disp, _gloffset_MultiTexCoord3iARB, fn);
+static inline void
+SET_MultiTexCoord3iARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLint, GLint, GLint))
+{
+ SET_by_offset(disp, _gloffset_MultiTexCoord3iARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_MultiTexCoord3ivARB)(GLenum, const GLint *);
+typedef void (GLAPIENTRYP _glptr_MultiTexCoord3ivARB) (GLenum, const GLint *);
+
#define CALL_MultiTexCoord3ivARB(disp, parameters) \
(* GET_MultiTexCoord3ivARB(disp)) parameters
-static inline _glptr_MultiTexCoord3ivARB GET_MultiTexCoord3ivARB(struct _glapi_table *disp) {
- return (_glptr_MultiTexCoord3ivARB) (GET_by_offset(disp, _gloffset_MultiTexCoord3ivARB));
+static inline _glptr_MultiTexCoord3ivARB
+GET_MultiTexCoord3ivARB(struct _glapi_table *disp)
+{
+ return (_glptr_MultiTexCoord3ivARB) (GET_by_offset
+ (disp, _gloffset_MultiTexCoord3ivARB));
}
-static inline void SET_MultiTexCoord3ivARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLint *)) {
- SET_by_offset(disp, _gloffset_MultiTexCoord3ivARB, fn);
+static inline void
+SET_MultiTexCoord3ivARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, const GLint *))
+{
+ SET_by_offset(disp, _gloffset_MultiTexCoord3ivARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_MultiTexCoord3sARB)(GLenum, GLshort, GLshort, GLshort);
+typedef void (GLAPIENTRYP _glptr_MultiTexCoord3sARB) (GLenum, GLshort, GLshort,
+ GLshort);
#define CALL_MultiTexCoord3sARB(disp, parameters) \
(* GET_MultiTexCoord3sARB(disp)) parameters
-static inline _glptr_MultiTexCoord3sARB GET_MultiTexCoord3sARB(struct _glapi_table *disp) {
- return (_glptr_MultiTexCoord3sARB) (GET_by_offset(disp, _gloffset_MultiTexCoord3sARB));
+static inline _glptr_MultiTexCoord3sARB
+GET_MultiTexCoord3sARB(struct _glapi_table *disp)
+{
+ return (_glptr_MultiTexCoord3sARB) (GET_by_offset
+ (disp, _gloffset_MultiTexCoord3sARB));
}
-static inline void SET_MultiTexCoord3sARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLshort, GLshort, GLshort)) {
- SET_by_offset(disp, _gloffset_MultiTexCoord3sARB, fn);
+static inline void
+SET_MultiTexCoord3sARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLshort, GLshort,
+ GLshort))
+{
+ SET_by_offset(disp, _gloffset_MultiTexCoord3sARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_MultiTexCoord3svARB)(GLenum, const GLshort *);
+typedef void (GLAPIENTRYP _glptr_MultiTexCoord3svARB) (GLenum, const GLshort *);
+
#define CALL_MultiTexCoord3svARB(disp, parameters) \
(* GET_MultiTexCoord3svARB(disp)) parameters
-static inline _glptr_MultiTexCoord3svARB GET_MultiTexCoord3svARB(struct _glapi_table *disp) {
- return (_glptr_MultiTexCoord3svARB) (GET_by_offset(disp, _gloffset_MultiTexCoord3svARB));
+static inline _glptr_MultiTexCoord3svARB
+GET_MultiTexCoord3svARB(struct _glapi_table *disp)
+{
+ return (_glptr_MultiTexCoord3svARB) (GET_by_offset
+ (disp, _gloffset_MultiTexCoord3svARB));
}
-static inline void SET_MultiTexCoord3svARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLshort *)) {
- SET_by_offset(disp, _gloffset_MultiTexCoord3svARB, fn);
+static inline void
+SET_MultiTexCoord3svARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, const GLshort *))
+{
+ SET_by_offset(disp, _gloffset_MultiTexCoord3svARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_MultiTexCoord4dARB)(GLenum, GLdouble, GLdouble, GLdouble, GLdouble);
+typedef void (GLAPIENTRYP _glptr_MultiTexCoord4dARB) (GLenum, GLdouble,
+ GLdouble, GLdouble,
+ GLdouble);
#define CALL_MultiTexCoord4dARB(disp, parameters) \
(* GET_MultiTexCoord4dARB(disp)) parameters
-static inline _glptr_MultiTexCoord4dARB GET_MultiTexCoord4dARB(struct _glapi_table *disp) {
- return (_glptr_MultiTexCoord4dARB) (GET_by_offset(disp, _gloffset_MultiTexCoord4dARB));
+static inline _glptr_MultiTexCoord4dARB
+GET_MultiTexCoord4dARB(struct _glapi_table *disp)
+{
+ return (_glptr_MultiTexCoord4dARB) (GET_by_offset
+ (disp, _gloffset_MultiTexCoord4dARB));
}
-static inline void SET_MultiTexCoord4dARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLdouble, GLdouble, GLdouble, GLdouble)) {
- SET_by_offset(disp, _gloffset_MultiTexCoord4dARB, fn);
+static inline void
+SET_MultiTexCoord4dARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLdouble, GLdouble,
+ GLdouble, GLdouble))
+{
+ SET_by_offset(disp, _gloffset_MultiTexCoord4dARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_MultiTexCoord4dvARB)(GLenum, const GLdouble *);
+typedef void (GLAPIENTRYP _glptr_MultiTexCoord4dvARB) (GLenum,
+ const GLdouble *);
#define CALL_MultiTexCoord4dvARB(disp, parameters) \
(* GET_MultiTexCoord4dvARB(disp)) parameters
-static inline _glptr_MultiTexCoord4dvARB GET_MultiTexCoord4dvARB(struct _glapi_table *disp) {
- return (_glptr_MultiTexCoord4dvARB) (GET_by_offset(disp, _gloffset_MultiTexCoord4dvARB));
+static inline _glptr_MultiTexCoord4dvARB
+GET_MultiTexCoord4dvARB(struct _glapi_table *disp)
+{
+ return (_glptr_MultiTexCoord4dvARB) (GET_by_offset
+ (disp, _gloffset_MultiTexCoord4dvARB));
}
-static inline void SET_MultiTexCoord4dvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLdouble *)) {
- SET_by_offset(disp, _gloffset_MultiTexCoord4dvARB, fn);
+static inline void
+SET_MultiTexCoord4dvARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, const GLdouble *))
+{
+ SET_by_offset(disp, _gloffset_MultiTexCoord4dvARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_MultiTexCoord4fARB)(GLenum, GLfloat, GLfloat, GLfloat, GLfloat);
+typedef void (GLAPIENTRYP _glptr_MultiTexCoord4fARB) (GLenum, GLfloat, GLfloat,
+ GLfloat, GLfloat);
#define CALL_MultiTexCoord4fARB(disp, parameters) \
(* GET_MultiTexCoord4fARB(disp)) parameters
-static inline _glptr_MultiTexCoord4fARB GET_MultiTexCoord4fARB(struct _glapi_table *disp) {
- return (_glptr_MultiTexCoord4fARB) (GET_by_offset(disp, _gloffset_MultiTexCoord4fARB));
+static inline _glptr_MultiTexCoord4fARB
+GET_MultiTexCoord4fARB(struct _glapi_table *disp)
+{
+ return (_glptr_MultiTexCoord4fARB) (GET_by_offset
+ (disp, _gloffset_MultiTexCoord4fARB));
}
-static inline void SET_MultiTexCoord4fARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLfloat, GLfloat, GLfloat, GLfloat)) {
- SET_by_offset(disp, _gloffset_MultiTexCoord4fARB, fn);
+static inline void
+SET_MultiTexCoord4fARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLfloat, GLfloat, GLfloat,
+ GLfloat))
+{
+ SET_by_offset(disp, _gloffset_MultiTexCoord4fARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_MultiTexCoord4fvARB)(GLenum, const GLfloat *);
+typedef void (GLAPIENTRYP _glptr_MultiTexCoord4fvARB) (GLenum, const GLfloat *);
+
#define CALL_MultiTexCoord4fvARB(disp, parameters) \
(* GET_MultiTexCoord4fvARB(disp)) parameters
-static inline _glptr_MultiTexCoord4fvARB GET_MultiTexCoord4fvARB(struct _glapi_table *disp) {
- return (_glptr_MultiTexCoord4fvARB) (GET_by_offset(disp, _gloffset_MultiTexCoord4fvARB));
+static inline _glptr_MultiTexCoord4fvARB
+GET_MultiTexCoord4fvARB(struct _glapi_table *disp)
+{
+ return (_glptr_MultiTexCoord4fvARB) (GET_by_offset
+ (disp, _gloffset_MultiTexCoord4fvARB));
}
-static inline void SET_MultiTexCoord4fvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLfloat *)) {
- SET_by_offset(disp, _gloffset_MultiTexCoord4fvARB, fn);
+static inline void
+SET_MultiTexCoord4fvARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, const GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_MultiTexCoord4fvARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_MultiTexCoord4iARB)(GLenum, GLint, GLint, GLint, GLint);
+typedef void (GLAPIENTRYP _glptr_MultiTexCoord4iARB) (GLenum, GLint, GLint,
+ GLint, GLint);
#define CALL_MultiTexCoord4iARB(disp, parameters) \
(* GET_MultiTexCoord4iARB(disp)) parameters
-static inline _glptr_MultiTexCoord4iARB GET_MultiTexCoord4iARB(struct _glapi_table *disp) {
- return (_glptr_MultiTexCoord4iARB) (GET_by_offset(disp, _gloffset_MultiTexCoord4iARB));
+static inline _glptr_MultiTexCoord4iARB
+GET_MultiTexCoord4iARB(struct _glapi_table *disp)
+{
+ return (_glptr_MultiTexCoord4iARB) (GET_by_offset
+ (disp, _gloffset_MultiTexCoord4iARB));
}
-static inline void SET_MultiTexCoord4iARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLint, GLint, GLint)) {
- SET_by_offset(disp, _gloffset_MultiTexCoord4iARB, fn);
+static inline void
+SET_MultiTexCoord4iARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLint, GLint, GLint,
+ GLint))
+{
+ SET_by_offset(disp, _gloffset_MultiTexCoord4iARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_MultiTexCoord4ivARB)(GLenum, const GLint *);
+typedef void (GLAPIENTRYP _glptr_MultiTexCoord4ivARB) (GLenum, const GLint *);
+
#define CALL_MultiTexCoord4ivARB(disp, parameters) \
(* GET_MultiTexCoord4ivARB(disp)) parameters
-static inline _glptr_MultiTexCoord4ivARB GET_MultiTexCoord4ivARB(struct _glapi_table *disp) {
- return (_glptr_MultiTexCoord4ivARB) (GET_by_offset(disp, _gloffset_MultiTexCoord4ivARB));
+static inline _glptr_MultiTexCoord4ivARB
+GET_MultiTexCoord4ivARB(struct _glapi_table *disp)
+{
+ return (_glptr_MultiTexCoord4ivARB) (GET_by_offset
+ (disp, _gloffset_MultiTexCoord4ivARB));
}
-static inline void SET_MultiTexCoord4ivARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLint *)) {
- SET_by_offset(disp, _gloffset_MultiTexCoord4ivARB, fn);
+static inline void
+SET_MultiTexCoord4ivARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, const GLint *))
+{
+ SET_by_offset(disp, _gloffset_MultiTexCoord4ivARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_MultiTexCoord4sARB)(GLenum, GLshort, GLshort, GLshort, GLshort);
+typedef void (GLAPIENTRYP _glptr_MultiTexCoord4sARB) (GLenum, GLshort, GLshort,
+ GLshort, GLshort);
#define CALL_MultiTexCoord4sARB(disp, parameters) \
(* GET_MultiTexCoord4sARB(disp)) parameters
-static inline _glptr_MultiTexCoord4sARB GET_MultiTexCoord4sARB(struct _glapi_table *disp) {
- return (_glptr_MultiTexCoord4sARB) (GET_by_offset(disp, _gloffset_MultiTexCoord4sARB));
+static inline _glptr_MultiTexCoord4sARB
+GET_MultiTexCoord4sARB(struct _glapi_table *disp)
+{
+ return (_glptr_MultiTexCoord4sARB) (GET_by_offset
+ (disp, _gloffset_MultiTexCoord4sARB));
}
-static inline void SET_MultiTexCoord4sARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLshort, GLshort, GLshort, GLshort)) {
- SET_by_offset(disp, _gloffset_MultiTexCoord4sARB, fn);
+static inline void
+SET_MultiTexCoord4sARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLshort, GLshort, GLshort,
+ GLshort))
+{
+ SET_by_offset(disp, _gloffset_MultiTexCoord4sARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_MultiTexCoord4svARB)(GLenum, const GLshort *);
+typedef void (GLAPIENTRYP _glptr_MultiTexCoord4svARB) (GLenum, const GLshort *);
+
#define CALL_MultiTexCoord4svARB(disp, parameters) \
(* GET_MultiTexCoord4svARB(disp)) parameters
-static inline _glptr_MultiTexCoord4svARB GET_MultiTexCoord4svARB(struct _glapi_table *disp) {
- return (_glptr_MultiTexCoord4svARB) (GET_by_offset(disp, _gloffset_MultiTexCoord4svARB));
+static inline _glptr_MultiTexCoord4svARB
+GET_MultiTexCoord4svARB(struct _glapi_table *disp)
+{
+ return (_glptr_MultiTexCoord4svARB) (GET_by_offset
+ (disp, _gloffset_MultiTexCoord4svARB));
}
-static inline void SET_MultiTexCoord4svARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLshort *)) {
- SET_by_offset(disp, _gloffset_MultiTexCoord4svARB, fn);
+static inline void
+SET_MultiTexCoord4svARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, const GLshort *))
+{
+ SET_by_offset(disp, _gloffset_MultiTexCoord4svARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_AttachShader)(GLuint, GLuint);
+typedef void (GLAPIENTRYP _glptr_AttachShader) (GLuint, GLuint);
+
#define CALL_AttachShader(disp, parameters) \
(* GET_AttachShader(disp)) parameters
-static inline _glptr_AttachShader GET_AttachShader(struct _glapi_table *disp) {
- return (_glptr_AttachShader) (GET_by_offset(disp, _gloffset_AttachShader));
+static inline _glptr_AttachShader
+GET_AttachShader(struct _glapi_table *disp)
+{
+ return (_glptr_AttachShader) (GET_by_offset(disp, _gloffset_AttachShader));
}
-static inline void SET_AttachShader(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLuint)) {
- SET_by_offset(disp, _gloffset_AttachShader, fn);
+static inline void
+SET_AttachShader(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLuint))
+{
+ SET_by_offset(disp, _gloffset_AttachShader, fn);
}
-typedef GLuint (GLAPIENTRYP _glptr_CreateProgram)(void);
+typedef GLuint(GLAPIENTRYP _glptr_CreateProgram) (void);
+
#define CALL_CreateProgram(disp, parameters) \
(* GET_CreateProgram(disp)) parameters
-static inline _glptr_CreateProgram GET_CreateProgram(struct _glapi_table *disp) {
- return (_glptr_CreateProgram) (GET_by_offset(disp, _gloffset_CreateProgram));
+static inline _glptr_CreateProgram
+GET_CreateProgram(struct _glapi_table *disp)
+{
+ return (_glptr_CreateProgram) (GET_by_offset
+ (disp, _gloffset_CreateProgram));
}
-static inline void SET_CreateProgram(struct _glapi_table *disp, GLuint (GLAPIENTRYP fn)(void)) {
- SET_by_offset(disp, _gloffset_CreateProgram, fn);
+static inline void
+SET_CreateProgram(struct _glapi_table *disp, GLuint(GLAPIENTRYP fn) (void))
+{
+ SET_by_offset(disp, _gloffset_CreateProgram, fn);
}
-typedef GLuint (GLAPIENTRYP _glptr_CreateShader)(GLenum);
+typedef GLuint(GLAPIENTRYP _glptr_CreateShader) (GLenum);
+
#define CALL_CreateShader(disp, parameters) \
(* GET_CreateShader(disp)) parameters
-static inline _glptr_CreateShader GET_CreateShader(struct _glapi_table *disp) {
- return (_glptr_CreateShader) (GET_by_offset(disp, _gloffset_CreateShader));
+static inline _glptr_CreateShader
+GET_CreateShader(struct _glapi_table *disp)
+{
+ return (_glptr_CreateShader) (GET_by_offset(disp, _gloffset_CreateShader));
}
-static inline void SET_CreateShader(struct _glapi_table *disp, GLuint (GLAPIENTRYP fn)(GLenum)) {
- SET_by_offset(disp, _gloffset_CreateShader, fn);
+static inline void
+SET_CreateShader(struct _glapi_table *disp, GLuint(GLAPIENTRYP fn) (GLenum))
+{
+ SET_by_offset(disp, _gloffset_CreateShader, fn);
}
-typedef void (GLAPIENTRYP _glptr_DeleteProgram)(GLuint);
+typedef void (GLAPIENTRYP _glptr_DeleteProgram) (GLuint);
+
#define CALL_DeleteProgram(disp, parameters) \
(* GET_DeleteProgram(disp)) parameters
-static inline _glptr_DeleteProgram GET_DeleteProgram(struct _glapi_table *disp) {
- return (_glptr_DeleteProgram) (GET_by_offset(disp, _gloffset_DeleteProgram));
+static inline _glptr_DeleteProgram
+GET_DeleteProgram(struct _glapi_table *disp)
+{
+ return (_glptr_DeleteProgram) (GET_by_offset
+ (disp, _gloffset_DeleteProgram));
}
-static inline void SET_DeleteProgram(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint)) {
- SET_by_offset(disp, _gloffset_DeleteProgram, fn);
+static inline void
+SET_DeleteProgram(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLuint))
+{
+ SET_by_offset(disp, _gloffset_DeleteProgram, fn);
}
-typedef void (GLAPIENTRYP _glptr_DeleteShader)(GLuint);
+typedef void (GLAPIENTRYP _glptr_DeleteShader) (GLuint);
+
#define CALL_DeleteShader(disp, parameters) \
(* GET_DeleteShader(disp)) parameters
-static inline _glptr_DeleteShader GET_DeleteShader(struct _glapi_table *disp) {
- return (_glptr_DeleteShader) (GET_by_offset(disp, _gloffset_DeleteShader));
+static inline _glptr_DeleteShader
+GET_DeleteShader(struct _glapi_table *disp)
+{
+ return (_glptr_DeleteShader) (GET_by_offset(disp, _gloffset_DeleteShader));
}
-static inline void SET_DeleteShader(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint)) {
- SET_by_offset(disp, _gloffset_DeleteShader, fn);
+static inline void
+SET_DeleteShader(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLuint))
+{
+ SET_by_offset(disp, _gloffset_DeleteShader, fn);
}
-typedef void (GLAPIENTRYP _glptr_DetachShader)(GLuint, GLuint);
+typedef void (GLAPIENTRYP _glptr_DetachShader) (GLuint, GLuint);
+
#define CALL_DetachShader(disp, parameters) \
(* GET_DetachShader(disp)) parameters
-static inline _glptr_DetachShader GET_DetachShader(struct _glapi_table *disp) {
- return (_glptr_DetachShader) (GET_by_offset(disp, _gloffset_DetachShader));
+static inline _glptr_DetachShader
+GET_DetachShader(struct _glapi_table *disp)
+{
+ return (_glptr_DetachShader) (GET_by_offset(disp, _gloffset_DetachShader));
}
-static inline void SET_DetachShader(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLuint)) {
- SET_by_offset(disp, _gloffset_DetachShader, fn);
+static inline void
+SET_DetachShader(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLuint))
+{
+ SET_by_offset(disp, _gloffset_DetachShader, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetAttachedShaders)(GLuint, GLsizei, GLsizei *, GLuint *);
+typedef void (GLAPIENTRYP _glptr_GetAttachedShaders) (GLuint, GLsizei,
+ GLsizei *, GLuint *);
#define CALL_GetAttachedShaders(disp, parameters) \
(* GET_GetAttachedShaders(disp)) parameters
-static inline _glptr_GetAttachedShaders GET_GetAttachedShaders(struct _glapi_table *disp) {
- return (_glptr_GetAttachedShaders) (GET_by_offset(disp, _gloffset_GetAttachedShaders));
+static inline _glptr_GetAttachedShaders
+GET_GetAttachedShaders(struct _glapi_table *disp)
+{
+ return (_glptr_GetAttachedShaders) (GET_by_offset
+ (disp, _gloffset_GetAttachedShaders));
}
-static inline void SET_GetAttachedShaders(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, GLsizei *, GLuint *)) {
- SET_by_offset(disp, _gloffset_GetAttachedShaders, fn);
+static inline void
+SET_GetAttachedShaders(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLsizei, GLsizei *,
+ GLuint *))
+{
+ SET_by_offset(disp, _gloffset_GetAttachedShaders, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetProgramInfoLog)(GLuint, GLsizei, GLsizei *, GLchar *);
+typedef void (GLAPIENTRYP _glptr_GetProgramInfoLog) (GLuint, GLsizei, GLsizei *,
+ GLchar *);
#define CALL_GetProgramInfoLog(disp, parameters) \
(* GET_GetProgramInfoLog(disp)) parameters
-static inline _glptr_GetProgramInfoLog GET_GetProgramInfoLog(struct _glapi_table *disp) {
- return (_glptr_GetProgramInfoLog) (GET_by_offset(disp, _gloffset_GetProgramInfoLog));
+static inline _glptr_GetProgramInfoLog
+GET_GetProgramInfoLog(struct _glapi_table *disp)
+{
+ return (_glptr_GetProgramInfoLog) (GET_by_offset
+ (disp, _gloffset_GetProgramInfoLog));
}
-static inline void SET_GetProgramInfoLog(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, GLsizei *, GLchar *)) {
- SET_by_offset(disp, _gloffset_GetProgramInfoLog, fn);
+static inline void
+SET_GetProgramInfoLog(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLsizei, GLsizei *,
+ GLchar *))
+{
+ SET_by_offset(disp, _gloffset_GetProgramInfoLog, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetProgramiv)(GLuint, GLenum, GLint *);
+typedef void (GLAPIENTRYP _glptr_GetProgramiv) (GLuint, GLenum, GLint *);
+
#define CALL_GetProgramiv(disp, parameters) \
(* GET_GetProgramiv(disp)) parameters
-static inline _glptr_GetProgramiv GET_GetProgramiv(struct _glapi_table *disp) {
- return (_glptr_GetProgramiv) (GET_by_offset(disp, _gloffset_GetProgramiv));
+static inline _glptr_GetProgramiv
+GET_GetProgramiv(struct _glapi_table *disp)
+{
+ return (_glptr_GetProgramiv) (GET_by_offset(disp, _gloffset_GetProgramiv));
}
-static inline void SET_GetProgramiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLint *)) {
- SET_by_offset(disp, _gloffset_GetProgramiv, fn);
+static inline void
+SET_GetProgramiv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLenum, GLint *))
+{
+ SET_by_offset(disp, _gloffset_GetProgramiv, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetShaderInfoLog)(GLuint, GLsizei, GLsizei *, GLchar *);
+typedef void (GLAPIENTRYP _glptr_GetShaderInfoLog) (GLuint, GLsizei, GLsizei *,
+ GLchar *);
#define CALL_GetShaderInfoLog(disp, parameters) \
(* GET_GetShaderInfoLog(disp)) parameters
-static inline _glptr_GetShaderInfoLog GET_GetShaderInfoLog(struct _glapi_table *disp) {
- return (_glptr_GetShaderInfoLog) (GET_by_offset(disp, _gloffset_GetShaderInfoLog));
+static inline _glptr_GetShaderInfoLog
+GET_GetShaderInfoLog(struct _glapi_table *disp)
+{
+ return (_glptr_GetShaderInfoLog) (GET_by_offset
+ (disp, _gloffset_GetShaderInfoLog));
}
-static inline void SET_GetShaderInfoLog(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, GLsizei *, GLchar *)) {
- SET_by_offset(disp, _gloffset_GetShaderInfoLog, fn);
+static inline void
+SET_GetShaderInfoLog(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLsizei, GLsizei *,
+ GLchar *))
+{
+ SET_by_offset(disp, _gloffset_GetShaderInfoLog, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetShaderiv)(GLuint, GLenum, GLint *);
+typedef void (GLAPIENTRYP _glptr_GetShaderiv) (GLuint, GLenum, GLint *);
+
#define CALL_GetShaderiv(disp, parameters) \
(* GET_GetShaderiv(disp)) parameters
-static inline _glptr_GetShaderiv GET_GetShaderiv(struct _glapi_table *disp) {
- return (_glptr_GetShaderiv) (GET_by_offset(disp, _gloffset_GetShaderiv));
+static inline _glptr_GetShaderiv
+GET_GetShaderiv(struct _glapi_table *disp)
+{
+ return (_glptr_GetShaderiv) (GET_by_offset(disp, _gloffset_GetShaderiv));
}
-static inline void SET_GetShaderiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLint *)) {
- SET_by_offset(disp, _gloffset_GetShaderiv, fn);
+static inline void
+SET_GetShaderiv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLenum, GLint *))
+{
+ SET_by_offset(disp, _gloffset_GetShaderiv, fn);
}
-typedef GLboolean (GLAPIENTRYP _glptr_IsProgram)(GLuint);
+typedef GLboolean(GLAPIENTRYP _glptr_IsProgram) (GLuint);
+
#define CALL_IsProgram(disp, parameters) \
(* GET_IsProgram(disp)) parameters
-static inline _glptr_IsProgram GET_IsProgram(struct _glapi_table *disp) {
- return (_glptr_IsProgram) (GET_by_offset(disp, _gloffset_IsProgram));
+static inline _glptr_IsProgram
+GET_IsProgram(struct _glapi_table *disp)
+{
+ return (_glptr_IsProgram) (GET_by_offset(disp, _gloffset_IsProgram));
}
-static inline void SET_IsProgram(struct _glapi_table *disp, GLboolean (GLAPIENTRYP fn)(GLuint)) {
- SET_by_offset(disp, _gloffset_IsProgram, fn);
+static inline void
+SET_IsProgram(struct _glapi_table *disp, GLboolean(GLAPIENTRYP fn) (GLuint))
+{
+ SET_by_offset(disp, _gloffset_IsProgram, fn);
}
-typedef GLboolean (GLAPIENTRYP _glptr_IsShader)(GLuint);
+typedef GLboolean(GLAPIENTRYP _glptr_IsShader) (GLuint);
+
#define CALL_IsShader(disp, parameters) \
(* GET_IsShader(disp)) parameters
-static inline _glptr_IsShader GET_IsShader(struct _glapi_table *disp) {
- return (_glptr_IsShader) (GET_by_offset(disp, _gloffset_IsShader));
+static inline _glptr_IsShader
+GET_IsShader(struct _glapi_table *disp)
+{
+ return (_glptr_IsShader) (GET_by_offset(disp, _gloffset_IsShader));
}
-static inline void SET_IsShader(struct _glapi_table *disp, GLboolean (GLAPIENTRYP fn)(GLuint)) {
- SET_by_offset(disp, _gloffset_IsShader, fn);
+static inline void
+SET_IsShader(struct _glapi_table *disp, GLboolean(GLAPIENTRYP fn) (GLuint))
+{
+ SET_by_offset(disp, _gloffset_IsShader, fn);
}
-typedef void (GLAPIENTRYP _glptr_StencilFuncSeparate)(GLenum, GLenum, GLint, GLuint);
+typedef void (GLAPIENTRYP _glptr_StencilFuncSeparate) (GLenum, GLenum, GLint,
+ GLuint);
#define CALL_StencilFuncSeparate(disp, parameters) \
(* GET_StencilFuncSeparate(disp)) parameters
-static inline _glptr_StencilFuncSeparate GET_StencilFuncSeparate(struct _glapi_table *disp) {
- return (_glptr_StencilFuncSeparate) (GET_by_offset(disp, _gloffset_StencilFuncSeparate));
+static inline _glptr_StencilFuncSeparate
+GET_StencilFuncSeparate(struct _glapi_table *disp)
+{
+ return (_glptr_StencilFuncSeparate) (GET_by_offset
+ (disp, _gloffset_StencilFuncSeparate));
}
-static inline void SET_StencilFuncSeparate(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint, GLuint)) {
- SET_by_offset(disp, _gloffset_StencilFuncSeparate, fn);
+static inline void
+SET_StencilFuncSeparate(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, GLint, GLuint))
+{
+ SET_by_offset(disp, _gloffset_StencilFuncSeparate, fn);
}
-typedef void (GLAPIENTRYP _glptr_StencilMaskSeparate)(GLenum, GLuint);
+typedef void (GLAPIENTRYP _glptr_StencilMaskSeparate) (GLenum, GLuint);
+
#define CALL_StencilMaskSeparate(disp, parameters) \
(* GET_StencilMaskSeparate(disp)) parameters
-static inline _glptr_StencilMaskSeparate GET_StencilMaskSeparate(struct _glapi_table *disp) {
- return (_glptr_StencilMaskSeparate) (GET_by_offset(disp, _gloffset_StencilMaskSeparate));
+static inline _glptr_StencilMaskSeparate
+GET_StencilMaskSeparate(struct _glapi_table *disp)
+{
+ return (_glptr_StencilMaskSeparate) (GET_by_offset
+ (disp, _gloffset_StencilMaskSeparate));
}
-static inline void SET_StencilMaskSeparate(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint)) {
- SET_by_offset(disp, _gloffset_StencilMaskSeparate, fn);
+static inline void
+SET_StencilMaskSeparate(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLuint))
+{
+ SET_by_offset(disp, _gloffset_StencilMaskSeparate, fn);
}
-typedef void (GLAPIENTRYP _glptr_StencilOpSeparate)(GLenum, GLenum, GLenum, GLenum);
+typedef void (GLAPIENTRYP _glptr_StencilOpSeparate) (GLenum, GLenum, GLenum,
+ GLenum);
#define CALL_StencilOpSeparate(disp, parameters) \
(* GET_StencilOpSeparate(disp)) parameters
-static inline _glptr_StencilOpSeparate GET_StencilOpSeparate(struct _glapi_table *disp) {
- return (_glptr_StencilOpSeparate) (GET_by_offset(disp, _gloffset_StencilOpSeparate));
+static inline _glptr_StencilOpSeparate
+GET_StencilOpSeparate(struct _glapi_table *disp)
+{
+ return (_glptr_StencilOpSeparate) (GET_by_offset
+ (disp, _gloffset_StencilOpSeparate));
}
-static inline void SET_StencilOpSeparate(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLenum, GLenum)) {
- SET_by_offset(disp, _gloffset_StencilOpSeparate, fn);
+static inline void
+SET_StencilOpSeparate(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, GLenum, GLenum))
+{
+ SET_by_offset(disp, _gloffset_StencilOpSeparate, fn);
}
-typedef void (GLAPIENTRYP _glptr_UniformMatrix2x3fv)(GLint, GLsizei, GLboolean, const GLfloat *);
+typedef void (GLAPIENTRYP _glptr_UniformMatrix2x3fv) (GLint, GLsizei, GLboolean,
+ const GLfloat *);
#define CALL_UniformMatrix2x3fv(disp, parameters) \
(* GET_UniformMatrix2x3fv(disp)) parameters
-static inline _glptr_UniformMatrix2x3fv GET_UniformMatrix2x3fv(struct _glapi_table *disp) {
- return (_glptr_UniformMatrix2x3fv) (GET_by_offset(disp, _gloffset_UniformMatrix2x3fv));
+static inline _glptr_UniformMatrix2x3fv
+GET_UniformMatrix2x3fv(struct _glapi_table *disp)
+{
+ return (_glptr_UniformMatrix2x3fv) (GET_by_offset
+ (disp, _gloffset_UniformMatrix2x3fv));
}
-static inline void SET_UniformMatrix2x3fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLsizei, GLboolean, const GLfloat *)) {
- SET_by_offset(disp, _gloffset_UniformMatrix2x3fv, fn);
+static inline void
+SET_UniformMatrix2x3fv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLint, GLsizei, GLboolean,
+ const GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_UniformMatrix2x3fv, fn);
}
-typedef void (GLAPIENTRYP _glptr_UniformMatrix2x4fv)(GLint, GLsizei, GLboolean, const GLfloat *);
+typedef void (GLAPIENTRYP _glptr_UniformMatrix2x4fv) (GLint, GLsizei, GLboolean,
+ const GLfloat *);
#define CALL_UniformMatrix2x4fv(disp, parameters) \
(* GET_UniformMatrix2x4fv(disp)) parameters
-static inline _glptr_UniformMatrix2x4fv GET_UniformMatrix2x4fv(struct _glapi_table *disp) {
- return (_glptr_UniformMatrix2x4fv) (GET_by_offset(disp, _gloffset_UniformMatrix2x4fv));
+static inline _glptr_UniformMatrix2x4fv
+GET_UniformMatrix2x4fv(struct _glapi_table *disp)
+{
+ return (_glptr_UniformMatrix2x4fv) (GET_by_offset
+ (disp, _gloffset_UniformMatrix2x4fv));
}
-static inline void SET_UniformMatrix2x4fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLsizei, GLboolean, const GLfloat *)) {
- SET_by_offset(disp, _gloffset_UniformMatrix2x4fv, fn);
+static inline void
+SET_UniformMatrix2x4fv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLint, GLsizei, GLboolean,
+ const GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_UniformMatrix2x4fv, fn);
}
-typedef void (GLAPIENTRYP _glptr_UniformMatrix3x2fv)(GLint, GLsizei, GLboolean, const GLfloat *);
+typedef void (GLAPIENTRYP _glptr_UniformMatrix3x2fv) (GLint, GLsizei, GLboolean,
+ const GLfloat *);
#define CALL_UniformMatrix3x2fv(disp, parameters) \
(* GET_UniformMatrix3x2fv(disp)) parameters
-static inline _glptr_UniformMatrix3x2fv GET_UniformMatrix3x2fv(struct _glapi_table *disp) {
- return (_glptr_UniformMatrix3x2fv) (GET_by_offset(disp, _gloffset_UniformMatrix3x2fv));
+static inline _glptr_UniformMatrix3x2fv
+GET_UniformMatrix3x2fv(struct _glapi_table *disp)
+{
+ return (_glptr_UniformMatrix3x2fv) (GET_by_offset
+ (disp, _gloffset_UniformMatrix3x2fv));
}
-static inline void SET_UniformMatrix3x2fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLsizei, GLboolean, const GLfloat *)) {
- SET_by_offset(disp, _gloffset_UniformMatrix3x2fv, fn);
+static inline void
+SET_UniformMatrix3x2fv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLint, GLsizei, GLboolean,
+ const GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_UniformMatrix3x2fv, fn);
}
-typedef void (GLAPIENTRYP _glptr_UniformMatrix3x4fv)(GLint, GLsizei, GLboolean, const GLfloat *);
+typedef void (GLAPIENTRYP _glptr_UniformMatrix3x4fv) (GLint, GLsizei, GLboolean,
+ const GLfloat *);
#define CALL_UniformMatrix3x4fv(disp, parameters) \
(* GET_UniformMatrix3x4fv(disp)) parameters
-static inline _glptr_UniformMatrix3x4fv GET_UniformMatrix3x4fv(struct _glapi_table *disp) {
- return (_glptr_UniformMatrix3x4fv) (GET_by_offset(disp, _gloffset_UniformMatrix3x4fv));
+static inline _glptr_UniformMatrix3x4fv
+GET_UniformMatrix3x4fv(struct _glapi_table *disp)
+{
+ return (_glptr_UniformMatrix3x4fv) (GET_by_offset
+ (disp, _gloffset_UniformMatrix3x4fv));
}
-static inline void SET_UniformMatrix3x4fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLsizei, GLboolean, const GLfloat *)) {
- SET_by_offset(disp, _gloffset_UniformMatrix3x4fv, fn);
+static inline void
+SET_UniformMatrix3x4fv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLint, GLsizei, GLboolean,
+ const GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_UniformMatrix3x4fv, fn);
}
-typedef void (GLAPIENTRYP _glptr_UniformMatrix4x2fv)(GLint, GLsizei, GLboolean, const GLfloat *);
+typedef void (GLAPIENTRYP _glptr_UniformMatrix4x2fv) (GLint, GLsizei, GLboolean,
+ const GLfloat *);
#define CALL_UniformMatrix4x2fv(disp, parameters) \
(* GET_UniformMatrix4x2fv(disp)) parameters
-static inline _glptr_UniformMatrix4x2fv GET_UniformMatrix4x2fv(struct _glapi_table *disp) {
- return (_glptr_UniformMatrix4x2fv) (GET_by_offset(disp, _gloffset_UniformMatrix4x2fv));
+static inline _glptr_UniformMatrix4x2fv
+GET_UniformMatrix4x2fv(struct _glapi_table *disp)
+{
+ return (_glptr_UniformMatrix4x2fv) (GET_by_offset
+ (disp, _gloffset_UniformMatrix4x2fv));
}
-static inline void SET_UniformMatrix4x2fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLsizei, GLboolean, const GLfloat *)) {
- SET_by_offset(disp, _gloffset_UniformMatrix4x2fv, fn);
+static inline void
+SET_UniformMatrix4x2fv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLint, GLsizei, GLboolean,
+ const GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_UniformMatrix4x2fv, fn);
}
-typedef void (GLAPIENTRYP _glptr_UniformMatrix4x3fv)(GLint, GLsizei, GLboolean, const GLfloat *);
+typedef void (GLAPIENTRYP _glptr_UniformMatrix4x3fv) (GLint, GLsizei, GLboolean,
+ const GLfloat *);
#define CALL_UniformMatrix4x3fv(disp, parameters) \
(* GET_UniformMatrix4x3fv(disp)) parameters
-static inline _glptr_UniformMatrix4x3fv GET_UniformMatrix4x3fv(struct _glapi_table *disp) {
- return (_glptr_UniformMatrix4x3fv) (GET_by_offset(disp, _gloffset_UniformMatrix4x3fv));
+static inline _glptr_UniformMatrix4x3fv
+GET_UniformMatrix4x3fv(struct _glapi_table *disp)
+{
+ return (_glptr_UniformMatrix4x3fv) (GET_by_offset
+ (disp, _gloffset_UniformMatrix4x3fv));
}
-static inline void SET_UniformMatrix4x3fv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLsizei, GLboolean, const GLfloat *)) {
- SET_by_offset(disp, _gloffset_UniformMatrix4x3fv, fn);
+static inline void
+SET_UniformMatrix4x3fv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLint, GLsizei, GLboolean,
+ const GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_UniformMatrix4x3fv, fn);
}
-typedef void (GLAPIENTRYP _glptr_ClampColor)(GLenum, GLenum);
+typedef void (GLAPIENTRYP _glptr_ClampColor) (GLenum, GLenum);
+
#define CALL_ClampColor(disp, parameters) \
(* GET_ClampColor(disp)) parameters
-static inline _glptr_ClampColor GET_ClampColor(struct _glapi_table *disp) {
- return (_glptr_ClampColor) (GET_by_offset(disp, _gloffset_ClampColor));
+static inline _glptr_ClampColor
+GET_ClampColor(struct _glapi_table *disp)
+{
+ return (_glptr_ClampColor) (GET_by_offset(disp, _gloffset_ClampColor));
}
-static inline void SET_ClampColor(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum)) {
- SET_by_offset(disp, _gloffset_ClampColor, fn);
+static inline void
+SET_ClampColor(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum))
+{
+ SET_by_offset(disp, _gloffset_ClampColor, fn);
}
-typedef void (GLAPIENTRYP _glptr_ClearBufferfi)(GLenum, GLint, GLfloat, GLint);
+typedef void (GLAPIENTRYP _glptr_ClearBufferfi) (GLenum, GLint, GLfloat, GLint);
+
#define CALL_ClearBufferfi(disp, parameters) \
(* GET_ClearBufferfi(disp)) parameters
-static inline _glptr_ClearBufferfi GET_ClearBufferfi(struct _glapi_table *disp) {
- return (_glptr_ClearBufferfi) (GET_by_offset(disp, _gloffset_ClearBufferfi));
+static inline _glptr_ClearBufferfi
+GET_ClearBufferfi(struct _glapi_table *disp)
+{
+ return (_glptr_ClearBufferfi) (GET_by_offset
+ (disp, _gloffset_ClearBufferfi));
}
-static inline void SET_ClearBufferfi(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLfloat, GLint)) {
- SET_by_offset(disp, _gloffset_ClearBufferfi, fn);
+static inline void
+SET_ClearBufferfi(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLint, GLfloat, GLint))
+{
+ SET_by_offset(disp, _gloffset_ClearBufferfi, fn);
}
-typedef void (GLAPIENTRYP _glptr_ClearBufferfv)(GLenum, GLint, const GLfloat *);
+typedef void (GLAPIENTRYP _glptr_ClearBufferfv) (GLenum, GLint,
+ const GLfloat *);
#define CALL_ClearBufferfv(disp, parameters) \
(* GET_ClearBufferfv(disp)) parameters
-static inline _glptr_ClearBufferfv GET_ClearBufferfv(struct _glapi_table *disp) {
- return (_glptr_ClearBufferfv) (GET_by_offset(disp, _gloffset_ClearBufferfv));
+static inline _glptr_ClearBufferfv
+GET_ClearBufferfv(struct _glapi_table *disp)
+{
+ return (_glptr_ClearBufferfv) (GET_by_offset
+ (disp, _gloffset_ClearBufferfv));
}
-static inline void SET_ClearBufferfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, const GLfloat *)) {
- SET_by_offset(disp, _gloffset_ClearBufferfv, fn);
+static inline void
+SET_ClearBufferfv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLint, const GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_ClearBufferfv, fn);
}
-typedef void (GLAPIENTRYP _glptr_ClearBufferiv)(GLenum, GLint, const GLint *);
+typedef void (GLAPIENTRYP _glptr_ClearBufferiv) (GLenum, GLint, const GLint *);
+
#define CALL_ClearBufferiv(disp, parameters) \
(* GET_ClearBufferiv(disp)) parameters
-static inline _glptr_ClearBufferiv GET_ClearBufferiv(struct _glapi_table *disp) {
- return (_glptr_ClearBufferiv) (GET_by_offset(disp, _gloffset_ClearBufferiv));
+static inline _glptr_ClearBufferiv
+GET_ClearBufferiv(struct _glapi_table *disp)
+{
+ return (_glptr_ClearBufferiv) (GET_by_offset
+ (disp, _gloffset_ClearBufferiv));
}
-static inline void SET_ClearBufferiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, const GLint *)) {
- SET_by_offset(disp, _gloffset_ClearBufferiv, fn);
+static inline void
+SET_ClearBufferiv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLint, const GLint *))
+{
+ SET_by_offset(disp, _gloffset_ClearBufferiv, fn);
}
-typedef void (GLAPIENTRYP _glptr_ClearBufferuiv)(GLenum, GLint, const GLuint *);
+typedef void (GLAPIENTRYP _glptr_ClearBufferuiv) (GLenum, GLint,
+ const GLuint *);
#define CALL_ClearBufferuiv(disp, parameters) \
(* GET_ClearBufferuiv(disp)) parameters
-static inline _glptr_ClearBufferuiv GET_ClearBufferuiv(struct _glapi_table *disp) {
- return (_glptr_ClearBufferuiv) (GET_by_offset(disp, _gloffset_ClearBufferuiv));
+static inline _glptr_ClearBufferuiv
+GET_ClearBufferuiv(struct _glapi_table *disp)
+{
+ return (_glptr_ClearBufferuiv) (GET_by_offset
+ (disp, _gloffset_ClearBufferuiv));
}
-static inline void SET_ClearBufferuiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, const GLuint *)) {
- SET_by_offset(disp, _gloffset_ClearBufferuiv, fn);
+static inline void
+SET_ClearBufferuiv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLint, const GLuint *))
+{
+ SET_by_offset(disp, _gloffset_ClearBufferuiv, fn);
}
-typedef const GLubyte * (GLAPIENTRYP _glptr_GetStringi)(GLenum, GLuint);
+typedef const GLubyte *(GLAPIENTRYP _glptr_GetStringi) (GLenum, GLuint);
+
#define CALL_GetStringi(disp, parameters) \
(* GET_GetStringi(disp)) parameters
-static inline _glptr_GetStringi GET_GetStringi(struct _glapi_table *disp) {
- return (_glptr_GetStringi) (GET_by_offset(disp, _gloffset_GetStringi));
+static inline _glptr_GetStringi
+GET_GetStringi(struct _glapi_table *disp)
+{
+ return (_glptr_GetStringi) (GET_by_offset(disp, _gloffset_GetStringi));
}
-static inline void SET_GetStringi(struct _glapi_table *disp, const GLubyte * (GLAPIENTRYP fn)(GLenum, GLuint)) {
- SET_by_offset(disp, _gloffset_GetStringi, fn);
+static inline void
+SET_GetStringi(struct _glapi_table *disp,
+ const GLubyte * (GLAPIENTRYP fn) (GLenum, GLuint))
+{
+ SET_by_offset(disp, _gloffset_GetStringi, fn);
}
-typedef void (GLAPIENTRYP _glptr_TexBuffer)(GLenum, GLenum, GLuint);
+typedef void (GLAPIENTRYP _glptr_TexBuffer) (GLenum, GLenum, GLuint);
+
#define CALL_TexBuffer(disp, parameters) \
(* GET_TexBuffer(disp)) parameters
-static inline _glptr_TexBuffer GET_TexBuffer(struct _glapi_table *disp) {
- return (_glptr_TexBuffer) (GET_by_offset(disp, _gloffset_TexBuffer));
+static inline _glptr_TexBuffer
+GET_TexBuffer(struct _glapi_table *disp)
+{
+ return (_glptr_TexBuffer) (GET_by_offset(disp, _gloffset_TexBuffer));
}
-static inline void SET_TexBuffer(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLuint)) {
- SET_by_offset(disp, _gloffset_TexBuffer, fn);
+static inline void
+SET_TexBuffer(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, GLuint))
+{
+ SET_by_offset(disp, _gloffset_TexBuffer, fn);
}
-typedef void (GLAPIENTRYP _glptr_FramebufferTexture)(GLenum, GLenum, GLuint, GLint);
+typedef void (GLAPIENTRYP _glptr_FramebufferTexture) (GLenum, GLenum, GLuint,
+ GLint);
#define CALL_FramebufferTexture(disp, parameters) \
(* GET_FramebufferTexture(disp)) parameters
-static inline _glptr_FramebufferTexture GET_FramebufferTexture(struct _glapi_table *disp) {
- return (_glptr_FramebufferTexture) (GET_by_offset(disp, _gloffset_FramebufferTexture));
+static inline _glptr_FramebufferTexture
+GET_FramebufferTexture(struct _glapi_table *disp)
+{
+ return (_glptr_FramebufferTexture) (GET_by_offset
+ (disp, _gloffset_FramebufferTexture));
}
-static inline void SET_FramebufferTexture(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLuint, GLint)) {
- SET_by_offset(disp, _gloffset_FramebufferTexture, fn);
+static inline void
+SET_FramebufferTexture(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, GLuint, GLint))
+{
+ SET_by_offset(disp, _gloffset_FramebufferTexture, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetBufferParameteri64v)(GLenum, GLenum, GLint64 *);
+typedef void (GLAPIENTRYP _glptr_GetBufferParameteri64v) (GLenum, GLenum,
+ GLint64 *);
#define CALL_GetBufferParameteri64v(disp, parameters) \
(* GET_GetBufferParameteri64v(disp)) parameters
-static inline _glptr_GetBufferParameteri64v GET_GetBufferParameteri64v(struct _glapi_table *disp) {
- return (_glptr_GetBufferParameteri64v) (GET_by_offset(disp, _gloffset_GetBufferParameteri64v));
+static inline _glptr_GetBufferParameteri64v
+GET_GetBufferParameteri64v(struct _glapi_table *disp)
+{
+ return (_glptr_GetBufferParameteri64v) (GET_by_offset
+ (disp,
+ _gloffset_GetBufferParameteri64v));
}
-static inline void SET_GetBufferParameteri64v(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint64 *)) {
- SET_by_offset(disp, _gloffset_GetBufferParameteri64v, fn);
+static inline void
+SET_GetBufferParameteri64v(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, GLint64 *))
+{
+ SET_by_offset(disp, _gloffset_GetBufferParameteri64v, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetInteger64i_v)(GLenum, GLuint, GLint64 *);
+typedef void (GLAPIENTRYP _glptr_GetInteger64i_v) (GLenum, GLuint, GLint64 *);
+
#define CALL_GetInteger64i_v(disp, parameters) \
(* GET_GetInteger64i_v(disp)) parameters
-static inline _glptr_GetInteger64i_v GET_GetInteger64i_v(struct _glapi_table *disp) {
- return (_glptr_GetInteger64i_v) (GET_by_offset(disp, _gloffset_GetInteger64i_v));
+static inline _glptr_GetInteger64i_v
+GET_GetInteger64i_v(struct _glapi_table *disp)
+{
+ return (_glptr_GetInteger64i_v) (GET_by_offset
+ (disp, _gloffset_GetInteger64i_v));
}
-static inline void SET_GetInteger64i_v(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLint64 *)) {
- SET_by_offset(disp, _gloffset_GetInteger64i_v, fn);
+static inline void
+SET_GetInteger64i_v(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLuint, GLint64 *))
+{
+ SET_by_offset(disp, _gloffset_GetInteger64i_v, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttribDivisor)(GLuint, GLuint);
+typedef void (GLAPIENTRYP _glptr_VertexAttribDivisor) (GLuint, GLuint);
+
#define CALL_VertexAttribDivisor(disp, parameters) \
(* GET_VertexAttribDivisor(disp)) parameters
-static inline _glptr_VertexAttribDivisor GET_VertexAttribDivisor(struct _glapi_table *disp) {
- return (_glptr_VertexAttribDivisor) (GET_by_offset(disp, _gloffset_VertexAttribDivisor));
+static inline _glptr_VertexAttribDivisor
+GET_VertexAttribDivisor(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttribDivisor) (GET_by_offset
+ (disp, _gloffset_VertexAttribDivisor));
}
-static inline void SET_VertexAttribDivisor(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLuint)) {
- SET_by_offset(disp, _gloffset_VertexAttribDivisor, fn);
+static inline void
+SET_VertexAttribDivisor(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLuint))
+{
+ SET_by_offset(disp, _gloffset_VertexAttribDivisor, fn);
}
-typedef void (GLAPIENTRYP _glptr_LoadTransposeMatrixdARB)(const GLdouble *);
+typedef void (GLAPIENTRYP _glptr_LoadTransposeMatrixdARB) (const GLdouble *);
+
#define CALL_LoadTransposeMatrixdARB(disp, parameters) \
(* GET_LoadTransposeMatrixdARB(disp)) parameters
-static inline _glptr_LoadTransposeMatrixdARB GET_LoadTransposeMatrixdARB(struct _glapi_table *disp) {
- return (_glptr_LoadTransposeMatrixdARB) (GET_by_offset(disp, _gloffset_LoadTransposeMatrixdARB));
+static inline _glptr_LoadTransposeMatrixdARB
+GET_LoadTransposeMatrixdARB(struct _glapi_table *disp)
+{
+ return (_glptr_LoadTransposeMatrixdARB) (GET_by_offset
+ (disp,
+ _gloffset_LoadTransposeMatrixdARB));
}
-static inline void SET_LoadTransposeMatrixdARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) {
- SET_by_offset(disp, _gloffset_LoadTransposeMatrixdARB, fn);
+static inline void
+SET_LoadTransposeMatrixdARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (const GLdouble *))
+{
+ SET_by_offset(disp, _gloffset_LoadTransposeMatrixdARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_LoadTransposeMatrixfARB)(const GLfloat *);
+typedef void (GLAPIENTRYP _glptr_LoadTransposeMatrixfARB) (const GLfloat *);
+
#define CALL_LoadTransposeMatrixfARB(disp, parameters) \
(* GET_LoadTransposeMatrixfARB(disp)) parameters
-static inline _glptr_LoadTransposeMatrixfARB GET_LoadTransposeMatrixfARB(struct _glapi_table *disp) {
- return (_glptr_LoadTransposeMatrixfARB) (GET_by_offset(disp, _gloffset_LoadTransposeMatrixfARB));
+static inline _glptr_LoadTransposeMatrixfARB
+GET_LoadTransposeMatrixfARB(struct _glapi_table *disp)
+{
+ return (_glptr_LoadTransposeMatrixfARB) (GET_by_offset
+ (disp,
+ _gloffset_LoadTransposeMatrixfARB));
}
-static inline void SET_LoadTransposeMatrixfARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) {
- SET_by_offset(disp, _gloffset_LoadTransposeMatrixfARB, fn);
+static inline void
+SET_LoadTransposeMatrixfARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (const GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_LoadTransposeMatrixfARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_MultTransposeMatrixdARB)(const GLdouble *);
+typedef void (GLAPIENTRYP _glptr_MultTransposeMatrixdARB) (const GLdouble *);
+
#define CALL_MultTransposeMatrixdARB(disp, parameters) \
(* GET_MultTransposeMatrixdARB(disp)) parameters
-static inline _glptr_MultTransposeMatrixdARB GET_MultTransposeMatrixdARB(struct _glapi_table *disp) {
- return (_glptr_MultTransposeMatrixdARB) (GET_by_offset(disp, _gloffset_MultTransposeMatrixdARB));
+static inline _glptr_MultTransposeMatrixdARB
+GET_MultTransposeMatrixdARB(struct _glapi_table *disp)
+{
+ return (_glptr_MultTransposeMatrixdARB) (GET_by_offset
+ (disp,
+ _gloffset_MultTransposeMatrixdARB));
}
-static inline void SET_MultTransposeMatrixdARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) {
- SET_by_offset(disp, _gloffset_MultTransposeMatrixdARB, fn);
+static inline void
+SET_MultTransposeMatrixdARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (const GLdouble *))
+{
+ SET_by_offset(disp, _gloffset_MultTransposeMatrixdARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_MultTransposeMatrixfARB)(const GLfloat *);
+typedef void (GLAPIENTRYP _glptr_MultTransposeMatrixfARB) (const GLfloat *);
+
#define CALL_MultTransposeMatrixfARB(disp, parameters) \
(* GET_MultTransposeMatrixfARB(disp)) parameters
-static inline _glptr_MultTransposeMatrixfARB GET_MultTransposeMatrixfARB(struct _glapi_table *disp) {
- return (_glptr_MultTransposeMatrixfARB) (GET_by_offset(disp, _gloffset_MultTransposeMatrixfARB));
+static inline _glptr_MultTransposeMatrixfARB
+GET_MultTransposeMatrixfARB(struct _glapi_table *disp)
+{
+ return (_glptr_MultTransposeMatrixfARB) (GET_by_offset
+ (disp,
+ _gloffset_MultTransposeMatrixfARB));
}
-static inline void SET_MultTransposeMatrixfARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) {
- SET_by_offset(disp, _gloffset_MultTransposeMatrixfARB, fn);
+static inline void
+SET_MultTransposeMatrixfARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (const GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_MultTransposeMatrixfARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_SampleCoverageARB)(GLclampf, GLboolean);
+typedef void (GLAPIENTRYP _glptr_SampleCoverageARB) (GLclampf, GLboolean);
+
#define CALL_SampleCoverageARB(disp, parameters) \
(* GET_SampleCoverageARB(disp)) parameters
-static inline _glptr_SampleCoverageARB GET_SampleCoverageARB(struct _glapi_table *disp) {
- return (_glptr_SampleCoverageARB) (GET_by_offset(disp, _gloffset_SampleCoverageARB));
+static inline _glptr_SampleCoverageARB
+GET_SampleCoverageARB(struct _glapi_table *disp)
+{
+ return (_glptr_SampleCoverageARB) (GET_by_offset
+ (disp, _gloffset_SampleCoverageARB));
}
-static inline void SET_SampleCoverageARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLclampf, GLboolean)) {
- SET_by_offset(disp, _gloffset_SampleCoverageARB, fn);
+static inline void
+SET_SampleCoverageARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLclampf, GLboolean))
+{
+ SET_by_offset(disp, _gloffset_SampleCoverageARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_CompressedTexImage1DARB)(GLenum, GLint, GLenum, GLsizei, GLint, GLsizei, const GLvoid *);
+typedef void (GLAPIENTRYP _glptr_CompressedTexImage1DARB) (GLenum, GLint,
+ GLenum, GLsizei,
+ GLint, GLsizei,
+ const GLvoid *);
#define CALL_CompressedTexImage1DARB(disp, parameters) \
(* GET_CompressedTexImage1DARB(disp)) parameters
-static inline _glptr_CompressedTexImage1DARB GET_CompressedTexImage1DARB(struct _glapi_table *disp) {
- return (_glptr_CompressedTexImage1DARB) (GET_by_offset(disp, _gloffset_CompressedTexImage1DARB));
-}
-
-static inline void SET_CompressedTexImage1DARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLenum, GLsizei, GLint, GLsizei, const GLvoid *)) {
- SET_by_offset(disp, _gloffset_CompressedTexImage1DARB, fn);
-}
-
-typedef void (GLAPIENTRYP _glptr_CompressedTexImage2DARB)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *);
+static inline _glptr_CompressedTexImage1DARB
+GET_CompressedTexImage1DARB(struct _glapi_table *disp)
+{
+ return (_glptr_CompressedTexImage1DARB) (GET_by_offset
+ (disp,
+ _gloffset_CompressedTexImage1DARB));
+}
+
+static inline void
+SET_CompressedTexImage1DARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLint, GLenum,
+ GLsizei, GLint, GLsizei,
+ const GLvoid *))
+{
+ SET_by_offset(disp, _gloffset_CompressedTexImage1DARB, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_CompressedTexImage2DARB) (GLenum, GLint,
+ GLenum, GLsizei,
+ GLsizei, GLint,
+ GLsizei,
+ const GLvoid *);
#define CALL_CompressedTexImage2DARB(disp, parameters) \
(* GET_CompressedTexImage2DARB(disp)) parameters
-static inline _glptr_CompressedTexImage2DARB GET_CompressedTexImage2DARB(struct _glapi_table *disp) {
- return (_glptr_CompressedTexImage2DARB) (GET_by_offset(disp, _gloffset_CompressedTexImage2DARB));
-}
-
-static inline void SET_CompressedTexImage2DARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *)) {
- SET_by_offset(disp, _gloffset_CompressedTexImage2DARB, fn);
-}
-
-typedef void (GLAPIENTRYP _glptr_CompressedTexImage3DARB)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *);
+static inline _glptr_CompressedTexImage2DARB
+GET_CompressedTexImage2DARB(struct _glapi_table *disp)
+{
+ return (_glptr_CompressedTexImage2DARB) (GET_by_offset
+ (disp,
+ _gloffset_CompressedTexImage2DARB));
+}
+
+static inline void
+SET_CompressedTexImage2DARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLint, GLenum,
+ GLsizei, GLsizei, GLint,
+ GLsizei, const GLvoid *))
+{
+ SET_by_offset(disp, _gloffset_CompressedTexImage2DARB, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_CompressedTexImage3DARB) (GLenum, GLint,
+ GLenum, GLsizei,
+ GLsizei, GLsizei,
+ GLint, GLsizei,
+ const GLvoid *);
#define CALL_CompressedTexImage3DARB(disp, parameters) \
(* GET_CompressedTexImage3DARB(disp)) parameters
-static inline _glptr_CompressedTexImage3DARB GET_CompressedTexImage3DARB(struct _glapi_table *disp) {
- return (_glptr_CompressedTexImage3DARB) (GET_by_offset(disp, _gloffset_CompressedTexImage3DARB));
-}
-
-static inline void SET_CompressedTexImage3DARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *)) {
- SET_by_offset(disp, _gloffset_CompressedTexImage3DARB, fn);
-}
-
-typedef void (GLAPIENTRYP _glptr_CompressedTexSubImage1DARB)(GLenum, GLint, GLint, GLsizei, GLenum, GLsizei, const GLvoid *);
+static inline _glptr_CompressedTexImage3DARB
+GET_CompressedTexImage3DARB(struct _glapi_table *disp)
+{
+ return (_glptr_CompressedTexImage3DARB) (GET_by_offset
+ (disp,
+ _gloffset_CompressedTexImage3DARB));
+}
+
+static inline void
+SET_CompressedTexImage3DARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLint, GLenum,
+ GLsizei, GLsizei, GLsizei,
+ GLint, GLsizei,
+ const GLvoid *))
+{
+ SET_by_offset(disp, _gloffset_CompressedTexImage3DARB, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_CompressedTexSubImage1DARB) (GLenum, GLint,
+ GLint, GLsizei,
+ GLenum, GLsizei,
+ const GLvoid *);
#define CALL_CompressedTexSubImage1DARB(disp, parameters) \
(* GET_CompressedTexSubImage1DARB(disp)) parameters
-static inline _glptr_CompressedTexSubImage1DARB GET_CompressedTexSubImage1DARB(struct _glapi_table *disp) {
- return (_glptr_CompressedTexSubImage1DARB) (GET_by_offset(disp, _gloffset_CompressedTexSubImage1DARB));
-}
-
-static inline void SET_CompressedTexSubImage1DARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLint, GLsizei, GLenum, GLsizei, const GLvoid *)) {
- SET_by_offset(disp, _gloffset_CompressedTexSubImage1DARB, fn);
-}
-
-typedef void (GLAPIENTRYP _glptr_CompressedTexSubImage2DARB)(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *);
+static inline _glptr_CompressedTexSubImage1DARB
+GET_CompressedTexSubImage1DARB(struct _glapi_table *disp)
+{
+ return (_glptr_CompressedTexSubImage1DARB) (GET_by_offset
+ (disp,
+ _gloffset_CompressedTexSubImage1DARB));
+}
+
+static inline void
+SET_CompressedTexSubImage1DARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLint, GLint,
+ GLsizei, GLenum, GLsizei,
+ const GLvoid *))
+{
+ SET_by_offset(disp, _gloffset_CompressedTexSubImage1DARB, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_CompressedTexSubImage2DARB) (GLenum, GLint,
+ GLint, GLint,
+ GLsizei, GLsizei,
+ GLenum, GLsizei,
+ const GLvoid *);
#define CALL_CompressedTexSubImage2DARB(disp, parameters) \
(* GET_CompressedTexSubImage2DARB(disp)) parameters
-static inline _glptr_CompressedTexSubImage2DARB GET_CompressedTexSubImage2DARB(struct _glapi_table *disp) {
- return (_glptr_CompressedTexSubImage2DARB) (GET_by_offset(disp, _gloffset_CompressedTexSubImage2DARB));
-}
-
-static inline void SET_CompressedTexSubImage2DARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *)) {
- SET_by_offset(disp, _gloffset_CompressedTexSubImage2DARB, fn);
-}
-
-typedef void (GLAPIENTRYP _glptr_CompressedTexSubImage3DARB)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *);
+static inline _glptr_CompressedTexSubImage2DARB
+GET_CompressedTexSubImage2DARB(struct _glapi_table *disp)
+{
+ return (_glptr_CompressedTexSubImage2DARB) (GET_by_offset
+ (disp,
+ _gloffset_CompressedTexSubImage2DARB));
+}
+
+static inline void
+SET_CompressedTexSubImage2DARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLint, GLint,
+ GLint, GLsizei, GLsizei,
+ GLenum, GLsizei,
+ const GLvoid *))
+{
+ SET_by_offset(disp, _gloffset_CompressedTexSubImage2DARB, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_CompressedTexSubImage3DARB) (GLenum, GLint,
+ GLint, GLint,
+ GLint, GLsizei,
+ GLsizei, GLsizei,
+ GLenum, GLsizei,
+ const GLvoid *);
#define CALL_CompressedTexSubImage3DARB(disp, parameters) \
(* GET_CompressedTexSubImage3DARB(disp)) parameters
-static inline _glptr_CompressedTexSubImage3DARB GET_CompressedTexSubImage3DARB(struct _glapi_table *disp) {
- return (_glptr_CompressedTexSubImage3DARB) (GET_by_offset(disp, _gloffset_CompressedTexSubImage3DARB));
-}
-
-static inline void SET_CompressedTexSubImage3DARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *)) {
- SET_by_offset(disp, _gloffset_CompressedTexSubImage3DARB, fn);
-}
-
-typedef void (GLAPIENTRYP _glptr_GetCompressedTexImageARB)(GLenum, GLint, GLvoid *);
+static inline _glptr_CompressedTexSubImage3DARB
+GET_CompressedTexSubImage3DARB(struct _glapi_table *disp)
+{
+ return (_glptr_CompressedTexSubImage3DARB) (GET_by_offset
+ (disp,
+ _gloffset_CompressedTexSubImage3DARB));
+}
+
+static inline void
+SET_CompressedTexSubImage3DARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLint, GLint,
+ GLint, GLint, GLsizei,
+ GLsizei, GLsizei, GLenum,
+ GLsizei, const GLvoid *))
+{
+ SET_by_offset(disp, _gloffset_CompressedTexSubImage3DARB, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetCompressedTexImageARB) (GLenum, GLint,
+ GLvoid *);
#define CALL_GetCompressedTexImageARB(disp, parameters) \
(* GET_GetCompressedTexImageARB(disp)) parameters
-static inline _glptr_GetCompressedTexImageARB GET_GetCompressedTexImageARB(struct _glapi_table *disp) {
- return (_glptr_GetCompressedTexImageARB) (GET_by_offset(disp, _gloffset_GetCompressedTexImageARB));
+static inline _glptr_GetCompressedTexImageARB
+GET_GetCompressedTexImageARB(struct _glapi_table *disp)
+{
+ return (_glptr_GetCompressedTexImageARB) (GET_by_offset
+ (disp,
+ _gloffset_GetCompressedTexImageARB));
}
-static inline void SET_GetCompressedTexImageARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLvoid *)) {
- SET_by_offset(disp, _gloffset_GetCompressedTexImageARB, fn);
+static inline void
+SET_GetCompressedTexImageARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLint, GLvoid *))
+{
+ SET_by_offset(disp, _gloffset_GetCompressedTexImageARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_DisableVertexAttribArrayARB)(GLuint);
+typedef void (GLAPIENTRYP _glptr_DisableVertexAttribArrayARB) (GLuint);
+
#define CALL_DisableVertexAttribArrayARB(disp, parameters) \
(* GET_DisableVertexAttribArrayARB(disp)) parameters
-static inline _glptr_DisableVertexAttribArrayARB GET_DisableVertexAttribArrayARB(struct _glapi_table *disp) {
- return (_glptr_DisableVertexAttribArrayARB) (GET_by_offset(disp, _gloffset_DisableVertexAttribArrayARB));
+static inline _glptr_DisableVertexAttribArrayARB
+GET_DisableVertexAttribArrayARB(struct _glapi_table *disp)
+{
+ return (_glptr_DisableVertexAttribArrayARB) (GET_by_offset
+ (disp,
+ _gloffset_DisableVertexAttribArrayARB));
}
-static inline void SET_DisableVertexAttribArrayARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint)) {
- SET_by_offset(disp, _gloffset_DisableVertexAttribArrayARB, fn);
+static inline void
+SET_DisableVertexAttribArrayARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint))
+{
+ SET_by_offset(disp, _gloffset_DisableVertexAttribArrayARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_EnableVertexAttribArrayARB)(GLuint);
+typedef void (GLAPIENTRYP _glptr_EnableVertexAttribArrayARB) (GLuint);
+
#define CALL_EnableVertexAttribArrayARB(disp, parameters) \
(* GET_EnableVertexAttribArrayARB(disp)) parameters
-static inline _glptr_EnableVertexAttribArrayARB GET_EnableVertexAttribArrayARB(struct _glapi_table *disp) {
- return (_glptr_EnableVertexAttribArrayARB) (GET_by_offset(disp, _gloffset_EnableVertexAttribArrayARB));
+static inline _glptr_EnableVertexAttribArrayARB
+GET_EnableVertexAttribArrayARB(struct _glapi_table *disp)
+{
+ return (_glptr_EnableVertexAttribArrayARB) (GET_by_offset
+ (disp,
+ _gloffset_EnableVertexAttribArrayARB));
}
-static inline void SET_EnableVertexAttribArrayARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint)) {
- SET_by_offset(disp, _gloffset_EnableVertexAttribArrayARB, fn);
+static inline void
+SET_EnableVertexAttribArrayARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint))
+{
+ SET_by_offset(disp, _gloffset_EnableVertexAttribArrayARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetProgramEnvParameterdvARB)(GLenum, GLuint, GLdouble *);
+typedef void (GLAPIENTRYP _glptr_GetProgramEnvParameterdvARB) (GLenum, GLuint,
+ GLdouble *);
#define CALL_GetProgramEnvParameterdvARB(disp, parameters) \
(* GET_GetProgramEnvParameterdvARB(disp)) parameters
-static inline _glptr_GetProgramEnvParameterdvARB GET_GetProgramEnvParameterdvARB(struct _glapi_table *disp) {
- return (_glptr_GetProgramEnvParameterdvARB) (GET_by_offset(disp, _gloffset_GetProgramEnvParameterdvARB));
+static inline _glptr_GetProgramEnvParameterdvARB
+GET_GetProgramEnvParameterdvARB(struct _glapi_table *disp)
+{
+ return (_glptr_GetProgramEnvParameterdvARB) (GET_by_offset
+ (disp,
+ _gloffset_GetProgramEnvParameterdvARB));
}
-static inline void SET_GetProgramEnvParameterdvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLdouble *)) {
- SET_by_offset(disp, _gloffset_GetProgramEnvParameterdvARB, fn);
+static inline void
+SET_GetProgramEnvParameterdvARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLuint,
+ GLdouble *))
+{
+ SET_by_offset(disp, _gloffset_GetProgramEnvParameterdvARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetProgramEnvParameterfvARB)(GLenum, GLuint, GLfloat *);
+typedef void (GLAPIENTRYP _glptr_GetProgramEnvParameterfvARB) (GLenum, GLuint,
+ GLfloat *);
#define CALL_GetProgramEnvParameterfvARB(disp, parameters) \
(* GET_GetProgramEnvParameterfvARB(disp)) parameters
-static inline _glptr_GetProgramEnvParameterfvARB GET_GetProgramEnvParameterfvARB(struct _glapi_table *disp) {
- return (_glptr_GetProgramEnvParameterfvARB) (GET_by_offset(disp, _gloffset_GetProgramEnvParameterfvARB));
+static inline _glptr_GetProgramEnvParameterfvARB
+GET_GetProgramEnvParameterfvARB(struct _glapi_table *disp)
+{
+ return (_glptr_GetProgramEnvParameterfvARB) (GET_by_offset
+ (disp,
+ _gloffset_GetProgramEnvParameterfvARB));
}
-static inline void SET_GetProgramEnvParameterfvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLfloat *)) {
- SET_by_offset(disp, _gloffset_GetProgramEnvParameterfvARB, fn);
+static inline void
+SET_GetProgramEnvParameterfvARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLuint,
+ GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_GetProgramEnvParameterfvARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetProgramLocalParameterdvARB)(GLenum, GLuint, GLdouble *);
+typedef void (GLAPIENTRYP _glptr_GetProgramLocalParameterdvARB) (GLenum, GLuint,
+ GLdouble *);
#define CALL_GetProgramLocalParameterdvARB(disp, parameters) \
(* GET_GetProgramLocalParameterdvARB(disp)) parameters
-static inline _glptr_GetProgramLocalParameterdvARB GET_GetProgramLocalParameterdvARB(struct _glapi_table *disp) {
- return (_glptr_GetProgramLocalParameterdvARB) (GET_by_offset(disp, _gloffset_GetProgramLocalParameterdvARB));
+static inline _glptr_GetProgramLocalParameterdvARB
+GET_GetProgramLocalParameterdvARB(struct _glapi_table *disp)
+{
+ return (_glptr_GetProgramLocalParameterdvARB) (GET_by_offset
+ (disp,
+ _gloffset_GetProgramLocalParameterdvARB));
}
-static inline void SET_GetProgramLocalParameterdvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLdouble *)) {
- SET_by_offset(disp, _gloffset_GetProgramLocalParameterdvARB, fn);
+static inline void
+SET_GetProgramLocalParameterdvARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLuint,
+ GLdouble *))
+{
+ SET_by_offset(disp, _gloffset_GetProgramLocalParameterdvARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetProgramLocalParameterfvARB)(GLenum, GLuint, GLfloat *);
+typedef void (GLAPIENTRYP _glptr_GetProgramLocalParameterfvARB) (GLenum, GLuint,
+ GLfloat *);
#define CALL_GetProgramLocalParameterfvARB(disp, parameters) \
(* GET_GetProgramLocalParameterfvARB(disp)) parameters
-static inline _glptr_GetProgramLocalParameterfvARB GET_GetProgramLocalParameterfvARB(struct _glapi_table *disp) {
- return (_glptr_GetProgramLocalParameterfvARB) (GET_by_offset(disp, _gloffset_GetProgramLocalParameterfvARB));
+static inline _glptr_GetProgramLocalParameterfvARB
+GET_GetProgramLocalParameterfvARB(struct _glapi_table *disp)
+{
+ return (_glptr_GetProgramLocalParameterfvARB) (GET_by_offset
+ (disp,
+ _gloffset_GetProgramLocalParameterfvARB));
}
-static inline void SET_GetProgramLocalParameterfvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLfloat *)) {
- SET_by_offset(disp, _gloffset_GetProgramLocalParameterfvARB, fn);
+static inline void
+SET_GetProgramLocalParameterfvARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLuint,
+ GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_GetProgramLocalParameterfvARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetProgramStringARB)(GLenum, GLenum, GLvoid *);
+typedef void (GLAPIENTRYP _glptr_GetProgramStringARB) (GLenum, GLenum,
+ GLvoid *);
#define CALL_GetProgramStringARB(disp, parameters) \
(* GET_GetProgramStringARB(disp)) parameters
-static inline _glptr_GetProgramStringARB GET_GetProgramStringARB(struct _glapi_table *disp) {
- return (_glptr_GetProgramStringARB) (GET_by_offset(disp, _gloffset_GetProgramStringARB));
+static inline _glptr_GetProgramStringARB
+GET_GetProgramStringARB(struct _glapi_table *disp)
+{
+ return (_glptr_GetProgramStringARB) (GET_by_offset
+ (disp, _gloffset_GetProgramStringARB));
}
-static inline void SET_GetProgramStringARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLvoid *)) {
- SET_by_offset(disp, _gloffset_GetProgramStringARB, fn);
+static inline void
+SET_GetProgramStringARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, GLvoid *))
+{
+ SET_by_offset(disp, _gloffset_GetProgramStringARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetProgramivARB)(GLenum, GLenum, GLint *);
+typedef void (GLAPIENTRYP _glptr_GetProgramivARB) (GLenum, GLenum, GLint *);
+
#define CALL_GetProgramivARB(disp, parameters) \
(* GET_GetProgramivARB(disp)) parameters
-static inline _glptr_GetProgramivARB GET_GetProgramivARB(struct _glapi_table *disp) {
- return (_glptr_GetProgramivARB) (GET_by_offset(disp, _gloffset_GetProgramivARB));
+static inline _glptr_GetProgramivARB
+GET_GetProgramivARB(struct _glapi_table *disp)
+{
+ return (_glptr_GetProgramivARB) (GET_by_offset
+ (disp, _gloffset_GetProgramivARB));
}
-static inline void SET_GetProgramivARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint *)) {
- SET_by_offset(disp, _gloffset_GetProgramivARB, fn);
+static inline void
+SET_GetProgramivARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, GLint *))
+{
+ SET_by_offset(disp, _gloffset_GetProgramivARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetVertexAttribdvARB)(GLuint, GLenum, GLdouble *);
+typedef void (GLAPIENTRYP _glptr_GetVertexAttribdvARB) (GLuint, GLenum,
+ GLdouble *);
#define CALL_GetVertexAttribdvARB(disp, parameters) \
(* GET_GetVertexAttribdvARB(disp)) parameters
-static inline _glptr_GetVertexAttribdvARB GET_GetVertexAttribdvARB(struct _glapi_table *disp) {
- return (_glptr_GetVertexAttribdvARB) (GET_by_offset(disp, _gloffset_GetVertexAttribdvARB));
+static inline _glptr_GetVertexAttribdvARB
+GET_GetVertexAttribdvARB(struct _glapi_table *disp)
+{
+ return (_glptr_GetVertexAttribdvARB) (GET_by_offset
+ (disp,
+ _gloffset_GetVertexAttribdvARB));
}
-static inline void SET_GetVertexAttribdvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLdouble *)) {
- SET_by_offset(disp, _gloffset_GetVertexAttribdvARB, fn);
+static inline void
+SET_GetVertexAttribdvARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLenum, GLdouble *))
+{
+ SET_by_offset(disp, _gloffset_GetVertexAttribdvARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetVertexAttribfvARB)(GLuint, GLenum, GLfloat *);
+typedef void (GLAPIENTRYP _glptr_GetVertexAttribfvARB) (GLuint, GLenum,
+ GLfloat *);
#define CALL_GetVertexAttribfvARB(disp, parameters) \
(* GET_GetVertexAttribfvARB(disp)) parameters
-static inline _glptr_GetVertexAttribfvARB GET_GetVertexAttribfvARB(struct _glapi_table *disp) {
- return (_glptr_GetVertexAttribfvARB) (GET_by_offset(disp, _gloffset_GetVertexAttribfvARB));
+static inline _glptr_GetVertexAttribfvARB
+GET_GetVertexAttribfvARB(struct _glapi_table *disp)
+{
+ return (_glptr_GetVertexAttribfvARB) (GET_by_offset
+ (disp,
+ _gloffset_GetVertexAttribfvARB));
}
-static inline void SET_GetVertexAttribfvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLfloat *)) {
- SET_by_offset(disp, _gloffset_GetVertexAttribfvARB, fn);
+static inline void
+SET_GetVertexAttribfvARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLenum, GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_GetVertexAttribfvARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetVertexAttribivARB)(GLuint, GLenum, GLint *);
+typedef void (GLAPIENTRYP _glptr_GetVertexAttribivARB) (GLuint, GLenum,
+ GLint *);
#define CALL_GetVertexAttribivARB(disp, parameters) \
(* GET_GetVertexAttribivARB(disp)) parameters
-static inline _glptr_GetVertexAttribivARB GET_GetVertexAttribivARB(struct _glapi_table *disp) {
- return (_glptr_GetVertexAttribivARB) (GET_by_offset(disp, _gloffset_GetVertexAttribivARB));
+static inline _glptr_GetVertexAttribivARB
+GET_GetVertexAttribivARB(struct _glapi_table *disp)
+{
+ return (_glptr_GetVertexAttribivARB) (GET_by_offset
+ (disp,
+ _gloffset_GetVertexAttribivARB));
}
-static inline void SET_GetVertexAttribivARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLint *)) {
- SET_by_offset(disp, _gloffset_GetVertexAttribivARB, fn);
+static inline void
+SET_GetVertexAttribivARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLenum, GLint *))
+{
+ SET_by_offset(disp, _gloffset_GetVertexAttribivARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_ProgramEnvParameter4dARB)(GLenum, GLuint, GLdouble, GLdouble, GLdouble, GLdouble);
+typedef void (GLAPIENTRYP _glptr_ProgramEnvParameter4dARB) (GLenum, GLuint,
+ GLdouble, GLdouble,
+ GLdouble, GLdouble);
#define CALL_ProgramEnvParameter4dARB(disp, parameters) \
(* GET_ProgramEnvParameter4dARB(disp)) parameters
-static inline _glptr_ProgramEnvParameter4dARB GET_ProgramEnvParameter4dARB(struct _glapi_table *disp) {
- return (_glptr_ProgramEnvParameter4dARB) (GET_by_offset(disp, _gloffset_ProgramEnvParameter4dARB));
+static inline _glptr_ProgramEnvParameter4dARB
+GET_ProgramEnvParameter4dARB(struct _glapi_table *disp)
+{
+ return (_glptr_ProgramEnvParameter4dARB) (GET_by_offset
+ (disp,
+ _gloffset_ProgramEnvParameter4dARB));
}
-static inline void SET_ProgramEnvParameter4dARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLdouble, GLdouble, GLdouble, GLdouble)) {
- SET_by_offset(disp, _gloffset_ProgramEnvParameter4dARB, fn);
+static inline void
+SET_ProgramEnvParameter4dARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLuint, GLdouble,
+ GLdouble, GLdouble,
+ GLdouble))
+{
+ SET_by_offset(disp, _gloffset_ProgramEnvParameter4dARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_ProgramEnvParameter4dvARB)(GLenum, GLuint, const GLdouble *);
+typedef void (GLAPIENTRYP _glptr_ProgramEnvParameter4dvARB) (GLenum, GLuint,
+ const GLdouble *);
#define CALL_ProgramEnvParameter4dvARB(disp, parameters) \
(* GET_ProgramEnvParameter4dvARB(disp)) parameters
-static inline _glptr_ProgramEnvParameter4dvARB GET_ProgramEnvParameter4dvARB(struct _glapi_table *disp) {
- return (_glptr_ProgramEnvParameter4dvARB) (GET_by_offset(disp, _gloffset_ProgramEnvParameter4dvARB));
+static inline _glptr_ProgramEnvParameter4dvARB
+GET_ProgramEnvParameter4dvARB(struct _glapi_table *disp)
+{
+ return (_glptr_ProgramEnvParameter4dvARB) (GET_by_offset
+ (disp,
+ _gloffset_ProgramEnvParameter4dvARB));
}
-static inline void SET_ProgramEnvParameter4dvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, const GLdouble *)) {
- SET_by_offset(disp, _gloffset_ProgramEnvParameter4dvARB, fn);
+static inline void
+SET_ProgramEnvParameter4dvARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLuint,
+ const GLdouble *))
+{
+ SET_by_offset(disp, _gloffset_ProgramEnvParameter4dvARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_ProgramEnvParameter4fARB)(GLenum, GLuint, GLfloat, GLfloat, GLfloat, GLfloat);
+typedef void (GLAPIENTRYP _glptr_ProgramEnvParameter4fARB) (GLenum, GLuint,
+ GLfloat, GLfloat,
+ GLfloat, GLfloat);
#define CALL_ProgramEnvParameter4fARB(disp, parameters) \
(* GET_ProgramEnvParameter4fARB(disp)) parameters
-static inline _glptr_ProgramEnvParameter4fARB GET_ProgramEnvParameter4fARB(struct _glapi_table *disp) {
- return (_glptr_ProgramEnvParameter4fARB) (GET_by_offset(disp, _gloffset_ProgramEnvParameter4fARB));
+static inline _glptr_ProgramEnvParameter4fARB
+GET_ProgramEnvParameter4fARB(struct _glapi_table *disp)
+{
+ return (_glptr_ProgramEnvParameter4fARB) (GET_by_offset
+ (disp,
+ _gloffset_ProgramEnvParameter4fARB));
}
-static inline void SET_ProgramEnvParameter4fARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLfloat, GLfloat, GLfloat, GLfloat)) {
- SET_by_offset(disp, _gloffset_ProgramEnvParameter4fARB, fn);
+static inline void
+SET_ProgramEnvParameter4fARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLuint, GLfloat,
+ GLfloat, GLfloat, GLfloat))
+{
+ SET_by_offset(disp, _gloffset_ProgramEnvParameter4fARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_ProgramEnvParameter4fvARB)(GLenum, GLuint, const GLfloat *);
+typedef void (GLAPIENTRYP _glptr_ProgramEnvParameter4fvARB) (GLenum, GLuint,
+ const GLfloat *);
#define CALL_ProgramEnvParameter4fvARB(disp, parameters) \
(* GET_ProgramEnvParameter4fvARB(disp)) parameters
-static inline _glptr_ProgramEnvParameter4fvARB GET_ProgramEnvParameter4fvARB(struct _glapi_table *disp) {
- return (_glptr_ProgramEnvParameter4fvARB) (GET_by_offset(disp, _gloffset_ProgramEnvParameter4fvARB));
-}
-
-static inline void SET_ProgramEnvParameter4fvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, const GLfloat *)) {
- SET_by_offset(disp, _gloffset_ProgramEnvParameter4fvARB, fn);
-}
-
-typedef void (GLAPIENTRYP _glptr_ProgramLocalParameter4dARB)(GLenum, GLuint, GLdouble, GLdouble, GLdouble, GLdouble);
+static inline _glptr_ProgramEnvParameter4fvARB
+GET_ProgramEnvParameter4fvARB(struct _glapi_table *disp)
+{
+ return (_glptr_ProgramEnvParameter4fvARB) (GET_by_offset
+ (disp,
+ _gloffset_ProgramEnvParameter4fvARB));
+}
+
+static inline void
+SET_ProgramEnvParameter4fvARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLuint,
+ const GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_ProgramEnvParameter4fvARB, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_ProgramLocalParameter4dARB) (GLenum, GLuint,
+ GLdouble,
+ GLdouble,
+ GLdouble,
+ GLdouble);
#define CALL_ProgramLocalParameter4dARB(disp, parameters) \
(* GET_ProgramLocalParameter4dARB(disp)) parameters
-static inline _glptr_ProgramLocalParameter4dARB GET_ProgramLocalParameter4dARB(struct _glapi_table *disp) {
- return (_glptr_ProgramLocalParameter4dARB) (GET_by_offset(disp, _gloffset_ProgramLocalParameter4dARB));
-}
-
-static inline void SET_ProgramLocalParameter4dARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLdouble, GLdouble, GLdouble, GLdouble)) {
- SET_by_offset(disp, _gloffset_ProgramLocalParameter4dARB, fn);
-}
-
-typedef void (GLAPIENTRYP _glptr_ProgramLocalParameter4dvARB)(GLenum, GLuint, const GLdouble *);
+static inline _glptr_ProgramLocalParameter4dARB
+GET_ProgramLocalParameter4dARB(struct _glapi_table *disp)
+{
+ return (_glptr_ProgramLocalParameter4dARB) (GET_by_offset
+ (disp,
+ _gloffset_ProgramLocalParameter4dARB));
+}
+
+static inline void
+SET_ProgramLocalParameter4dARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLuint, GLdouble,
+ GLdouble, GLdouble,
+ GLdouble))
+{
+ SET_by_offset(disp, _gloffset_ProgramLocalParameter4dARB, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_ProgramLocalParameter4dvARB) (GLenum, GLuint,
+ const GLdouble
+ *);
#define CALL_ProgramLocalParameter4dvARB(disp, parameters) \
(* GET_ProgramLocalParameter4dvARB(disp)) parameters
-static inline _glptr_ProgramLocalParameter4dvARB GET_ProgramLocalParameter4dvARB(struct _glapi_table *disp) {
- return (_glptr_ProgramLocalParameter4dvARB) (GET_by_offset(disp, _gloffset_ProgramLocalParameter4dvARB));
+static inline _glptr_ProgramLocalParameter4dvARB
+GET_ProgramLocalParameter4dvARB(struct _glapi_table *disp)
+{
+ return (_glptr_ProgramLocalParameter4dvARB) (GET_by_offset
+ (disp,
+ _gloffset_ProgramLocalParameter4dvARB));
}
-static inline void SET_ProgramLocalParameter4dvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, const GLdouble *)) {
- SET_by_offset(disp, _gloffset_ProgramLocalParameter4dvARB, fn);
+static inline void
+SET_ProgramLocalParameter4dvARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLuint,
+ const GLdouble *))
+{
+ SET_by_offset(disp, _gloffset_ProgramLocalParameter4dvARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_ProgramLocalParameter4fARB)(GLenum, GLuint, GLfloat, GLfloat, GLfloat, GLfloat);
+typedef void (GLAPIENTRYP _glptr_ProgramLocalParameter4fARB) (GLenum, GLuint,
+ GLfloat, GLfloat,
+ GLfloat, GLfloat);
#define CALL_ProgramLocalParameter4fARB(disp, parameters) \
(* GET_ProgramLocalParameter4fARB(disp)) parameters
-static inline _glptr_ProgramLocalParameter4fARB GET_ProgramLocalParameter4fARB(struct _glapi_table *disp) {
- return (_glptr_ProgramLocalParameter4fARB) (GET_by_offset(disp, _gloffset_ProgramLocalParameter4fARB));
+static inline _glptr_ProgramLocalParameter4fARB
+GET_ProgramLocalParameter4fARB(struct _glapi_table *disp)
+{
+ return (_glptr_ProgramLocalParameter4fARB) (GET_by_offset
+ (disp,
+ _gloffset_ProgramLocalParameter4fARB));
}
-static inline void SET_ProgramLocalParameter4fARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLfloat, GLfloat, GLfloat, GLfloat)) {
- SET_by_offset(disp, _gloffset_ProgramLocalParameter4fARB, fn);
+static inline void
+SET_ProgramLocalParameter4fARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLuint, GLfloat,
+ GLfloat, GLfloat,
+ GLfloat))
+{
+ SET_by_offset(disp, _gloffset_ProgramLocalParameter4fARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_ProgramLocalParameter4fvARB)(GLenum, GLuint, const GLfloat *);
+typedef void (GLAPIENTRYP _glptr_ProgramLocalParameter4fvARB) (GLenum, GLuint,
+ const GLfloat *);
#define CALL_ProgramLocalParameter4fvARB(disp, parameters) \
(* GET_ProgramLocalParameter4fvARB(disp)) parameters
-static inline _glptr_ProgramLocalParameter4fvARB GET_ProgramLocalParameter4fvARB(struct _glapi_table *disp) {
- return (_glptr_ProgramLocalParameter4fvARB) (GET_by_offset(disp, _gloffset_ProgramLocalParameter4fvARB));
+static inline _glptr_ProgramLocalParameter4fvARB
+GET_ProgramLocalParameter4fvARB(struct _glapi_table *disp)
+{
+ return (_glptr_ProgramLocalParameter4fvARB) (GET_by_offset
+ (disp,
+ _gloffset_ProgramLocalParameter4fvARB));
}
-static inline void SET_ProgramLocalParameter4fvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, const GLfloat *)) {
- SET_by_offset(disp, _gloffset_ProgramLocalParameter4fvARB, fn);
+static inline void
+SET_ProgramLocalParameter4fvARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLuint,
+ const GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_ProgramLocalParameter4fvARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_ProgramStringARB)(GLenum, GLenum, GLsizei, const GLvoid *);
+typedef void (GLAPIENTRYP _glptr_ProgramStringARB) (GLenum, GLenum, GLsizei,
+ const GLvoid *);
#define CALL_ProgramStringARB(disp, parameters) \
(* GET_ProgramStringARB(disp)) parameters
-static inline _glptr_ProgramStringARB GET_ProgramStringARB(struct _glapi_table *disp) {
- return (_glptr_ProgramStringARB) (GET_by_offset(disp, _gloffset_ProgramStringARB));
+static inline _glptr_ProgramStringARB
+GET_ProgramStringARB(struct _glapi_table *disp)
+{
+ return (_glptr_ProgramStringARB) (GET_by_offset
+ (disp, _gloffset_ProgramStringARB));
}
-static inline void SET_ProgramStringARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLsizei, const GLvoid *)) {
- SET_by_offset(disp, _gloffset_ProgramStringARB, fn);
+static inline void
+SET_ProgramStringARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, GLsizei,
+ const GLvoid *))
+{
+ SET_by_offset(disp, _gloffset_ProgramStringARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttrib1dARB)(GLuint, GLdouble);
+typedef void (GLAPIENTRYP _glptr_VertexAttrib1dARB) (GLuint, GLdouble);
+
#define CALL_VertexAttrib1dARB(disp, parameters) \
(* GET_VertexAttrib1dARB(disp)) parameters
-static inline _glptr_VertexAttrib1dARB GET_VertexAttrib1dARB(struct _glapi_table *disp) {
- return (_glptr_VertexAttrib1dARB) (GET_by_offset(disp, _gloffset_VertexAttrib1dARB));
+static inline _glptr_VertexAttrib1dARB
+GET_VertexAttrib1dARB(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttrib1dARB) (GET_by_offset
+ (disp, _gloffset_VertexAttrib1dARB));
}
-static inline void SET_VertexAttrib1dARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLdouble)) {
- SET_by_offset(disp, _gloffset_VertexAttrib1dARB, fn);
+static inline void
+SET_VertexAttrib1dARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLdouble))
+{
+ SET_by_offset(disp, _gloffset_VertexAttrib1dARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttrib1dvARB)(GLuint, const GLdouble *);
+typedef void (GLAPIENTRYP _glptr_VertexAttrib1dvARB) (GLuint, const GLdouble *);
+
#define CALL_VertexAttrib1dvARB(disp, parameters) \
(* GET_VertexAttrib1dvARB(disp)) parameters
-static inline _glptr_VertexAttrib1dvARB GET_VertexAttrib1dvARB(struct _glapi_table *disp) {
- return (_glptr_VertexAttrib1dvARB) (GET_by_offset(disp, _gloffset_VertexAttrib1dvARB));
+static inline _glptr_VertexAttrib1dvARB
+GET_VertexAttrib1dvARB(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttrib1dvARB) (GET_by_offset
+ (disp, _gloffset_VertexAttrib1dvARB));
}
-static inline void SET_VertexAttrib1dvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLdouble *)) {
- SET_by_offset(disp, _gloffset_VertexAttrib1dvARB, fn);
+static inline void
+SET_VertexAttrib1dvARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, const GLdouble *))
+{
+ SET_by_offset(disp, _gloffset_VertexAttrib1dvARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttrib1fARB)(GLuint, GLfloat);
+typedef void (GLAPIENTRYP _glptr_VertexAttrib1fARB) (GLuint, GLfloat);
+
#define CALL_VertexAttrib1fARB(disp, parameters) \
(* GET_VertexAttrib1fARB(disp)) parameters
-static inline _glptr_VertexAttrib1fARB GET_VertexAttrib1fARB(struct _glapi_table *disp) {
- return (_glptr_VertexAttrib1fARB) (GET_by_offset(disp, _gloffset_VertexAttrib1fARB));
+static inline _glptr_VertexAttrib1fARB
+GET_VertexAttrib1fARB(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttrib1fARB) (GET_by_offset
+ (disp, _gloffset_VertexAttrib1fARB));
}
-static inline void SET_VertexAttrib1fARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLfloat)) {
- SET_by_offset(disp, _gloffset_VertexAttrib1fARB, fn);
+static inline void
+SET_VertexAttrib1fARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLfloat))
+{
+ SET_by_offset(disp, _gloffset_VertexAttrib1fARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttrib1fvARB)(GLuint, const GLfloat *);
+typedef void (GLAPIENTRYP _glptr_VertexAttrib1fvARB) (GLuint, const GLfloat *);
+
#define CALL_VertexAttrib1fvARB(disp, parameters) \
(* GET_VertexAttrib1fvARB(disp)) parameters
-static inline _glptr_VertexAttrib1fvARB GET_VertexAttrib1fvARB(struct _glapi_table *disp) {
- return (_glptr_VertexAttrib1fvARB) (GET_by_offset(disp, _gloffset_VertexAttrib1fvARB));
+static inline _glptr_VertexAttrib1fvARB
+GET_VertexAttrib1fvARB(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttrib1fvARB) (GET_by_offset
+ (disp, _gloffset_VertexAttrib1fvARB));
}
-static inline void SET_VertexAttrib1fvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLfloat *)) {
- SET_by_offset(disp, _gloffset_VertexAttrib1fvARB, fn);
+static inline void
+SET_VertexAttrib1fvARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, const GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_VertexAttrib1fvARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttrib1sARB)(GLuint, GLshort);
+typedef void (GLAPIENTRYP _glptr_VertexAttrib1sARB) (GLuint, GLshort);
+
#define CALL_VertexAttrib1sARB(disp, parameters) \
(* GET_VertexAttrib1sARB(disp)) parameters
-static inline _glptr_VertexAttrib1sARB GET_VertexAttrib1sARB(struct _glapi_table *disp) {
- return (_glptr_VertexAttrib1sARB) (GET_by_offset(disp, _gloffset_VertexAttrib1sARB));
+static inline _glptr_VertexAttrib1sARB
+GET_VertexAttrib1sARB(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttrib1sARB) (GET_by_offset
+ (disp, _gloffset_VertexAttrib1sARB));
}
-static inline void SET_VertexAttrib1sARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLshort)) {
- SET_by_offset(disp, _gloffset_VertexAttrib1sARB, fn);
+static inline void
+SET_VertexAttrib1sARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLshort))
+{
+ SET_by_offset(disp, _gloffset_VertexAttrib1sARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttrib1svARB)(GLuint, const GLshort *);
+typedef void (GLAPIENTRYP _glptr_VertexAttrib1svARB) (GLuint, const GLshort *);
+
#define CALL_VertexAttrib1svARB(disp, parameters) \
(* GET_VertexAttrib1svARB(disp)) parameters
-static inline _glptr_VertexAttrib1svARB GET_VertexAttrib1svARB(struct _glapi_table *disp) {
- return (_glptr_VertexAttrib1svARB) (GET_by_offset(disp, _gloffset_VertexAttrib1svARB));
+static inline _glptr_VertexAttrib1svARB
+GET_VertexAttrib1svARB(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttrib1svARB) (GET_by_offset
+ (disp, _gloffset_VertexAttrib1svARB));
}
-static inline void SET_VertexAttrib1svARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLshort *)) {
- SET_by_offset(disp, _gloffset_VertexAttrib1svARB, fn);
+static inline void
+SET_VertexAttrib1svARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, const GLshort *))
+{
+ SET_by_offset(disp, _gloffset_VertexAttrib1svARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttrib2dARB)(GLuint, GLdouble, GLdouble);
+typedef void (GLAPIENTRYP _glptr_VertexAttrib2dARB) (GLuint, GLdouble,
+ GLdouble);
#define CALL_VertexAttrib2dARB(disp, parameters) \
(* GET_VertexAttrib2dARB(disp)) parameters
-static inline _glptr_VertexAttrib2dARB GET_VertexAttrib2dARB(struct _glapi_table *disp) {
- return (_glptr_VertexAttrib2dARB) (GET_by_offset(disp, _gloffset_VertexAttrib2dARB));
+static inline _glptr_VertexAttrib2dARB
+GET_VertexAttrib2dARB(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttrib2dARB) (GET_by_offset
+ (disp, _gloffset_VertexAttrib2dARB));
}
-static inline void SET_VertexAttrib2dARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLdouble, GLdouble)) {
- SET_by_offset(disp, _gloffset_VertexAttrib2dARB, fn);
+static inline void
+SET_VertexAttrib2dARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLdouble, GLdouble))
+{
+ SET_by_offset(disp, _gloffset_VertexAttrib2dARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttrib2dvARB)(GLuint, const GLdouble *);
+typedef void (GLAPIENTRYP _glptr_VertexAttrib2dvARB) (GLuint, const GLdouble *);
+
#define CALL_VertexAttrib2dvARB(disp, parameters) \
(* GET_VertexAttrib2dvARB(disp)) parameters
-static inline _glptr_VertexAttrib2dvARB GET_VertexAttrib2dvARB(struct _glapi_table *disp) {
- return (_glptr_VertexAttrib2dvARB) (GET_by_offset(disp, _gloffset_VertexAttrib2dvARB));
+static inline _glptr_VertexAttrib2dvARB
+GET_VertexAttrib2dvARB(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttrib2dvARB) (GET_by_offset
+ (disp, _gloffset_VertexAttrib2dvARB));
}
-static inline void SET_VertexAttrib2dvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLdouble *)) {
- SET_by_offset(disp, _gloffset_VertexAttrib2dvARB, fn);
+static inline void
+SET_VertexAttrib2dvARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, const GLdouble *))
+{
+ SET_by_offset(disp, _gloffset_VertexAttrib2dvARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttrib2fARB)(GLuint, GLfloat, GLfloat);
+typedef void (GLAPIENTRYP _glptr_VertexAttrib2fARB) (GLuint, GLfloat, GLfloat);
+
#define CALL_VertexAttrib2fARB(disp, parameters) \
(* GET_VertexAttrib2fARB(disp)) parameters
-static inline _glptr_VertexAttrib2fARB GET_VertexAttrib2fARB(struct _glapi_table *disp) {
- return (_glptr_VertexAttrib2fARB) (GET_by_offset(disp, _gloffset_VertexAttrib2fARB));
+static inline _glptr_VertexAttrib2fARB
+GET_VertexAttrib2fARB(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttrib2fARB) (GET_by_offset
+ (disp, _gloffset_VertexAttrib2fARB));
}
-static inline void SET_VertexAttrib2fARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLfloat, GLfloat)) {
- SET_by_offset(disp, _gloffset_VertexAttrib2fARB, fn);
+static inline void
+SET_VertexAttrib2fARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLfloat, GLfloat))
+{
+ SET_by_offset(disp, _gloffset_VertexAttrib2fARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttrib2fvARB)(GLuint, const GLfloat *);
+typedef void (GLAPIENTRYP _glptr_VertexAttrib2fvARB) (GLuint, const GLfloat *);
+
#define CALL_VertexAttrib2fvARB(disp, parameters) \
(* GET_VertexAttrib2fvARB(disp)) parameters
-static inline _glptr_VertexAttrib2fvARB GET_VertexAttrib2fvARB(struct _glapi_table *disp) {
- return (_glptr_VertexAttrib2fvARB) (GET_by_offset(disp, _gloffset_VertexAttrib2fvARB));
+static inline _glptr_VertexAttrib2fvARB
+GET_VertexAttrib2fvARB(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttrib2fvARB) (GET_by_offset
+ (disp, _gloffset_VertexAttrib2fvARB));
}
-static inline void SET_VertexAttrib2fvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLfloat *)) {
- SET_by_offset(disp, _gloffset_VertexAttrib2fvARB, fn);
+static inline void
+SET_VertexAttrib2fvARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, const GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_VertexAttrib2fvARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttrib2sARB)(GLuint, GLshort, GLshort);
+typedef void (GLAPIENTRYP _glptr_VertexAttrib2sARB) (GLuint, GLshort, GLshort);
+
#define CALL_VertexAttrib2sARB(disp, parameters) \
(* GET_VertexAttrib2sARB(disp)) parameters
-static inline _glptr_VertexAttrib2sARB GET_VertexAttrib2sARB(struct _glapi_table *disp) {
- return (_glptr_VertexAttrib2sARB) (GET_by_offset(disp, _gloffset_VertexAttrib2sARB));
+static inline _glptr_VertexAttrib2sARB
+GET_VertexAttrib2sARB(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttrib2sARB) (GET_by_offset
+ (disp, _gloffset_VertexAttrib2sARB));
}
-static inline void SET_VertexAttrib2sARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLshort, GLshort)) {
- SET_by_offset(disp, _gloffset_VertexAttrib2sARB, fn);
+static inline void
+SET_VertexAttrib2sARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLshort, GLshort))
+{
+ SET_by_offset(disp, _gloffset_VertexAttrib2sARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttrib2svARB)(GLuint, const GLshort *);
+typedef void (GLAPIENTRYP _glptr_VertexAttrib2svARB) (GLuint, const GLshort *);
+
#define CALL_VertexAttrib2svARB(disp, parameters) \
(* GET_VertexAttrib2svARB(disp)) parameters
-static inline _glptr_VertexAttrib2svARB GET_VertexAttrib2svARB(struct _glapi_table *disp) {
- return (_glptr_VertexAttrib2svARB) (GET_by_offset(disp, _gloffset_VertexAttrib2svARB));
+static inline _glptr_VertexAttrib2svARB
+GET_VertexAttrib2svARB(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttrib2svARB) (GET_by_offset
+ (disp, _gloffset_VertexAttrib2svARB));
}
-static inline void SET_VertexAttrib2svARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLshort *)) {
- SET_by_offset(disp, _gloffset_VertexAttrib2svARB, fn);
+static inline void
+SET_VertexAttrib2svARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, const GLshort *))
+{
+ SET_by_offset(disp, _gloffset_VertexAttrib2svARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttrib3dARB)(GLuint, GLdouble, GLdouble, GLdouble);
+typedef void (GLAPIENTRYP _glptr_VertexAttrib3dARB) (GLuint, GLdouble, GLdouble,
+ GLdouble);
#define CALL_VertexAttrib3dARB(disp, parameters) \
(* GET_VertexAttrib3dARB(disp)) parameters
-static inline _glptr_VertexAttrib3dARB GET_VertexAttrib3dARB(struct _glapi_table *disp) {
- return (_glptr_VertexAttrib3dARB) (GET_by_offset(disp, _gloffset_VertexAttrib3dARB));
+static inline _glptr_VertexAttrib3dARB
+GET_VertexAttrib3dARB(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttrib3dARB) (GET_by_offset
+ (disp, _gloffset_VertexAttrib3dARB));
}
-static inline void SET_VertexAttrib3dARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLdouble, GLdouble, GLdouble)) {
- SET_by_offset(disp, _gloffset_VertexAttrib3dARB, fn);
+static inline void
+SET_VertexAttrib3dARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLdouble, GLdouble,
+ GLdouble))
+{
+ SET_by_offset(disp, _gloffset_VertexAttrib3dARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttrib3dvARB)(GLuint, const GLdouble *);
+typedef void (GLAPIENTRYP _glptr_VertexAttrib3dvARB) (GLuint, const GLdouble *);
+
#define CALL_VertexAttrib3dvARB(disp, parameters) \
(* GET_VertexAttrib3dvARB(disp)) parameters
-static inline _glptr_VertexAttrib3dvARB GET_VertexAttrib3dvARB(struct _glapi_table *disp) {
- return (_glptr_VertexAttrib3dvARB) (GET_by_offset(disp, _gloffset_VertexAttrib3dvARB));
+static inline _glptr_VertexAttrib3dvARB
+GET_VertexAttrib3dvARB(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttrib3dvARB) (GET_by_offset
+ (disp, _gloffset_VertexAttrib3dvARB));
}
-static inline void SET_VertexAttrib3dvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLdouble *)) {
- SET_by_offset(disp, _gloffset_VertexAttrib3dvARB, fn);
+static inline void
+SET_VertexAttrib3dvARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, const GLdouble *))
+{
+ SET_by_offset(disp, _gloffset_VertexAttrib3dvARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttrib3fARB)(GLuint, GLfloat, GLfloat, GLfloat);
+typedef void (GLAPIENTRYP _glptr_VertexAttrib3fARB) (GLuint, GLfloat, GLfloat,
+ GLfloat);
#define CALL_VertexAttrib3fARB(disp, parameters) \
(* GET_VertexAttrib3fARB(disp)) parameters
-static inline _glptr_VertexAttrib3fARB GET_VertexAttrib3fARB(struct _glapi_table *disp) {
- return (_glptr_VertexAttrib3fARB) (GET_by_offset(disp, _gloffset_VertexAttrib3fARB));
+static inline _glptr_VertexAttrib3fARB
+GET_VertexAttrib3fARB(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttrib3fARB) (GET_by_offset
+ (disp, _gloffset_VertexAttrib3fARB));
}
-static inline void SET_VertexAttrib3fARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLfloat, GLfloat, GLfloat)) {
- SET_by_offset(disp, _gloffset_VertexAttrib3fARB, fn);
+static inline void
+SET_VertexAttrib3fARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLfloat, GLfloat, GLfloat))
+{
+ SET_by_offset(disp, _gloffset_VertexAttrib3fARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttrib3fvARB)(GLuint, const GLfloat *);
+typedef void (GLAPIENTRYP _glptr_VertexAttrib3fvARB) (GLuint, const GLfloat *);
+
#define CALL_VertexAttrib3fvARB(disp, parameters) \
(* GET_VertexAttrib3fvARB(disp)) parameters
-static inline _glptr_VertexAttrib3fvARB GET_VertexAttrib3fvARB(struct _glapi_table *disp) {
- return (_glptr_VertexAttrib3fvARB) (GET_by_offset(disp, _gloffset_VertexAttrib3fvARB));
+static inline _glptr_VertexAttrib3fvARB
+GET_VertexAttrib3fvARB(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttrib3fvARB) (GET_by_offset
+ (disp, _gloffset_VertexAttrib3fvARB));
}
-static inline void SET_VertexAttrib3fvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLfloat *)) {
- SET_by_offset(disp, _gloffset_VertexAttrib3fvARB, fn);
+static inline void
+SET_VertexAttrib3fvARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, const GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_VertexAttrib3fvARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttrib3sARB)(GLuint, GLshort, GLshort, GLshort);
+typedef void (GLAPIENTRYP _glptr_VertexAttrib3sARB) (GLuint, GLshort, GLshort,
+ GLshort);
#define CALL_VertexAttrib3sARB(disp, parameters) \
(* GET_VertexAttrib3sARB(disp)) parameters
-static inline _glptr_VertexAttrib3sARB GET_VertexAttrib3sARB(struct _glapi_table *disp) {
- return (_glptr_VertexAttrib3sARB) (GET_by_offset(disp, _gloffset_VertexAttrib3sARB));
+static inline _glptr_VertexAttrib3sARB
+GET_VertexAttrib3sARB(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttrib3sARB) (GET_by_offset
+ (disp, _gloffset_VertexAttrib3sARB));
}
-static inline void SET_VertexAttrib3sARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLshort, GLshort, GLshort)) {
- SET_by_offset(disp, _gloffset_VertexAttrib3sARB, fn);
+static inline void
+SET_VertexAttrib3sARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLshort, GLshort, GLshort))
+{
+ SET_by_offset(disp, _gloffset_VertexAttrib3sARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttrib3svARB)(GLuint, const GLshort *);
+typedef void (GLAPIENTRYP _glptr_VertexAttrib3svARB) (GLuint, const GLshort *);
+
#define CALL_VertexAttrib3svARB(disp, parameters) \
(* GET_VertexAttrib3svARB(disp)) parameters
-static inline _glptr_VertexAttrib3svARB GET_VertexAttrib3svARB(struct _glapi_table *disp) {
- return (_glptr_VertexAttrib3svARB) (GET_by_offset(disp, _gloffset_VertexAttrib3svARB));
+static inline _glptr_VertexAttrib3svARB
+GET_VertexAttrib3svARB(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttrib3svARB) (GET_by_offset
+ (disp, _gloffset_VertexAttrib3svARB));
}
-static inline void SET_VertexAttrib3svARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLshort *)) {
- SET_by_offset(disp, _gloffset_VertexAttrib3svARB, fn);
+static inline void
+SET_VertexAttrib3svARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, const GLshort *))
+{
+ SET_by_offset(disp, _gloffset_VertexAttrib3svARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttrib4NbvARB)(GLuint, const GLbyte *);
+typedef void (GLAPIENTRYP _glptr_VertexAttrib4NbvARB) (GLuint, const GLbyte *);
+
#define CALL_VertexAttrib4NbvARB(disp, parameters) \
(* GET_VertexAttrib4NbvARB(disp)) parameters
-static inline _glptr_VertexAttrib4NbvARB GET_VertexAttrib4NbvARB(struct _glapi_table *disp) {
- return (_glptr_VertexAttrib4NbvARB) (GET_by_offset(disp, _gloffset_VertexAttrib4NbvARB));
+static inline _glptr_VertexAttrib4NbvARB
+GET_VertexAttrib4NbvARB(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttrib4NbvARB) (GET_by_offset
+ (disp, _gloffset_VertexAttrib4NbvARB));
}
-static inline void SET_VertexAttrib4NbvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLbyte *)) {
- SET_by_offset(disp, _gloffset_VertexAttrib4NbvARB, fn);
+static inline void
+SET_VertexAttrib4NbvARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, const GLbyte *))
+{
+ SET_by_offset(disp, _gloffset_VertexAttrib4NbvARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttrib4NivARB)(GLuint, const GLint *);
+typedef void (GLAPIENTRYP _glptr_VertexAttrib4NivARB) (GLuint, const GLint *);
+
#define CALL_VertexAttrib4NivARB(disp, parameters) \
(* GET_VertexAttrib4NivARB(disp)) parameters
-static inline _glptr_VertexAttrib4NivARB GET_VertexAttrib4NivARB(struct _glapi_table *disp) {
- return (_glptr_VertexAttrib4NivARB) (GET_by_offset(disp, _gloffset_VertexAttrib4NivARB));
+static inline _glptr_VertexAttrib4NivARB
+GET_VertexAttrib4NivARB(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttrib4NivARB) (GET_by_offset
+ (disp, _gloffset_VertexAttrib4NivARB));
}
-static inline void SET_VertexAttrib4NivARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLint *)) {
- SET_by_offset(disp, _gloffset_VertexAttrib4NivARB, fn);
+static inline void
+SET_VertexAttrib4NivARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, const GLint *))
+{
+ SET_by_offset(disp, _gloffset_VertexAttrib4NivARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttrib4NsvARB)(GLuint, const GLshort *);
+typedef void (GLAPIENTRYP _glptr_VertexAttrib4NsvARB) (GLuint, const GLshort *);
+
#define CALL_VertexAttrib4NsvARB(disp, parameters) \
(* GET_VertexAttrib4NsvARB(disp)) parameters
-static inline _glptr_VertexAttrib4NsvARB GET_VertexAttrib4NsvARB(struct _glapi_table *disp) {
- return (_glptr_VertexAttrib4NsvARB) (GET_by_offset(disp, _gloffset_VertexAttrib4NsvARB));
+static inline _glptr_VertexAttrib4NsvARB
+GET_VertexAttrib4NsvARB(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttrib4NsvARB) (GET_by_offset
+ (disp, _gloffset_VertexAttrib4NsvARB));
}
-static inline void SET_VertexAttrib4NsvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLshort *)) {
- SET_by_offset(disp, _gloffset_VertexAttrib4NsvARB, fn);
+static inline void
+SET_VertexAttrib4NsvARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, const GLshort *))
+{
+ SET_by_offset(disp, _gloffset_VertexAttrib4NsvARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttrib4NubARB)(GLuint, GLubyte, GLubyte, GLubyte, GLubyte);
+typedef void (GLAPIENTRYP _glptr_VertexAttrib4NubARB) (GLuint, GLubyte, GLubyte,
+ GLubyte, GLubyte);
#define CALL_VertexAttrib4NubARB(disp, parameters) \
(* GET_VertexAttrib4NubARB(disp)) parameters
-static inline _glptr_VertexAttrib4NubARB GET_VertexAttrib4NubARB(struct _glapi_table *disp) {
- return (_glptr_VertexAttrib4NubARB) (GET_by_offset(disp, _gloffset_VertexAttrib4NubARB));
+static inline _glptr_VertexAttrib4NubARB
+GET_VertexAttrib4NubARB(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttrib4NubARB) (GET_by_offset
+ (disp, _gloffset_VertexAttrib4NubARB));
}
-static inline void SET_VertexAttrib4NubARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLubyte, GLubyte, GLubyte, GLubyte)) {
- SET_by_offset(disp, _gloffset_VertexAttrib4NubARB, fn);
+static inline void
+SET_VertexAttrib4NubARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLubyte, GLubyte,
+ GLubyte, GLubyte))
+{
+ SET_by_offset(disp, _gloffset_VertexAttrib4NubARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttrib4NubvARB)(GLuint, const GLubyte *);
+typedef void (GLAPIENTRYP _glptr_VertexAttrib4NubvARB) (GLuint,
+ const GLubyte *);
#define CALL_VertexAttrib4NubvARB(disp, parameters) \
(* GET_VertexAttrib4NubvARB(disp)) parameters
-static inline _glptr_VertexAttrib4NubvARB GET_VertexAttrib4NubvARB(struct _glapi_table *disp) {
- return (_glptr_VertexAttrib4NubvARB) (GET_by_offset(disp, _gloffset_VertexAttrib4NubvARB));
+static inline _glptr_VertexAttrib4NubvARB
+GET_VertexAttrib4NubvARB(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttrib4NubvARB) (GET_by_offset
+ (disp,
+ _gloffset_VertexAttrib4NubvARB));
}
-static inline void SET_VertexAttrib4NubvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLubyte *)) {
- SET_by_offset(disp, _gloffset_VertexAttrib4NubvARB, fn);
+static inline void
+SET_VertexAttrib4NubvARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, const GLubyte *))
+{
+ SET_by_offset(disp, _gloffset_VertexAttrib4NubvARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttrib4NuivARB)(GLuint, const GLuint *);
+typedef void (GLAPIENTRYP _glptr_VertexAttrib4NuivARB) (GLuint, const GLuint *);
+
#define CALL_VertexAttrib4NuivARB(disp, parameters) \
(* GET_VertexAttrib4NuivARB(disp)) parameters
-static inline _glptr_VertexAttrib4NuivARB GET_VertexAttrib4NuivARB(struct _glapi_table *disp) {
- return (_glptr_VertexAttrib4NuivARB) (GET_by_offset(disp, _gloffset_VertexAttrib4NuivARB));
+static inline _glptr_VertexAttrib4NuivARB
+GET_VertexAttrib4NuivARB(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttrib4NuivARB) (GET_by_offset
+ (disp,
+ _gloffset_VertexAttrib4NuivARB));
}
-static inline void SET_VertexAttrib4NuivARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLuint *)) {
- SET_by_offset(disp, _gloffset_VertexAttrib4NuivARB, fn);
+static inline void
+SET_VertexAttrib4NuivARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, const GLuint *))
+{
+ SET_by_offset(disp, _gloffset_VertexAttrib4NuivARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttrib4NusvARB)(GLuint, const GLushort *);
+typedef void (GLAPIENTRYP _glptr_VertexAttrib4NusvARB) (GLuint,
+ const GLushort *);
#define CALL_VertexAttrib4NusvARB(disp, parameters) \
(* GET_VertexAttrib4NusvARB(disp)) parameters
-static inline _glptr_VertexAttrib4NusvARB GET_VertexAttrib4NusvARB(struct _glapi_table *disp) {
- return (_glptr_VertexAttrib4NusvARB) (GET_by_offset(disp, _gloffset_VertexAttrib4NusvARB));
+static inline _glptr_VertexAttrib4NusvARB
+GET_VertexAttrib4NusvARB(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttrib4NusvARB) (GET_by_offset
+ (disp,
+ _gloffset_VertexAttrib4NusvARB));
}
-static inline void SET_VertexAttrib4NusvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLushort *)) {
- SET_by_offset(disp, _gloffset_VertexAttrib4NusvARB, fn);
+static inline void
+SET_VertexAttrib4NusvARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, const GLushort *))
+{
+ SET_by_offset(disp, _gloffset_VertexAttrib4NusvARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttrib4bvARB)(GLuint, const GLbyte *);
+typedef void (GLAPIENTRYP _glptr_VertexAttrib4bvARB) (GLuint, const GLbyte *);
+
#define CALL_VertexAttrib4bvARB(disp, parameters) \
(* GET_VertexAttrib4bvARB(disp)) parameters
-static inline _glptr_VertexAttrib4bvARB GET_VertexAttrib4bvARB(struct _glapi_table *disp) {
- return (_glptr_VertexAttrib4bvARB) (GET_by_offset(disp, _gloffset_VertexAttrib4bvARB));
+static inline _glptr_VertexAttrib4bvARB
+GET_VertexAttrib4bvARB(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttrib4bvARB) (GET_by_offset
+ (disp, _gloffset_VertexAttrib4bvARB));
}
-static inline void SET_VertexAttrib4bvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLbyte *)) {
- SET_by_offset(disp, _gloffset_VertexAttrib4bvARB, fn);
+static inline void
+SET_VertexAttrib4bvARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, const GLbyte *))
+{
+ SET_by_offset(disp, _gloffset_VertexAttrib4bvARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttrib4dARB)(GLuint, GLdouble, GLdouble, GLdouble, GLdouble);
+typedef void (GLAPIENTRYP _glptr_VertexAttrib4dARB) (GLuint, GLdouble, GLdouble,
+ GLdouble, GLdouble);
#define CALL_VertexAttrib4dARB(disp, parameters) \
(* GET_VertexAttrib4dARB(disp)) parameters
-static inline _glptr_VertexAttrib4dARB GET_VertexAttrib4dARB(struct _glapi_table *disp) {
- return (_glptr_VertexAttrib4dARB) (GET_by_offset(disp, _gloffset_VertexAttrib4dARB));
+static inline _glptr_VertexAttrib4dARB
+GET_VertexAttrib4dARB(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttrib4dARB) (GET_by_offset
+ (disp, _gloffset_VertexAttrib4dARB));
}
-static inline void SET_VertexAttrib4dARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLdouble, GLdouble, GLdouble, GLdouble)) {
- SET_by_offset(disp, _gloffset_VertexAttrib4dARB, fn);
+static inline void
+SET_VertexAttrib4dARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLdouble, GLdouble,
+ GLdouble, GLdouble))
+{
+ SET_by_offset(disp, _gloffset_VertexAttrib4dARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttrib4dvARB)(GLuint, const GLdouble *);
+typedef void (GLAPIENTRYP _glptr_VertexAttrib4dvARB) (GLuint, const GLdouble *);
+
#define CALL_VertexAttrib4dvARB(disp, parameters) \
(* GET_VertexAttrib4dvARB(disp)) parameters
-static inline _glptr_VertexAttrib4dvARB GET_VertexAttrib4dvARB(struct _glapi_table *disp) {
- return (_glptr_VertexAttrib4dvARB) (GET_by_offset(disp, _gloffset_VertexAttrib4dvARB));
+static inline _glptr_VertexAttrib4dvARB
+GET_VertexAttrib4dvARB(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttrib4dvARB) (GET_by_offset
+ (disp, _gloffset_VertexAttrib4dvARB));
}
-static inline void SET_VertexAttrib4dvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLdouble *)) {
- SET_by_offset(disp, _gloffset_VertexAttrib4dvARB, fn);
+static inline void
+SET_VertexAttrib4dvARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, const GLdouble *))
+{
+ SET_by_offset(disp, _gloffset_VertexAttrib4dvARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttrib4fARB)(GLuint, GLfloat, GLfloat, GLfloat, GLfloat);
+typedef void (GLAPIENTRYP _glptr_VertexAttrib4fARB) (GLuint, GLfloat, GLfloat,
+ GLfloat, GLfloat);
#define CALL_VertexAttrib4fARB(disp, parameters) \
(* GET_VertexAttrib4fARB(disp)) parameters
-static inline _glptr_VertexAttrib4fARB GET_VertexAttrib4fARB(struct _glapi_table *disp) {
- return (_glptr_VertexAttrib4fARB) (GET_by_offset(disp, _gloffset_VertexAttrib4fARB));
+static inline _glptr_VertexAttrib4fARB
+GET_VertexAttrib4fARB(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttrib4fARB) (GET_by_offset
+ (disp, _gloffset_VertexAttrib4fARB));
}
-static inline void SET_VertexAttrib4fARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLfloat, GLfloat, GLfloat, GLfloat)) {
- SET_by_offset(disp, _gloffset_VertexAttrib4fARB, fn);
+static inline void
+SET_VertexAttrib4fARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLfloat, GLfloat, GLfloat,
+ GLfloat))
+{
+ SET_by_offset(disp, _gloffset_VertexAttrib4fARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttrib4fvARB)(GLuint, const GLfloat *);
+typedef void (GLAPIENTRYP _glptr_VertexAttrib4fvARB) (GLuint, const GLfloat *);
+
#define CALL_VertexAttrib4fvARB(disp, parameters) \
(* GET_VertexAttrib4fvARB(disp)) parameters
-static inline _glptr_VertexAttrib4fvARB GET_VertexAttrib4fvARB(struct _glapi_table *disp) {
- return (_glptr_VertexAttrib4fvARB) (GET_by_offset(disp, _gloffset_VertexAttrib4fvARB));
+static inline _glptr_VertexAttrib4fvARB
+GET_VertexAttrib4fvARB(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttrib4fvARB) (GET_by_offset
+ (disp, _gloffset_VertexAttrib4fvARB));
}
-static inline void SET_VertexAttrib4fvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLfloat *)) {
- SET_by_offset(disp, _gloffset_VertexAttrib4fvARB, fn);
+static inline void
+SET_VertexAttrib4fvARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, const GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_VertexAttrib4fvARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttrib4ivARB)(GLuint, const GLint *);
+typedef void (GLAPIENTRYP _glptr_VertexAttrib4ivARB) (GLuint, const GLint *);
+
#define CALL_VertexAttrib4ivARB(disp, parameters) \
(* GET_VertexAttrib4ivARB(disp)) parameters
-static inline _glptr_VertexAttrib4ivARB GET_VertexAttrib4ivARB(struct _glapi_table *disp) {
- return (_glptr_VertexAttrib4ivARB) (GET_by_offset(disp, _gloffset_VertexAttrib4ivARB));
+static inline _glptr_VertexAttrib4ivARB
+GET_VertexAttrib4ivARB(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttrib4ivARB) (GET_by_offset
+ (disp, _gloffset_VertexAttrib4ivARB));
}
-static inline void SET_VertexAttrib4ivARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLint *)) {
- SET_by_offset(disp, _gloffset_VertexAttrib4ivARB, fn);
+static inline void
+SET_VertexAttrib4ivARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, const GLint *))
+{
+ SET_by_offset(disp, _gloffset_VertexAttrib4ivARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttrib4sARB)(GLuint, GLshort, GLshort, GLshort, GLshort);
+typedef void (GLAPIENTRYP _glptr_VertexAttrib4sARB) (GLuint, GLshort, GLshort,
+ GLshort, GLshort);
#define CALL_VertexAttrib4sARB(disp, parameters) \
(* GET_VertexAttrib4sARB(disp)) parameters
-static inline _glptr_VertexAttrib4sARB GET_VertexAttrib4sARB(struct _glapi_table *disp) {
- return (_glptr_VertexAttrib4sARB) (GET_by_offset(disp, _gloffset_VertexAttrib4sARB));
+static inline _glptr_VertexAttrib4sARB
+GET_VertexAttrib4sARB(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttrib4sARB) (GET_by_offset
+ (disp, _gloffset_VertexAttrib4sARB));
}
-static inline void SET_VertexAttrib4sARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLshort, GLshort, GLshort, GLshort)) {
- SET_by_offset(disp, _gloffset_VertexAttrib4sARB, fn);
+static inline void
+SET_VertexAttrib4sARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLshort, GLshort, GLshort,
+ GLshort))
+{
+ SET_by_offset(disp, _gloffset_VertexAttrib4sARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttrib4svARB)(GLuint, const GLshort *);
+typedef void (GLAPIENTRYP _glptr_VertexAttrib4svARB) (GLuint, const GLshort *);
+
#define CALL_VertexAttrib4svARB(disp, parameters) \
(* GET_VertexAttrib4svARB(disp)) parameters
-static inline _glptr_VertexAttrib4svARB GET_VertexAttrib4svARB(struct _glapi_table *disp) {
- return (_glptr_VertexAttrib4svARB) (GET_by_offset(disp, _gloffset_VertexAttrib4svARB));
+static inline _glptr_VertexAttrib4svARB
+GET_VertexAttrib4svARB(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttrib4svARB) (GET_by_offset
+ (disp, _gloffset_VertexAttrib4svARB));
}
-static inline void SET_VertexAttrib4svARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLshort *)) {
- SET_by_offset(disp, _gloffset_VertexAttrib4svARB, fn);
+static inline void
+SET_VertexAttrib4svARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, const GLshort *))
+{
+ SET_by_offset(disp, _gloffset_VertexAttrib4svARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttrib4ubvARB)(GLuint, const GLubyte *);
+typedef void (GLAPIENTRYP _glptr_VertexAttrib4ubvARB) (GLuint, const GLubyte *);
+
#define CALL_VertexAttrib4ubvARB(disp, parameters) \
(* GET_VertexAttrib4ubvARB(disp)) parameters
-static inline _glptr_VertexAttrib4ubvARB GET_VertexAttrib4ubvARB(struct _glapi_table *disp) {
- return (_glptr_VertexAttrib4ubvARB) (GET_by_offset(disp, _gloffset_VertexAttrib4ubvARB));
+static inline _glptr_VertexAttrib4ubvARB
+GET_VertexAttrib4ubvARB(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttrib4ubvARB) (GET_by_offset
+ (disp, _gloffset_VertexAttrib4ubvARB));
}
-static inline void SET_VertexAttrib4ubvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLubyte *)) {
- SET_by_offset(disp, _gloffset_VertexAttrib4ubvARB, fn);
+static inline void
+SET_VertexAttrib4ubvARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, const GLubyte *))
+{
+ SET_by_offset(disp, _gloffset_VertexAttrib4ubvARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttrib4uivARB)(GLuint, const GLuint *);
+typedef void (GLAPIENTRYP _glptr_VertexAttrib4uivARB) (GLuint, const GLuint *);
+
#define CALL_VertexAttrib4uivARB(disp, parameters) \
(* GET_VertexAttrib4uivARB(disp)) parameters
-static inline _glptr_VertexAttrib4uivARB GET_VertexAttrib4uivARB(struct _glapi_table *disp) {
- return (_glptr_VertexAttrib4uivARB) (GET_by_offset(disp, _gloffset_VertexAttrib4uivARB));
+static inline _glptr_VertexAttrib4uivARB
+GET_VertexAttrib4uivARB(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttrib4uivARB) (GET_by_offset
+ (disp, _gloffset_VertexAttrib4uivARB));
}
-static inline void SET_VertexAttrib4uivARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLuint *)) {
- SET_by_offset(disp, _gloffset_VertexAttrib4uivARB, fn);
+static inline void
+SET_VertexAttrib4uivARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, const GLuint *))
+{
+ SET_by_offset(disp, _gloffset_VertexAttrib4uivARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttrib4usvARB)(GLuint, const GLushort *);
+typedef void (GLAPIENTRYP _glptr_VertexAttrib4usvARB) (GLuint,
+ const GLushort *);
#define CALL_VertexAttrib4usvARB(disp, parameters) \
(* GET_VertexAttrib4usvARB(disp)) parameters
-static inline _glptr_VertexAttrib4usvARB GET_VertexAttrib4usvARB(struct _glapi_table *disp) {
- return (_glptr_VertexAttrib4usvARB) (GET_by_offset(disp, _gloffset_VertexAttrib4usvARB));
+static inline _glptr_VertexAttrib4usvARB
+GET_VertexAttrib4usvARB(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttrib4usvARB) (GET_by_offset
+ (disp, _gloffset_VertexAttrib4usvARB));
}
-static inline void SET_VertexAttrib4usvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLushort *)) {
- SET_by_offset(disp, _gloffset_VertexAttrib4usvARB, fn);
+static inline void
+SET_VertexAttrib4usvARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, const GLushort *))
+{
+ SET_by_offset(disp, _gloffset_VertexAttrib4usvARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttribPointerARB)(GLuint, GLint, GLenum, GLboolean, GLsizei, const GLvoid *);
+typedef void (GLAPIENTRYP _glptr_VertexAttribPointerARB) (GLuint, GLint, GLenum,
+ GLboolean, GLsizei,
+ const GLvoid *);
#define CALL_VertexAttribPointerARB(disp, parameters) \
(* GET_VertexAttribPointerARB(disp)) parameters
-static inline _glptr_VertexAttribPointerARB GET_VertexAttribPointerARB(struct _glapi_table *disp) {
- return (_glptr_VertexAttribPointerARB) (GET_by_offset(disp, _gloffset_VertexAttribPointerARB));
+static inline _glptr_VertexAttribPointerARB
+GET_VertexAttribPointerARB(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttribPointerARB) (GET_by_offset
+ (disp,
+ _gloffset_VertexAttribPointerARB));
}
-static inline void SET_VertexAttribPointerARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLint, GLenum, GLboolean, GLsizei, const GLvoid *)) {
- SET_by_offset(disp, _gloffset_VertexAttribPointerARB, fn);
+static inline void
+SET_VertexAttribPointerARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLint, GLenum,
+ GLboolean, GLsizei,
+ const GLvoid *))
+{
+ SET_by_offset(disp, _gloffset_VertexAttribPointerARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_BindBufferARB)(GLenum, GLuint);
+typedef void (GLAPIENTRYP _glptr_BindBufferARB) (GLenum, GLuint);
+
#define CALL_BindBufferARB(disp, parameters) \
(* GET_BindBufferARB(disp)) parameters
-static inline _glptr_BindBufferARB GET_BindBufferARB(struct _glapi_table *disp) {
- return (_glptr_BindBufferARB) (GET_by_offset(disp, _gloffset_BindBufferARB));
+static inline _glptr_BindBufferARB
+GET_BindBufferARB(struct _glapi_table *disp)
+{
+ return (_glptr_BindBufferARB) (GET_by_offset
+ (disp, _gloffset_BindBufferARB));
}
-static inline void SET_BindBufferARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint)) {
- SET_by_offset(disp, _gloffset_BindBufferARB, fn);
+static inline void
+SET_BindBufferARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLuint))
+{
+ SET_by_offset(disp, _gloffset_BindBufferARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_BufferDataARB)(GLenum, GLsizeiptrARB, const GLvoid *, GLenum);
+typedef void (GLAPIENTRYP _glptr_BufferDataARB) (GLenum, GLsizeiptrARB,
+ const GLvoid *, GLenum);
#define CALL_BufferDataARB(disp, parameters) \
(* GET_BufferDataARB(disp)) parameters
-static inline _glptr_BufferDataARB GET_BufferDataARB(struct _glapi_table *disp) {
- return (_glptr_BufferDataARB) (GET_by_offset(disp, _gloffset_BufferDataARB));
+static inline _glptr_BufferDataARB
+GET_BufferDataARB(struct _glapi_table *disp)
+{
+ return (_glptr_BufferDataARB) (GET_by_offset
+ (disp, _gloffset_BufferDataARB));
}
-static inline void SET_BufferDataARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizeiptrARB, const GLvoid *, GLenum)) {
- SET_by_offset(disp, _gloffset_BufferDataARB, fn);
+static inline void
+SET_BufferDataARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLsizeiptrARB, const GLvoid *,
+ GLenum))
+{
+ SET_by_offset(disp, _gloffset_BufferDataARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_BufferSubDataARB)(GLenum, GLintptrARB, GLsizeiptrARB, const GLvoid *);
+typedef void (GLAPIENTRYP _glptr_BufferSubDataARB) (GLenum, GLintptrARB,
+ GLsizeiptrARB,
+ const GLvoid *);
#define CALL_BufferSubDataARB(disp, parameters) \
(* GET_BufferSubDataARB(disp)) parameters
-static inline _glptr_BufferSubDataARB GET_BufferSubDataARB(struct _glapi_table *disp) {
- return (_glptr_BufferSubDataARB) (GET_by_offset(disp, _gloffset_BufferSubDataARB));
+static inline _glptr_BufferSubDataARB
+GET_BufferSubDataARB(struct _glapi_table *disp)
+{
+ return (_glptr_BufferSubDataARB) (GET_by_offset
+ (disp, _gloffset_BufferSubDataARB));
}
-static inline void SET_BufferSubDataARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLintptrARB, GLsizeiptrARB, const GLvoid *)) {
- SET_by_offset(disp, _gloffset_BufferSubDataARB, fn);
+static inline void
+SET_BufferSubDataARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLintptrARB, GLsizeiptrARB,
+ const GLvoid *))
+{
+ SET_by_offset(disp, _gloffset_BufferSubDataARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_DeleteBuffersARB)(GLsizei, const GLuint *);
+typedef void (GLAPIENTRYP _glptr_DeleteBuffersARB) (GLsizei, const GLuint *);
+
#define CALL_DeleteBuffersARB(disp, parameters) \
(* GET_DeleteBuffersARB(disp)) parameters
-static inline _glptr_DeleteBuffersARB GET_DeleteBuffersARB(struct _glapi_table *disp) {
- return (_glptr_DeleteBuffersARB) (GET_by_offset(disp, _gloffset_DeleteBuffersARB));
+static inline _glptr_DeleteBuffersARB
+GET_DeleteBuffersARB(struct _glapi_table *disp)
+{
+ return (_glptr_DeleteBuffersARB) (GET_by_offset
+ (disp, _gloffset_DeleteBuffersARB));
}
-static inline void SET_DeleteBuffersARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, const GLuint *)) {
- SET_by_offset(disp, _gloffset_DeleteBuffersARB, fn);
+static inline void
+SET_DeleteBuffersARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLsizei, const GLuint *))
+{
+ SET_by_offset(disp, _gloffset_DeleteBuffersARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_GenBuffersARB)(GLsizei, GLuint *);
+typedef void (GLAPIENTRYP _glptr_GenBuffersARB) (GLsizei, GLuint *);
+
#define CALL_GenBuffersARB(disp, parameters) \
(* GET_GenBuffersARB(disp)) parameters
-static inline _glptr_GenBuffersARB GET_GenBuffersARB(struct _glapi_table *disp) {
- return (_glptr_GenBuffersARB) (GET_by_offset(disp, _gloffset_GenBuffersARB));
+static inline _glptr_GenBuffersARB
+GET_GenBuffersARB(struct _glapi_table *disp)
+{
+ return (_glptr_GenBuffersARB) (GET_by_offset
+ (disp, _gloffset_GenBuffersARB));
}
-static inline void SET_GenBuffersARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, GLuint *)) {
- SET_by_offset(disp, _gloffset_GenBuffersARB, fn);
+static inline void
+SET_GenBuffersARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLsizei, GLuint *))
+{
+ SET_by_offset(disp, _gloffset_GenBuffersARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetBufferParameterivARB)(GLenum, GLenum, GLint *);
+typedef void (GLAPIENTRYP _glptr_GetBufferParameterivARB) (GLenum, GLenum,
+ GLint *);
#define CALL_GetBufferParameterivARB(disp, parameters) \
(* GET_GetBufferParameterivARB(disp)) parameters
-static inline _glptr_GetBufferParameterivARB GET_GetBufferParameterivARB(struct _glapi_table *disp) {
- return (_glptr_GetBufferParameterivARB) (GET_by_offset(disp, _gloffset_GetBufferParameterivARB));
+static inline _glptr_GetBufferParameterivARB
+GET_GetBufferParameterivARB(struct _glapi_table *disp)
+{
+ return (_glptr_GetBufferParameterivARB) (GET_by_offset
+ (disp,
+ _gloffset_GetBufferParameterivARB));
}
-static inline void SET_GetBufferParameterivARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint *)) {
- SET_by_offset(disp, _gloffset_GetBufferParameterivARB, fn);
+static inline void
+SET_GetBufferParameterivARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, GLint *))
+{
+ SET_by_offset(disp, _gloffset_GetBufferParameterivARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetBufferPointervARB)(GLenum, GLenum, GLvoid **);
+typedef void (GLAPIENTRYP _glptr_GetBufferPointervARB) (GLenum, GLenum,
+ GLvoid **);
#define CALL_GetBufferPointervARB(disp, parameters) \
(* GET_GetBufferPointervARB(disp)) parameters
-static inline _glptr_GetBufferPointervARB GET_GetBufferPointervARB(struct _glapi_table *disp) {
- return (_glptr_GetBufferPointervARB) (GET_by_offset(disp, _gloffset_GetBufferPointervARB));
+static inline _glptr_GetBufferPointervARB
+GET_GetBufferPointervARB(struct _glapi_table *disp)
+{
+ return (_glptr_GetBufferPointervARB) (GET_by_offset
+ (disp,
+ _gloffset_GetBufferPointervARB));
}
-static inline void SET_GetBufferPointervARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLvoid **)) {
- SET_by_offset(disp, _gloffset_GetBufferPointervARB, fn);
+static inline void
+SET_GetBufferPointervARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, GLvoid **))
+{
+ SET_by_offset(disp, _gloffset_GetBufferPointervARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetBufferSubDataARB)(GLenum, GLintptrARB, GLsizeiptrARB, GLvoid *);
+typedef void (GLAPIENTRYP _glptr_GetBufferSubDataARB) (GLenum, GLintptrARB,
+ GLsizeiptrARB, GLvoid *);
#define CALL_GetBufferSubDataARB(disp, parameters) \
(* GET_GetBufferSubDataARB(disp)) parameters
-static inline _glptr_GetBufferSubDataARB GET_GetBufferSubDataARB(struct _glapi_table *disp) {
- return (_glptr_GetBufferSubDataARB) (GET_by_offset(disp, _gloffset_GetBufferSubDataARB));
+static inline _glptr_GetBufferSubDataARB
+GET_GetBufferSubDataARB(struct _glapi_table *disp)
+{
+ return (_glptr_GetBufferSubDataARB) (GET_by_offset
+ (disp, _gloffset_GetBufferSubDataARB));
}
-static inline void SET_GetBufferSubDataARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLintptrARB, GLsizeiptrARB, GLvoid *)) {
- SET_by_offset(disp, _gloffset_GetBufferSubDataARB, fn);
+static inline void
+SET_GetBufferSubDataARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLintptrARB,
+ GLsizeiptrARB, GLvoid *))
+{
+ SET_by_offset(disp, _gloffset_GetBufferSubDataARB, fn);
}
-typedef GLboolean (GLAPIENTRYP _glptr_IsBufferARB)(GLuint);
+typedef GLboolean(GLAPIENTRYP _glptr_IsBufferARB) (GLuint);
+
#define CALL_IsBufferARB(disp, parameters) \
(* GET_IsBufferARB(disp)) parameters
-static inline _glptr_IsBufferARB GET_IsBufferARB(struct _glapi_table *disp) {
- return (_glptr_IsBufferARB) (GET_by_offset(disp, _gloffset_IsBufferARB));
+static inline _glptr_IsBufferARB
+GET_IsBufferARB(struct _glapi_table *disp)
+{
+ return (_glptr_IsBufferARB) (GET_by_offset(disp, _gloffset_IsBufferARB));
}
-static inline void SET_IsBufferARB(struct _glapi_table *disp, GLboolean (GLAPIENTRYP fn)(GLuint)) {
- SET_by_offset(disp, _gloffset_IsBufferARB, fn);
+static inline void
+SET_IsBufferARB(struct _glapi_table *disp, GLboolean(GLAPIENTRYP fn) (GLuint))
+{
+ SET_by_offset(disp, _gloffset_IsBufferARB, fn);
}
-typedef GLvoid * (GLAPIENTRYP _glptr_MapBufferARB)(GLenum, GLenum);
+typedef GLvoid *(GLAPIENTRYP _glptr_MapBufferARB) (GLenum, GLenum);
+
#define CALL_MapBufferARB(disp, parameters) \
(* GET_MapBufferARB(disp)) parameters
-static inline _glptr_MapBufferARB GET_MapBufferARB(struct _glapi_table *disp) {
- return (_glptr_MapBufferARB) (GET_by_offset(disp, _gloffset_MapBufferARB));
+static inline _glptr_MapBufferARB
+GET_MapBufferARB(struct _glapi_table *disp)
+{
+ return (_glptr_MapBufferARB) (GET_by_offset(disp, _gloffset_MapBufferARB));
}
-static inline void SET_MapBufferARB(struct _glapi_table *disp, GLvoid * (GLAPIENTRYP fn)(GLenum, GLenum)) {
- SET_by_offset(disp, _gloffset_MapBufferARB, fn);
+static inline void
+SET_MapBufferARB(struct _glapi_table *disp,
+ GLvoid * (GLAPIENTRYP fn) (GLenum, GLenum))
+{
+ SET_by_offset(disp, _gloffset_MapBufferARB, fn);
}
-typedef GLboolean (GLAPIENTRYP _glptr_UnmapBufferARB)(GLenum);
+typedef GLboolean(GLAPIENTRYP _glptr_UnmapBufferARB) (GLenum);
+
#define CALL_UnmapBufferARB(disp, parameters) \
(* GET_UnmapBufferARB(disp)) parameters
-static inline _glptr_UnmapBufferARB GET_UnmapBufferARB(struct _glapi_table *disp) {
- return (_glptr_UnmapBufferARB) (GET_by_offset(disp, _gloffset_UnmapBufferARB));
+static inline _glptr_UnmapBufferARB
+GET_UnmapBufferARB(struct _glapi_table *disp)
+{
+ return (_glptr_UnmapBufferARB) (GET_by_offset
+ (disp, _gloffset_UnmapBufferARB));
}
-static inline void SET_UnmapBufferARB(struct _glapi_table *disp, GLboolean (GLAPIENTRYP fn)(GLenum)) {
- SET_by_offset(disp, _gloffset_UnmapBufferARB, fn);
+static inline void
+SET_UnmapBufferARB(struct _glapi_table *disp,
+ GLboolean(GLAPIENTRYP fn) (GLenum))
+{
+ SET_by_offset(disp, _gloffset_UnmapBufferARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_BeginQueryARB)(GLenum, GLuint);
+typedef void (GLAPIENTRYP _glptr_BeginQueryARB) (GLenum, GLuint);
+
#define CALL_BeginQueryARB(disp, parameters) \
(* GET_BeginQueryARB(disp)) parameters
-static inline _glptr_BeginQueryARB GET_BeginQueryARB(struct _glapi_table *disp) {
- return (_glptr_BeginQueryARB) (GET_by_offset(disp, _gloffset_BeginQueryARB));
+static inline _glptr_BeginQueryARB
+GET_BeginQueryARB(struct _glapi_table *disp)
+{
+ return (_glptr_BeginQueryARB) (GET_by_offset
+ (disp, _gloffset_BeginQueryARB));
}
-static inline void SET_BeginQueryARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint)) {
- SET_by_offset(disp, _gloffset_BeginQueryARB, fn);
+static inline void
+SET_BeginQueryARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLuint))
+{
+ SET_by_offset(disp, _gloffset_BeginQueryARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_DeleteQueriesARB)(GLsizei, const GLuint *);
+typedef void (GLAPIENTRYP _glptr_DeleteQueriesARB) (GLsizei, const GLuint *);
+
#define CALL_DeleteQueriesARB(disp, parameters) \
(* GET_DeleteQueriesARB(disp)) parameters
-static inline _glptr_DeleteQueriesARB GET_DeleteQueriesARB(struct _glapi_table *disp) {
- return (_glptr_DeleteQueriesARB) (GET_by_offset(disp, _gloffset_DeleteQueriesARB));
+static inline _glptr_DeleteQueriesARB
+GET_DeleteQueriesARB(struct _glapi_table *disp)
+{
+ return (_glptr_DeleteQueriesARB) (GET_by_offset
+ (disp, _gloffset_DeleteQueriesARB));
}
-static inline void SET_DeleteQueriesARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, const GLuint *)) {
- SET_by_offset(disp, _gloffset_DeleteQueriesARB, fn);
+static inline void
+SET_DeleteQueriesARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLsizei, const GLuint *))
+{
+ SET_by_offset(disp, _gloffset_DeleteQueriesARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_EndQueryARB)(GLenum);
+typedef void (GLAPIENTRYP _glptr_EndQueryARB) (GLenum);
+
#define CALL_EndQueryARB(disp, parameters) \
(* GET_EndQueryARB(disp)) parameters
-static inline _glptr_EndQueryARB GET_EndQueryARB(struct _glapi_table *disp) {
- return (_glptr_EndQueryARB) (GET_by_offset(disp, _gloffset_EndQueryARB));
+static inline _glptr_EndQueryARB
+GET_EndQueryARB(struct _glapi_table *disp)
+{
+ return (_glptr_EndQueryARB) (GET_by_offset(disp, _gloffset_EndQueryARB));
}
-static inline void SET_EndQueryARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) {
- SET_by_offset(disp, _gloffset_EndQueryARB, fn);
+static inline void
+SET_EndQueryARB(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLenum))
+{
+ SET_by_offset(disp, _gloffset_EndQueryARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_GenQueriesARB)(GLsizei, GLuint *);
+typedef void (GLAPIENTRYP _glptr_GenQueriesARB) (GLsizei, GLuint *);
+
#define CALL_GenQueriesARB(disp, parameters) \
(* GET_GenQueriesARB(disp)) parameters
-static inline _glptr_GenQueriesARB GET_GenQueriesARB(struct _glapi_table *disp) {
- return (_glptr_GenQueriesARB) (GET_by_offset(disp, _gloffset_GenQueriesARB));
+static inline _glptr_GenQueriesARB
+GET_GenQueriesARB(struct _glapi_table *disp)
+{
+ return (_glptr_GenQueriesARB) (GET_by_offset
+ (disp, _gloffset_GenQueriesARB));
}
-static inline void SET_GenQueriesARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, GLuint *)) {
- SET_by_offset(disp, _gloffset_GenQueriesARB, fn);
+static inline void
+SET_GenQueriesARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLsizei, GLuint *))
+{
+ SET_by_offset(disp, _gloffset_GenQueriesARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetQueryObjectivARB)(GLuint, GLenum, GLint *);
+typedef void (GLAPIENTRYP _glptr_GetQueryObjectivARB) (GLuint, GLenum, GLint *);
+
#define CALL_GetQueryObjectivARB(disp, parameters) \
(* GET_GetQueryObjectivARB(disp)) parameters
-static inline _glptr_GetQueryObjectivARB GET_GetQueryObjectivARB(struct _glapi_table *disp) {
- return (_glptr_GetQueryObjectivARB) (GET_by_offset(disp, _gloffset_GetQueryObjectivARB));
+static inline _glptr_GetQueryObjectivARB
+GET_GetQueryObjectivARB(struct _glapi_table *disp)
+{
+ return (_glptr_GetQueryObjectivARB) (GET_by_offset
+ (disp, _gloffset_GetQueryObjectivARB));
}
-static inline void SET_GetQueryObjectivARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLint *)) {
- SET_by_offset(disp, _gloffset_GetQueryObjectivARB, fn);
+static inline void
+SET_GetQueryObjectivARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLenum, GLint *))
+{
+ SET_by_offset(disp, _gloffset_GetQueryObjectivARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetQueryObjectuivARB)(GLuint, GLenum, GLuint *);
+typedef void (GLAPIENTRYP _glptr_GetQueryObjectuivARB) (GLuint, GLenum,
+ GLuint *);
#define CALL_GetQueryObjectuivARB(disp, parameters) \
(* GET_GetQueryObjectuivARB(disp)) parameters
-static inline _glptr_GetQueryObjectuivARB GET_GetQueryObjectuivARB(struct _glapi_table *disp) {
- return (_glptr_GetQueryObjectuivARB) (GET_by_offset(disp, _gloffset_GetQueryObjectuivARB));
+static inline _glptr_GetQueryObjectuivARB
+GET_GetQueryObjectuivARB(struct _glapi_table *disp)
+{
+ return (_glptr_GetQueryObjectuivARB) (GET_by_offset
+ (disp,
+ _gloffset_GetQueryObjectuivARB));
}
-static inline void SET_GetQueryObjectuivARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLuint *)) {
- SET_by_offset(disp, _gloffset_GetQueryObjectuivARB, fn);
+static inline void
+SET_GetQueryObjectuivARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLenum, GLuint *))
+{
+ SET_by_offset(disp, _gloffset_GetQueryObjectuivARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetQueryivARB)(GLenum, GLenum, GLint *);
+typedef void (GLAPIENTRYP _glptr_GetQueryivARB) (GLenum, GLenum, GLint *);
+
#define CALL_GetQueryivARB(disp, parameters) \
(* GET_GetQueryivARB(disp)) parameters
-static inline _glptr_GetQueryivARB GET_GetQueryivARB(struct _glapi_table *disp) {
- return (_glptr_GetQueryivARB) (GET_by_offset(disp, _gloffset_GetQueryivARB));
+static inline _glptr_GetQueryivARB
+GET_GetQueryivARB(struct _glapi_table *disp)
+{
+ return (_glptr_GetQueryivARB) (GET_by_offset
+ (disp, _gloffset_GetQueryivARB));
}
-static inline void SET_GetQueryivARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint *)) {
- SET_by_offset(disp, _gloffset_GetQueryivARB, fn);
+static inline void
+SET_GetQueryivARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, GLint *))
+{
+ SET_by_offset(disp, _gloffset_GetQueryivARB, fn);
}
-typedef GLboolean (GLAPIENTRYP _glptr_IsQueryARB)(GLuint);
+typedef GLboolean(GLAPIENTRYP _glptr_IsQueryARB) (GLuint);
+
#define CALL_IsQueryARB(disp, parameters) \
(* GET_IsQueryARB(disp)) parameters
-static inline _glptr_IsQueryARB GET_IsQueryARB(struct _glapi_table *disp) {
- return (_glptr_IsQueryARB) (GET_by_offset(disp, _gloffset_IsQueryARB));
+static inline _glptr_IsQueryARB
+GET_IsQueryARB(struct _glapi_table *disp)
+{
+ return (_glptr_IsQueryARB) (GET_by_offset(disp, _gloffset_IsQueryARB));
}
-static inline void SET_IsQueryARB(struct _glapi_table *disp, GLboolean (GLAPIENTRYP fn)(GLuint)) {
- SET_by_offset(disp, _gloffset_IsQueryARB, fn);
+static inline void
+SET_IsQueryARB(struct _glapi_table *disp, GLboolean(GLAPIENTRYP fn) (GLuint))
+{
+ SET_by_offset(disp, _gloffset_IsQueryARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_AttachObjectARB)(GLhandleARB, GLhandleARB);
+typedef void (GLAPIENTRYP _glptr_AttachObjectARB) (GLhandleARB, GLhandleARB);
+
#define CALL_AttachObjectARB(disp, parameters) \
(* GET_AttachObjectARB(disp)) parameters
-static inline _glptr_AttachObjectARB GET_AttachObjectARB(struct _glapi_table *disp) {
- return (_glptr_AttachObjectARB) (GET_by_offset(disp, _gloffset_AttachObjectARB));
+static inline _glptr_AttachObjectARB
+GET_AttachObjectARB(struct _glapi_table *disp)
+{
+ return (_glptr_AttachObjectARB) (GET_by_offset
+ (disp, _gloffset_AttachObjectARB));
}
-static inline void SET_AttachObjectARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLhandleARB, GLhandleARB)) {
- SET_by_offset(disp, _gloffset_AttachObjectARB, fn);
+static inline void
+SET_AttachObjectARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLhandleARB, GLhandleARB))
+{
+ SET_by_offset(disp, _gloffset_AttachObjectARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_CompileShaderARB)(GLhandleARB);
+typedef void (GLAPIENTRYP _glptr_CompileShaderARB) (GLhandleARB);
+
#define CALL_CompileShaderARB(disp, parameters) \
(* GET_CompileShaderARB(disp)) parameters
-static inline _glptr_CompileShaderARB GET_CompileShaderARB(struct _glapi_table *disp) {
- return (_glptr_CompileShaderARB) (GET_by_offset(disp, _gloffset_CompileShaderARB));
+static inline _glptr_CompileShaderARB
+GET_CompileShaderARB(struct _glapi_table *disp)
+{
+ return (_glptr_CompileShaderARB) (GET_by_offset
+ (disp, _gloffset_CompileShaderARB));
}
-static inline void SET_CompileShaderARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLhandleARB)) {
- SET_by_offset(disp, _gloffset_CompileShaderARB, fn);
+static inline void
+SET_CompileShaderARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLhandleARB))
+{
+ SET_by_offset(disp, _gloffset_CompileShaderARB, fn);
}
-typedef GLhandleARB (GLAPIENTRYP _glptr_CreateProgramObjectARB)(void);
+typedef GLhandleARB(GLAPIENTRYP _glptr_CreateProgramObjectARB) (void);
+
#define CALL_CreateProgramObjectARB(disp, parameters) \
(* GET_CreateProgramObjectARB(disp)) parameters
-static inline _glptr_CreateProgramObjectARB GET_CreateProgramObjectARB(struct _glapi_table *disp) {
- return (_glptr_CreateProgramObjectARB) (GET_by_offset(disp, _gloffset_CreateProgramObjectARB));
+static inline _glptr_CreateProgramObjectARB
+GET_CreateProgramObjectARB(struct _glapi_table *disp)
+{
+ return (_glptr_CreateProgramObjectARB) (GET_by_offset
+ (disp,
+ _gloffset_CreateProgramObjectARB));
}
-static inline void SET_CreateProgramObjectARB(struct _glapi_table *disp, GLhandleARB (GLAPIENTRYP fn)(void)) {
- SET_by_offset(disp, _gloffset_CreateProgramObjectARB, fn);
+static inline void
+SET_CreateProgramObjectARB(struct _glapi_table *disp,
+ GLhandleARB(GLAPIENTRYP fn) (void))
+{
+ SET_by_offset(disp, _gloffset_CreateProgramObjectARB, fn);
}
-typedef GLhandleARB (GLAPIENTRYP _glptr_CreateShaderObjectARB)(GLenum);
+typedef GLhandleARB(GLAPIENTRYP _glptr_CreateShaderObjectARB) (GLenum);
+
#define CALL_CreateShaderObjectARB(disp, parameters) \
(* GET_CreateShaderObjectARB(disp)) parameters
-static inline _glptr_CreateShaderObjectARB GET_CreateShaderObjectARB(struct _glapi_table *disp) {
- return (_glptr_CreateShaderObjectARB) (GET_by_offset(disp, _gloffset_CreateShaderObjectARB));
+static inline _glptr_CreateShaderObjectARB
+GET_CreateShaderObjectARB(struct _glapi_table *disp)
+{
+ return (_glptr_CreateShaderObjectARB) (GET_by_offset
+ (disp,
+ _gloffset_CreateShaderObjectARB));
}
-static inline void SET_CreateShaderObjectARB(struct _glapi_table *disp, GLhandleARB (GLAPIENTRYP fn)(GLenum)) {
- SET_by_offset(disp, _gloffset_CreateShaderObjectARB, fn);
+static inline void
+SET_CreateShaderObjectARB(struct _glapi_table *disp,
+ GLhandleARB(GLAPIENTRYP fn) (GLenum))
+{
+ SET_by_offset(disp, _gloffset_CreateShaderObjectARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_DeleteObjectARB)(GLhandleARB);
+typedef void (GLAPIENTRYP _glptr_DeleteObjectARB) (GLhandleARB);
+
#define CALL_DeleteObjectARB(disp, parameters) \
(* GET_DeleteObjectARB(disp)) parameters
-static inline _glptr_DeleteObjectARB GET_DeleteObjectARB(struct _glapi_table *disp) {
- return (_glptr_DeleteObjectARB) (GET_by_offset(disp, _gloffset_DeleteObjectARB));
+static inline _glptr_DeleteObjectARB
+GET_DeleteObjectARB(struct _glapi_table *disp)
+{
+ return (_glptr_DeleteObjectARB) (GET_by_offset
+ (disp, _gloffset_DeleteObjectARB));
}
-static inline void SET_DeleteObjectARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLhandleARB)) {
- SET_by_offset(disp, _gloffset_DeleteObjectARB, fn);
+static inline void
+SET_DeleteObjectARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLhandleARB))
+{
+ SET_by_offset(disp, _gloffset_DeleteObjectARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_DetachObjectARB)(GLhandleARB, GLhandleARB);
+typedef void (GLAPIENTRYP _glptr_DetachObjectARB) (GLhandleARB, GLhandleARB);
+
#define CALL_DetachObjectARB(disp, parameters) \
(* GET_DetachObjectARB(disp)) parameters
-static inline _glptr_DetachObjectARB GET_DetachObjectARB(struct _glapi_table *disp) {
- return (_glptr_DetachObjectARB) (GET_by_offset(disp, _gloffset_DetachObjectARB));
+static inline _glptr_DetachObjectARB
+GET_DetachObjectARB(struct _glapi_table *disp)
+{
+ return (_glptr_DetachObjectARB) (GET_by_offset
+ (disp, _gloffset_DetachObjectARB));
}
-static inline void SET_DetachObjectARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLhandleARB, GLhandleARB)) {
- SET_by_offset(disp, _gloffset_DetachObjectARB, fn);
+static inline void
+SET_DetachObjectARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLhandleARB, GLhandleARB))
+{
+ SET_by_offset(disp, _gloffset_DetachObjectARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetActiveUniformARB)(GLhandleARB, GLuint, GLsizei, GLsizei *, GLint *, GLenum *, GLcharARB *);
+typedef void (GLAPIENTRYP _glptr_GetActiveUniformARB) (GLhandleARB, GLuint,
+ GLsizei, GLsizei *,
+ GLint *, GLenum *,
+ GLcharARB *);
#define CALL_GetActiveUniformARB(disp, parameters) \
(* GET_GetActiveUniformARB(disp)) parameters
-static inline _glptr_GetActiveUniformARB GET_GetActiveUniformARB(struct _glapi_table *disp) {
- return (_glptr_GetActiveUniformARB) (GET_by_offset(disp, _gloffset_GetActiveUniformARB));
+static inline _glptr_GetActiveUniformARB
+GET_GetActiveUniformARB(struct _glapi_table *disp)
+{
+ return (_glptr_GetActiveUniformARB) (GET_by_offset
+ (disp, _gloffset_GetActiveUniformARB));
}
-static inline void SET_GetActiveUniformARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLhandleARB, GLuint, GLsizei, GLsizei *, GLint *, GLenum *, GLcharARB *)) {
- SET_by_offset(disp, _gloffset_GetActiveUniformARB, fn);
+static inline void
+SET_GetActiveUniformARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLhandleARB, GLuint, GLsizei,
+ GLsizei *, GLint *, GLenum *,
+ GLcharARB *))
+{
+ SET_by_offset(disp, _gloffset_GetActiveUniformARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetAttachedObjectsARB)(GLhandleARB, GLsizei, GLsizei *, GLhandleARB *);
+typedef void (GLAPIENTRYP _glptr_GetAttachedObjectsARB) (GLhandleARB, GLsizei,
+ GLsizei *,
+ GLhandleARB *);
#define CALL_GetAttachedObjectsARB(disp, parameters) \
(* GET_GetAttachedObjectsARB(disp)) parameters
-static inline _glptr_GetAttachedObjectsARB GET_GetAttachedObjectsARB(struct _glapi_table *disp) {
- return (_glptr_GetAttachedObjectsARB) (GET_by_offset(disp, _gloffset_GetAttachedObjectsARB));
+static inline _glptr_GetAttachedObjectsARB
+GET_GetAttachedObjectsARB(struct _glapi_table *disp)
+{
+ return (_glptr_GetAttachedObjectsARB) (GET_by_offset
+ (disp,
+ _gloffset_GetAttachedObjectsARB));
}
-static inline void SET_GetAttachedObjectsARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLhandleARB, GLsizei, GLsizei *, GLhandleARB *)) {
- SET_by_offset(disp, _gloffset_GetAttachedObjectsARB, fn);
+static inline void
+SET_GetAttachedObjectsARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLhandleARB, GLsizei,
+ GLsizei *, GLhandleARB *))
+{
+ SET_by_offset(disp, _gloffset_GetAttachedObjectsARB, fn);
}
-typedef GLhandleARB (GLAPIENTRYP _glptr_GetHandleARB)(GLenum);
+typedef GLhandleARB(GLAPIENTRYP _glptr_GetHandleARB) (GLenum);
+
#define CALL_GetHandleARB(disp, parameters) \
(* GET_GetHandleARB(disp)) parameters
-static inline _glptr_GetHandleARB GET_GetHandleARB(struct _glapi_table *disp) {
- return (_glptr_GetHandleARB) (GET_by_offset(disp, _gloffset_GetHandleARB));
+static inline _glptr_GetHandleARB
+GET_GetHandleARB(struct _glapi_table *disp)
+{
+ return (_glptr_GetHandleARB) (GET_by_offset(disp, _gloffset_GetHandleARB));
}
-static inline void SET_GetHandleARB(struct _glapi_table *disp, GLhandleARB (GLAPIENTRYP fn)(GLenum)) {
- SET_by_offset(disp, _gloffset_GetHandleARB, fn);
+static inline void
+SET_GetHandleARB(struct _glapi_table *disp,
+ GLhandleARB(GLAPIENTRYP fn) (GLenum))
+{
+ SET_by_offset(disp, _gloffset_GetHandleARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetInfoLogARB)(GLhandleARB, GLsizei, GLsizei *, GLcharARB *);
+typedef void (GLAPIENTRYP _glptr_GetInfoLogARB) (GLhandleARB, GLsizei,
+ GLsizei *, GLcharARB *);
#define CALL_GetInfoLogARB(disp, parameters) \
(* GET_GetInfoLogARB(disp)) parameters
-static inline _glptr_GetInfoLogARB GET_GetInfoLogARB(struct _glapi_table *disp) {
- return (_glptr_GetInfoLogARB) (GET_by_offset(disp, _gloffset_GetInfoLogARB));
+static inline _glptr_GetInfoLogARB
+GET_GetInfoLogARB(struct _glapi_table *disp)
+{
+ return (_glptr_GetInfoLogARB) (GET_by_offset
+ (disp, _gloffset_GetInfoLogARB));
}
-static inline void SET_GetInfoLogARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLhandleARB, GLsizei, GLsizei *, GLcharARB *)) {
- SET_by_offset(disp, _gloffset_GetInfoLogARB, fn);
+static inline void
+SET_GetInfoLogARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLhandleARB, GLsizei, GLsizei *,
+ GLcharARB *))
+{
+ SET_by_offset(disp, _gloffset_GetInfoLogARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetObjectParameterfvARB)(GLhandleARB, GLenum, GLfloat *);
+typedef void (GLAPIENTRYP _glptr_GetObjectParameterfvARB) (GLhandleARB, GLenum,
+ GLfloat *);
#define CALL_GetObjectParameterfvARB(disp, parameters) \
(* GET_GetObjectParameterfvARB(disp)) parameters
-static inline _glptr_GetObjectParameterfvARB GET_GetObjectParameterfvARB(struct _glapi_table *disp) {
- return (_glptr_GetObjectParameterfvARB) (GET_by_offset(disp, _gloffset_GetObjectParameterfvARB));
+static inline _glptr_GetObjectParameterfvARB
+GET_GetObjectParameterfvARB(struct _glapi_table *disp)
+{
+ return (_glptr_GetObjectParameterfvARB) (GET_by_offset
+ (disp,
+ _gloffset_GetObjectParameterfvARB));
}
-static inline void SET_GetObjectParameterfvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLhandleARB, GLenum, GLfloat *)) {
- SET_by_offset(disp, _gloffset_GetObjectParameterfvARB, fn);
+static inline void
+SET_GetObjectParameterfvARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLhandleARB, GLenum,
+ GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_GetObjectParameterfvARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetObjectParameterivARB)(GLhandleARB, GLenum, GLint *);
+typedef void (GLAPIENTRYP _glptr_GetObjectParameterivARB) (GLhandleARB, GLenum,
+ GLint *);
#define CALL_GetObjectParameterivARB(disp, parameters) \
(* GET_GetObjectParameterivARB(disp)) parameters
-static inline _glptr_GetObjectParameterivARB GET_GetObjectParameterivARB(struct _glapi_table *disp) {
- return (_glptr_GetObjectParameterivARB) (GET_by_offset(disp, _gloffset_GetObjectParameterivARB));
+static inline _glptr_GetObjectParameterivARB
+GET_GetObjectParameterivARB(struct _glapi_table *disp)
+{
+ return (_glptr_GetObjectParameterivARB) (GET_by_offset
+ (disp,
+ _gloffset_GetObjectParameterivARB));
}
-static inline void SET_GetObjectParameterivARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLhandleARB, GLenum, GLint *)) {
- SET_by_offset(disp, _gloffset_GetObjectParameterivARB, fn);
+static inline void
+SET_GetObjectParameterivARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLhandleARB, GLenum,
+ GLint *))
+{
+ SET_by_offset(disp, _gloffset_GetObjectParameterivARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetShaderSourceARB)(GLhandleARB, GLsizei, GLsizei *, GLcharARB *);
+typedef void (GLAPIENTRYP _glptr_GetShaderSourceARB) (GLhandleARB, GLsizei,
+ GLsizei *, GLcharARB *);
#define CALL_GetShaderSourceARB(disp, parameters) \
(* GET_GetShaderSourceARB(disp)) parameters
-static inline _glptr_GetShaderSourceARB GET_GetShaderSourceARB(struct _glapi_table *disp) {
- return (_glptr_GetShaderSourceARB) (GET_by_offset(disp, _gloffset_GetShaderSourceARB));
+static inline _glptr_GetShaderSourceARB
+GET_GetShaderSourceARB(struct _glapi_table *disp)
+{
+ return (_glptr_GetShaderSourceARB) (GET_by_offset
+ (disp, _gloffset_GetShaderSourceARB));
}
-static inline void SET_GetShaderSourceARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLhandleARB, GLsizei, GLsizei *, GLcharARB *)) {
- SET_by_offset(disp, _gloffset_GetShaderSourceARB, fn);
+static inline void
+SET_GetShaderSourceARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLhandleARB, GLsizei, GLsizei *,
+ GLcharARB *))
+{
+ SET_by_offset(disp, _gloffset_GetShaderSourceARB, fn);
}
-typedef GLint (GLAPIENTRYP _glptr_GetUniformLocationARB)(GLhandleARB, const GLcharARB *);
+typedef GLint(GLAPIENTRYP _glptr_GetUniformLocationARB) (GLhandleARB,
+ const GLcharARB *);
#define CALL_GetUniformLocationARB(disp, parameters) \
(* GET_GetUniformLocationARB(disp)) parameters
-static inline _glptr_GetUniformLocationARB GET_GetUniformLocationARB(struct _glapi_table *disp) {
- return (_glptr_GetUniformLocationARB) (GET_by_offset(disp, _gloffset_GetUniformLocationARB));
+static inline _glptr_GetUniformLocationARB
+GET_GetUniformLocationARB(struct _glapi_table *disp)
+{
+ return (_glptr_GetUniformLocationARB) (GET_by_offset
+ (disp,
+ _gloffset_GetUniformLocationARB));
}
-static inline void SET_GetUniformLocationARB(struct _glapi_table *disp, GLint (GLAPIENTRYP fn)(GLhandleARB, const GLcharARB *)) {
- SET_by_offset(disp, _gloffset_GetUniformLocationARB, fn);
+static inline void
+SET_GetUniformLocationARB(struct _glapi_table *disp,
+ GLint(GLAPIENTRYP fn) (GLhandleARB,
+ const GLcharARB *))
+{
+ SET_by_offset(disp, _gloffset_GetUniformLocationARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetUniformfvARB)(GLhandleARB, GLint, GLfloat *);
+typedef void (GLAPIENTRYP _glptr_GetUniformfvARB) (GLhandleARB, GLint,
+ GLfloat *);
#define CALL_GetUniformfvARB(disp, parameters) \
(* GET_GetUniformfvARB(disp)) parameters
-static inline _glptr_GetUniformfvARB GET_GetUniformfvARB(struct _glapi_table *disp) {
- return (_glptr_GetUniformfvARB) (GET_by_offset(disp, _gloffset_GetUniformfvARB));
+static inline _glptr_GetUniformfvARB
+GET_GetUniformfvARB(struct _glapi_table *disp)
+{
+ return (_glptr_GetUniformfvARB) (GET_by_offset
+ (disp, _gloffset_GetUniformfvARB));
}
-static inline void SET_GetUniformfvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLhandleARB, GLint, GLfloat *)) {
- SET_by_offset(disp, _gloffset_GetUniformfvARB, fn);
+static inline void
+SET_GetUniformfvARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLhandleARB, GLint, GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_GetUniformfvARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetUniformivARB)(GLhandleARB, GLint, GLint *);
+typedef void (GLAPIENTRYP _glptr_GetUniformivARB) (GLhandleARB, GLint, GLint *);
+
#define CALL_GetUniformivARB(disp, parameters) \
(* GET_GetUniformivARB(disp)) parameters
-static inline _glptr_GetUniformivARB GET_GetUniformivARB(struct _glapi_table *disp) {
- return (_glptr_GetUniformivARB) (GET_by_offset(disp, _gloffset_GetUniformivARB));
+static inline _glptr_GetUniformivARB
+GET_GetUniformivARB(struct _glapi_table *disp)
+{
+ return (_glptr_GetUniformivARB) (GET_by_offset
+ (disp, _gloffset_GetUniformivARB));
}
-static inline void SET_GetUniformivARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLhandleARB, GLint, GLint *)) {
- SET_by_offset(disp, _gloffset_GetUniformivARB, fn);
+static inline void
+SET_GetUniformivARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLhandleARB, GLint, GLint *))
+{
+ SET_by_offset(disp, _gloffset_GetUniformivARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_LinkProgramARB)(GLhandleARB);
+typedef void (GLAPIENTRYP _glptr_LinkProgramARB) (GLhandleARB);
+
#define CALL_LinkProgramARB(disp, parameters) \
(* GET_LinkProgramARB(disp)) parameters
-static inline _glptr_LinkProgramARB GET_LinkProgramARB(struct _glapi_table *disp) {
- return (_glptr_LinkProgramARB) (GET_by_offset(disp, _gloffset_LinkProgramARB));
+static inline _glptr_LinkProgramARB
+GET_LinkProgramARB(struct _glapi_table *disp)
+{
+ return (_glptr_LinkProgramARB) (GET_by_offset
+ (disp, _gloffset_LinkProgramARB));
}
-static inline void SET_LinkProgramARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLhandleARB)) {
- SET_by_offset(disp, _gloffset_LinkProgramARB, fn);
+static inline void
+SET_LinkProgramARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLhandleARB))
+{
+ SET_by_offset(disp, _gloffset_LinkProgramARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_ShaderSourceARB)(GLhandleARB, GLsizei, const GLcharARB **, const GLint *);
+typedef void (GLAPIENTRYP _glptr_ShaderSourceARB) (GLhandleARB, GLsizei,
+ const GLcharARB **,
+ const GLint *);
#define CALL_ShaderSourceARB(disp, parameters) \
(* GET_ShaderSourceARB(disp)) parameters
-static inline _glptr_ShaderSourceARB GET_ShaderSourceARB(struct _glapi_table *disp) {
- return (_glptr_ShaderSourceARB) (GET_by_offset(disp, _gloffset_ShaderSourceARB));
+static inline _glptr_ShaderSourceARB
+GET_ShaderSourceARB(struct _glapi_table *disp)
+{
+ return (_glptr_ShaderSourceARB) (GET_by_offset
+ (disp, _gloffset_ShaderSourceARB));
}
-static inline void SET_ShaderSourceARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLhandleARB, GLsizei, const GLcharARB **, const GLint *)) {
- SET_by_offset(disp, _gloffset_ShaderSourceARB, fn);
+static inline void
+SET_ShaderSourceARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLhandleARB, GLsizei,
+ const GLcharARB **, const GLint *))
+{
+ SET_by_offset(disp, _gloffset_ShaderSourceARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_Uniform1fARB)(GLint, GLfloat);
+typedef void (GLAPIENTRYP _glptr_Uniform1fARB) (GLint, GLfloat);
+
#define CALL_Uniform1fARB(disp, parameters) \
(* GET_Uniform1fARB(disp)) parameters
-static inline _glptr_Uniform1fARB GET_Uniform1fARB(struct _glapi_table *disp) {
- return (_glptr_Uniform1fARB) (GET_by_offset(disp, _gloffset_Uniform1fARB));
+static inline _glptr_Uniform1fARB
+GET_Uniform1fARB(struct _glapi_table *disp)
+{
+ return (_glptr_Uniform1fARB) (GET_by_offset(disp, _gloffset_Uniform1fARB));
}
-static inline void SET_Uniform1fARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLfloat)) {
- SET_by_offset(disp, _gloffset_Uniform1fARB, fn);
+static inline void
+SET_Uniform1fARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLint, GLfloat))
+{
+ SET_by_offset(disp, _gloffset_Uniform1fARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_Uniform1fvARB)(GLint, GLsizei, const GLfloat *);
+typedef void (GLAPIENTRYP _glptr_Uniform1fvARB) (GLint, GLsizei,
+ const GLfloat *);
#define CALL_Uniform1fvARB(disp, parameters) \
(* GET_Uniform1fvARB(disp)) parameters
-static inline _glptr_Uniform1fvARB GET_Uniform1fvARB(struct _glapi_table *disp) {
- return (_glptr_Uniform1fvARB) (GET_by_offset(disp, _gloffset_Uniform1fvARB));
+static inline _glptr_Uniform1fvARB
+GET_Uniform1fvARB(struct _glapi_table *disp)
+{
+ return (_glptr_Uniform1fvARB) (GET_by_offset
+ (disp, _gloffset_Uniform1fvARB));
}
-static inline void SET_Uniform1fvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLsizei, const GLfloat *)) {
- SET_by_offset(disp, _gloffset_Uniform1fvARB, fn);
+static inline void
+SET_Uniform1fvARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLint, GLsizei, const GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_Uniform1fvARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_Uniform1iARB)(GLint, GLint);
+typedef void (GLAPIENTRYP _glptr_Uniform1iARB) (GLint, GLint);
+
#define CALL_Uniform1iARB(disp, parameters) \
(* GET_Uniform1iARB(disp)) parameters
-static inline _glptr_Uniform1iARB GET_Uniform1iARB(struct _glapi_table *disp) {
- return (_glptr_Uniform1iARB) (GET_by_offset(disp, _gloffset_Uniform1iARB));
+static inline _glptr_Uniform1iARB
+GET_Uniform1iARB(struct _glapi_table *disp)
+{
+ return (_glptr_Uniform1iARB) (GET_by_offset(disp, _gloffset_Uniform1iARB));
}
-static inline void SET_Uniform1iARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint)) {
- SET_by_offset(disp, _gloffset_Uniform1iARB, fn);
+static inline void
+SET_Uniform1iARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLint, GLint))
+{
+ SET_by_offset(disp, _gloffset_Uniform1iARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_Uniform1ivARB)(GLint, GLsizei, const GLint *);
+typedef void (GLAPIENTRYP _glptr_Uniform1ivARB) (GLint, GLsizei, const GLint *);
+
#define CALL_Uniform1ivARB(disp, parameters) \
(* GET_Uniform1ivARB(disp)) parameters
-static inline _glptr_Uniform1ivARB GET_Uniform1ivARB(struct _glapi_table *disp) {
- return (_glptr_Uniform1ivARB) (GET_by_offset(disp, _gloffset_Uniform1ivARB));
+static inline _glptr_Uniform1ivARB
+GET_Uniform1ivARB(struct _glapi_table *disp)
+{
+ return (_glptr_Uniform1ivARB) (GET_by_offset
+ (disp, _gloffset_Uniform1ivARB));
}
-static inline void SET_Uniform1ivARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLsizei, const GLint *)) {
- SET_by_offset(disp, _gloffset_Uniform1ivARB, fn);
+static inline void
+SET_Uniform1ivARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLint, GLsizei, const GLint *))
+{
+ SET_by_offset(disp, _gloffset_Uniform1ivARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_Uniform2fARB)(GLint, GLfloat, GLfloat);
+typedef void (GLAPIENTRYP _glptr_Uniform2fARB) (GLint, GLfloat, GLfloat);
+
#define CALL_Uniform2fARB(disp, parameters) \
(* GET_Uniform2fARB(disp)) parameters
-static inline _glptr_Uniform2fARB GET_Uniform2fARB(struct _glapi_table *disp) {
- return (_glptr_Uniform2fARB) (GET_by_offset(disp, _gloffset_Uniform2fARB));
+static inline _glptr_Uniform2fARB
+GET_Uniform2fARB(struct _glapi_table *disp)
+{
+ return (_glptr_Uniform2fARB) (GET_by_offset(disp, _gloffset_Uniform2fARB));
}
-static inline void SET_Uniform2fARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLfloat, GLfloat)) {
- SET_by_offset(disp, _gloffset_Uniform2fARB, fn);
+static inline void
+SET_Uniform2fARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLint, GLfloat, GLfloat))
+{
+ SET_by_offset(disp, _gloffset_Uniform2fARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_Uniform2fvARB)(GLint, GLsizei, const GLfloat *);
+typedef void (GLAPIENTRYP _glptr_Uniform2fvARB) (GLint, GLsizei,
+ const GLfloat *);
#define CALL_Uniform2fvARB(disp, parameters) \
(* GET_Uniform2fvARB(disp)) parameters
-static inline _glptr_Uniform2fvARB GET_Uniform2fvARB(struct _glapi_table *disp) {
- return (_glptr_Uniform2fvARB) (GET_by_offset(disp, _gloffset_Uniform2fvARB));
+static inline _glptr_Uniform2fvARB
+GET_Uniform2fvARB(struct _glapi_table *disp)
+{
+ return (_glptr_Uniform2fvARB) (GET_by_offset
+ (disp, _gloffset_Uniform2fvARB));
}
-static inline void SET_Uniform2fvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLsizei, const GLfloat *)) {
- SET_by_offset(disp, _gloffset_Uniform2fvARB, fn);
+static inline void
+SET_Uniform2fvARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLint, GLsizei, const GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_Uniform2fvARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_Uniform2iARB)(GLint, GLint, GLint);
+typedef void (GLAPIENTRYP _glptr_Uniform2iARB) (GLint, GLint, GLint);
+
#define CALL_Uniform2iARB(disp, parameters) \
(* GET_Uniform2iARB(disp)) parameters
-static inline _glptr_Uniform2iARB GET_Uniform2iARB(struct _glapi_table *disp) {
- return (_glptr_Uniform2iARB) (GET_by_offset(disp, _gloffset_Uniform2iARB));
+static inline _glptr_Uniform2iARB
+GET_Uniform2iARB(struct _glapi_table *disp)
+{
+ return (_glptr_Uniform2iARB) (GET_by_offset(disp, _gloffset_Uniform2iARB));
}
-static inline void SET_Uniform2iARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLint)) {
- SET_by_offset(disp, _gloffset_Uniform2iARB, fn);
+static inline void
+SET_Uniform2iARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLint, GLint, GLint))
+{
+ SET_by_offset(disp, _gloffset_Uniform2iARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_Uniform2ivARB)(GLint, GLsizei, const GLint *);
+typedef void (GLAPIENTRYP _glptr_Uniform2ivARB) (GLint, GLsizei, const GLint *);
+
#define CALL_Uniform2ivARB(disp, parameters) \
(* GET_Uniform2ivARB(disp)) parameters
-static inline _glptr_Uniform2ivARB GET_Uniform2ivARB(struct _glapi_table *disp) {
- return (_glptr_Uniform2ivARB) (GET_by_offset(disp, _gloffset_Uniform2ivARB));
+static inline _glptr_Uniform2ivARB
+GET_Uniform2ivARB(struct _glapi_table *disp)
+{
+ return (_glptr_Uniform2ivARB) (GET_by_offset
+ (disp, _gloffset_Uniform2ivARB));
}
-static inline void SET_Uniform2ivARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLsizei, const GLint *)) {
- SET_by_offset(disp, _gloffset_Uniform2ivARB, fn);
+static inline void
+SET_Uniform2ivARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLint, GLsizei, const GLint *))
+{
+ SET_by_offset(disp, _gloffset_Uniform2ivARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_Uniform3fARB)(GLint, GLfloat, GLfloat, GLfloat);
+typedef void (GLAPIENTRYP _glptr_Uniform3fARB) (GLint, GLfloat, GLfloat,
+ GLfloat);
#define CALL_Uniform3fARB(disp, parameters) \
(* GET_Uniform3fARB(disp)) parameters
-static inline _glptr_Uniform3fARB GET_Uniform3fARB(struct _glapi_table *disp) {
- return (_glptr_Uniform3fARB) (GET_by_offset(disp, _gloffset_Uniform3fARB));
+static inline _glptr_Uniform3fARB
+GET_Uniform3fARB(struct _glapi_table *disp)
+{
+ return (_glptr_Uniform3fARB) (GET_by_offset(disp, _gloffset_Uniform3fARB));
}
-static inline void SET_Uniform3fARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLfloat, GLfloat, GLfloat)) {
- SET_by_offset(disp, _gloffset_Uniform3fARB, fn);
+static inline void
+SET_Uniform3fARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLint, GLfloat, GLfloat, GLfloat))
+{
+ SET_by_offset(disp, _gloffset_Uniform3fARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_Uniform3fvARB)(GLint, GLsizei, const GLfloat *);
+typedef void (GLAPIENTRYP _glptr_Uniform3fvARB) (GLint, GLsizei,
+ const GLfloat *);
#define CALL_Uniform3fvARB(disp, parameters) \
(* GET_Uniform3fvARB(disp)) parameters
-static inline _glptr_Uniform3fvARB GET_Uniform3fvARB(struct _glapi_table *disp) {
- return (_glptr_Uniform3fvARB) (GET_by_offset(disp, _gloffset_Uniform3fvARB));
+static inline _glptr_Uniform3fvARB
+GET_Uniform3fvARB(struct _glapi_table *disp)
+{
+ return (_glptr_Uniform3fvARB) (GET_by_offset
+ (disp, _gloffset_Uniform3fvARB));
}
-static inline void SET_Uniform3fvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLsizei, const GLfloat *)) {
- SET_by_offset(disp, _gloffset_Uniform3fvARB, fn);
+static inline void
+SET_Uniform3fvARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLint, GLsizei, const GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_Uniform3fvARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_Uniform3iARB)(GLint, GLint, GLint, GLint);
+typedef void (GLAPIENTRYP _glptr_Uniform3iARB) (GLint, GLint, GLint, GLint);
+
#define CALL_Uniform3iARB(disp, parameters) \
(* GET_Uniform3iARB(disp)) parameters
-static inline _glptr_Uniform3iARB GET_Uniform3iARB(struct _glapi_table *disp) {
- return (_glptr_Uniform3iARB) (GET_by_offset(disp, _gloffset_Uniform3iARB));
+static inline _glptr_Uniform3iARB
+GET_Uniform3iARB(struct _glapi_table *disp)
+{
+ return (_glptr_Uniform3iARB) (GET_by_offset(disp, _gloffset_Uniform3iARB));
}
-static inline void SET_Uniform3iARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLint, GLint)) {
- SET_by_offset(disp, _gloffset_Uniform3iARB, fn);
+static inline void
+SET_Uniform3iARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLint, GLint, GLint, GLint))
+{
+ SET_by_offset(disp, _gloffset_Uniform3iARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_Uniform3ivARB)(GLint, GLsizei, const GLint *);
+typedef void (GLAPIENTRYP _glptr_Uniform3ivARB) (GLint, GLsizei, const GLint *);
+
#define CALL_Uniform3ivARB(disp, parameters) \
(* GET_Uniform3ivARB(disp)) parameters
-static inline _glptr_Uniform3ivARB GET_Uniform3ivARB(struct _glapi_table *disp) {
- return (_glptr_Uniform3ivARB) (GET_by_offset(disp, _gloffset_Uniform3ivARB));
+static inline _glptr_Uniform3ivARB
+GET_Uniform3ivARB(struct _glapi_table *disp)
+{
+ return (_glptr_Uniform3ivARB) (GET_by_offset
+ (disp, _gloffset_Uniform3ivARB));
}
-static inline void SET_Uniform3ivARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLsizei, const GLint *)) {
- SET_by_offset(disp, _gloffset_Uniform3ivARB, fn);
+static inline void
+SET_Uniform3ivARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLint, GLsizei, const GLint *))
+{
+ SET_by_offset(disp, _gloffset_Uniform3ivARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_Uniform4fARB)(GLint, GLfloat, GLfloat, GLfloat, GLfloat);
+typedef void (GLAPIENTRYP _glptr_Uniform4fARB) (GLint, GLfloat, GLfloat,
+ GLfloat, GLfloat);
#define CALL_Uniform4fARB(disp, parameters) \
(* GET_Uniform4fARB(disp)) parameters
-static inline _glptr_Uniform4fARB GET_Uniform4fARB(struct _glapi_table *disp) {
- return (_glptr_Uniform4fARB) (GET_by_offset(disp, _gloffset_Uniform4fARB));
+static inline _glptr_Uniform4fARB
+GET_Uniform4fARB(struct _glapi_table *disp)
+{
+ return (_glptr_Uniform4fARB) (GET_by_offset(disp, _gloffset_Uniform4fARB));
}
-static inline void SET_Uniform4fARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLfloat, GLfloat, GLfloat, GLfloat)) {
- SET_by_offset(disp, _gloffset_Uniform4fARB, fn);
+static inline void
+SET_Uniform4fARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLint, GLfloat, GLfloat, GLfloat,
+ GLfloat))
+{
+ SET_by_offset(disp, _gloffset_Uniform4fARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_Uniform4fvARB)(GLint, GLsizei, const GLfloat *);
+typedef void (GLAPIENTRYP _glptr_Uniform4fvARB) (GLint, GLsizei,
+ const GLfloat *);
#define CALL_Uniform4fvARB(disp, parameters) \
(* GET_Uniform4fvARB(disp)) parameters
-static inline _glptr_Uniform4fvARB GET_Uniform4fvARB(struct _glapi_table *disp) {
- return (_glptr_Uniform4fvARB) (GET_by_offset(disp, _gloffset_Uniform4fvARB));
+static inline _glptr_Uniform4fvARB
+GET_Uniform4fvARB(struct _glapi_table *disp)
+{
+ return (_glptr_Uniform4fvARB) (GET_by_offset
+ (disp, _gloffset_Uniform4fvARB));
}
-static inline void SET_Uniform4fvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLsizei, const GLfloat *)) {
- SET_by_offset(disp, _gloffset_Uniform4fvARB, fn);
+static inline void
+SET_Uniform4fvARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLint, GLsizei, const GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_Uniform4fvARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_Uniform4iARB)(GLint, GLint, GLint, GLint, GLint);
+typedef void (GLAPIENTRYP _glptr_Uniform4iARB) (GLint, GLint, GLint, GLint,
+ GLint);
#define CALL_Uniform4iARB(disp, parameters) \
(* GET_Uniform4iARB(disp)) parameters
-static inline _glptr_Uniform4iARB GET_Uniform4iARB(struct _glapi_table *disp) {
- return (_glptr_Uniform4iARB) (GET_by_offset(disp, _gloffset_Uniform4iARB));
+static inline _glptr_Uniform4iARB
+GET_Uniform4iARB(struct _glapi_table *disp)
+{
+ return (_glptr_Uniform4iARB) (GET_by_offset(disp, _gloffset_Uniform4iARB));
}
-static inline void SET_Uniform4iARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLint, GLint, GLint)) {
- SET_by_offset(disp, _gloffset_Uniform4iARB, fn);
+static inline void
+SET_Uniform4iARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLint, GLint, GLint, GLint, GLint))
+{
+ SET_by_offset(disp, _gloffset_Uniform4iARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_Uniform4ivARB)(GLint, GLsizei, const GLint *);
+typedef void (GLAPIENTRYP _glptr_Uniform4ivARB) (GLint, GLsizei, const GLint *);
+
#define CALL_Uniform4ivARB(disp, parameters) \
(* GET_Uniform4ivARB(disp)) parameters
-static inline _glptr_Uniform4ivARB GET_Uniform4ivARB(struct _glapi_table *disp) {
- return (_glptr_Uniform4ivARB) (GET_by_offset(disp, _gloffset_Uniform4ivARB));
+static inline _glptr_Uniform4ivARB
+GET_Uniform4ivARB(struct _glapi_table *disp)
+{
+ return (_glptr_Uniform4ivARB) (GET_by_offset
+ (disp, _gloffset_Uniform4ivARB));
}
-static inline void SET_Uniform4ivARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLsizei, const GLint *)) {
- SET_by_offset(disp, _gloffset_Uniform4ivARB, fn);
+static inline void
+SET_Uniform4ivARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLint, GLsizei, const GLint *))
+{
+ SET_by_offset(disp, _gloffset_Uniform4ivARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_UniformMatrix2fvARB)(GLint, GLsizei, GLboolean, const GLfloat *);
+typedef void (GLAPIENTRYP _glptr_UniformMatrix2fvARB) (GLint, GLsizei,
+ GLboolean,
+ const GLfloat *);
#define CALL_UniformMatrix2fvARB(disp, parameters) \
(* GET_UniformMatrix2fvARB(disp)) parameters
-static inline _glptr_UniformMatrix2fvARB GET_UniformMatrix2fvARB(struct _glapi_table *disp) {
- return (_glptr_UniformMatrix2fvARB) (GET_by_offset(disp, _gloffset_UniformMatrix2fvARB));
+static inline _glptr_UniformMatrix2fvARB
+GET_UniformMatrix2fvARB(struct _glapi_table *disp)
+{
+ return (_glptr_UniformMatrix2fvARB) (GET_by_offset
+ (disp, _gloffset_UniformMatrix2fvARB));
}
-static inline void SET_UniformMatrix2fvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLsizei, GLboolean, const GLfloat *)) {
- SET_by_offset(disp, _gloffset_UniformMatrix2fvARB, fn);
+static inline void
+SET_UniformMatrix2fvARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLint, GLsizei, GLboolean,
+ const GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_UniformMatrix2fvARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_UniformMatrix3fvARB)(GLint, GLsizei, GLboolean, const GLfloat *);
+typedef void (GLAPIENTRYP _glptr_UniformMatrix3fvARB) (GLint, GLsizei,
+ GLboolean,
+ const GLfloat *);
#define CALL_UniformMatrix3fvARB(disp, parameters) \
(* GET_UniformMatrix3fvARB(disp)) parameters
-static inline _glptr_UniformMatrix3fvARB GET_UniformMatrix3fvARB(struct _glapi_table *disp) {
- return (_glptr_UniformMatrix3fvARB) (GET_by_offset(disp, _gloffset_UniformMatrix3fvARB));
+static inline _glptr_UniformMatrix3fvARB
+GET_UniformMatrix3fvARB(struct _glapi_table *disp)
+{
+ return (_glptr_UniformMatrix3fvARB) (GET_by_offset
+ (disp, _gloffset_UniformMatrix3fvARB));
}
-static inline void SET_UniformMatrix3fvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLsizei, GLboolean, const GLfloat *)) {
- SET_by_offset(disp, _gloffset_UniformMatrix3fvARB, fn);
+static inline void
+SET_UniformMatrix3fvARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLint, GLsizei, GLboolean,
+ const GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_UniformMatrix3fvARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_UniformMatrix4fvARB)(GLint, GLsizei, GLboolean, const GLfloat *);
+typedef void (GLAPIENTRYP _glptr_UniformMatrix4fvARB) (GLint, GLsizei,
+ GLboolean,
+ const GLfloat *);
#define CALL_UniformMatrix4fvARB(disp, parameters) \
(* GET_UniformMatrix4fvARB(disp)) parameters
-static inline _glptr_UniformMatrix4fvARB GET_UniformMatrix4fvARB(struct _glapi_table *disp) {
- return (_glptr_UniformMatrix4fvARB) (GET_by_offset(disp, _gloffset_UniformMatrix4fvARB));
+static inline _glptr_UniformMatrix4fvARB
+GET_UniformMatrix4fvARB(struct _glapi_table *disp)
+{
+ return (_glptr_UniformMatrix4fvARB) (GET_by_offset
+ (disp, _gloffset_UniformMatrix4fvARB));
}
-static inline void SET_UniformMatrix4fvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLsizei, GLboolean, const GLfloat *)) {
- SET_by_offset(disp, _gloffset_UniformMatrix4fvARB, fn);
+static inline void
+SET_UniformMatrix4fvARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLint, GLsizei, GLboolean,
+ const GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_UniformMatrix4fvARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_UseProgramObjectARB)(GLhandleARB);
+typedef void (GLAPIENTRYP _glptr_UseProgramObjectARB) (GLhandleARB);
+
#define CALL_UseProgramObjectARB(disp, parameters) \
(* GET_UseProgramObjectARB(disp)) parameters
-static inline _glptr_UseProgramObjectARB GET_UseProgramObjectARB(struct _glapi_table *disp) {
- return (_glptr_UseProgramObjectARB) (GET_by_offset(disp, _gloffset_UseProgramObjectARB));
+static inline _glptr_UseProgramObjectARB
+GET_UseProgramObjectARB(struct _glapi_table *disp)
+{
+ return (_glptr_UseProgramObjectARB) (GET_by_offset
+ (disp, _gloffset_UseProgramObjectARB));
}
-static inline void SET_UseProgramObjectARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLhandleARB)) {
- SET_by_offset(disp, _gloffset_UseProgramObjectARB, fn);
+static inline void
+SET_UseProgramObjectARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLhandleARB))
+{
+ SET_by_offset(disp, _gloffset_UseProgramObjectARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_ValidateProgramARB)(GLhandleARB);
+typedef void (GLAPIENTRYP _glptr_ValidateProgramARB) (GLhandleARB);
+
#define CALL_ValidateProgramARB(disp, parameters) \
(* GET_ValidateProgramARB(disp)) parameters
-static inline _glptr_ValidateProgramARB GET_ValidateProgramARB(struct _glapi_table *disp) {
- return (_glptr_ValidateProgramARB) (GET_by_offset(disp, _gloffset_ValidateProgramARB));
+static inline _glptr_ValidateProgramARB
+GET_ValidateProgramARB(struct _glapi_table *disp)
+{
+ return (_glptr_ValidateProgramARB) (GET_by_offset
+ (disp, _gloffset_ValidateProgramARB));
}
-static inline void SET_ValidateProgramARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLhandleARB)) {
- SET_by_offset(disp, _gloffset_ValidateProgramARB, fn);
+static inline void
+SET_ValidateProgramARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLhandleARB))
+{
+ SET_by_offset(disp, _gloffset_ValidateProgramARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_BindAttribLocationARB)(GLhandleARB, GLuint, const GLcharARB *);
+typedef void (GLAPIENTRYP _glptr_BindAttribLocationARB) (GLhandleARB, GLuint,
+ const GLcharARB *);
#define CALL_BindAttribLocationARB(disp, parameters) \
(* GET_BindAttribLocationARB(disp)) parameters
-static inline _glptr_BindAttribLocationARB GET_BindAttribLocationARB(struct _glapi_table *disp) {
- return (_glptr_BindAttribLocationARB) (GET_by_offset(disp, _gloffset_BindAttribLocationARB));
-}
-
-static inline void SET_BindAttribLocationARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLhandleARB, GLuint, const GLcharARB *)) {
- SET_by_offset(disp, _gloffset_BindAttribLocationARB, fn);
-}
-
-typedef void (GLAPIENTRYP _glptr_GetActiveAttribARB)(GLhandleARB, GLuint, GLsizei, GLsizei *, GLint *, GLenum *, GLcharARB *);
+static inline _glptr_BindAttribLocationARB
+GET_BindAttribLocationARB(struct _glapi_table *disp)
+{
+ return (_glptr_BindAttribLocationARB) (GET_by_offset
+ (disp,
+ _gloffset_BindAttribLocationARB));
+}
+
+static inline void
+SET_BindAttribLocationARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLhandleARB, GLuint,
+ const GLcharARB *))
+{
+ SET_by_offset(disp, _gloffset_BindAttribLocationARB, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetActiveAttribARB) (GLhandleARB, GLuint,
+ GLsizei, GLsizei *,
+ GLint *, GLenum *,
+ GLcharARB *);
#define CALL_GetActiveAttribARB(disp, parameters) \
(* GET_GetActiveAttribARB(disp)) parameters
-static inline _glptr_GetActiveAttribARB GET_GetActiveAttribARB(struct _glapi_table *disp) {
- return (_glptr_GetActiveAttribARB) (GET_by_offset(disp, _gloffset_GetActiveAttribARB));
+static inline _glptr_GetActiveAttribARB
+GET_GetActiveAttribARB(struct _glapi_table *disp)
+{
+ return (_glptr_GetActiveAttribARB) (GET_by_offset
+ (disp, _gloffset_GetActiveAttribARB));
}
-static inline void SET_GetActiveAttribARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLhandleARB, GLuint, GLsizei, GLsizei *, GLint *, GLenum *, GLcharARB *)) {
- SET_by_offset(disp, _gloffset_GetActiveAttribARB, fn);
+static inline void
+SET_GetActiveAttribARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLhandleARB, GLuint, GLsizei,
+ GLsizei *, GLint *, GLenum *,
+ GLcharARB *))
+{
+ SET_by_offset(disp, _gloffset_GetActiveAttribARB, fn);
}
-typedef GLint (GLAPIENTRYP _glptr_GetAttribLocationARB)(GLhandleARB, const GLcharARB *);
+typedef GLint(GLAPIENTRYP _glptr_GetAttribLocationARB) (GLhandleARB,
+ const GLcharARB *);
#define CALL_GetAttribLocationARB(disp, parameters) \
(* GET_GetAttribLocationARB(disp)) parameters
-static inline _glptr_GetAttribLocationARB GET_GetAttribLocationARB(struct _glapi_table *disp) {
- return (_glptr_GetAttribLocationARB) (GET_by_offset(disp, _gloffset_GetAttribLocationARB));
+static inline _glptr_GetAttribLocationARB
+GET_GetAttribLocationARB(struct _glapi_table *disp)
+{
+ return (_glptr_GetAttribLocationARB) (GET_by_offset
+ (disp,
+ _gloffset_GetAttribLocationARB));
}
-static inline void SET_GetAttribLocationARB(struct _glapi_table *disp, GLint (GLAPIENTRYP fn)(GLhandleARB, const GLcharARB *)) {
- SET_by_offset(disp, _gloffset_GetAttribLocationARB, fn);
+static inline void
+SET_GetAttribLocationARB(struct _glapi_table *disp,
+ GLint(GLAPIENTRYP fn) (GLhandleARB, const GLcharARB *))
+{
+ SET_by_offset(disp, _gloffset_GetAttribLocationARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_DrawBuffersARB)(GLsizei, const GLenum *);
+typedef void (GLAPIENTRYP _glptr_DrawBuffersARB) (GLsizei, const GLenum *);
+
#define CALL_DrawBuffersARB(disp, parameters) \
(* GET_DrawBuffersARB(disp)) parameters
-static inline _glptr_DrawBuffersARB GET_DrawBuffersARB(struct _glapi_table *disp) {
- return (_glptr_DrawBuffersARB) (GET_by_offset(disp, _gloffset_DrawBuffersARB));
+static inline _glptr_DrawBuffersARB
+GET_DrawBuffersARB(struct _glapi_table *disp)
+{
+ return (_glptr_DrawBuffersARB) (GET_by_offset
+ (disp, _gloffset_DrawBuffersARB));
}
-static inline void SET_DrawBuffersARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, const GLenum *)) {
- SET_by_offset(disp, _gloffset_DrawBuffersARB, fn);
+static inline void
+SET_DrawBuffersARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLsizei, const GLenum *))
+{
+ SET_by_offset(disp, _gloffset_DrawBuffersARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_ClampColorARB)(GLenum, GLenum);
+typedef void (GLAPIENTRYP _glptr_ClampColorARB) (GLenum, GLenum);
+
#define CALL_ClampColorARB(disp, parameters) \
(* GET_ClampColorARB(disp)) parameters
-static inline _glptr_ClampColorARB GET_ClampColorARB(struct _glapi_table *disp) {
- return (_glptr_ClampColorARB) (GET_by_offset(disp, _gloffset_ClampColorARB));
+static inline _glptr_ClampColorARB
+GET_ClampColorARB(struct _glapi_table *disp)
+{
+ return (_glptr_ClampColorARB) (GET_by_offset
+ (disp, _gloffset_ClampColorARB));
}
-static inline void SET_ClampColorARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum)) {
- SET_by_offset(disp, _gloffset_ClampColorARB, fn);
+static inline void
+SET_ClampColorARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum))
+{
+ SET_by_offset(disp, _gloffset_ClampColorARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_DrawArraysInstancedARB)(GLenum, GLint, GLsizei, GLsizei);
+typedef void (GLAPIENTRYP _glptr_DrawArraysInstancedARB) (GLenum, GLint,
+ GLsizei, GLsizei);
#define CALL_DrawArraysInstancedARB(disp, parameters) \
(* GET_DrawArraysInstancedARB(disp)) parameters
-static inline _glptr_DrawArraysInstancedARB GET_DrawArraysInstancedARB(struct _glapi_table *disp) {
- return (_glptr_DrawArraysInstancedARB) (GET_by_offset(disp, _gloffset_DrawArraysInstancedARB));
-}
-
-static inline void SET_DrawArraysInstancedARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLsizei, GLsizei)) {
- SET_by_offset(disp, _gloffset_DrawArraysInstancedARB, fn);
-}
-
-typedef void (GLAPIENTRYP _glptr_DrawElementsInstancedARB)(GLenum, GLsizei, GLenum, const GLvoid *, GLsizei);
+static inline _glptr_DrawArraysInstancedARB
+GET_DrawArraysInstancedARB(struct _glapi_table *disp)
+{
+ return (_glptr_DrawArraysInstancedARB) (GET_by_offset
+ (disp,
+ _gloffset_DrawArraysInstancedARB));
+}
+
+static inline void
+SET_DrawArraysInstancedARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLint, GLsizei,
+ GLsizei))
+{
+ SET_by_offset(disp, _gloffset_DrawArraysInstancedARB, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_DrawElementsInstancedARB) (GLenum, GLsizei,
+ GLenum,
+ const GLvoid *,
+ GLsizei);
#define CALL_DrawElementsInstancedARB(disp, parameters) \
(* GET_DrawElementsInstancedARB(disp)) parameters
-static inline _glptr_DrawElementsInstancedARB GET_DrawElementsInstancedARB(struct _glapi_table *disp) {
- return (_glptr_DrawElementsInstancedARB) (GET_by_offset(disp, _gloffset_DrawElementsInstancedARB));
-}
-
-static inline void SET_DrawElementsInstancedARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, GLenum, const GLvoid *, GLsizei)) {
- SET_by_offset(disp, _gloffset_DrawElementsInstancedARB, fn);
-}
-
-typedef void (GLAPIENTRYP _glptr_RenderbufferStorageMultisample)(GLenum, GLsizei, GLenum, GLsizei, GLsizei);
+static inline _glptr_DrawElementsInstancedARB
+GET_DrawElementsInstancedARB(struct _glapi_table *disp)
+{
+ return (_glptr_DrawElementsInstancedARB) (GET_by_offset
+ (disp,
+ _gloffset_DrawElementsInstancedARB));
+}
+
+static inline void
+SET_DrawElementsInstancedARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLsizei, GLenum,
+ const GLvoid *, GLsizei))
+{
+ SET_by_offset(disp, _gloffset_DrawElementsInstancedARB, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_RenderbufferStorageMultisample) (GLenum,
+ GLsizei,
+ GLenum,
+ GLsizei,
+ GLsizei);
#define CALL_RenderbufferStorageMultisample(disp, parameters) \
(* GET_RenderbufferStorageMultisample(disp)) parameters
-static inline _glptr_RenderbufferStorageMultisample GET_RenderbufferStorageMultisample(struct _glapi_table *disp) {
- return (_glptr_RenderbufferStorageMultisample) (GET_by_offset(disp, _gloffset_RenderbufferStorageMultisample));
+static inline _glptr_RenderbufferStorageMultisample
+GET_RenderbufferStorageMultisample(struct _glapi_table *disp)
+{
+ return (_glptr_RenderbufferStorageMultisample) (GET_by_offset
+ (disp,
+ _gloffset_RenderbufferStorageMultisample));
}
-static inline void SET_RenderbufferStorageMultisample(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, GLenum, GLsizei, GLsizei)) {
- SET_by_offset(disp, _gloffset_RenderbufferStorageMultisample, fn);
+static inline void
+SET_RenderbufferStorageMultisample(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLsizei,
+ GLenum, GLsizei,
+ GLsizei))
+{
+ SET_by_offset(disp, _gloffset_RenderbufferStorageMultisample, fn);
}
-typedef void (GLAPIENTRYP _glptr_FramebufferTextureARB)(GLenum, GLenum, GLuint, GLint);
+typedef void (GLAPIENTRYP _glptr_FramebufferTextureARB) (GLenum, GLenum, GLuint,
+ GLint);
#define CALL_FramebufferTextureARB(disp, parameters) \
(* GET_FramebufferTextureARB(disp)) parameters
-static inline _glptr_FramebufferTextureARB GET_FramebufferTextureARB(struct _glapi_table *disp) {
- return (_glptr_FramebufferTextureARB) (GET_by_offset(disp, _gloffset_FramebufferTextureARB));
+static inline _glptr_FramebufferTextureARB
+GET_FramebufferTextureARB(struct _glapi_table *disp)
+{
+ return (_glptr_FramebufferTextureARB) (GET_by_offset
+ (disp,
+ _gloffset_FramebufferTextureARB));
}
-static inline void SET_FramebufferTextureARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLuint, GLint)) {
- SET_by_offset(disp, _gloffset_FramebufferTextureARB, fn);
+static inline void
+SET_FramebufferTextureARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, GLuint, GLint))
+{
+ SET_by_offset(disp, _gloffset_FramebufferTextureARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_FramebufferTextureFaceARB)(GLenum, GLenum, GLuint, GLint, GLenum);
+typedef void (GLAPIENTRYP _glptr_FramebufferTextureFaceARB) (GLenum, GLenum,
+ GLuint, GLint,
+ GLenum);
#define CALL_FramebufferTextureFaceARB(disp, parameters) \
(* GET_FramebufferTextureFaceARB(disp)) parameters
-static inline _glptr_FramebufferTextureFaceARB GET_FramebufferTextureFaceARB(struct _glapi_table *disp) {
- return (_glptr_FramebufferTextureFaceARB) (GET_by_offset(disp, _gloffset_FramebufferTextureFaceARB));
+static inline _glptr_FramebufferTextureFaceARB
+GET_FramebufferTextureFaceARB(struct _glapi_table *disp)
+{
+ return (_glptr_FramebufferTextureFaceARB) (GET_by_offset
+ (disp,
+ _gloffset_FramebufferTextureFaceARB));
}
-static inline void SET_FramebufferTextureFaceARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLuint, GLint, GLenum)) {
- SET_by_offset(disp, _gloffset_FramebufferTextureFaceARB, fn);
+static inline void
+SET_FramebufferTextureFaceARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, GLuint,
+ GLint, GLenum))
+{
+ SET_by_offset(disp, _gloffset_FramebufferTextureFaceARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_ProgramParameteriARB)(GLuint, GLenum, GLint);
+typedef void (GLAPIENTRYP _glptr_ProgramParameteriARB) (GLuint, GLenum, GLint);
+
#define CALL_ProgramParameteriARB(disp, parameters) \
(* GET_ProgramParameteriARB(disp)) parameters
-static inline _glptr_ProgramParameteriARB GET_ProgramParameteriARB(struct _glapi_table *disp) {
- return (_glptr_ProgramParameteriARB) (GET_by_offset(disp, _gloffset_ProgramParameteriARB));
+static inline _glptr_ProgramParameteriARB
+GET_ProgramParameteriARB(struct _glapi_table *disp)
+{
+ return (_glptr_ProgramParameteriARB) (GET_by_offset
+ (disp,
+ _gloffset_ProgramParameteriARB));
}
-static inline void SET_ProgramParameteriARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLint)) {
- SET_by_offset(disp, _gloffset_ProgramParameteriARB, fn);
+static inline void
+SET_ProgramParameteriARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLenum, GLint))
+{
+ SET_by_offset(disp, _gloffset_ProgramParameteriARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttribDivisorARB)(GLuint, GLuint);
+typedef void (GLAPIENTRYP _glptr_VertexAttribDivisorARB) (GLuint, GLuint);
+
#define CALL_VertexAttribDivisorARB(disp, parameters) \
(* GET_VertexAttribDivisorARB(disp)) parameters
-static inline _glptr_VertexAttribDivisorARB GET_VertexAttribDivisorARB(struct _glapi_table *disp) {
- return (_glptr_VertexAttribDivisorARB) (GET_by_offset(disp, _gloffset_VertexAttribDivisorARB));
+static inline _glptr_VertexAttribDivisorARB
+GET_VertexAttribDivisorARB(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttribDivisorARB) (GET_by_offset
+ (disp,
+ _gloffset_VertexAttribDivisorARB));
}
-static inline void SET_VertexAttribDivisorARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLuint)) {
- SET_by_offset(disp, _gloffset_VertexAttribDivisorARB, fn);
+static inline void
+SET_VertexAttribDivisorARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLuint))
+{
+ SET_by_offset(disp, _gloffset_VertexAttribDivisorARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_FlushMappedBufferRange)(GLenum, GLintptr, GLsizeiptr);
+typedef void (GLAPIENTRYP _glptr_FlushMappedBufferRange) (GLenum, GLintptr,
+ GLsizeiptr);
#define CALL_FlushMappedBufferRange(disp, parameters) \
(* GET_FlushMappedBufferRange(disp)) parameters
-static inline _glptr_FlushMappedBufferRange GET_FlushMappedBufferRange(struct _glapi_table *disp) {
- return (_glptr_FlushMappedBufferRange) (GET_by_offset(disp, _gloffset_FlushMappedBufferRange));
+static inline _glptr_FlushMappedBufferRange
+GET_FlushMappedBufferRange(struct _glapi_table *disp)
+{
+ return (_glptr_FlushMappedBufferRange) (GET_by_offset
+ (disp,
+ _gloffset_FlushMappedBufferRange));
}
-static inline void SET_FlushMappedBufferRange(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLintptr, GLsizeiptr)) {
- SET_by_offset(disp, _gloffset_FlushMappedBufferRange, fn);
+static inline void
+SET_FlushMappedBufferRange(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLintptr, GLsizeiptr))
+{
+ SET_by_offset(disp, _gloffset_FlushMappedBufferRange, fn);
}
-typedef GLvoid * (GLAPIENTRYP _glptr_MapBufferRange)(GLenum, GLintptr, GLsizeiptr, GLbitfield);
+typedef GLvoid *(GLAPIENTRYP _glptr_MapBufferRange) (GLenum, GLintptr,
+ GLsizeiptr, GLbitfield);
#define CALL_MapBufferRange(disp, parameters) \
(* GET_MapBufferRange(disp)) parameters
-static inline _glptr_MapBufferRange GET_MapBufferRange(struct _glapi_table *disp) {
- return (_glptr_MapBufferRange) (GET_by_offset(disp, _gloffset_MapBufferRange));
+static inline _glptr_MapBufferRange
+GET_MapBufferRange(struct _glapi_table *disp)
+{
+ return (_glptr_MapBufferRange) (GET_by_offset
+ (disp, _gloffset_MapBufferRange));
}
-static inline void SET_MapBufferRange(struct _glapi_table *disp, GLvoid * (GLAPIENTRYP fn)(GLenum, GLintptr, GLsizeiptr, GLbitfield)) {
- SET_by_offset(disp, _gloffset_MapBufferRange, fn);
+static inline void
+SET_MapBufferRange(struct _glapi_table *disp,
+ GLvoid * (GLAPIENTRYP fn) (GLenum, GLintptr, GLsizeiptr,
+ GLbitfield))
+{
+ SET_by_offset(disp, _gloffset_MapBufferRange, fn);
}
-typedef void (GLAPIENTRYP _glptr_TexBufferARB)(GLenum, GLenum, GLuint);
+typedef void (GLAPIENTRYP _glptr_TexBufferARB) (GLenum, GLenum, GLuint);
+
#define CALL_TexBufferARB(disp, parameters) \
(* GET_TexBufferARB(disp)) parameters
-static inline _glptr_TexBufferARB GET_TexBufferARB(struct _glapi_table *disp) {
- return (_glptr_TexBufferARB) (GET_by_offset(disp, _gloffset_TexBufferARB));
+static inline _glptr_TexBufferARB
+GET_TexBufferARB(struct _glapi_table *disp)
+{
+ return (_glptr_TexBufferARB) (GET_by_offset(disp, _gloffset_TexBufferARB));
}
-static inline void SET_TexBufferARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLuint)) {
- SET_by_offset(disp, _gloffset_TexBufferARB, fn);
+static inline void
+SET_TexBufferARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, GLuint))
+{
+ SET_by_offset(disp, _gloffset_TexBufferARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_BindVertexArray)(GLuint);
+typedef void (GLAPIENTRYP _glptr_BindVertexArray) (GLuint);
+
#define CALL_BindVertexArray(disp, parameters) \
(* GET_BindVertexArray(disp)) parameters
-static inline _glptr_BindVertexArray GET_BindVertexArray(struct _glapi_table *disp) {
- return (_glptr_BindVertexArray) (GET_by_offset(disp, _gloffset_BindVertexArray));
+static inline _glptr_BindVertexArray
+GET_BindVertexArray(struct _glapi_table *disp)
+{
+ return (_glptr_BindVertexArray) (GET_by_offset
+ (disp, _gloffset_BindVertexArray));
}
-static inline void SET_BindVertexArray(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint)) {
- SET_by_offset(disp, _gloffset_BindVertexArray, fn);
+static inline void
+SET_BindVertexArray(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLuint))
+{
+ SET_by_offset(disp, _gloffset_BindVertexArray, fn);
}
-typedef void (GLAPIENTRYP _glptr_GenVertexArrays)(GLsizei, GLuint *);
+typedef void (GLAPIENTRYP _glptr_GenVertexArrays) (GLsizei, GLuint *);
+
#define CALL_GenVertexArrays(disp, parameters) \
(* GET_GenVertexArrays(disp)) parameters
-static inline _glptr_GenVertexArrays GET_GenVertexArrays(struct _glapi_table *disp) {
- return (_glptr_GenVertexArrays) (GET_by_offset(disp, _gloffset_GenVertexArrays));
+static inline _glptr_GenVertexArrays
+GET_GenVertexArrays(struct _glapi_table *disp)
+{
+ return (_glptr_GenVertexArrays) (GET_by_offset
+ (disp, _gloffset_GenVertexArrays));
}
-static inline void SET_GenVertexArrays(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, GLuint *)) {
- SET_by_offset(disp, _gloffset_GenVertexArrays, fn);
+static inline void
+SET_GenVertexArrays(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLsizei, GLuint *))
+{
+ SET_by_offset(disp, _gloffset_GenVertexArrays, fn);
}
-typedef void (GLAPIENTRYP _glptr_CopyBufferSubData)(GLenum, GLenum, GLintptr, GLintptr, GLsizeiptr);
+typedef void (GLAPIENTRYP _glptr_CopyBufferSubData) (GLenum, GLenum, GLintptr,
+ GLintptr, GLsizeiptr);
#define CALL_CopyBufferSubData(disp, parameters) \
(* GET_CopyBufferSubData(disp)) parameters
-static inline _glptr_CopyBufferSubData GET_CopyBufferSubData(struct _glapi_table *disp) {
- return (_glptr_CopyBufferSubData) (GET_by_offset(disp, _gloffset_CopyBufferSubData));
+static inline _glptr_CopyBufferSubData
+GET_CopyBufferSubData(struct _glapi_table *disp)
+{
+ return (_glptr_CopyBufferSubData) (GET_by_offset
+ (disp, _gloffset_CopyBufferSubData));
}
-static inline void SET_CopyBufferSubData(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLintptr, GLintptr, GLsizeiptr)) {
- SET_by_offset(disp, _gloffset_CopyBufferSubData, fn);
+static inline void
+SET_CopyBufferSubData(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, GLintptr, GLintptr,
+ GLsizeiptr))
+{
+ SET_by_offset(disp, _gloffset_CopyBufferSubData, fn);
}
-typedef GLenum (GLAPIENTRYP _glptr_ClientWaitSync)(GLsync, GLbitfield, GLuint64);
+typedef GLenum(GLAPIENTRYP _glptr_ClientWaitSync) (GLsync, GLbitfield,
+ GLuint64);
#define CALL_ClientWaitSync(disp, parameters) \
(* GET_ClientWaitSync(disp)) parameters
-static inline _glptr_ClientWaitSync GET_ClientWaitSync(struct _glapi_table *disp) {
- return (_glptr_ClientWaitSync) (GET_by_offset(disp, _gloffset_ClientWaitSync));
+static inline _glptr_ClientWaitSync
+GET_ClientWaitSync(struct _glapi_table *disp)
+{
+ return (_glptr_ClientWaitSync) (GET_by_offset
+ (disp, _gloffset_ClientWaitSync));
}
-static inline void SET_ClientWaitSync(struct _glapi_table *disp, GLenum (GLAPIENTRYP fn)(GLsync, GLbitfield, GLuint64)) {
- SET_by_offset(disp, _gloffset_ClientWaitSync, fn);
+static inline void
+SET_ClientWaitSync(struct _glapi_table *disp,
+ GLenum(GLAPIENTRYP fn) (GLsync, GLbitfield, GLuint64))
+{
+ SET_by_offset(disp, _gloffset_ClientWaitSync, fn);
}
-typedef void (GLAPIENTRYP _glptr_DeleteSync)(GLsync);
+typedef void (GLAPIENTRYP _glptr_DeleteSync) (GLsync);
+
#define CALL_DeleteSync(disp, parameters) \
(* GET_DeleteSync(disp)) parameters
-static inline _glptr_DeleteSync GET_DeleteSync(struct _glapi_table *disp) {
- return (_glptr_DeleteSync) (GET_by_offset(disp, _gloffset_DeleteSync));
+static inline _glptr_DeleteSync
+GET_DeleteSync(struct _glapi_table *disp)
+{
+ return (_glptr_DeleteSync) (GET_by_offset(disp, _gloffset_DeleteSync));
}
-static inline void SET_DeleteSync(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsync)) {
- SET_by_offset(disp, _gloffset_DeleteSync, fn);
+static inline void
+SET_DeleteSync(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLsync))
+{
+ SET_by_offset(disp, _gloffset_DeleteSync, fn);
}
-typedef GLsync (GLAPIENTRYP _glptr_FenceSync)(GLenum, GLbitfield);
+typedef GLsync(GLAPIENTRYP _glptr_FenceSync) (GLenum, GLbitfield);
+
#define CALL_FenceSync(disp, parameters) \
(* GET_FenceSync(disp)) parameters
-static inline _glptr_FenceSync GET_FenceSync(struct _glapi_table *disp) {
- return (_glptr_FenceSync) (GET_by_offset(disp, _gloffset_FenceSync));
+static inline _glptr_FenceSync
+GET_FenceSync(struct _glapi_table *disp)
+{
+ return (_glptr_FenceSync) (GET_by_offset(disp, _gloffset_FenceSync));
}
-static inline void SET_FenceSync(struct _glapi_table *disp, GLsync (GLAPIENTRYP fn)(GLenum, GLbitfield)) {
- SET_by_offset(disp, _gloffset_FenceSync, fn);
+static inline void
+SET_FenceSync(struct _glapi_table *disp,
+ GLsync(GLAPIENTRYP fn) (GLenum, GLbitfield))
+{
+ SET_by_offset(disp, _gloffset_FenceSync, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetInteger64v)(GLenum, GLint64 *);
+typedef void (GLAPIENTRYP _glptr_GetInteger64v) (GLenum, GLint64 *);
+
#define CALL_GetInteger64v(disp, parameters) \
(* GET_GetInteger64v(disp)) parameters
-static inline _glptr_GetInteger64v GET_GetInteger64v(struct _glapi_table *disp) {
- return (_glptr_GetInteger64v) (GET_by_offset(disp, _gloffset_GetInteger64v));
+static inline _glptr_GetInteger64v
+GET_GetInteger64v(struct _glapi_table *disp)
+{
+ return (_glptr_GetInteger64v) (GET_by_offset
+ (disp, _gloffset_GetInteger64v));
}
-static inline void SET_GetInteger64v(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint64 *)) {
- SET_by_offset(disp, _gloffset_GetInteger64v, fn);
+static inline void
+SET_GetInteger64v(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLint64 *))
+{
+ SET_by_offset(disp, _gloffset_GetInteger64v, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetSynciv)(GLsync, GLenum, GLsizei, GLsizei *, GLint *);
+typedef void (GLAPIENTRYP _glptr_GetSynciv) (GLsync, GLenum, GLsizei, GLsizei *,
+ GLint *);
#define CALL_GetSynciv(disp, parameters) \
(* GET_GetSynciv(disp)) parameters
-static inline _glptr_GetSynciv GET_GetSynciv(struct _glapi_table *disp) {
- return (_glptr_GetSynciv) (GET_by_offset(disp, _gloffset_GetSynciv));
+static inline _glptr_GetSynciv
+GET_GetSynciv(struct _glapi_table *disp)
+{
+ return (_glptr_GetSynciv) (GET_by_offset(disp, _gloffset_GetSynciv));
}
-static inline void SET_GetSynciv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsync, GLenum, GLsizei, GLsizei *, GLint *)) {
- SET_by_offset(disp, _gloffset_GetSynciv, fn);
+static inline void
+SET_GetSynciv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLsync, GLenum, GLsizei, GLsizei *,
+ GLint *))
+{
+ SET_by_offset(disp, _gloffset_GetSynciv, fn);
}
-typedef GLboolean (GLAPIENTRYP _glptr_IsSync)(GLsync);
+typedef GLboolean(GLAPIENTRYP _glptr_IsSync) (GLsync);
+
#define CALL_IsSync(disp, parameters) \
(* GET_IsSync(disp)) parameters
-static inline _glptr_IsSync GET_IsSync(struct _glapi_table *disp) {
- return (_glptr_IsSync) (GET_by_offset(disp, _gloffset_IsSync));
+static inline _glptr_IsSync
+GET_IsSync(struct _glapi_table *disp)
+{
+ return (_glptr_IsSync) (GET_by_offset(disp, _gloffset_IsSync));
}
-static inline void SET_IsSync(struct _glapi_table *disp, GLboolean (GLAPIENTRYP fn)(GLsync)) {
- SET_by_offset(disp, _gloffset_IsSync, fn);
+static inline void
+SET_IsSync(struct _glapi_table *disp, GLboolean(GLAPIENTRYP fn) (GLsync))
+{
+ SET_by_offset(disp, _gloffset_IsSync, fn);
}
-typedef void (GLAPIENTRYP _glptr_WaitSync)(GLsync, GLbitfield, GLuint64);
+typedef void (GLAPIENTRYP _glptr_WaitSync) (GLsync, GLbitfield, GLuint64);
+
#define CALL_WaitSync(disp, parameters) \
(* GET_WaitSync(disp)) parameters
-static inline _glptr_WaitSync GET_WaitSync(struct _glapi_table *disp) {
- return (_glptr_WaitSync) (GET_by_offset(disp, _gloffset_WaitSync));
+static inline _glptr_WaitSync
+GET_WaitSync(struct _glapi_table *disp)
+{
+ return (_glptr_WaitSync) (GET_by_offset(disp, _gloffset_WaitSync));
}
-static inline void SET_WaitSync(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsync, GLbitfield, GLuint64)) {
- SET_by_offset(disp, _gloffset_WaitSync, fn);
+static inline void
+SET_WaitSync(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLsync, GLbitfield, GLuint64))
+{
+ SET_by_offset(disp, _gloffset_WaitSync, fn);
}
-typedef void (GLAPIENTRYP _glptr_DrawElementsBaseVertex)(GLenum, GLsizei, GLenum, const GLvoid *, GLint);
+typedef void (GLAPIENTRYP _glptr_DrawElementsBaseVertex) (GLenum, GLsizei,
+ GLenum,
+ const GLvoid *,
+ GLint);
#define CALL_DrawElementsBaseVertex(disp, parameters) \
(* GET_DrawElementsBaseVertex(disp)) parameters
-static inline _glptr_DrawElementsBaseVertex GET_DrawElementsBaseVertex(struct _glapi_table *disp) {
- return (_glptr_DrawElementsBaseVertex) (GET_by_offset(disp, _gloffset_DrawElementsBaseVertex));
-}
-
-static inline void SET_DrawElementsBaseVertex(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, GLenum, const GLvoid *, GLint)) {
- SET_by_offset(disp, _gloffset_DrawElementsBaseVertex, fn);
-}
-
-typedef void (GLAPIENTRYP _glptr_DrawElementsInstancedBaseVertex)(GLenum, GLsizei, GLenum, const GLvoid *, GLsizei, GLint);
+static inline _glptr_DrawElementsBaseVertex
+GET_DrawElementsBaseVertex(struct _glapi_table *disp)
+{
+ return (_glptr_DrawElementsBaseVertex) (GET_by_offset
+ (disp,
+ _gloffset_DrawElementsBaseVertex));
+}
+
+static inline void
+SET_DrawElementsBaseVertex(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLsizei, GLenum,
+ const GLvoid *, GLint))
+{
+ SET_by_offset(disp, _gloffset_DrawElementsBaseVertex, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_DrawElementsInstancedBaseVertex) (GLenum,
+ GLsizei,
+ GLenum,
+ const GLvoid
+ *, GLsizei,
+ GLint);
#define CALL_DrawElementsInstancedBaseVertex(disp, parameters) \
(* GET_DrawElementsInstancedBaseVertex(disp)) parameters
-static inline _glptr_DrawElementsInstancedBaseVertex GET_DrawElementsInstancedBaseVertex(struct _glapi_table *disp) {
- return (_glptr_DrawElementsInstancedBaseVertex) (GET_by_offset(disp, _gloffset_DrawElementsInstancedBaseVertex));
-}
-
-static inline void SET_DrawElementsInstancedBaseVertex(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, GLenum, const GLvoid *, GLsizei, GLint)) {
- SET_by_offset(disp, _gloffset_DrawElementsInstancedBaseVertex, fn);
-}
-
-typedef void (GLAPIENTRYP _glptr_DrawRangeElementsBaseVertex)(GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *, GLint);
+static inline _glptr_DrawElementsInstancedBaseVertex
+GET_DrawElementsInstancedBaseVertex(struct _glapi_table *disp)
+{
+ return (_glptr_DrawElementsInstancedBaseVertex) (GET_by_offset
+ (disp,
+ _gloffset_DrawElementsInstancedBaseVertex));
+}
+
+static inline void
+SET_DrawElementsInstancedBaseVertex(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLsizei,
+ GLenum,
+ const GLvoid *,
+ GLsizei, GLint))
+{
+ SET_by_offset(disp, _gloffset_DrawElementsInstancedBaseVertex, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_DrawRangeElementsBaseVertex) (GLenum, GLuint,
+ GLuint, GLsizei,
+ GLenum,
+ const GLvoid *,
+ GLint);
#define CALL_DrawRangeElementsBaseVertex(disp, parameters) \
(* GET_DrawRangeElementsBaseVertex(disp)) parameters
-static inline _glptr_DrawRangeElementsBaseVertex GET_DrawRangeElementsBaseVertex(struct _glapi_table *disp) {
- return (_glptr_DrawRangeElementsBaseVertex) (GET_by_offset(disp, _gloffset_DrawRangeElementsBaseVertex));
-}
-
-static inline void SET_DrawRangeElementsBaseVertex(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *, GLint)) {
- SET_by_offset(disp, _gloffset_DrawRangeElementsBaseVertex, fn);
-}
-
-typedef void (GLAPIENTRYP _glptr_MultiDrawElementsBaseVertex)(GLenum, const GLsizei *, GLenum, const GLvoid **, GLsizei, const GLint *);
+static inline _glptr_DrawRangeElementsBaseVertex
+GET_DrawRangeElementsBaseVertex(struct _glapi_table *disp)
+{
+ return (_glptr_DrawRangeElementsBaseVertex) (GET_by_offset
+ (disp,
+ _gloffset_DrawRangeElementsBaseVertex));
+}
+
+static inline void
+SET_DrawRangeElementsBaseVertex(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLuint, GLuint,
+ GLsizei, GLenum,
+ const GLvoid *, GLint))
+{
+ SET_by_offset(disp, _gloffset_DrawRangeElementsBaseVertex, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_MultiDrawElementsBaseVertex) (GLenum,
+ const GLsizei *,
+ GLenum,
+ const GLvoid **,
+ GLsizei,
+ const GLint *);
#define CALL_MultiDrawElementsBaseVertex(disp, parameters) \
(* GET_MultiDrawElementsBaseVertex(disp)) parameters
-static inline _glptr_MultiDrawElementsBaseVertex GET_MultiDrawElementsBaseVertex(struct _glapi_table *disp) {
- return (_glptr_MultiDrawElementsBaseVertex) (GET_by_offset(disp, _gloffset_MultiDrawElementsBaseVertex));
+static inline _glptr_MultiDrawElementsBaseVertex
+GET_MultiDrawElementsBaseVertex(struct _glapi_table *disp)
+{
+ return (_glptr_MultiDrawElementsBaseVertex) (GET_by_offset
+ (disp,
+ _gloffset_MultiDrawElementsBaseVertex));
}
-static inline void SET_MultiDrawElementsBaseVertex(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLsizei *, GLenum, const GLvoid **, GLsizei, const GLint *)) {
- SET_by_offset(disp, _gloffset_MultiDrawElementsBaseVertex, fn);
+static inline void
+SET_MultiDrawElementsBaseVertex(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, const GLsizei *,
+ GLenum, const GLvoid **,
+ GLsizei, const GLint *))
+{
+ SET_by_offset(disp, _gloffset_MultiDrawElementsBaseVertex, fn);
}
-typedef void (GLAPIENTRYP _glptr_BlendEquationSeparateiARB)(GLuint, GLenum, GLenum);
+typedef void (GLAPIENTRYP _glptr_BlendEquationSeparateiARB) (GLuint, GLenum,
+ GLenum);
#define CALL_BlendEquationSeparateiARB(disp, parameters) \
(* GET_BlendEquationSeparateiARB(disp)) parameters
-static inline _glptr_BlendEquationSeparateiARB GET_BlendEquationSeparateiARB(struct _glapi_table *disp) {
- return (_glptr_BlendEquationSeparateiARB) (GET_by_offset(disp, _gloffset_BlendEquationSeparateiARB));
+static inline _glptr_BlendEquationSeparateiARB
+GET_BlendEquationSeparateiARB(struct _glapi_table *disp)
+{
+ return (_glptr_BlendEquationSeparateiARB) (GET_by_offset
+ (disp,
+ _gloffset_BlendEquationSeparateiARB));
}
-static inline void SET_BlendEquationSeparateiARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLenum)) {
- SET_by_offset(disp, _gloffset_BlendEquationSeparateiARB, fn);
+static inline void
+SET_BlendEquationSeparateiARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLenum, GLenum))
+{
+ SET_by_offset(disp, _gloffset_BlendEquationSeparateiARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_BlendEquationiARB)(GLuint, GLenum);
+typedef void (GLAPIENTRYP _glptr_BlendEquationiARB) (GLuint, GLenum);
+
#define CALL_BlendEquationiARB(disp, parameters) \
(* GET_BlendEquationiARB(disp)) parameters
-static inline _glptr_BlendEquationiARB GET_BlendEquationiARB(struct _glapi_table *disp) {
- return (_glptr_BlendEquationiARB) (GET_by_offset(disp, _gloffset_BlendEquationiARB));
+static inline _glptr_BlendEquationiARB
+GET_BlendEquationiARB(struct _glapi_table *disp)
+{
+ return (_glptr_BlendEquationiARB) (GET_by_offset
+ (disp, _gloffset_BlendEquationiARB));
}
-static inline void SET_BlendEquationiARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum)) {
- SET_by_offset(disp, _gloffset_BlendEquationiARB, fn);
+static inline void
+SET_BlendEquationiARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLenum))
+{
+ SET_by_offset(disp, _gloffset_BlendEquationiARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_BlendFuncSeparateiARB)(GLuint, GLenum, GLenum, GLenum, GLenum);
+typedef void (GLAPIENTRYP _glptr_BlendFuncSeparateiARB) (GLuint, GLenum, GLenum,
+ GLenum, GLenum);
#define CALL_BlendFuncSeparateiARB(disp, parameters) \
(* GET_BlendFuncSeparateiARB(disp)) parameters
-static inline _glptr_BlendFuncSeparateiARB GET_BlendFuncSeparateiARB(struct _glapi_table *disp) {
- return (_glptr_BlendFuncSeparateiARB) (GET_by_offset(disp, _gloffset_BlendFuncSeparateiARB));
+static inline _glptr_BlendFuncSeparateiARB
+GET_BlendFuncSeparateiARB(struct _glapi_table *disp)
+{
+ return (_glptr_BlendFuncSeparateiARB) (GET_by_offset
+ (disp,
+ _gloffset_BlendFuncSeparateiARB));
}
-static inline void SET_BlendFuncSeparateiARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLenum, GLenum, GLenum)) {
- SET_by_offset(disp, _gloffset_BlendFuncSeparateiARB, fn);
+static inline void
+SET_BlendFuncSeparateiARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLenum, GLenum, GLenum,
+ GLenum))
+{
+ SET_by_offset(disp, _gloffset_BlendFuncSeparateiARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_BlendFunciARB)(GLuint, GLenum, GLenum);
+typedef void (GLAPIENTRYP _glptr_BlendFunciARB) (GLuint, GLenum, GLenum);
+
#define CALL_BlendFunciARB(disp, parameters) \
(* GET_BlendFunciARB(disp)) parameters
-static inline _glptr_BlendFunciARB GET_BlendFunciARB(struct _glapi_table *disp) {
- return (_glptr_BlendFunciARB) (GET_by_offset(disp, _gloffset_BlendFunciARB));
+static inline _glptr_BlendFunciARB
+GET_BlendFunciARB(struct _glapi_table *disp)
+{
+ return (_glptr_BlendFunciARB) (GET_by_offset
+ (disp, _gloffset_BlendFunciARB));
}
-static inline void SET_BlendFunciARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLenum)) {
- SET_by_offset(disp, _gloffset_BlendFunciARB, fn);
+static inline void
+SET_BlendFunciARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLenum, GLenum))
+{
+ SET_by_offset(disp, _gloffset_BlendFunciARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_BindSampler)(GLuint, GLuint);
+typedef void (GLAPIENTRYP _glptr_BindSampler) (GLuint, GLuint);
+
#define CALL_BindSampler(disp, parameters) \
(* GET_BindSampler(disp)) parameters
-static inline _glptr_BindSampler GET_BindSampler(struct _glapi_table *disp) {
- return (_glptr_BindSampler) (GET_by_offset(disp, _gloffset_BindSampler));
+static inline _glptr_BindSampler
+GET_BindSampler(struct _glapi_table *disp)
+{
+ return (_glptr_BindSampler) (GET_by_offset(disp, _gloffset_BindSampler));
}
-static inline void SET_BindSampler(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLuint)) {
- SET_by_offset(disp, _gloffset_BindSampler, fn);
+static inline void
+SET_BindSampler(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLuint))
+{
+ SET_by_offset(disp, _gloffset_BindSampler, fn);
}
-typedef void (GLAPIENTRYP _glptr_DeleteSamplers)(GLsizei, const GLuint *);
+typedef void (GLAPIENTRYP _glptr_DeleteSamplers) (GLsizei, const GLuint *);
+
#define CALL_DeleteSamplers(disp, parameters) \
(* GET_DeleteSamplers(disp)) parameters
-static inline _glptr_DeleteSamplers GET_DeleteSamplers(struct _glapi_table *disp) {
- return (_glptr_DeleteSamplers) (GET_by_offset(disp, _gloffset_DeleteSamplers));
+static inline _glptr_DeleteSamplers
+GET_DeleteSamplers(struct _glapi_table *disp)
+{
+ return (_glptr_DeleteSamplers) (GET_by_offset
+ (disp, _gloffset_DeleteSamplers));
}
-static inline void SET_DeleteSamplers(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, const GLuint *)) {
- SET_by_offset(disp, _gloffset_DeleteSamplers, fn);
+static inline void
+SET_DeleteSamplers(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLsizei, const GLuint *))
+{
+ SET_by_offset(disp, _gloffset_DeleteSamplers, fn);
}
-typedef void (GLAPIENTRYP _glptr_GenSamplers)(GLsizei, GLuint *);
+typedef void (GLAPIENTRYP _glptr_GenSamplers) (GLsizei, GLuint *);
+
#define CALL_GenSamplers(disp, parameters) \
(* GET_GenSamplers(disp)) parameters
-static inline _glptr_GenSamplers GET_GenSamplers(struct _glapi_table *disp) {
- return (_glptr_GenSamplers) (GET_by_offset(disp, _gloffset_GenSamplers));
+static inline _glptr_GenSamplers
+GET_GenSamplers(struct _glapi_table *disp)
+{
+ return (_glptr_GenSamplers) (GET_by_offset(disp, _gloffset_GenSamplers));
}
-static inline void SET_GenSamplers(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, GLuint *)) {
- SET_by_offset(disp, _gloffset_GenSamplers, fn);
+static inline void
+SET_GenSamplers(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLsizei, GLuint *))
+{
+ SET_by_offset(disp, _gloffset_GenSamplers, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetSamplerParameterIiv)(GLuint, GLenum, GLint *);
+typedef void (GLAPIENTRYP _glptr_GetSamplerParameterIiv) (GLuint, GLenum,
+ GLint *);
#define CALL_GetSamplerParameterIiv(disp, parameters) \
(* GET_GetSamplerParameterIiv(disp)) parameters
-static inline _glptr_GetSamplerParameterIiv GET_GetSamplerParameterIiv(struct _glapi_table *disp) {
- return (_glptr_GetSamplerParameterIiv) (GET_by_offset(disp, _gloffset_GetSamplerParameterIiv));
+static inline _glptr_GetSamplerParameterIiv
+GET_GetSamplerParameterIiv(struct _glapi_table *disp)
+{
+ return (_glptr_GetSamplerParameterIiv) (GET_by_offset
+ (disp,
+ _gloffset_GetSamplerParameterIiv));
}
-static inline void SET_GetSamplerParameterIiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLint *)) {
- SET_by_offset(disp, _gloffset_GetSamplerParameterIiv, fn);
+static inline void
+SET_GetSamplerParameterIiv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLenum, GLint *))
+{
+ SET_by_offset(disp, _gloffset_GetSamplerParameterIiv, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetSamplerParameterIuiv)(GLuint, GLenum, GLuint *);
+typedef void (GLAPIENTRYP _glptr_GetSamplerParameterIuiv) (GLuint, GLenum,
+ GLuint *);
#define CALL_GetSamplerParameterIuiv(disp, parameters) \
(* GET_GetSamplerParameterIuiv(disp)) parameters
-static inline _glptr_GetSamplerParameterIuiv GET_GetSamplerParameterIuiv(struct _glapi_table *disp) {
- return (_glptr_GetSamplerParameterIuiv) (GET_by_offset(disp, _gloffset_GetSamplerParameterIuiv));
+static inline _glptr_GetSamplerParameterIuiv
+GET_GetSamplerParameterIuiv(struct _glapi_table *disp)
+{
+ return (_glptr_GetSamplerParameterIuiv) (GET_by_offset
+ (disp,
+ _gloffset_GetSamplerParameterIuiv));
}
-static inline void SET_GetSamplerParameterIuiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLuint *)) {
- SET_by_offset(disp, _gloffset_GetSamplerParameterIuiv, fn);
+static inline void
+SET_GetSamplerParameterIuiv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLenum, GLuint *))
+{
+ SET_by_offset(disp, _gloffset_GetSamplerParameterIuiv, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetSamplerParameterfv)(GLuint, GLenum, GLfloat *);
+typedef void (GLAPIENTRYP _glptr_GetSamplerParameterfv) (GLuint, GLenum,
+ GLfloat *);
#define CALL_GetSamplerParameterfv(disp, parameters) \
(* GET_GetSamplerParameterfv(disp)) parameters
-static inline _glptr_GetSamplerParameterfv GET_GetSamplerParameterfv(struct _glapi_table *disp) {
- return (_glptr_GetSamplerParameterfv) (GET_by_offset(disp, _gloffset_GetSamplerParameterfv));
+static inline _glptr_GetSamplerParameterfv
+GET_GetSamplerParameterfv(struct _glapi_table *disp)
+{
+ return (_glptr_GetSamplerParameterfv) (GET_by_offset
+ (disp,
+ _gloffset_GetSamplerParameterfv));
}
-static inline void SET_GetSamplerParameterfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLfloat *)) {
- SET_by_offset(disp, _gloffset_GetSamplerParameterfv, fn);
+static inline void
+SET_GetSamplerParameterfv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLenum, GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_GetSamplerParameterfv, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetSamplerParameteriv)(GLuint, GLenum, GLint *);
+typedef void (GLAPIENTRYP _glptr_GetSamplerParameteriv) (GLuint, GLenum,
+ GLint *);
#define CALL_GetSamplerParameteriv(disp, parameters) \
(* GET_GetSamplerParameteriv(disp)) parameters
-static inline _glptr_GetSamplerParameteriv GET_GetSamplerParameteriv(struct _glapi_table *disp) {
- return (_glptr_GetSamplerParameteriv) (GET_by_offset(disp, _gloffset_GetSamplerParameteriv));
+static inline _glptr_GetSamplerParameteriv
+GET_GetSamplerParameteriv(struct _glapi_table *disp)
+{
+ return (_glptr_GetSamplerParameteriv) (GET_by_offset
+ (disp,
+ _gloffset_GetSamplerParameteriv));
}
-static inline void SET_GetSamplerParameteriv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLint *)) {
- SET_by_offset(disp, _gloffset_GetSamplerParameteriv, fn);
+static inline void
+SET_GetSamplerParameteriv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLenum, GLint *))
+{
+ SET_by_offset(disp, _gloffset_GetSamplerParameteriv, fn);
}
-typedef GLboolean (GLAPIENTRYP _glptr_IsSampler)(GLuint);
+typedef GLboolean(GLAPIENTRYP _glptr_IsSampler) (GLuint);
+
#define CALL_IsSampler(disp, parameters) \
(* GET_IsSampler(disp)) parameters
-static inline _glptr_IsSampler GET_IsSampler(struct _glapi_table *disp) {
- return (_glptr_IsSampler) (GET_by_offset(disp, _gloffset_IsSampler));
+static inline _glptr_IsSampler
+GET_IsSampler(struct _glapi_table *disp)
+{
+ return (_glptr_IsSampler) (GET_by_offset(disp, _gloffset_IsSampler));
}
-static inline void SET_IsSampler(struct _glapi_table *disp, GLboolean (GLAPIENTRYP fn)(GLuint)) {
- SET_by_offset(disp, _gloffset_IsSampler, fn);
+static inline void
+SET_IsSampler(struct _glapi_table *disp, GLboolean(GLAPIENTRYP fn) (GLuint))
+{
+ SET_by_offset(disp, _gloffset_IsSampler, fn);
}
-typedef void (GLAPIENTRYP _glptr_SamplerParameterIiv)(GLuint, GLenum, const GLint *);
+typedef void (GLAPIENTRYP _glptr_SamplerParameterIiv) (GLuint, GLenum,
+ const GLint *);
#define CALL_SamplerParameterIiv(disp, parameters) \
(* GET_SamplerParameterIiv(disp)) parameters
-static inline _glptr_SamplerParameterIiv GET_SamplerParameterIiv(struct _glapi_table *disp) {
- return (_glptr_SamplerParameterIiv) (GET_by_offset(disp, _gloffset_SamplerParameterIiv));
+static inline _glptr_SamplerParameterIiv
+GET_SamplerParameterIiv(struct _glapi_table *disp)
+{
+ return (_glptr_SamplerParameterIiv) (GET_by_offset
+ (disp, _gloffset_SamplerParameterIiv));
}
-static inline void SET_SamplerParameterIiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, const GLint *)) {
- SET_by_offset(disp, _gloffset_SamplerParameterIiv, fn);
+static inline void
+SET_SamplerParameterIiv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLenum, const GLint *))
+{
+ SET_by_offset(disp, _gloffset_SamplerParameterIiv, fn);
}
-typedef void (GLAPIENTRYP _glptr_SamplerParameterIuiv)(GLuint, GLenum, const GLuint *);
+typedef void (GLAPIENTRYP _glptr_SamplerParameterIuiv) (GLuint, GLenum,
+ const GLuint *);
#define CALL_SamplerParameterIuiv(disp, parameters) \
(* GET_SamplerParameterIuiv(disp)) parameters
-static inline _glptr_SamplerParameterIuiv GET_SamplerParameterIuiv(struct _glapi_table *disp) {
- return (_glptr_SamplerParameterIuiv) (GET_by_offset(disp, _gloffset_SamplerParameterIuiv));
+static inline _glptr_SamplerParameterIuiv
+GET_SamplerParameterIuiv(struct _glapi_table *disp)
+{
+ return (_glptr_SamplerParameterIuiv) (GET_by_offset
+ (disp,
+ _gloffset_SamplerParameterIuiv));
}
-static inline void SET_SamplerParameterIuiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, const GLuint *)) {
- SET_by_offset(disp, _gloffset_SamplerParameterIuiv, fn);
+static inline void
+SET_SamplerParameterIuiv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLenum, const GLuint *))
+{
+ SET_by_offset(disp, _gloffset_SamplerParameterIuiv, fn);
}
-typedef void (GLAPIENTRYP _glptr_SamplerParameterf)(GLuint, GLenum, GLfloat);
+typedef void (GLAPIENTRYP _glptr_SamplerParameterf) (GLuint, GLenum, GLfloat);
+
#define CALL_SamplerParameterf(disp, parameters) \
(* GET_SamplerParameterf(disp)) parameters
-static inline _glptr_SamplerParameterf GET_SamplerParameterf(struct _glapi_table *disp) {
- return (_glptr_SamplerParameterf) (GET_by_offset(disp, _gloffset_SamplerParameterf));
+static inline _glptr_SamplerParameterf
+GET_SamplerParameterf(struct _glapi_table *disp)
+{
+ return (_glptr_SamplerParameterf) (GET_by_offset
+ (disp, _gloffset_SamplerParameterf));
}
-static inline void SET_SamplerParameterf(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLfloat)) {
- SET_by_offset(disp, _gloffset_SamplerParameterf, fn);
+static inline void
+SET_SamplerParameterf(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLenum, GLfloat))
+{
+ SET_by_offset(disp, _gloffset_SamplerParameterf, fn);
}
-typedef void (GLAPIENTRYP _glptr_SamplerParameterfv)(GLuint, GLenum, const GLfloat *);
+typedef void (GLAPIENTRYP _glptr_SamplerParameterfv) (GLuint, GLenum,
+ const GLfloat *);
#define CALL_SamplerParameterfv(disp, parameters) \
(* GET_SamplerParameterfv(disp)) parameters
-static inline _glptr_SamplerParameterfv GET_SamplerParameterfv(struct _glapi_table *disp) {
- return (_glptr_SamplerParameterfv) (GET_by_offset(disp, _gloffset_SamplerParameterfv));
+static inline _glptr_SamplerParameterfv
+GET_SamplerParameterfv(struct _glapi_table *disp)
+{
+ return (_glptr_SamplerParameterfv) (GET_by_offset
+ (disp, _gloffset_SamplerParameterfv));
}
-static inline void SET_SamplerParameterfv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, const GLfloat *)) {
- SET_by_offset(disp, _gloffset_SamplerParameterfv, fn);
+static inline void
+SET_SamplerParameterfv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLenum, const GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_SamplerParameterfv, fn);
}
-typedef void (GLAPIENTRYP _glptr_SamplerParameteri)(GLuint, GLenum, GLint);
+typedef void (GLAPIENTRYP _glptr_SamplerParameteri) (GLuint, GLenum, GLint);
+
#define CALL_SamplerParameteri(disp, parameters) \
(* GET_SamplerParameteri(disp)) parameters
-static inline _glptr_SamplerParameteri GET_SamplerParameteri(struct _glapi_table *disp) {
- return (_glptr_SamplerParameteri) (GET_by_offset(disp, _gloffset_SamplerParameteri));
+static inline _glptr_SamplerParameteri
+GET_SamplerParameteri(struct _glapi_table *disp)
+{
+ return (_glptr_SamplerParameteri) (GET_by_offset
+ (disp, _gloffset_SamplerParameteri));
}
-static inline void SET_SamplerParameteri(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLint)) {
- SET_by_offset(disp, _gloffset_SamplerParameteri, fn);
+static inline void
+SET_SamplerParameteri(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLenum, GLint))
+{
+ SET_by_offset(disp, _gloffset_SamplerParameteri, fn);
}
-typedef void (GLAPIENTRYP _glptr_SamplerParameteriv)(GLuint, GLenum, const GLint *);
+typedef void (GLAPIENTRYP _glptr_SamplerParameteriv) (GLuint, GLenum,
+ const GLint *);
#define CALL_SamplerParameteriv(disp, parameters) \
(* GET_SamplerParameteriv(disp)) parameters
-static inline _glptr_SamplerParameteriv GET_SamplerParameteriv(struct _glapi_table *disp) {
- return (_glptr_SamplerParameteriv) (GET_by_offset(disp, _gloffset_SamplerParameteriv));
+static inline _glptr_SamplerParameteriv
+GET_SamplerParameteriv(struct _glapi_table *disp)
+{
+ return (_glptr_SamplerParameteriv) (GET_by_offset
+ (disp, _gloffset_SamplerParameteriv));
}
-static inline void SET_SamplerParameteriv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, const GLint *)) {
- SET_by_offset(disp, _gloffset_SamplerParameteriv, fn);
+static inline void
+SET_SamplerParameteriv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLenum, const GLint *))
+{
+ SET_by_offset(disp, _gloffset_SamplerParameteriv, fn);
}
-typedef void (GLAPIENTRYP _glptr_ColorP3ui)(GLenum, GLuint);
+typedef void (GLAPIENTRYP _glptr_ColorP3ui) (GLenum, GLuint);
+
#define CALL_ColorP3ui(disp, parameters) \
(* GET_ColorP3ui(disp)) parameters
-static inline _glptr_ColorP3ui GET_ColorP3ui(struct _glapi_table *disp) {
- return (_glptr_ColorP3ui) (GET_by_offset(disp, _gloffset_ColorP3ui));
+static inline _glptr_ColorP3ui
+GET_ColorP3ui(struct _glapi_table *disp)
+{
+ return (_glptr_ColorP3ui) (GET_by_offset(disp, _gloffset_ColorP3ui));
}
-static inline void SET_ColorP3ui(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint)) {
- SET_by_offset(disp, _gloffset_ColorP3ui, fn);
+static inline void
+SET_ColorP3ui(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLenum, GLuint))
+{
+ SET_by_offset(disp, _gloffset_ColorP3ui, fn);
}
-typedef void (GLAPIENTRYP _glptr_ColorP3uiv)(GLenum, const GLuint *);
+typedef void (GLAPIENTRYP _glptr_ColorP3uiv) (GLenum, const GLuint *);
+
#define CALL_ColorP3uiv(disp, parameters) \
(* GET_ColorP3uiv(disp)) parameters
-static inline _glptr_ColorP3uiv GET_ColorP3uiv(struct _glapi_table *disp) {
- return (_glptr_ColorP3uiv) (GET_by_offset(disp, _gloffset_ColorP3uiv));
+static inline _glptr_ColorP3uiv
+GET_ColorP3uiv(struct _glapi_table *disp)
+{
+ return (_glptr_ColorP3uiv) (GET_by_offset(disp, _gloffset_ColorP3uiv));
}
-static inline void SET_ColorP3uiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLuint *)) {
- SET_by_offset(disp, _gloffset_ColorP3uiv, fn);
+static inline void
+SET_ColorP3uiv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, const GLuint *))
+{
+ SET_by_offset(disp, _gloffset_ColorP3uiv, fn);
}
-typedef void (GLAPIENTRYP _glptr_ColorP4ui)(GLenum, GLuint);
+typedef void (GLAPIENTRYP _glptr_ColorP4ui) (GLenum, GLuint);
+
#define CALL_ColorP4ui(disp, parameters) \
(* GET_ColorP4ui(disp)) parameters
-static inline _glptr_ColorP4ui GET_ColorP4ui(struct _glapi_table *disp) {
- return (_glptr_ColorP4ui) (GET_by_offset(disp, _gloffset_ColorP4ui));
+static inline _glptr_ColorP4ui
+GET_ColorP4ui(struct _glapi_table *disp)
+{
+ return (_glptr_ColorP4ui) (GET_by_offset(disp, _gloffset_ColorP4ui));
}
-static inline void SET_ColorP4ui(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint)) {
- SET_by_offset(disp, _gloffset_ColorP4ui, fn);
+static inline void
+SET_ColorP4ui(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLenum, GLuint))
+{
+ SET_by_offset(disp, _gloffset_ColorP4ui, fn);
}
-typedef void (GLAPIENTRYP _glptr_ColorP4uiv)(GLenum, const GLuint *);
+typedef void (GLAPIENTRYP _glptr_ColorP4uiv) (GLenum, const GLuint *);
+
#define CALL_ColorP4uiv(disp, parameters) \
(* GET_ColorP4uiv(disp)) parameters
-static inline _glptr_ColorP4uiv GET_ColorP4uiv(struct _glapi_table *disp) {
- return (_glptr_ColorP4uiv) (GET_by_offset(disp, _gloffset_ColorP4uiv));
+static inline _glptr_ColorP4uiv
+GET_ColorP4uiv(struct _glapi_table *disp)
+{
+ return (_glptr_ColorP4uiv) (GET_by_offset(disp, _gloffset_ColorP4uiv));
}
-static inline void SET_ColorP4uiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLuint *)) {
- SET_by_offset(disp, _gloffset_ColorP4uiv, fn);
+static inline void
+SET_ColorP4uiv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, const GLuint *))
+{
+ SET_by_offset(disp, _gloffset_ColorP4uiv, fn);
}
-typedef void (GLAPIENTRYP _glptr_MultiTexCoordP1ui)(GLenum, GLenum, GLuint);
+typedef void (GLAPIENTRYP _glptr_MultiTexCoordP1ui) (GLenum, GLenum, GLuint);
+
#define CALL_MultiTexCoordP1ui(disp, parameters) \
(* GET_MultiTexCoordP1ui(disp)) parameters
-static inline _glptr_MultiTexCoordP1ui GET_MultiTexCoordP1ui(struct _glapi_table *disp) {
- return (_glptr_MultiTexCoordP1ui) (GET_by_offset(disp, _gloffset_MultiTexCoordP1ui));
+static inline _glptr_MultiTexCoordP1ui
+GET_MultiTexCoordP1ui(struct _glapi_table *disp)
+{
+ return (_glptr_MultiTexCoordP1ui) (GET_by_offset
+ (disp, _gloffset_MultiTexCoordP1ui));
}
-static inline void SET_MultiTexCoordP1ui(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLuint)) {
- SET_by_offset(disp, _gloffset_MultiTexCoordP1ui, fn);
+static inline void
+SET_MultiTexCoordP1ui(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, GLuint))
+{
+ SET_by_offset(disp, _gloffset_MultiTexCoordP1ui, fn);
}
-typedef void (GLAPIENTRYP _glptr_MultiTexCoordP1uiv)(GLenum, GLenum, const GLuint *);
+typedef void (GLAPIENTRYP _glptr_MultiTexCoordP1uiv) (GLenum, GLenum,
+ const GLuint *);
#define CALL_MultiTexCoordP1uiv(disp, parameters) \
(* GET_MultiTexCoordP1uiv(disp)) parameters
-static inline _glptr_MultiTexCoordP1uiv GET_MultiTexCoordP1uiv(struct _glapi_table *disp) {
- return (_glptr_MultiTexCoordP1uiv) (GET_by_offset(disp, _gloffset_MultiTexCoordP1uiv));
+static inline _glptr_MultiTexCoordP1uiv
+GET_MultiTexCoordP1uiv(struct _glapi_table *disp)
+{
+ return (_glptr_MultiTexCoordP1uiv) (GET_by_offset
+ (disp, _gloffset_MultiTexCoordP1uiv));
}
-static inline void SET_MultiTexCoordP1uiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLuint *)) {
- SET_by_offset(disp, _gloffset_MultiTexCoordP1uiv, fn);
+static inline void
+SET_MultiTexCoordP1uiv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, const GLuint *))
+{
+ SET_by_offset(disp, _gloffset_MultiTexCoordP1uiv, fn);
}
-typedef void (GLAPIENTRYP _glptr_MultiTexCoordP2ui)(GLenum, GLenum, GLuint);
+typedef void (GLAPIENTRYP _glptr_MultiTexCoordP2ui) (GLenum, GLenum, GLuint);
+
#define CALL_MultiTexCoordP2ui(disp, parameters) \
(* GET_MultiTexCoordP2ui(disp)) parameters
-static inline _glptr_MultiTexCoordP2ui GET_MultiTexCoordP2ui(struct _glapi_table *disp) {
- return (_glptr_MultiTexCoordP2ui) (GET_by_offset(disp, _gloffset_MultiTexCoordP2ui));
+static inline _glptr_MultiTexCoordP2ui
+GET_MultiTexCoordP2ui(struct _glapi_table *disp)
+{
+ return (_glptr_MultiTexCoordP2ui) (GET_by_offset
+ (disp, _gloffset_MultiTexCoordP2ui));
}
-static inline void SET_MultiTexCoordP2ui(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLuint)) {
- SET_by_offset(disp, _gloffset_MultiTexCoordP2ui, fn);
+static inline void
+SET_MultiTexCoordP2ui(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, GLuint))
+{
+ SET_by_offset(disp, _gloffset_MultiTexCoordP2ui, fn);
}
-typedef void (GLAPIENTRYP _glptr_MultiTexCoordP2uiv)(GLenum, GLenum, const GLuint *);
+typedef void (GLAPIENTRYP _glptr_MultiTexCoordP2uiv) (GLenum, GLenum,
+ const GLuint *);
#define CALL_MultiTexCoordP2uiv(disp, parameters) \
(* GET_MultiTexCoordP2uiv(disp)) parameters
-static inline _glptr_MultiTexCoordP2uiv GET_MultiTexCoordP2uiv(struct _glapi_table *disp) {
- return (_glptr_MultiTexCoordP2uiv) (GET_by_offset(disp, _gloffset_MultiTexCoordP2uiv));
+static inline _glptr_MultiTexCoordP2uiv
+GET_MultiTexCoordP2uiv(struct _glapi_table *disp)
+{
+ return (_glptr_MultiTexCoordP2uiv) (GET_by_offset
+ (disp, _gloffset_MultiTexCoordP2uiv));
}
-static inline void SET_MultiTexCoordP2uiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLuint *)) {
- SET_by_offset(disp, _gloffset_MultiTexCoordP2uiv, fn);
+static inline void
+SET_MultiTexCoordP2uiv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, const GLuint *))
+{
+ SET_by_offset(disp, _gloffset_MultiTexCoordP2uiv, fn);
}
-typedef void (GLAPIENTRYP _glptr_MultiTexCoordP3ui)(GLenum, GLenum, GLuint);
+typedef void (GLAPIENTRYP _glptr_MultiTexCoordP3ui) (GLenum, GLenum, GLuint);
+
#define CALL_MultiTexCoordP3ui(disp, parameters) \
(* GET_MultiTexCoordP3ui(disp)) parameters
-static inline _glptr_MultiTexCoordP3ui GET_MultiTexCoordP3ui(struct _glapi_table *disp) {
- return (_glptr_MultiTexCoordP3ui) (GET_by_offset(disp, _gloffset_MultiTexCoordP3ui));
+static inline _glptr_MultiTexCoordP3ui
+GET_MultiTexCoordP3ui(struct _glapi_table *disp)
+{
+ return (_glptr_MultiTexCoordP3ui) (GET_by_offset
+ (disp, _gloffset_MultiTexCoordP3ui));
}
-static inline void SET_MultiTexCoordP3ui(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLuint)) {
- SET_by_offset(disp, _gloffset_MultiTexCoordP3ui, fn);
+static inline void
+SET_MultiTexCoordP3ui(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, GLuint))
+{
+ SET_by_offset(disp, _gloffset_MultiTexCoordP3ui, fn);
}
-typedef void (GLAPIENTRYP _glptr_MultiTexCoordP3uiv)(GLenum, GLenum, const GLuint *);
+typedef void (GLAPIENTRYP _glptr_MultiTexCoordP3uiv) (GLenum, GLenum,
+ const GLuint *);
#define CALL_MultiTexCoordP3uiv(disp, parameters) \
(* GET_MultiTexCoordP3uiv(disp)) parameters
-static inline _glptr_MultiTexCoordP3uiv GET_MultiTexCoordP3uiv(struct _glapi_table *disp) {
- return (_glptr_MultiTexCoordP3uiv) (GET_by_offset(disp, _gloffset_MultiTexCoordP3uiv));
+static inline _glptr_MultiTexCoordP3uiv
+GET_MultiTexCoordP3uiv(struct _glapi_table *disp)
+{
+ return (_glptr_MultiTexCoordP3uiv) (GET_by_offset
+ (disp, _gloffset_MultiTexCoordP3uiv));
}
-static inline void SET_MultiTexCoordP3uiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLuint *)) {
- SET_by_offset(disp, _gloffset_MultiTexCoordP3uiv, fn);
+static inline void
+SET_MultiTexCoordP3uiv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, const GLuint *))
+{
+ SET_by_offset(disp, _gloffset_MultiTexCoordP3uiv, fn);
}
-typedef void (GLAPIENTRYP _glptr_MultiTexCoordP4ui)(GLenum, GLenum, GLuint);
+typedef void (GLAPIENTRYP _glptr_MultiTexCoordP4ui) (GLenum, GLenum, GLuint);
+
#define CALL_MultiTexCoordP4ui(disp, parameters) \
(* GET_MultiTexCoordP4ui(disp)) parameters
-static inline _glptr_MultiTexCoordP4ui GET_MultiTexCoordP4ui(struct _glapi_table *disp) {
- return (_glptr_MultiTexCoordP4ui) (GET_by_offset(disp, _gloffset_MultiTexCoordP4ui));
+static inline _glptr_MultiTexCoordP4ui
+GET_MultiTexCoordP4ui(struct _glapi_table *disp)
+{
+ return (_glptr_MultiTexCoordP4ui) (GET_by_offset
+ (disp, _gloffset_MultiTexCoordP4ui));
}
-static inline void SET_MultiTexCoordP4ui(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLuint)) {
- SET_by_offset(disp, _gloffset_MultiTexCoordP4ui, fn);
+static inline void
+SET_MultiTexCoordP4ui(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, GLuint))
+{
+ SET_by_offset(disp, _gloffset_MultiTexCoordP4ui, fn);
}
-typedef void (GLAPIENTRYP _glptr_MultiTexCoordP4uiv)(GLenum, GLenum, const GLuint *);
+typedef void (GLAPIENTRYP _glptr_MultiTexCoordP4uiv) (GLenum, GLenum,
+ const GLuint *);
#define CALL_MultiTexCoordP4uiv(disp, parameters) \
(* GET_MultiTexCoordP4uiv(disp)) parameters
-static inline _glptr_MultiTexCoordP4uiv GET_MultiTexCoordP4uiv(struct _glapi_table *disp) {
- return (_glptr_MultiTexCoordP4uiv) (GET_by_offset(disp, _gloffset_MultiTexCoordP4uiv));
+static inline _glptr_MultiTexCoordP4uiv
+GET_MultiTexCoordP4uiv(struct _glapi_table *disp)
+{
+ return (_glptr_MultiTexCoordP4uiv) (GET_by_offset
+ (disp, _gloffset_MultiTexCoordP4uiv));
}
-static inline void SET_MultiTexCoordP4uiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLuint *)) {
- SET_by_offset(disp, _gloffset_MultiTexCoordP4uiv, fn);
+static inline void
+SET_MultiTexCoordP4uiv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, const GLuint *))
+{
+ SET_by_offset(disp, _gloffset_MultiTexCoordP4uiv, fn);
}
-typedef void (GLAPIENTRYP _glptr_NormalP3ui)(GLenum, GLuint);
+typedef void (GLAPIENTRYP _glptr_NormalP3ui) (GLenum, GLuint);
+
#define CALL_NormalP3ui(disp, parameters) \
(* GET_NormalP3ui(disp)) parameters
-static inline _glptr_NormalP3ui GET_NormalP3ui(struct _glapi_table *disp) {
- return (_glptr_NormalP3ui) (GET_by_offset(disp, _gloffset_NormalP3ui));
+static inline _glptr_NormalP3ui
+GET_NormalP3ui(struct _glapi_table *disp)
+{
+ return (_glptr_NormalP3ui) (GET_by_offset(disp, _gloffset_NormalP3ui));
}
-static inline void SET_NormalP3ui(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint)) {
- SET_by_offset(disp, _gloffset_NormalP3ui, fn);
+static inline void
+SET_NormalP3ui(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLuint))
+{
+ SET_by_offset(disp, _gloffset_NormalP3ui, fn);
}
-typedef void (GLAPIENTRYP _glptr_NormalP3uiv)(GLenum, const GLuint *);
+typedef void (GLAPIENTRYP _glptr_NormalP3uiv) (GLenum, const GLuint *);
+
#define CALL_NormalP3uiv(disp, parameters) \
(* GET_NormalP3uiv(disp)) parameters
-static inline _glptr_NormalP3uiv GET_NormalP3uiv(struct _glapi_table *disp) {
- return (_glptr_NormalP3uiv) (GET_by_offset(disp, _gloffset_NormalP3uiv));
+static inline _glptr_NormalP3uiv
+GET_NormalP3uiv(struct _glapi_table *disp)
+{
+ return (_glptr_NormalP3uiv) (GET_by_offset(disp, _gloffset_NormalP3uiv));
}
-static inline void SET_NormalP3uiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLuint *)) {
- SET_by_offset(disp, _gloffset_NormalP3uiv, fn);
+static inline void
+SET_NormalP3uiv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, const GLuint *))
+{
+ SET_by_offset(disp, _gloffset_NormalP3uiv, fn);
}
-typedef void (GLAPIENTRYP _glptr_SecondaryColorP3ui)(GLenum, GLuint);
+typedef void (GLAPIENTRYP _glptr_SecondaryColorP3ui) (GLenum, GLuint);
+
#define CALL_SecondaryColorP3ui(disp, parameters) \
(* GET_SecondaryColorP3ui(disp)) parameters
-static inline _glptr_SecondaryColorP3ui GET_SecondaryColorP3ui(struct _glapi_table *disp) {
- return (_glptr_SecondaryColorP3ui) (GET_by_offset(disp, _gloffset_SecondaryColorP3ui));
+static inline _glptr_SecondaryColorP3ui
+GET_SecondaryColorP3ui(struct _glapi_table *disp)
+{
+ return (_glptr_SecondaryColorP3ui) (GET_by_offset
+ (disp, _gloffset_SecondaryColorP3ui));
}
-static inline void SET_SecondaryColorP3ui(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint)) {
- SET_by_offset(disp, _gloffset_SecondaryColorP3ui, fn);
+static inline void
+SET_SecondaryColorP3ui(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLuint))
+{
+ SET_by_offset(disp, _gloffset_SecondaryColorP3ui, fn);
}
-typedef void (GLAPIENTRYP _glptr_SecondaryColorP3uiv)(GLenum, const GLuint *);
+typedef void (GLAPIENTRYP _glptr_SecondaryColorP3uiv) (GLenum, const GLuint *);
+
#define CALL_SecondaryColorP3uiv(disp, parameters) \
(* GET_SecondaryColorP3uiv(disp)) parameters
-static inline _glptr_SecondaryColorP3uiv GET_SecondaryColorP3uiv(struct _glapi_table *disp) {
- return (_glptr_SecondaryColorP3uiv) (GET_by_offset(disp, _gloffset_SecondaryColorP3uiv));
+static inline _glptr_SecondaryColorP3uiv
+GET_SecondaryColorP3uiv(struct _glapi_table *disp)
+{
+ return (_glptr_SecondaryColorP3uiv) (GET_by_offset
+ (disp, _gloffset_SecondaryColorP3uiv));
}
-static inline void SET_SecondaryColorP3uiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLuint *)) {
- SET_by_offset(disp, _gloffset_SecondaryColorP3uiv, fn);
+static inline void
+SET_SecondaryColorP3uiv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, const GLuint *))
+{
+ SET_by_offset(disp, _gloffset_SecondaryColorP3uiv, fn);
}
-typedef void (GLAPIENTRYP _glptr_TexCoordP1ui)(GLenum, GLuint);
+typedef void (GLAPIENTRYP _glptr_TexCoordP1ui) (GLenum, GLuint);
+
#define CALL_TexCoordP1ui(disp, parameters) \
(* GET_TexCoordP1ui(disp)) parameters
-static inline _glptr_TexCoordP1ui GET_TexCoordP1ui(struct _glapi_table *disp) {
- return (_glptr_TexCoordP1ui) (GET_by_offset(disp, _gloffset_TexCoordP1ui));
+static inline _glptr_TexCoordP1ui
+GET_TexCoordP1ui(struct _glapi_table *disp)
+{
+ return (_glptr_TexCoordP1ui) (GET_by_offset(disp, _gloffset_TexCoordP1ui));
}
-static inline void SET_TexCoordP1ui(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint)) {
- SET_by_offset(disp, _gloffset_TexCoordP1ui, fn);
+static inline void
+SET_TexCoordP1ui(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLuint))
+{
+ SET_by_offset(disp, _gloffset_TexCoordP1ui, fn);
}
-typedef void (GLAPIENTRYP _glptr_TexCoordP1uiv)(GLenum, const GLuint *);
+typedef void (GLAPIENTRYP _glptr_TexCoordP1uiv) (GLenum, const GLuint *);
+
#define CALL_TexCoordP1uiv(disp, parameters) \
(* GET_TexCoordP1uiv(disp)) parameters
-static inline _glptr_TexCoordP1uiv GET_TexCoordP1uiv(struct _glapi_table *disp) {
- return (_glptr_TexCoordP1uiv) (GET_by_offset(disp, _gloffset_TexCoordP1uiv));
+static inline _glptr_TexCoordP1uiv
+GET_TexCoordP1uiv(struct _glapi_table *disp)
+{
+ return (_glptr_TexCoordP1uiv) (GET_by_offset
+ (disp, _gloffset_TexCoordP1uiv));
}
-static inline void SET_TexCoordP1uiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLuint *)) {
- SET_by_offset(disp, _gloffset_TexCoordP1uiv, fn);
+static inline void
+SET_TexCoordP1uiv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, const GLuint *))
+{
+ SET_by_offset(disp, _gloffset_TexCoordP1uiv, fn);
}
-typedef void (GLAPIENTRYP _glptr_TexCoordP2ui)(GLenum, GLuint);
+typedef void (GLAPIENTRYP _glptr_TexCoordP2ui) (GLenum, GLuint);
+
#define CALL_TexCoordP2ui(disp, parameters) \
(* GET_TexCoordP2ui(disp)) parameters
-static inline _glptr_TexCoordP2ui GET_TexCoordP2ui(struct _glapi_table *disp) {
- return (_glptr_TexCoordP2ui) (GET_by_offset(disp, _gloffset_TexCoordP2ui));
+static inline _glptr_TexCoordP2ui
+GET_TexCoordP2ui(struct _glapi_table *disp)
+{
+ return (_glptr_TexCoordP2ui) (GET_by_offset(disp, _gloffset_TexCoordP2ui));
}
-static inline void SET_TexCoordP2ui(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint)) {
- SET_by_offset(disp, _gloffset_TexCoordP2ui, fn);
+static inline void
+SET_TexCoordP2ui(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLuint))
+{
+ SET_by_offset(disp, _gloffset_TexCoordP2ui, fn);
}
-typedef void (GLAPIENTRYP _glptr_TexCoordP2uiv)(GLenum, const GLuint *);
+typedef void (GLAPIENTRYP _glptr_TexCoordP2uiv) (GLenum, const GLuint *);
+
#define CALL_TexCoordP2uiv(disp, parameters) \
(* GET_TexCoordP2uiv(disp)) parameters
-static inline _glptr_TexCoordP2uiv GET_TexCoordP2uiv(struct _glapi_table *disp) {
- return (_glptr_TexCoordP2uiv) (GET_by_offset(disp, _gloffset_TexCoordP2uiv));
+static inline _glptr_TexCoordP2uiv
+GET_TexCoordP2uiv(struct _glapi_table *disp)
+{
+ return (_glptr_TexCoordP2uiv) (GET_by_offset
+ (disp, _gloffset_TexCoordP2uiv));
}
-static inline void SET_TexCoordP2uiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLuint *)) {
- SET_by_offset(disp, _gloffset_TexCoordP2uiv, fn);
+static inline void
+SET_TexCoordP2uiv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, const GLuint *))
+{
+ SET_by_offset(disp, _gloffset_TexCoordP2uiv, fn);
}
-typedef void (GLAPIENTRYP _glptr_TexCoordP3ui)(GLenum, GLuint);
+typedef void (GLAPIENTRYP _glptr_TexCoordP3ui) (GLenum, GLuint);
+
#define CALL_TexCoordP3ui(disp, parameters) \
(* GET_TexCoordP3ui(disp)) parameters
-static inline _glptr_TexCoordP3ui GET_TexCoordP3ui(struct _glapi_table *disp) {
- return (_glptr_TexCoordP3ui) (GET_by_offset(disp, _gloffset_TexCoordP3ui));
+static inline _glptr_TexCoordP3ui
+GET_TexCoordP3ui(struct _glapi_table *disp)
+{
+ return (_glptr_TexCoordP3ui) (GET_by_offset(disp, _gloffset_TexCoordP3ui));
}
-static inline void SET_TexCoordP3ui(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint)) {
- SET_by_offset(disp, _gloffset_TexCoordP3ui, fn);
+static inline void
+SET_TexCoordP3ui(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLuint))
+{
+ SET_by_offset(disp, _gloffset_TexCoordP3ui, fn);
}
-typedef void (GLAPIENTRYP _glptr_TexCoordP3uiv)(GLenum, const GLuint *);
+typedef void (GLAPIENTRYP _glptr_TexCoordP3uiv) (GLenum, const GLuint *);
+
#define CALL_TexCoordP3uiv(disp, parameters) \
(* GET_TexCoordP3uiv(disp)) parameters
-static inline _glptr_TexCoordP3uiv GET_TexCoordP3uiv(struct _glapi_table *disp) {
- return (_glptr_TexCoordP3uiv) (GET_by_offset(disp, _gloffset_TexCoordP3uiv));
+static inline _glptr_TexCoordP3uiv
+GET_TexCoordP3uiv(struct _glapi_table *disp)
+{
+ return (_glptr_TexCoordP3uiv) (GET_by_offset
+ (disp, _gloffset_TexCoordP3uiv));
}
-static inline void SET_TexCoordP3uiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLuint *)) {
- SET_by_offset(disp, _gloffset_TexCoordP3uiv, fn);
+static inline void
+SET_TexCoordP3uiv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, const GLuint *))
+{
+ SET_by_offset(disp, _gloffset_TexCoordP3uiv, fn);
}
-typedef void (GLAPIENTRYP _glptr_TexCoordP4ui)(GLenum, GLuint);
+typedef void (GLAPIENTRYP _glptr_TexCoordP4ui) (GLenum, GLuint);
+
#define CALL_TexCoordP4ui(disp, parameters) \
(* GET_TexCoordP4ui(disp)) parameters
-static inline _glptr_TexCoordP4ui GET_TexCoordP4ui(struct _glapi_table *disp) {
- return (_glptr_TexCoordP4ui) (GET_by_offset(disp, _gloffset_TexCoordP4ui));
+static inline _glptr_TexCoordP4ui
+GET_TexCoordP4ui(struct _glapi_table *disp)
+{
+ return (_glptr_TexCoordP4ui) (GET_by_offset(disp, _gloffset_TexCoordP4ui));
}
-static inline void SET_TexCoordP4ui(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint)) {
- SET_by_offset(disp, _gloffset_TexCoordP4ui, fn);
+static inline void
+SET_TexCoordP4ui(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLuint))
+{
+ SET_by_offset(disp, _gloffset_TexCoordP4ui, fn);
}
-typedef void (GLAPIENTRYP _glptr_TexCoordP4uiv)(GLenum, const GLuint *);
+typedef void (GLAPIENTRYP _glptr_TexCoordP4uiv) (GLenum, const GLuint *);
+
#define CALL_TexCoordP4uiv(disp, parameters) \
(* GET_TexCoordP4uiv(disp)) parameters
-static inline _glptr_TexCoordP4uiv GET_TexCoordP4uiv(struct _glapi_table *disp) {
- return (_glptr_TexCoordP4uiv) (GET_by_offset(disp, _gloffset_TexCoordP4uiv));
+static inline _glptr_TexCoordP4uiv
+GET_TexCoordP4uiv(struct _glapi_table *disp)
+{
+ return (_glptr_TexCoordP4uiv) (GET_by_offset
+ (disp, _gloffset_TexCoordP4uiv));
}
-static inline void SET_TexCoordP4uiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLuint *)) {
- SET_by_offset(disp, _gloffset_TexCoordP4uiv, fn);
+static inline void
+SET_TexCoordP4uiv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, const GLuint *))
+{
+ SET_by_offset(disp, _gloffset_TexCoordP4uiv, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttribP1ui)(GLuint, GLenum, GLboolean, GLuint);
+typedef void (GLAPIENTRYP _glptr_VertexAttribP1ui) (GLuint, GLenum, GLboolean,
+ GLuint);
#define CALL_VertexAttribP1ui(disp, parameters) \
(* GET_VertexAttribP1ui(disp)) parameters
-static inline _glptr_VertexAttribP1ui GET_VertexAttribP1ui(struct _glapi_table *disp) {
- return (_glptr_VertexAttribP1ui) (GET_by_offset(disp, _gloffset_VertexAttribP1ui));
+static inline _glptr_VertexAttribP1ui
+GET_VertexAttribP1ui(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttribP1ui) (GET_by_offset
+ (disp, _gloffset_VertexAttribP1ui));
}
-static inline void SET_VertexAttribP1ui(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLboolean, GLuint)) {
- SET_by_offset(disp, _gloffset_VertexAttribP1ui, fn);
+static inline void
+SET_VertexAttribP1ui(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLenum, GLboolean, GLuint))
+{
+ SET_by_offset(disp, _gloffset_VertexAttribP1ui, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttribP1uiv)(GLuint, GLenum, GLboolean, const GLuint *);
+typedef void (GLAPIENTRYP _glptr_VertexAttribP1uiv) (GLuint, GLenum, GLboolean,
+ const GLuint *);
#define CALL_VertexAttribP1uiv(disp, parameters) \
(* GET_VertexAttribP1uiv(disp)) parameters
-static inline _glptr_VertexAttribP1uiv GET_VertexAttribP1uiv(struct _glapi_table *disp) {
- return (_glptr_VertexAttribP1uiv) (GET_by_offset(disp, _gloffset_VertexAttribP1uiv));
+static inline _glptr_VertexAttribP1uiv
+GET_VertexAttribP1uiv(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttribP1uiv) (GET_by_offset
+ (disp, _gloffset_VertexAttribP1uiv));
}
-static inline void SET_VertexAttribP1uiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLboolean, const GLuint *)) {
- SET_by_offset(disp, _gloffset_VertexAttribP1uiv, fn);
+static inline void
+SET_VertexAttribP1uiv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLenum, GLboolean,
+ const GLuint *))
+{
+ SET_by_offset(disp, _gloffset_VertexAttribP1uiv, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttribP2ui)(GLuint, GLenum, GLboolean, GLuint);
+typedef void (GLAPIENTRYP _glptr_VertexAttribP2ui) (GLuint, GLenum, GLboolean,
+ GLuint);
#define CALL_VertexAttribP2ui(disp, parameters) \
(* GET_VertexAttribP2ui(disp)) parameters
-static inline _glptr_VertexAttribP2ui GET_VertexAttribP2ui(struct _glapi_table *disp) {
- return (_glptr_VertexAttribP2ui) (GET_by_offset(disp, _gloffset_VertexAttribP2ui));
+static inline _glptr_VertexAttribP2ui
+GET_VertexAttribP2ui(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttribP2ui) (GET_by_offset
+ (disp, _gloffset_VertexAttribP2ui));
}
-static inline void SET_VertexAttribP2ui(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLboolean, GLuint)) {
- SET_by_offset(disp, _gloffset_VertexAttribP2ui, fn);
+static inline void
+SET_VertexAttribP2ui(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLenum, GLboolean, GLuint))
+{
+ SET_by_offset(disp, _gloffset_VertexAttribP2ui, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttribP2uiv)(GLuint, GLenum, GLboolean, const GLuint *);
+typedef void (GLAPIENTRYP _glptr_VertexAttribP2uiv) (GLuint, GLenum, GLboolean,
+ const GLuint *);
#define CALL_VertexAttribP2uiv(disp, parameters) \
(* GET_VertexAttribP2uiv(disp)) parameters
-static inline _glptr_VertexAttribP2uiv GET_VertexAttribP2uiv(struct _glapi_table *disp) {
- return (_glptr_VertexAttribP2uiv) (GET_by_offset(disp, _gloffset_VertexAttribP2uiv));
+static inline _glptr_VertexAttribP2uiv
+GET_VertexAttribP2uiv(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttribP2uiv) (GET_by_offset
+ (disp, _gloffset_VertexAttribP2uiv));
}
-static inline void SET_VertexAttribP2uiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLboolean, const GLuint *)) {
- SET_by_offset(disp, _gloffset_VertexAttribP2uiv, fn);
+static inline void
+SET_VertexAttribP2uiv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLenum, GLboolean,
+ const GLuint *))
+{
+ SET_by_offset(disp, _gloffset_VertexAttribP2uiv, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttribP3ui)(GLuint, GLenum, GLboolean, GLuint);
+typedef void (GLAPIENTRYP _glptr_VertexAttribP3ui) (GLuint, GLenum, GLboolean,
+ GLuint);
#define CALL_VertexAttribP3ui(disp, parameters) \
(* GET_VertexAttribP3ui(disp)) parameters
-static inline _glptr_VertexAttribP3ui GET_VertexAttribP3ui(struct _glapi_table *disp) {
- return (_glptr_VertexAttribP3ui) (GET_by_offset(disp, _gloffset_VertexAttribP3ui));
+static inline _glptr_VertexAttribP3ui
+GET_VertexAttribP3ui(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttribP3ui) (GET_by_offset
+ (disp, _gloffset_VertexAttribP3ui));
}
-static inline void SET_VertexAttribP3ui(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLboolean, GLuint)) {
- SET_by_offset(disp, _gloffset_VertexAttribP3ui, fn);
+static inline void
+SET_VertexAttribP3ui(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLenum, GLboolean, GLuint))
+{
+ SET_by_offset(disp, _gloffset_VertexAttribP3ui, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttribP3uiv)(GLuint, GLenum, GLboolean, const GLuint *);
+typedef void (GLAPIENTRYP _glptr_VertexAttribP3uiv) (GLuint, GLenum, GLboolean,
+ const GLuint *);
#define CALL_VertexAttribP3uiv(disp, parameters) \
(* GET_VertexAttribP3uiv(disp)) parameters
-static inline _glptr_VertexAttribP3uiv GET_VertexAttribP3uiv(struct _glapi_table *disp) {
- return (_glptr_VertexAttribP3uiv) (GET_by_offset(disp, _gloffset_VertexAttribP3uiv));
+static inline _glptr_VertexAttribP3uiv
+GET_VertexAttribP3uiv(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttribP3uiv) (GET_by_offset
+ (disp, _gloffset_VertexAttribP3uiv));
}
-static inline void SET_VertexAttribP3uiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLboolean, const GLuint *)) {
- SET_by_offset(disp, _gloffset_VertexAttribP3uiv, fn);
+static inline void
+SET_VertexAttribP3uiv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLenum, GLboolean,
+ const GLuint *))
+{
+ SET_by_offset(disp, _gloffset_VertexAttribP3uiv, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttribP4ui)(GLuint, GLenum, GLboolean, GLuint);
+typedef void (GLAPIENTRYP _glptr_VertexAttribP4ui) (GLuint, GLenum, GLboolean,
+ GLuint);
#define CALL_VertexAttribP4ui(disp, parameters) \
(* GET_VertexAttribP4ui(disp)) parameters
-static inline _glptr_VertexAttribP4ui GET_VertexAttribP4ui(struct _glapi_table *disp) {
- return (_glptr_VertexAttribP4ui) (GET_by_offset(disp, _gloffset_VertexAttribP4ui));
+static inline _glptr_VertexAttribP4ui
+GET_VertexAttribP4ui(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttribP4ui) (GET_by_offset
+ (disp, _gloffset_VertexAttribP4ui));
}
-static inline void SET_VertexAttribP4ui(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLboolean, GLuint)) {
- SET_by_offset(disp, _gloffset_VertexAttribP4ui, fn);
+static inline void
+SET_VertexAttribP4ui(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLenum, GLboolean, GLuint))
+{
+ SET_by_offset(disp, _gloffset_VertexAttribP4ui, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttribP4uiv)(GLuint, GLenum, GLboolean, const GLuint *);
+typedef void (GLAPIENTRYP _glptr_VertexAttribP4uiv) (GLuint, GLenum, GLboolean,
+ const GLuint *);
#define CALL_VertexAttribP4uiv(disp, parameters) \
(* GET_VertexAttribP4uiv(disp)) parameters
-static inline _glptr_VertexAttribP4uiv GET_VertexAttribP4uiv(struct _glapi_table *disp) {
- return (_glptr_VertexAttribP4uiv) (GET_by_offset(disp, _gloffset_VertexAttribP4uiv));
+static inline _glptr_VertexAttribP4uiv
+GET_VertexAttribP4uiv(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttribP4uiv) (GET_by_offset
+ (disp, _gloffset_VertexAttribP4uiv));
}
-static inline void SET_VertexAttribP4uiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLboolean, const GLuint *)) {
- SET_by_offset(disp, _gloffset_VertexAttribP4uiv, fn);
+static inline void
+SET_VertexAttribP4uiv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLenum, GLboolean,
+ const GLuint *))
+{
+ SET_by_offset(disp, _gloffset_VertexAttribP4uiv, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexP2ui)(GLenum, GLuint);
+typedef void (GLAPIENTRYP _glptr_VertexP2ui) (GLenum, GLuint);
+
#define CALL_VertexP2ui(disp, parameters) \
(* GET_VertexP2ui(disp)) parameters
-static inline _glptr_VertexP2ui GET_VertexP2ui(struct _glapi_table *disp) {
- return (_glptr_VertexP2ui) (GET_by_offset(disp, _gloffset_VertexP2ui));
+static inline _glptr_VertexP2ui
+GET_VertexP2ui(struct _glapi_table *disp)
+{
+ return (_glptr_VertexP2ui) (GET_by_offset(disp, _gloffset_VertexP2ui));
}
-static inline void SET_VertexP2ui(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint)) {
- SET_by_offset(disp, _gloffset_VertexP2ui, fn);
+static inline void
+SET_VertexP2ui(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLuint))
+{
+ SET_by_offset(disp, _gloffset_VertexP2ui, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexP2uiv)(GLenum, const GLuint *);
+typedef void (GLAPIENTRYP _glptr_VertexP2uiv) (GLenum, const GLuint *);
+
#define CALL_VertexP2uiv(disp, parameters) \
(* GET_VertexP2uiv(disp)) parameters
-static inline _glptr_VertexP2uiv GET_VertexP2uiv(struct _glapi_table *disp) {
- return (_glptr_VertexP2uiv) (GET_by_offset(disp, _gloffset_VertexP2uiv));
+static inline _glptr_VertexP2uiv
+GET_VertexP2uiv(struct _glapi_table *disp)
+{
+ return (_glptr_VertexP2uiv) (GET_by_offset(disp, _gloffset_VertexP2uiv));
}
-static inline void SET_VertexP2uiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLuint *)) {
- SET_by_offset(disp, _gloffset_VertexP2uiv, fn);
+static inline void
+SET_VertexP2uiv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, const GLuint *))
+{
+ SET_by_offset(disp, _gloffset_VertexP2uiv, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexP3ui)(GLenum, GLuint);
+typedef void (GLAPIENTRYP _glptr_VertexP3ui) (GLenum, GLuint);
+
#define CALL_VertexP3ui(disp, parameters) \
(* GET_VertexP3ui(disp)) parameters
-static inline _glptr_VertexP3ui GET_VertexP3ui(struct _glapi_table *disp) {
- return (_glptr_VertexP3ui) (GET_by_offset(disp, _gloffset_VertexP3ui));
+static inline _glptr_VertexP3ui
+GET_VertexP3ui(struct _glapi_table *disp)
+{
+ return (_glptr_VertexP3ui) (GET_by_offset(disp, _gloffset_VertexP3ui));
}
-static inline void SET_VertexP3ui(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint)) {
- SET_by_offset(disp, _gloffset_VertexP3ui, fn);
+static inline void
+SET_VertexP3ui(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLuint))
+{
+ SET_by_offset(disp, _gloffset_VertexP3ui, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexP3uiv)(GLenum, const GLuint *);
+typedef void (GLAPIENTRYP _glptr_VertexP3uiv) (GLenum, const GLuint *);
+
#define CALL_VertexP3uiv(disp, parameters) \
(* GET_VertexP3uiv(disp)) parameters
-static inline _glptr_VertexP3uiv GET_VertexP3uiv(struct _glapi_table *disp) {
- return (_glptr_VertexP3uiv) (GET_by_offset(disp, _gloffset_VertexP3uiv));
+static inline _glptr_VertexP3uiv
+GET_VertexP3uiv(struct _glapi_table *disp)
+{
+ return (_glptr_VertexP3uiv) (GET_by_offset(disp, _gloffset_VertexP3uiv));
}
-static inline void SET_VertexP3uiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLuint *)) {
- SET_by_offset(disp, _gloffset_VertexP3uiv, fn);
+static inline void
+SET_VertexP3uiv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, const GLuint *))
+{
+ SET_by_offset(disp, _gloffset_VertexP3uiv, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexP4ui)(GLenum, GLuint);
+typedef void (GLAPIENTRYP _glptr_VertexP4ui) (GLenum, GLuint);
+
#define CALL_VertexP4ui(disp, parameters) \
(* GET_VertexP4ui(disp)) parameters
-static inline _glptr_VertexP4ui GET_VertexP4ui(struct _glapi_table *disp) {
- return (_glptr_VertexP4ui) (GET_by_offset(disp, _gloffset_VertexP4ui));
+static inline _glptr_VertexP4ui
+GET_VertexP4ui(struct _glapi_table *disp)
+{
+ return (_glptr_VertexP4ui) (GET_by_offset(disp, _gloffset_VertexP4ui));
}
-static inline void SET_VertexP4ui(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint)) {
- SET_by_offset(disp, _gloffset_VertexP4ui, fn);
+static inline void
+SET_VertexP4ui(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLuint))
+{
+ SET_by_offset(disp, _gloffset_VertexP4ui, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexP4uiv)(GLenum, const GLuint *);
+typedef void (GLAPIENTRYP _glptr_VertexP4uiv) (GLenum, const GLuint *);
+
#define CALL_VertexP4uiv(disp, parameters) \
(* GET_VertexP4uiv(disp)) parameters
-static inline _glptr_VertexP4uiv GET_VertexP4uiv(struct _glapi_table *disp) {
- return (_glptr_VertexP4uiv) (GET_by_offset(disp, _gloffset_VertexP4uiv));
+static inline _glptr_VertexP4uiv
+GET_VertexP4uiv(struct _glapi_table *disp)
+{
+ return (_glptr_VertexP4uiv) (GET_by_offset(disp, _gloffset_VertexP4uiv));
}
-static inline void SET_VertexP4uiv(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLuint *)) {
- SET_by_offset(disp, _gloffset_VertexP4uiv, fn);
+static inline void
+SET_VertexP4uiv(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, const GLuint *))
+{
+ SET_by_offset(disp, _gloffset_VertexP4uiv, fn);
}
-typedef void (GLAPIENTRYP _glptr_BindTransformFeedback)(GLenum, GLuint);
+typedef void (GLAPIENTRYP _glptr_BindTransformFeedback) (GLenum, GLuint);
+
#define CALL_BindTransformFeedback(disp, parameters) \
(* GET_BindTransformFeedback(disp)) parameters
-static inline _glptr_BindTransformFeedback GET_BindTransformFeedback(struct _glapi_table *disp) {
- return (_glptr_BindTransformFeedback) (GET_by_offset(disp, _gloffset_BindTransformFeedback));
+static inline _glptr_BindTransformFeedback
+GET_BindTransformFeedback(struct _glapi_table *disp)
+{
+ return (_glptr_BindTransformFeedback) (GET_by_offset
+ (disp,
+ _gloffset_BindTransformFeedback));
}
-static inline void SET_BindTransformFeedback(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint)) {
- SET_by_offset(disp, _gloffset_BindTransformFeedback, fn);
+static inline void
+SET_BindTransformFeedback(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLuint))
+{
+ SET_by_offset(disp, _gloffset_BindTransformFeedback, fn);
}
-typedef void (GLAPIENTRYP _glptr_DeleteTransformFeedbacks)(GLsizei, const GLuint *);
+typedef void (GLAPIENTRYP _glptr_DeleteTransformFeedbacks) (GLsizei,
+ const GLuint *);
#define CALL_DeleteTransformFeedbacks(disp, parameters) \
(* GET_DeleteTransformFeedbacks(disp)) parameters
-static inline _glptr_DeleteTransformFeedbacks GET_DeleteTransformFeedbacks(struct _glapi_table *disp) {
- return (_glptr_DeleteTransformFeedbacks) (GET_by_offset(disp, _gloffset_DeleteTransformFeedbacks));
+static inline _glptr_DeleteTransformFeedbacks
+GET_DeleteTransformFeedbacks(struct _glapi_table *disp)
+{
+ return (_glptr_DeleteTransformFeedbacks) (GET_by_offset
+ (disp,
+ _gloffset_DeleteTransformFeedbacks));
}
-static inline void SET_DeleteTransformFeedbacks(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, const GLuint *)) {
- SET_by_offset(disp, _gloffset_DeleteTransformFeedbacks, fn);
+static inline void
+SET_DeleteTransformFeedbacks(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLsizei, const GLuint *))
+{
+ SET_by_offset(disp, _gloffset_DeleteTransformFeedbacks, fn);
}
-typedef void (GLAPIENTRYP _glptr_DrawTransformFeedback)(GLenum, GLuint);
+typedef void (GLAPIENTRYP _glptr_DrawTransformFeedback) (GLenum, GLuint);
+
#define CALL_DrawTransformFeedback(disp, parameters) \
(* GET_DrawTransformFeedback(disp)) parameters
-static inline _glptr_DrawTransformFeedback GET_DrawTransformFeedback(struct _glapi_table *disp) {
- return (_glptr_DrawTransformFeedback) (GET_by_offset(disp, _gloffset_DrawTransformFeedback));
+static inline _glptr_DrawTransformFeedback
+GET_DrawTransformFeedback(struct _glapi_table *disp)
+{
+ return (_glptr_DrawTransformFeedback) (GET_by_offset
+ (disp,
+ _gloffset_DrawTransformFeedback));
}
-static inline void SET_DrawTransformFeedback(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint)) {
- SET_by_offset(disp, _gloffset_DrawTransformFeedback, fn);
+static inline void
+SET_DrawTransformFeedback(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLuint))
+{
+ SET_by_offset(disp, _gloffset_DrawTransformFeedback, fn);
}
-typedef void (GLAPIENTRYP _glptr_GenTransformFeedbacks)(GLsizei, GLuint *);
+typedef void (GLAPIENTRYP _glptr_GenTransformFeedbacks) (GLsizei, GLuint *);
+
#define CALL_GenTransformFeedbacks(disp, parameters) \
(* GET_GenTransformFeedbacks(disp)) parameters
-static inline _glptr_GenTransformFeedbacks GET_GenTransformFeedbacks(struct _glapi_table *disp) {
- return (_glptr_GenTransformFeedbacks) (GET_by_offset(disp, _gloffset_GenTransformFeedbacks));
+static inline _glptr_GenTransformFeedbacks
+GET_GenTransformFeedbacks(struct _glapi_table *disp)
+{
+ return (_glptr_GenTransformFeedbacks) (GET_by_offset
+ (disp,
+ _gloffset_GenTransformFeedbacks));
}
-static inline void SET_GenTransformFeedbacks(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, GLuint *)) {
- SET_by_offset(disp, _gloffset_GenTransformFeedbacks, fn);
+static inline void
+SET_GenTransformFeedbacks(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLsizei, GLuint *))
+{
+ SET_by_offset(disp, _gloffset_GenTransformFeedbacks, fn);
}
-typedef GLboolean (GLAPIENTRYP _glptr_IsTransformFeedback)(GLuint);
+typedef GLboolean(GLAPIENTRYP _glptr_IsTransformFeedback) (GLuint);
+
#define CALL_IsTransformFeedback(disp, parameters) \
(* GET_IsTransformFeedback(disp)) parameters
-static inline _glptr_IsTransformFeedback GET_IsTransformFeedback(struct _glapi_table *disp) {
- return (_glptr_IsTransformFeedback) (GET_by_offset(disp, _gloffset_IsTransformFeedback));
+static inline _glptr_IsTransformFeedback
+GET_IsTransformFeedback(struct _glapi_table *disp)
+{
+ return (_glptr_IsTransformFeedback) (GET_by_offset
+ (disp, _gloffset_IsTransformFeedback));
}
-static inline void SET_IsTransformFeedback(struct _glapi_table *disp, GLboolean (GLAPIENTRYP fn)(GLuint)) {
- SET_by_offset(disp, _gloffset_IsTransformFeedback, fn);
+static inline void
+SET_IsTransformFeedback(struct _glapi_table *disp,
+ GLboolean(GLAPIENTRYP fn) (GLuint))
+{
+ SET_by_offset(disp, _gloffset_IsTransformFeedback, fn);
}
-typedef void (GLAPIENTRYP _glptr_PauseTransformFeedback)(void);
+typedef void (GLAPIENTRYP _glptr_PauseTransformFeedback) (void);
+
#define CALL_PauseTransformFeedback(disp, parameters) \
(* GET_PauseTransformFeedback(disp)) parameters
-static inline _glptr_PauseTransformFeedback GET_PauseTransformFeedback(struct _glapi_table *disp) {
- return (_glptr_PauseTransformFeedback) (GET_by_offset(disp, _gloffset_PauseTransformFeedback));
+static inline _glptr_PauseTransformFeedback
+GET_PauseTransformFeedback(struct _glapi_table *disp)
+{
+ return (_glptr_PauseTransformFeedback) (GET_by_offset
+ (disp,
+ _gloffset_PauseTransformFeedback));
}
-static inline void SET_PauseTransformFeedback(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) {
- SET_by_offset(disp, _gloffset_PauseTransformFeedback, fn);
+static inline void
+SET_PauseTransformFeedback(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (void))
+{
+ SET_by_offset(disp, _gloffset_PauseTransformFeedback, fn);
}
-typedef void (GLAPIENTRYP _glptr_ResumeTransformFeedback)(void);
+typedef void (GLAPIENTRYP _glptr_ResumeTransformFeedback) (void);
+
#define CALL_ResumeTransformFeedback(disp, parameters) \
(* GET_ResumeTransformFeedback(disp)) parameters
-static inline _glptr_ResumeTransformFeedback GET_ResumeTransformFeedback(struct _glapi_table *disp) {
- return (_glptr_ResumeTransformFeedback) (GET_by_offset(disp, _gloffset_ResumeTransformFeedback));
+static inline _glptr_ResumeTransformFeedback
+GET_ResumeTransformFeedback(struct _glapi_table *disp)
+{
+ return (_glptr_ResumeTransformFeedback) (GET_by_offset
+ (disp,
+ _gloffset_ResumeTransformFeedback));
}
-static inline void SET_ResumeTransformFeedback(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) {
- SET_by_offset(disp, _gloffset_ResumeTransformFeedback, fn);
+static inline void
+SET_ResumeTransformFeedback(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (void))
+{
+ SET_by_offset(disp, _gloffset_ResumeTransformFeedback, fn);
}
-typedef void (GLAPIENTRYP _glptr_ClearDepthf)(GLclampf);
+typedef void (GLAPIENTRYP _glptr_ClearDepthf) (GLclampf);
+
#define CALL_ClearDepthf(disp, parameters) \
(* GET_ClearDepthf(disp)) parameters
-static inline _glptr_ClearDepthf GET_ClearDepthf(struct _glapi_table *disp) {
- return (_glptr_ClearDepthf) (GET_by_offset(disp, _gloffset_ClearDepthf));
+static inline _glptr_ClearDepthf
+GET_ClearDepthf(struct _glapi_table *disp)
+{
+ return (_glptr_ClearDepthf) (GET_by_offset(disp, _gloffset_ClearDepthf));
}
-static inline void SET_ClearDepthf(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLclampf)) {
- SET_by_offset(disp, _gloffset_ClearDepthf, fn);
+static inline void
+SET_ClearDepthf(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLclampf))
+{
+ SET_by_offset(disp, _gloffset_ClearDepthf, fn);
}
-typedef void (GLAPIENTRYP _glptr_DepthRangef)(GLclampf, GLclampf);
+typedef void (GLAPIENTRYP _glptr_DepthRangef) (GLclampf, GLclampf);
+
#define CALL_DepthRangef(disp, parameters) \
(* GET_DepthRangef(disp)) parameters
-static inline _glptr_DepthRangef GET_DepthRangef(struct _glapi_table *disp) {
- return (_glptr_DepthRangef) (GET_by_offset(disp, _gloffset_DepthRangef));
+static inline _glptr_DepthRangef
+GET_DepthRangef(struct _glapi_table *disp)
+{
+ return (_glptr_DepthRangef) (GET_by_offset(disp, _gloffset_DepthRangef));
}
-static inline void SET_DepthRangef(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLclampf, GLclampf)) {
- SET_by_offset(disp, _gloffset_DepthRangef, fn);
+static inline void
+SET_DepthRangef(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLclampf, GLclampf))
+{
+ SET_by_offset(disp, _gloffset_DepthRangef, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetShaderPrecisionFormat)(GLenum, GLenum, GLint *, GLint *);
+typedef void (GLAPIENTRYP _glptr_GetShaderPrecisionFormat) (GLenum, GLenum,
+ GLint *, GLint *);
#define CALL_GetShaderPrecisionFormat(disp, parameters) \
(* GET_GetShaderPrecisionFormat(disp)) parameters
-static inline _glptr_GetShaderPrecisionFormat GET_GetShaderPrecisionFormat(struct _glapi_table *disp) {
- return (_glptr_GetShaderPrecisionFormat) (GET_by_offset(disp, _gloffset_GetShaderPrecisionFormat));
+static inline _glptr_GetShaderPrecisionFormat
+GET_GetShaderPrecisionFormat(struct _glapi_table *disp)
+{
+ return (_glptr_GetShaderPrecisionFormat) (GET_by_offset
+ (disp,
+ _gloffset_GetShaderPrecisionFormat));
}
-static inline void SET_GetShaderPrecisionFormat(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint *, GLint *)) {
- SET_by_offset(disp, _gloffset_GetShaderPrecisionFormat, fn);
+static inline void
+SET_GetShaderPrecisionFormat(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, GLint *,
+ GLint *))
+{
+ SET_by_offset(disp, _gloffset_GetShaderPrecisionFormat, fn);
}
-typedef void (GLAPIENTRYP _glptr_ReleaseShaderCompiler)(void);
+typedef void (GLAPIENTRYP _glptr_ReleaseShaderCompiler) (void);
+
#define CALL_ReleaseShaderCompiler(disp, parameters) \
(* GET_ReleaseShaderCompiler(disp)) parameters
-static inline _glptr_ReleaseShaderCompiler GET_ReleaseShaderCompiler(struct _glapi_table *disp) {
- return (_glptr_ReleaseShaderCompiler) (GET_by_offset(disp, _gloffset_ReleaseShaderCompiler));
+static inline _glptr_ReleaseShaderCompiler
+GET_ReleaseShaderCompiler(struct _glapi_table *disp)
+{
+ return (_glptr_ReleaseShaderCompiler) (GET_by_offset
+ (disp,
+ _gloffset_ReleaseShaderCompiler));
}
-static inline void SET_ReleaseShaderCompiler(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) {
- SET_by_offset(disp, _gloffset_ReleaseShaderCompiler, fn);
+static inline void
+SET_ReleaseShaderCompiler(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (void))
+{
+ SET_by_offset(disp, _gloffset_ReleaseShaderCompiler, fn);
}
-typedef void (GLAPIENTRYP _glptr_ShaderBinary)(GLsizei, const GLuint *, GLenum, const GLvoid *, GLsizei);
+typedef void (GLAPIENTRYP _glptr_ShaderBinary) (GLsizei, const GLuint *, GLenum,
+ const GLvoid *, GLsizei);
#define CALL_ShaderBinary(disp, parameters) \
(* GET_ShaderBinary(disp)) parameters
-static inline _glptr_ShaderBinary GET_ShaderBinary(struct _glapi_table *disp) {
- return (_glptr_ShaderBinary) (GET_by_offset(disp, _gloffset_ShaderBinary));
+static inline _glptr_ShaderBinary
+GET_ShaderBinary(struct _glapi_table *disp)
+{
+ return (_glptr_ShaderBinary) (GET_by_offset(disp, _gloffset_ShaderBinary));
}
-static inline void SET_ShaderBinary(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, const GLuint *, GLenum, const GLvoid *, GLsizei)) {
- SET_by_offset(disp, _gloffset_ShaderBinary, fn);
+static inline void
+SET_ShaderBinary(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLsizei, const GLuint *, GLenum,
+ const GLvoid *, GLsizei))
+{
+ SET_by_offset(disp, _gloffset_ShaderBinary, fn);
}
-typedef GLenum (GLAPIENTRYP _glptr_GetGraphicsResetStatusARB)(void);
+typedef GLenum(GLAPIENTRYP _glptr_GetGraphicsResetStatusARB) (void);
+
#define CALL_GetGraphicsResetStatusARB(disp, parameters) \
(* GET_GetGraphicsResetStatusARB(disp)) parameters
-static inline _glptr_GetGraphicsResetStatusARB GET_GetGraphicsResetStatusARB(struct _glapi_table *disp) {
- return (_glptr_GetGraphicsResetStatusARB) (GET_by_offset(disp, _gloffset_GetGraphicsResetStatusARB));
+static inline _glptr_GetGraphicsResetStatusARB
+GET_GetGraphicsResetStatusARB(struct _glapi_table *disp)
+{
+ return (_glptr_GetGraphicsResetStatusARB) (GET_by_offset
+ (disp,
+ _gloffset_GetGraphicsResetStatusARB));
}
-static inline void SET_GetGraphicsResetStatusARB(struct _glapi_table *disp, GLenum (GLAPIENTRYP fn)(void)) {
- SET_by_offset(disp, _gloffset_GetGraphicsResetStatusARB, fn);
+static inline void
+SET_GetGraphicsResetStatusARB(struct _glapi_table *disp,
+ GLenum(GLAPIENTRYP fn) (void))
+{
+ SET_by_offset(disp, _gloffset_GetGraphicsResetStatusARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetnColorTableARB)(GLenum, GLenum, GLenum, GLsizei, GLvoid *);
+typedef void (GLAPIENTRYP _glptr_GetnColorTableARB) (GLenum, GLenum, GLenum,
+ GLsizei, GLvoid *);
#define CALL_GetnColorTableARB(disp, parameters) \
(* GET_GetnColorTableARB(disp)) parameters
-static inline _glptr_GetnColorTableARB GET_GetnColorTableARB(struct _glapi_table *disp) {
- return (_glptr_GetnColorTableARB) (GET_by_offset(disp, _gloffset_GetnColorTableARB));
+static inline _glptr_GetnColorTableARB
+GET_GetnColorTableARB(struct _glapi_table *disp)
+{
+ return (_glptr_GetnColorTableARB) (GET_by_offset
+ (disp, _gloffset_GetnColorTableARB));
}
-static inline void SET_GetnColorTableARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLenum, GLsizei, GLvoid *)) {
- SET_by_offset(disp, _gloffset_GetnColorTableARB, fn);
+static inline void
+SET_GetnColorTableARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, GLenum, GLsizei,
+ GLvoid *))
+{
+ SET_by_offset(disp, _gloffset_GetnColorTableARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetnCompressedTexImageARB)(GLenum, GLint, GLsizei, GLvoid *);
+typedef void (GLAPIENTRYP _glptr_GetnCompressedTexImageARB) (GLenum, GLint,
+ GLsizei, GLvoid *);
#define CALL_GetnCompressedTexImageARB(disp, parameters) \
(* GET_GetnCompressedTexImageARB(disp)) parameters
-static inline _glptr_GetnCompressedTexImageARB GET_GetnCompressedTexImageARB(struct _glapi_table *disp) {
- return (_glptr_GetnCompressedTexImageARB) (GET_by_offset(disp, _gloffset_GetnCompressedTexImageARB));
+static inline _glptr_GetnCompressedTexImageARB
+GET_GetnCompressedTexImageARB(struct _glapi_table *disp)
+{
+ return (_glptr_GetnCompressedTexImageARB) (GET_by_offset
+ (disp,
+ _gloffset_GetnCompressedTexImageARB));
}
-static inline void SET_GetnCompressedTexImageARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLsizei, GLvoid *)) {
- SET_by_offset(disp, _gloffset_GetnCompressedTexImageARB, fn);
+static inline void
+SET_GetnCompressedTexImageARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLint, GLsizei,
+ GLvoid *))
+{
+ SET_by_offset(disp, _gloffset_GetnCompressedTexImageARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetnConvolutionFilterARB)(GLenum, GLenum, GLenum, GLsizei, GLvoid *);
+typedef void (GLAPIENTRYP _glptr_GetnConvolutionFilterARB) (GLenum, GLenum,
+ GLenum, GLsizei,
+ GLvoid *);
#define CALL_GetnConvolutionFilterARB(disp, parameters) \
(* GET_GetnConvolutionFilterARB(disp)) parameters
-static inline _glptr_GetnConvolutionFilterARB GET_GetnConvolutionFilterARB(struct _glapi_table *disp) {
- return (_glptr_GetnConvolutionFilterARB) (GET_by_offset(disp, _gloffset_GetnConvolutionFilterARB));
+static inline _glptr_GetnConvolutionFilterARB
+GET_GetnConvolutionFilterARB(struct _glapi_table *disp)
+{
+ return (_glptr_GetnConvolutionFilterARB) (GET_by_offset
+ (disp,
+ _gloffset_GetnConvolutionFilterARB));
}
-static inline void SET_GetnConvolutionFilterARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLenum, GLsizei, GLvoid *)) {
- SET_by_offset(disp, _gloffset_GetnConvolutionFilterARB, fn);
+static inline void
+SET_GetnConvolutionFilterARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, GLenum,
+ GLsizei, GLvoid *))
+{
+ SET_by_offset(disp, _gloffset_GetnConvolutionFilterARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetnHistogramARB)(GLenum, GLboolean, GLenum, GLenum, GLsizei, GLvoid *);
+typedef void (GLAPIENTRYP _glptr_GetnHistogramARB) (GLenum, GLboolean, GLenum,
+ GLenum, GLsizei, GLvoid *);
#define CALL_GetnHistogramARB(disp, parameters) \
(* GET_GetnHistogramARB(disp)) parameters
-static inline _glptr_GetnHistogramARB GET_GetnHistogramARB(struct _glapi_table *disp) {
- return (_glptr_GetnHistogramARB) (GET_by_offset(disp, _gloffset_GetnHistogramARB));
+static inline _glptr_GetnHistogramARB
+GET_GetnHistogramARB(struct _glapi_table *disp)
+{
+ return (_glptr_GetnHistogramARB) (GET_by_offset
+ (disp, _gloffset_GetnHistogramARB));
}
-static inline void SET_GetnHistogramARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLboolean, GLenum, GLenum, GLsizei, GLvoid *)) {
- SET_by_offset(disp, _gloffset_GetnHistogramARB, fn);
+static inline void
+SET_GetnHistogramARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLboolean, GLenum, GLenum,
+ GLsizei, GLvoid *))
+{
+ SET_by_offset(disp, _gloffset_GetnHistogramARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetnMapdvARB)(GLenum, GLenum, GLsizei, GLdouble *);
+typedef void (GLAPIENTRYP _glptr_GetnMapdvARB) (GLenum, GLenum, GLsizei,
+ GLdouble *);
#define CALL_GetnMapdvARB(disp, parameters) \
(* GET_GetnMapdvARB(disp)) parameters
-static inline _glptr_GetnMapdvARB GET_GetnMapdvARB(struct _glapi_table *disp) {
- return (_glptr_GetnMapdvARB) (GET_by_offset(disp, _gloffset_GetnMapdvARB));
+static inline _glptr_GetnMapdvARB
+GET_GetnMapdvARB(struct _glapi_table *disp)
+{
+ return (_glptr_GetnMapdvARB) (GET_by_offset(disp, _gloffset_GetnMapdvARB));
}
-static inline void SET_GetnMapdvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLsizei, GLdouble *)) {
- SET_by_offset(disp, _gloffset_GetnMapdvARB, fn);
+static inline void
+SET_GetnMapdvARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, GLsizei, GLdouble *))
+{
+ SET_by_offset(disp, _gloffset_GetnMapdvARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetnMapfvARB)(GLenum, GLenum, GLsizei, GLfloat *);
+typedef void (GLAPIENTRYP _glptr_GetnMapfvARB) (GLenum, GLenum, GLsizei,
+ GLfloat *);
#define CALL_GetnMapfvARB(disp, parameters) \
(* GET_GetnMapfvARB(disp)) parameters
-static inline _glptr_GetnMapfvARB GET_GetnMapfvARB(struct _glapi_table *disp) {
- return (_glptr_GetnMapfvARB) (GET_by_offset(disp, _gloffset_GetnMapfvARB));
+static inline _glptr_GetnMapfvARB
+GET_GetnMapfvARB(struct _glapi_table *disp)
+{
+ return (_glptr_GetnMapfvARB) (GET_by_offset(disp, _gloffset_GetnMapfvARB));
}
-static inline void SET_GetnMapfvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLsizei, GLfloat *)) {
- SET_by_offset(disp, _gloffset_GetnMapfvARB, fn);
+static inline void
+SET_GetnMapfvARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, GLsizei, GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_GetnMapfvARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetnMapivARB)(GLenum, GLenum, GLsizei, GLint *);
+typedef void (GLAPIENTRYP _glptr_GetnMapivARB) (GLenum, GLenum, GLsizei,
+ GLint *);
#define CALL_GetnMapivARB(disp, parameters) \
(* GET_GetnMapivARB(disp)) parameters
-static inline _glptr_GetnMapivARB GET_GetnMapivARB(struct _glapi_table *disp) {
- return (_glptr_GetnMapivARB) (GET_by_offset(disp, _gloffset_GetnMapivARB));
+static inline _glptr_GetnMapivARB
+GET_GetnMapivARB(struct _glapi_table *disp)
+{
+ return (_glptr_GetnMapivARB) (GET_by_offset(disp, _gloffset_GetnMapivARB));
}
-static inline void SET_GetnMapivARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLsizei, GLint *)) {
- SET_by_offset(disp, _gloffset_GetnMapivARB, fn);
+static inline void
+SET_GetnMapivARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, GLsizei, GLint *))
+{
+ SET_by_offset(disp, _gloffset_GetnMapivARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetnMinmaxARB)(GLenum, GLboolean, GLenum, GLenum, GLsizei, GLvoid *);
+typedef void (GLAPIENTRYP _glptr_GetnMinmaxARB) (GLenum, GLboolean, GLenum,
+ GLenum, GLsizei, GLvoid *);
#define CALL_GetnMinmaxARB(disp, parameters) \
(* GET_GetnMinmaxARB(disp)) parameters
-static inline _glptr_GetnMinmaxARB GET_GetnMinmaxARB(struct _glapi_table *disp) {
- return (_glptr_GetnMinmaxARB) (GET_by_offset(disp, _gloffset_GetnMinmaxARB));
+static inline _glptr_GetnMinmaxARB
+GET_GetnMinmaxARB(struct _glapi_table *disp)
+{
+ return (_glptr_GetnMinmaxARB) (GET_by_offset
+ (disp, _gloffset_GetnMinmaxARB));
}
-static inline void SET_GetnMinmaxARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLboolean, GLenum, GLenum, GLsizei, GLvoid *)) {
- SET_by_offset(disp, _gloffset_GetnMinmaxARB, fn);
+static inline void
+SET_GetnMinmaxARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLboolean, GLenum, GLenum,
+ GLsizei, GLvoid *))
+{
+ SET_by_offset(disp, _gloffset_GetnMinmaxARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetnPixelMapfvARB)(GLenum, GLsizei, GLfloat *);
+typedef void (GLAPIENTRYP _glptr_GetnPixelMapfvARB) (GLenum, GLsizei,
+ GLfloat *);
#define CALL_GetnPixelMapfvARB(disp, parameters) \
(* GET_GetnPixelMapfvARB(disp)) parameters
-static inline _glptr_GetnPixelMapfvARB GET_GetnPixelMapfvARB(struct _glapi_table *disp) {
- return (_glptr_GetnPixelMapfvARB) (GET_by_offset(disp, _gloffset_GetnPixelMapfvARB));
+static inline _glptr_GetnPixelMapfvARB
+GET_GetnPixelMapfvARB(struct _glapi_table *disp)
+{
+ return (_glptr_GetnPixelMapfvARB) (GET_by_offset
+ (disp, _gloffset_GetnPixelMapfvARB));
}
-static inline void SET_GetnPixelMapfvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, GLfloat *)) {
- SET_by_offset(disp, _gloffset_GetnPixelMapfvARB, fn);
+static inline void
+SET_GetnPixelMapfvARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLsizei, GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_GetnPixelMapfvARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetnPixelMapuivARB)(GLenum, GLsizei, GLuint *);
+typedef void (GLAPIENTRYP _glptr_GetnPixelMapuivARB) (GLenum, GLsizei,
+ GLuint *);
#define CALL_GetnPixelMapuivARB(disp, parameters) \
(* GET_GetnPixelMapuivARB(disp)) parameters
-static inline _glptr_GetnPixelMapuivARB GET_GetnPixelMapuivARB(struct _glapi_table *disp) {
- return (_glptr_GetnPixelMapuivARB) (GET_by_offset(disp, _gloffset_GetnPixelMapuivARB));
+static inline _glptr_GetnPixelMapuivARB
+GET_GetnPixelMapuivARB(struct _glapi_table *disp)
+{
+ return (_glptr_GetnPixelMapuivARB) (GET_by_offset
+ (disp, _gloffset_GetnPixelMapuivARB));
}
-static inline void SET_GetnPixelMapuivARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, GLuint *)) {
- SET_by_offset(disp, _gloffset_GetnPixelMapuivARB, fn);
+static inline void
+SET_GetnPixelMapuivARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLsizei, GLuint *))
+{
+ SET_by_offset(disp, _gloffset_GetnPixelMapuivARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetnPixelMapusvARB)(GLenum, GLsizei, GLushort *);
+typedef void (GLAPIENTRYP _glptr_GetnPixelMapusvARB) (GLenum, GLsizei,
+ GLushort *);
#define CALL_GetnPixelMapusvARB(disp, parameters) \
(* GET_GetnPixelMapusvARB(disp)) parameters
-static inline _glptr_GetnPixelMapusvARB GET_GetnPixelMapusvARB(struct _glapi_table *disp) {
- return (_glptr_GetnPixelMapusvARB) (GET_by_offset(disp, _gloffset_GetnPixelMapusvARB));
+static inline _glptr_GetnPixelMapusvARB
+GET_GetnPixelMapusvARB(struct _glapi_table *disp)
+{
+ return (_glptr_GetnPixelMapusvARB) (GET_by_offset
+ (disp, _gloffset_GetnPixelMapusvARB));
}
-static inline void SET_GetnPixelMapusvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, GLushort *)) {
- SET_by_offset(disp, _gloffset_GetnPixelMapusvARB, fn);
+static inline void
+SET_GetnPixelMapusvARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLsizei, GLushort *))
+{
+ SET_by_offset(disp, _gloffset_GetnPixelMapusvARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetnPolygonStippleARB)(GLsizei, GLubyte *);
+typedef void (GLAPIENTRYP _glptr_GetnPolygonStippleARB) (GLsizei, GLubyte *);
+
#define CALL_GetnPolygonStippleARB(disp, parameters) \
(* GET_GetnPolygonStippleARB(disp)) parameters
-static inline _glptr_GetnPolygonStippleARB GET_GetnPolygonStippleARB(struct _glapi_table *disp) {
- return (_glptr_GetnPolygonStippleARB) (GET_by_offset(disp, _gloffset_GetnPolygonStippleARB));
+static inline _glptr_GetnPolygonStippleARB
+GET_GetnPolygonStippleARB(struct _glapi_table *disp)
+{
+ return (_glptr_GetnPolygonStippleARB) (GET_by_offset
+ (disp,
+ _gloffset_GetnPolygonStippleARB));
}
-static inline void SET_GetnPolygonStippleARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, GLubyte *)) {
- SET_by_offset(disp, _gloffset_GetnPolygonStippleARB, fn);
+static inline void
+SET_GetnPolygonStippleARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLsizei, GLubyte *))
+{
+ SET_by_offset(disp, _gloffset_GetnPolygonStippleARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetnSeparableFilterARB)(GLenum, GLenum, GLenum, GLsizei, GLvoid *, GLsizei, GLvoid *, GLvoid *);
+typedef void (GLAPIENTRYP _glptr_GetnSeparableFilterARB) (GLenum, GLenum,
+ GLenum, GLsizei,
+ GLvoid *, GLsizei,
+ GLvoid *, GLvoid *);
#define CALL_GetnSeparableFilterARB(disp, parameters) \
(* GET_GetnSeparableFilterARB(disp)) parameters
-static inline _glptr_GetnSeparableFilterARB GET_GetnSeparableFilterARB(struct _glapi_table *disp) {
- return (_glptr_GetnSeparableFilterARB) (GET_by_offset(disp, _gloffset_GetnSeparableFilterARB));
+static inline _glptr_GetnSeparableFilterARB
+GET_GetnSeparableFilterARB(struct _glapi_table *disp)
+{
+ return (_glptr_GetnSeparableFilterARB) (GET_by_offset
+ (disp,
+ _gloffset_GetnSeparableFilterARB));
}
-static inline void SET_GetnSeparableFilterARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLenum, GLsizei, GLvoid *, GLsizei, GLvoid *, GLvoid *)) {
- SET_by_offset(disp, _gloffset_GetnSeparableFilterARB, fn);
+static inline void
+SET_GetnSeparableFilterARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, GLenum,
+ GLsizei, GLvoid *, GLsizei,
+ GLvoid *, GLvoid *))
+{
+ SET_by_offset(disp, _gloffset_GetnSeparableFilterARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetnTexImageARB)(GLenum, GLint, GLenum, GLenum, GLsizei, GLvoid *);
+typedef void (GLAPIENTRYP _glptr_GetnTexImageARB) (GLenum, GLint, GLenum,
+ GLenum, GLsizei, GLvoid *);
#define CALL_GetnTexImageARB(disp, parameters) \
(* GET_GetnTexImageARB(disp)) parameters
-static inline _glptr_GetnTexImageARB GET_GetnTexImageARB(struct _glapi_table *disp) {
- return (_glptr_GetnTexImageARB) (GET_by_offset(disp, _gloffset_GetnTexImageARB));
+static inline _glptr_GetnTexImageARB
+GET_GetnTexImageARB(struct _glapi_table *disp)
+{
+ return (_glptr_GetnTexImageARB) (GET_by_offset
+ (disp, _gloffset_GetnTexImageARB));
}
-static inline void SET_GetnTexImageARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint, GLenum, GLenum, GLsizei, GLvoid *)) {
- SET_by_offset(disp, _gloffset_GetnTexImageARB, fn);
+static inline void
+SET_GetnTexImageARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLint, GLenum, GLenum,
+ GLsizei, GLvoid *))
+{
+ SET_by_offset(disp, _gloffset_GetnTexImageARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetnUniformdvARB)(GLhandleARB, GLint, GLsizei, GLdouble *);
+typedef void (GLAPIENTRYP _glptr_GetnUniformdvARB) (GLhandleARB, GLint, GLsizei,
+ GLdouble *);
#define CALL_GetnUniformdvARB(disp, parameters) \
(* GET_GetnUniformdvARB(disp)) parameters
-static inline _glptr_GetnUniformdvARB GET_GetnUniformdvARB(struct _glapi_table *disp) {
- return (_glptr_GetnUniformdvARB) (GET_by_offset(disp, _gloffset_GetnUniformdvARB));
+static inline _glptr_GetnUniformdvARB
+GET_GetnUniformdvARB(struct _glapi_table *disp)
+{
+ return (_glptr_GetnUniformdvARB) (GET_by_offset
+ (disp, _gloffset_GetnUniformdvARB));
}
-static inline void SET_GetnUniformdvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLhandleARB, GLint, GLsizei, GLdouble *)) {
- SET_by_offset(disp, _gloffset_GetnUniformdvARB, fn);
+static inline void
+SET_GetnUniformdvARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLhandleARB, GLint, GLsizei,
+ GLdouble *))
+{
+ SET_by_offset(disp, _gloffset_GetnUniformdvARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetnUniformfvARB)(GLhandleARB, GLint, GLsizei, GLfloat *);
+typedef void (GLAPIENTRYP _glptr_GetnUniformfvARB) (GLhandleARB, GLint, GLsizei,
+ GLfloat *);
#define CALL_GetnUniformfvARB(disp, parameters) \
(* GET_GetnUniformfvARB(disp)) parameters
-static inline _glptr_GetnUniformfvARB GET_GetnUniformfvARB(struct _glapi_table *disp) {
- return (_glptr_GetnUniformfvARB) (GET_by_offset(disp, _gloffset_GetnUniformfvARB));
+static inline _glptr_GetnUniformfvARB
+GET_GetnUniformfvARB(struct _glapi_table *disp)
+{
+ return (_glptr_GetnUniformfvARB) (GET_by_offset
+ (disp, _gloffset_GetnUniformfvARB));
}
-static inline void SET_GetnUniformfvARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLhandleARB, GLint, GLsizei, GLfloat *)) {
- SET_by_offset(disp, _gloffset_GetnUniformfvARB, fn);
+static inline void
+SET_GetnUniformfvARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLhandleARB, GLint, GLsizei,
+ GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_GetnUniformfvARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetnUniformivARB)(GLhandleARB, GLint, GLsizei, GLint *);
+typedef void (GLAPIENTRYP _glptr_GetnUniformivARB) (GLhandleARB, GLint, GLsizei,
+ GLint *);
#define CALL_GetnUniformivARB(disp, parameters) \
(* GET_GetnUniformivARB(disp)) parameters
-static inline _glptr_GetnUniformivARB GET_GetnUniformivARB(struct _glapi_table *disp) {
- return (_glptr_GetnUniformivARB) (GET_by_offset(disp, _gloffset_GetnUniformivARB));
+static inline _glptr_GetnUniformivARB
+GET_GetnUniformivARB(struct _glapi_table *disp)
+{
+ return (_glptr_GetnUniformivARB) (GET_by_offset
+ (disp, _gloffset_GetnUniformivARB));
}
-static inline void SET_GetnUniformivARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLhandleARB, GLint, GLsizei, GLint *)) {
- SET_by_offset(disp, _gloffset_GetnUniformivARB, fn);
+static inline void
+SET_GetnUniformivARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLhandleARB, GLint, GLsizei,
+ GLint *))
+{
+ SET_by_offset(disp, _gloffset_GetnUniformivARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetnUniformuivARB)(GLhandleARB, GLint, GLsizei, GLuint *);
+typedef void (GLAPIENTRYP _glptr_GetnUniformuivARB) (GLhandleARB, GLint,
+ GLsizei, GLuint *);
#define CALL_GetnUniformuivARB(disp, parameters) \
(* GET_GetnUniformuivARB(disp)) parameters
-static inline _glptr_GetnUniformuivARB GET_GetnUniformuivARB(struct _glapi_table *disp) {
- return (_glptr_GetnUniformuivARB) (GET_by_offset(disp, _gloffset_GetnUniformuivARB));
+static inline _glptr_GetnUniformuivARB
+GET_GetnUniformuivARB(struct _glapi_table *disp)
+{
+ return (_glptr_GetnUniformuivARB) (GET_by_offset
+ (disp, _gloffset_GetnUniformuivARB));
}
-static inline void SET_GetnUniformuivARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLhandleARB, GLint, GLsizei, GLuint *)) {
- SET_by_offset(disp, _gloffset_GetnUniformuivARB, fn);
+static inline void
+SET_GetnUniformuivARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLhandleARB, GLint, GLsizei,
+ GLuint *))
+{
+ SET_by_offset(disp, _gloffset_GetnUniformuivARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_ReadnPixelsARB)(GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLsizei, GLvoid *);
+typedef void (GLAPIENTRYP _glptr_ReadnPixelsARB) (GLint, GLint, GLsizei,
+ GLsizei, GLenum, GLenum,
+ GLsizei, GLvoid *);
#define CALL_ReadnPixelsARB(disp, parameters) \
(* GET_ReadnPixelsARB(disp)) parameters
-static inline _glptr_ReadnPixelsARB GET_ReadnPixelsARB(struct _glapi_table *disp) {
- return (_glptr_ReadnPixelsARB) (GET_by_offset(disp, _gloffset_ReadnPixelsARB));
+static inline _glptr_ReadnPixelsARB
+GET_ReadnPixelsARB(struct _glapi_table *disp)
+{
+ return (_glptr_ReadnPixelsARB) (GET_by_offset
+ (disp, _gloffset_ReadnPixelsARB));
}
-static inline void SET_ReadnPixelsARB(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLsizei, GLvoid *)) {
- SET_by_offset(disp, _gloffset_ReadnPixelsARB, fn);
+static inline void
+SET_ReadnPixelsARB(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLint, GLint, GLsizei, GLsizei,
+ GLenum, GLenum, GLsizei, GLvoid *))
+{
+ SET_by_offset(disp, _gloffset_ReadnPixelsARB, fn);
}
-typedef void (GLAPIENTRYP _glptr_TexStorage1D)(GLenum, GLsizei, GLenum, GLsizei);
+typedef void (GLAPIENTRYP _glptr_TexStorage1D) (GLenum, GLsizei, GLenum,
+ GLsizei);
#define CALL_TexStorage1D(disp, parameters) \
(* GET_TexStorage1D(disp)) parameters
-static inline _glptr_TexStorage1D GET_TexStorage1D(struct _glapi_table *disp) {
- return (_glptr_TexStorage1D) (GET_by_offset(disp, _gloffset_TexStorage1D));
+static inline _glptr_TexStorage1D
+GET_TexStorage1D(struct _glapi_table *disp)
+{
+ return (_glptr_TexStorage1D) (GET_by_offset(disp, _gloffset_TexStorage1D));
}
-static inline void SET_TexStorage1D(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, GLenum, GLsizei)) {
- SET_by_offset(disp, _gloffset_TexStorage1D, fn);
+static inline void
+SET_TexStorage1D(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLsizei, GLenum, GLsizei))
+{
+ SET_by_offset(disp, _gloffset_TexStorage1D, fn);
}
-typedef void (GLAPIENTRYP _glptr_TexStorage2D)(GLenum, GLsizei, GLenum, GLsizei, GLsizei);
+typedef void (GLAPIENTRYP _glptr_TexStorage2D) (GLenum, GLsizei, GLenum,
+ GLsizei, GLsizei);
#define CALL_TexStorage2D(disp, parameters) \
(* GET_TexStorage2D(disp)) parameters
-static inline _glptr_TexStorage2D GET_TexStorage2D(struct _glapi_table *disp) {
- return (_glptr_TexStorage2D) (GET_by_offset(disp, _gloffset_TexStorage2D));
+static inline _glptr_TexStorage2D
+GET_TexStorage2D(struct _glapi_table *disp)
+{
+ return (_glptr_TexStorage2D) (GET_by_offset(disp, _gloffset_TexStorage2D));
}
-static inline void SET_TexStorage2D(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, GLenum, GLsizei, GLsizei)) {
- SET_by_offset(disp, _gloffset_TexStorage2D, fn);
+static inline void
+SET_TexStorage2D(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLsizei, GLenum, GLsizei,
+ GLsizei))
+{
+ SET_by_offset(disp, _gloffset_TexStorage2D, fn);
}
-typedef void (GLAPIENTRYP _glptr_TexStorage3D)(GLenum, GLsizei, GLenum, GLsizei, GLsizei, GLsizei);
+typedef void (GLAPIENTRYP _glptr_TexStorage3D) (GLenum, GLsizei, GLenum,
+ GLsizei, GLsizei, GLsizei);
#define CALL_TexStorage3D(disp, parameters) \
(* GET_TexStorage3D(disp)) parameters
-static inline _glptr_TexStorage3D GET_TexStorage3D(struct _glapi_table *disp) {
- return (_glptr_TexStorage3D) (GET_by_offset(disp, _gloffset_TexStorage3D));
+static inline _glptr_TexStorage3D
+GET_TexStorage3D(struct _glapi_table *disp)
+{
+ return (_glptr_TexStorage3D) (GET_by_offset(disp, _gloffset_TexStorage3D));
}
-static inline void SET_TexStorage3D(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, GLenum, GLsizei, GLsizei, GLsizei)) {
- SET_by_offset(disp, _gloffset_TexStorage3D, fn);
+static inline void
+SET_TexStorage3D(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLsizei, GLenum, GLsizei,
+ GLsizei, GLsizei))
+{
+ SET_by_offset(disp, _gloffset_TexStorage3D, fn);
}
-typedef void (GLAPIENTRYP _glptr_TextureStorage1DEXT)(GLuint, GLenum, GLsizei, GLenum, GLsizei);
+typedef void (GLAPIENTRYP _glptr_TextureStorage1DEXT) (GLuint, GLenum, GLsizei,
+ GLenum, GLsizei);
#define CALL_TextureStorage1DEXT(disp, parameters) \
(* GET_TextureStorage1DEXT(disp)) parameters
-static inline _glptr_TextureStorage1DEXT GET_TextureStorage1DEXT(struct _glapi_table *disp) {
- return (_glptr_TextureStorage1DEXT) (GET_by_offset(disp, _gloffset_TextureStorage1DEXT));
+static inline _glptr_TextureStorage1DEXT
+GET_TextureStorage1DEXT(struct _glapi_table *disp)
+{
+ return (_glptr_TextureStorage1DEXT) (GET_by_offset
+ (disp, _gloffset_TextureStorage1DEXT));
}
-static inline void SET_TextureStorage1DEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLsizei, GLenum, GLsizei)) {
- SET_by_offset(disp, _gloffset_TextureStorage1DEXT, fn);
+static inline void
+SET_TextureStorage1DEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLenum, GLsizei, GLenum,
+ GLsizei))
+{
+ SET_by_offset(disp, _gloffset_TextureStorage1DEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_TextureStorage2DEXT)(GLuint, GLenum, GLsizei, GLenum, GLsizei, GLsizei);
+typedef void (GLAPIENTRYP _glptr_TextureStorage2DEXT) (GLuint, GLenum, GLsizei,
+ GLenum, GLsizei,
+ GLsizei);
#define CALL_TextureStorage2DEXT(disp, parameters) \
(* GET_TextureStorage2DEXT(disp)) parameters
-static inline _glptr_TextureStorage2DEXT GET_TextureStorage2DEXT(struct _glapi_table *disp) {
- return (_glptr_TextureStorage2DEXT) (GET_by_offset(disp, _gloffset_TextureStorage2DEXT));
+static inline _glptr_TextureStorage2DEXT
+GET_TextureStorage2DEXT(struct _glapi_table *disp)
+{
+ return (_glptr_TextureStorage2DEXT) (GET_by_offset
+ (disp, _gloffset_TextureStorage2DEXT));
}
-static inline void SET_TextureStorage2DEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLsizei, GLenum, GLsizei, GLsizei)) {
- SET_by_offset(disp, _gloffset_TextureStorage2DEXT, fn);
+static inline void
+SET_TextureStorage2DEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLenum, GLsizei, GLenum,
+ GLsizei, GLsizei))
+{
+ SET_by_offset(disp, _gloffset_TextureStorage2DEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_TextureStorage3DEXT)(GLuint, GLenum, GLsizei, GLenum, GLsizei, GLsizei, GLsizei);
+typedef void (GLAPIENTRYP _glptr_TextureStorage3DEXT) (GLuint, GLenum, GLsizei,
+ GLenum, GLsizei, GLsizei,
+ GLsizei);
#define CALL_TextureStorage3DEXT(disp, parameters) \
(* GET_TextureStorage3DEXT(disp)) parameters
-static inline _glptr_TextureStorage3DEXT GET_TextureStorage3DEXT(struct _glapi_table *disp) {
- return (_glptr_TextureStorage3DEXT) (GET_by_offset(disp, _gloffset_TextureStorage3DEXT));
+static inline _glptr_TextureStorage3DEXT
+GET_TextureStorage3DEXT(struct _glapi_table *disp)
+{
+ return (_glptr_TextureStorage3DEXT) (GET_by_offset
+ (disp, _gloffset_TextureStorage3DEXT));
}
-static inline void SET_TextureStorage3DEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLsizei, GLenum, GLsizei, GLsizei, GLsizei)) {
- SET_by_offset(disp, _gloffset_TextureStorage3DEXT, fn);
+static inline void
+SET_TextureStorage3DEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLenum, GLsizei, GLenum,
+ GLsizei, GLsizei, GLsizei))
+{
+ SET_by_offset(disp, _gloffset_TextureStorage3DEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_PolygonOffsetEXT)(GLfloat, GLfloat);
+typedef void (GLAPIENTRYP _glptr_PolygonOffsetEXT) (GLfloat, GLfloat);
+
#define CALL_PolygonOffsetEXT(disp, parameters) \
(* GET_PolygonOffsetEXT(disp)) parameters
-static inline _glptr_PolygonOffsetEXT GET_PolygonOffsetEXT(struct _glapi_table *disp) {
- return (_glptr_PolygonOffsetEXT) (GET_by_offset(disp, _gloffset_PolygonOffsetEXT));
+static inline _glptr_PolygonOffsetEXT
+GET_PolygonOffsetEXT(struct _glapi_table *disp)
+{
+ return (_glptr_PolygonOffsetEXT) (GET_by_offset
+ (disp, _gloffset_PolygonOffsetEXT));
}
-static inline void SET_PolygonOffsetEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat)) {
- SET_by_offset(disp, _gloffset_PolygonOffsetEXT, fn);
+static inline void
+SET_PolygonOffsetEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLfloat, GLfloat))
+{
+ SET_by_offset(disp, _gloffset_PolygonOffsetEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetPixelTexGenParameterfvSGIS)(GLenum, GLfloat *);
+typedef void (GLAPIENTRYP _glptr_GetPixelTexGenParameterfvSGIS) (GLenum,
+ GLfloat *);
#define CALL_GetPixelTexGenParameterfvSGIS(disp, parameters) \
(* GET_GetPixelTexGenParameterfvSGIS(disp)) parameters
-static inline _glptr_GetPixelTexGenParameterfvSGIS GET_GetPixelTexGenParameterfvSGIS(struct _glapi_table *disp) {
- return (_glptr_GetPixelTexGenParameterfvSGIS) (GET_by_offset(disp, _gloffset_GetPixelTexGenParameterfvSGIS));
+static inline _glptr_GetPixelTexGenParameterfvSGIS
+GET_GetPixelTexGenParameterfvSGIS(struct _glapi_table *disp)
+{
+ return (_glptr_GetPixelTexGenParameterfvSGIS) (GET_by_offset
+ (disp,
+ _gloffset_GetPixelTexGenParameterfvSGIS));
}
-static inline void SET_GetPixelTexGenParameterfvSGIS(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLfloat *)) {
- SET_by_offset(disp, _gloffset_GetPixelTexGenParameterfvSGIS, fn);
+static inline void
+SET_GetPixelTexGenParameterfvSGIS(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_GetPixelTexGenParameterfvSGIS, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetPixelTexGenParameterivSGIS)(GLenum, GLint *);
+typedef void (GLAPIENTRYP _glptr_GetPixelTexGenParameterivSGIS) (GLenum,
+ GLint *);
#define CALL_GetPixelTexGenParameterivSGIS(disp, parameters) \
(* GET_GetPixelTexGenParameterivSGIS(disp)) parameters
-static inline _glptr_GetPixelTexGenParameterivSGIS GET_GetPixelTexGenParameterivSGIS(struct _glapi_table *disp) {
- return (_glptr_GetPixelTexGenParameterivSGIS) (GET_by_offset(disp, _gloffset_GetPixelTexGenParameterivSGIS));
+static inline _glptr_GetPixelTexGenParameterivSGIS
+GET_GetPixelTexGenParameterivSGIS(struct _glapi_table *disp)
+{
+ return (_glptr_GetPixelTexGenParameterivSGIS) (GET_by_offset
+ (disp,
+ _gloffset_GetPixelTexGenParameterivSGIS));
}
-static inline void SET_GetPixelTexGenParameterivSGIS(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint *)) {
- SET_by_offset(disp, _gloffset_GetPixelTexGenParameterivSGIS, fn);
+static inline void
+SET_GetPixelTexGenParameterivSGIS(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLint *))
+{
+ SET_by_offset(disp, _gloffset_GetPixelTexGenParameterivSGIS, fn);
}
-typedef void (GLAPIENTRYP _glptr_PixelTexGenParameterfSGIS)(GLenum, GLfloat);
+typedef void (GLAPIENTRYP _glptr_PixelTexGenParameterfSGIS) (GLenum, GLfloat);
+
#define CALL_PixelTexGenParameterfSGIS(disp, parameters) \
(* GET_PixelTexGenParameterfSGIS(disp)) parameters
-static inline _glptr_PixelTexGenParameterfSGIS GET_PixelTexGenParameterfSGIS(struct _glapi_table *disp) {
- return (_glptr_PixelTexGenParameterfSGIS) (GET_by_offset(disp, _gloffset_PixelTexGenParameterfSGIS));
+static inline _glptr_PixelTexGenParameterfSGIS
+GET_PixelTexGenParameterfSGIS(struct _glapi_table *disp)
+{
+ return (_glptr_PixelTexGenParameterfSGIS) (GET_by_offset
+ (disp,
+ _gloffset_PixelTexGenParameterfSGIS));
}
-static inline void SET_PixelTexGenParameterfSGIS(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLfloat)) {
- SET_by_offset(disp, _gloffset_PixelTexGenParameterfSGIS, fn);
+static inline void
+SET_PixelTexGenParameterfSGIS(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLfloat))
+{
+ SET_by_offset(disp, _gloffset_PixelTexGenParameterfSGIS, fn);
}
-typedef void (GLAPIENTRYP _glptr_PixelTexGenParameterfvSGIS)(GLenum, const GLfloat *);
+typedef void (GLAPIENTRYP _glptr_PixelTexGenParameterfvSGIS) (GLenum,
+ const GLfloat *);
#define CALL_PixelTexGenParameterfvSGIS(disp, parameters) \
(* GET_PixelTexGenParameterfvSGIS(disp)) parameters
-static inline _glptr_PixelTexGenParameterfvSGIS GET_PixelTexGenParameterfvSGIS(struct _glapi_table *disp) {
- return (_glptr_PixelTexGenParameterfvSGIS) (GET_by_offset(disp, _gloffset_PixelTexGenParameterfvSGIS));
+static inline _glptr_PixelTexGenParameterfvSGIS
+GET_PixelTexGenParameterfvSGIS(struct _glapi_table *disp)
+{
+ return (_glptr_PixelTexGenParameterfvSGIS) (GET_by_offset
+ (disp,
+ _gloffset_PixelTexGenParameterfvSGIS));
}
-static inline void SET_PixelTexGenParameterfvSGIS(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLfloat *)) {
- SET_by_offset(disp, _gloffset_PixelTexGenParameterfvSGIS, fn);
+static inline void
+SET_PixelTexGenParameterfvSGIS(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, const GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_PixelTexGenParameterfvSGIS, fn);
}
-typedef void (GLAPIENTRYP _glptr_PixelTexGenParameteriSGIS)(GLenum, GLint);
+typedef void (GLAPIENTRYP _glptr_PixelTexGenParameteriSGIS) (GLenum, GLint);
+
#define CALL_PixelTexGenParameteriSGIS(disp, parameters) \
(* GET_PixelTexGenParameteriSGIS(disp)) parameters
-static inline _glptr_PixelTexGenParameteriSGIS GET_PixelTexGenParameteriSGIS(struct _glapi_table *disp) {
- return (_glptr_PixelTexGenParameteriSGIS) (GET_by_offset(disp, _gloffset_PixelTexGenParameteriSGIS));
+static inline _glptr_PixelTexGenParameteriSGIS
+GET_PixelTexGenParameteriSGIS(struct _glapi_table *disp)
+{
+ return (_glptr_PixelTexGenParameteriSGIS) (GET_by_offset
+ (disp,
+ _gloffset_PixelTexGenParameteriSGIS));
}
-static inline void SET_PixelTexGenParameteriSGIS(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint)) {
- SET_by_offset(disp, _gloffset_PixelTexGenParameteriSGIS, fn);
+static inline void
+SET_PixelTexGenParameteriSGIS(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLint))
+{
+ SET_by_offset(disp, _gloffset_PixelTexGenParameteriSGIS, fn);
}
-typedef void (GLAPIENTRYP _glptr_PixelTexGenParameterivSGIS)(GLenum, const GLint *);
+typedef void (GLAPIENTRYP _glptr_PixelTexGenParameterivSGIS) (GLenum,
+ const GLint *);
#define CALL_PixelTexGenParameterivSGIS(disp, parameters) \
(* GET_PixelTexGenParameterivSGIS(disp)) parameters
-static inline _glptr_PixelTexGenParameterivSGIS GET_PixelTexGenParameterivSGIS(struct _glapi_table *disp) {
- return (_glptr_PixelTexGenParameterivSGIS) (GET_by_offset(disp, _gloffset_PixelTexGenParameterivSGIS));
+static inline _glptr_PixelTexGenParameterivSGIS
+GET_PixelTexGenParameterivSGIS(struct _glapi_table *disp)
+{
+ return (_glptr_PixelTexGenParameterivSGIS) (GET_by_offset
+ (disp,
+ _gloffset_PixelTexGenParameterivSGIS));
}
-static inline void SET_PixelTexGenParameterivSGIS(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLint *)) {
- SET_by_offset(disp, _gloffset_PixelTexGenParameterivSGIS, fn);
+static inline void
+SET_PixelTexGenParameterivSGIS(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, const GLint *))
+{
+ SET_by_offset(disp, _gloffset_PixelTexGenParameterivSGIS, fn);
}
-typedef void (GLAPIENTRYP _glptr_SampleMaskSGIS)(GLclampf, GLboolean);
+typedef void (GLAPIENTRYP _glptr_SampleMaskSGIS) (GLclampf, GLboolean);
+
#define CALL_SampleMaskSGIS(disp, parameters) \
(* GET_SampleMaskSGIS(disp)) parameters
-static inline _glptr_SampleMaskSGIS GET_SampleMaskSGIS(struct _glapi_table *disp) {
- return (_glptr_SampleMaskSGIS) (GET_by_offset(disp, _gloffset_SampleMaskSGIS));
+static inline _glptr_SampleMaskSGIS
+GET_SampleMaskSGIS(struct _glapi_table *disp)
+{
+ return (_glptr_SampleMaskSGIS) (GET_by_offset
+ (disp, _gloffset_SampleMaskSGIS));
}
-static inline void SET_SampleMaskSGIS(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLclampf, GLboolean)) {
- SET_by_offset(disp, _gloffset_SampleMaskSGIS, fn);
+static inline void
+SET_SampleMaskSGIS(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLclampf, GLboolean))
+{
+ SET_by_offset(disp, _gloffset_SampleMaskSGIS, fn);
}
-typedef void (GLAPIENTRYP _glptr_SamplePatternSGIS)(GLenum);
+typedef void (GLAPIENTRYP _glptr_SamplePatternSGIS) (GLenum);
+
#define CALL_SamplePatternSGIS(disp, parameters) \
(* GET_SamplePatternSGIS(disp)) parameters
-static inline _glptr_SamplePatternSGIS GET_SamplePatternSGIS(struct _glapi_table *disp) {
- return (_glptr_SamplePatternSGIS) (GET_by_offset(disp, _gloffset_SamplePatternSGIS));
+static inline _glptr_SamplePatternSGIS
+GET_SamplePatternSGIS(struct _glapi_table *disp)
+{
+ return (_glptr_SamplePatternSGIS) (GET_by_offset
+ (disp, _gloffset_SamplePatternSGIS));
}
-static inline void SET_SamplePatternSGIS(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) {
- SET_by_offset(disp, _gloffset_SamplePatternSGIS, fn);
+static inline void
+SET_SamplePatternSGIS(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLenum))
+{
+ SET_by_offset(disp, _gloffset_SamplePatternSGIS, fn);
}
-typedef void (GLAPIENTRYP _glptr_ColorPointerEXT)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *);
+typedef void (GLAPIENTRYP _glptr_ColorPointerEXT) (GLint, GLenum, GLsizei,
+ GLsizei, const GLvoid *);
#define CALL_ColorPointerEXT(disp, parameters) \
(* GET_ColorPointerEXT(disp)) parameters
-static inline _glptr_ColorPointerEXT GET_ColorPointerEXT(struct _glapi_table *disp) {
- return (_glptr_ColorPointerEXT) (GET_by_offset(disp, _gloffset_ColorPointerEXT));
+static inline _glptr_ColorPointerEXT
+GET_ColorPointerEXT(struct _glapi_table *disp)
+{
+ return (_glptr_ColorPointerEXT) (GET_by_offset
+ (disp, _gloffset_ColorPointerEXT));
}
-static inline void SET_ColorPointerEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *)) {
- SET_by_offset(disp, _gloffset_ColorPointerEXT, fn);
+static inline void
+SET_ColorPointerEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLint, GLenum, GLsizei, GLsizei,
+ const GLvoid *))
+{
+ SET_by_offset(disp, _gloffset_ColorPointerEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_EdgeFlagPointerEXT)(GLsizei, GLsizei, const GLboolean *);
+typedef void (GLAPIENTRYP _glptr_EdgeFlagPointerEXT) (GLsizei, GLsizei,
+ const GLboolean *);
#define CALL_EdgeFlagPointerEXT(disp, parameters) \
(* GET_EdgeFlagPointerEXT(disp)) parameters
-static inline _glptr_EdgeFlagPointerEXT GET_EdgeFlagPointerEXT(struct _glapi_table *disp) {
- return (_glptr_EdgeFlagPointerEXT) (GET_by_offset(disp, _gloffset_EdgeFlagPointerEXT));
+static inline _glptr_EdgeFlagPointerEXT
+GET_EdgeFlagPointerEXT(struct _glapi_table *disp)
+{
+ return (_glptr_EdgeFlagPointerEXT) (GET_by_offset
+ (disp, _gloffset_EdgeFlagPointerEXT));
}
-static inline void SET_EdgeFlagPointerEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, GLsizei, const GLboolean *)) {
- SET_by_offset(disp, _gloffset_EdgeFlagPointerEXT, fn);
+static inline void
+SET_EdgeFlagPointerEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLsizei, GLsizei,
+ const GLboolean *))
+{
+ SET_by_offset(disp, _gloffset_EdgeFlagPointerEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_IndexPointerEXT)(GLenum, GLsizei, GLsizei, const GLvoid *);
+typedef void (GLAPIENTRYP _glptr_IndexPointerEXT) (GLenum, GLsizei, GLsizei,
+ const GLvoid *);
#define CALL_IndexPointerEXT(disp, parameters) \
(* GET_IndexPointerEXT(disp)) parameters
-static inline _glptr_IndexPointerEXT GET_IndexPointerEXT(struct _glapi_table *disp) {
- return (_glptr_IndexPointerEXT) (GET_by_offset(disp, _gloffset_IndexPointerEXT));
+static inline _glptr_IndexPointerEXT
+GET_IndexPointerEXT(struct _glapi_table *disp)
+{
+ return (_glptr_IndexPointerEXT) (GET_by_offset
+ (disp, _gloffset_IndexPointerEXT));
}
-static inline void SET_IndexPointerEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, GLsizei, const GLvoid *)) {
- SET_by_offset(disp, _gloffset_IndexPointerEXT, fn);
+static inline void
+SET_IndexPointerEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLsizei, GLsizei,
+ const GLvoid *))
+{
+ SET_by_offset(disp, _gloffset_IndexPointerEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_NormalPointerEXT)(GLenum, GLsizei, GLsizei, const GLvoid *);
+typedef void (GLAPIENTRYP _glptr_NormalPointerEXT) (GLenum, GLsizei, GLsizei,
+ const GLvoid *);
#define CALL_NormalPointerEXT(disp, parameters) \
(* GET_NormalPointerEXT(disp)) parameters
-static inline _glptr_NormalPointerEXT GET_NormalPointerEXT(struct _glapi_table *disp) {
- return (_glptr_NormalPointerEXT) (GET_by_offset(disp, _gloffset_NormalPointerEXT));
+static inline _glptr_NormalPointerEXT
+GET_NormalPointerEXT(struct _glapi_table *disp)
+{
+ return (_glptr_NormalPointerEXT) (GET_by_offset
+ (disp, _gloffset_NormalPointerEXT));
}
-static inline void SET_NormalPointerEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, GLsizei, const GLvoid *)) {
- SET_by_offset(disp, _gloffset_NormalPointerEXT, fn);
+static inline void
+SET_NormalPointerEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLsizei, GLsizei,
+ const GLvoid *))
+{
+ SET_by_offset(disp, _gloffset_NormalPointerEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_TexCoordPointerEXT)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *);
+typedef void (GLAPIENTRYP _glptr_TexCoordPointerEXT) (GLint, GLenum, GLsizei,
+ GLsizei, const GLvoid *);
#define CALL_TexCoordPointerEXT(disp, parameters) \
(* GET_TexCoordPointerEXT(disp)) parameters
-static inline _glptr_TexCoordPointerEXT GET_TexCoordPointerEXT(struct _glapi_table *disp) {
- return (_glptr_TexCoordPointerEXT) (GET_by_offset(disp, _gloffset_TexCoordPointerEXT));
+static inline _glptr_TexCoordPointerEXT
+GET_TexCoordPointerEXT(struct _glapi_table *disp)
+{
+ return (_glptr_TexCoordPointerEXT) (GET_by_offset
+ (disp, _gloffset_TexCoordPointerEXT));
}
-static inline void SET_TexCoordPointerEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *)) {
- SET_by_offset(disp, _gloffset_TexCoordPointerEXT, fn);
+static inline void
+SET_TexCoordPointerEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLint, GLenum, GLsizei, GLsizei,
+ const GLvoid *))
+{
+ SET_by_offset(disp, _gloffset_TexCoordPointerEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexPointerEXT)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *);
+typedef void (GLAPIENTRYP _glptr_VertexPointerEXT) (GLint, GLenum, GLsizei,
+ GLsizei, const GLvoid *);
#define CALL_VertexPointerEXT(disp, parameters) \
(* GET_VertexPointerEXT(disp)) parameters
-static inline _glptr_VertexPointerEXT GET_VertexPointerEXT(struct _glapi_table *disp) {
- return (_glptr_VertexPointerEXT) (GET_by_offset(disp, _gloffset_VertexPointerEXT));
+static inline _glptr_VertexPointerEXT
+GET_VertexPointerEXT(struct _glapi_table *disp)
+{
+ return (_glptr_VertexPointerEXT) (GET_by_offset
+ (disp, _gloffset_VertexPointerEXT));
}
-static inline void SET_VertexPointerEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *)) {
- SET_by_offset(disp, _gloffset_VertexPointerEXT, fn);
+static inline void
+SET_VertexPointerEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLint, GLenum, GLsizei, GLsizei,
+ const GLvoid *))
+{
+ SET_by_offset(disp, _gloffset_VertexPointerEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_PointParameterfEXT)(GLenum, GLfloat);
+typedef void (GLAPIENTRYP _glptr_PointParameterfEXT) (GLenum, GLfloat);
+
#define CALL_PointParameterfEXT(disp, parameters) \
(* GET_PointParameterfEXT(disp)) parameters
-static inline _glptr_PointParameterfEXT GET_PointParameterfEXT(struct _glapi_table *disp) {
- return (_glptr_PointParameterfEXT) (GET_by_offset(disp, _gloffset_PointParameterfEXT));
+static inline _glptr_PointParameterfEXT
+GET_PointParameterfEXT(struct _glapi_table *disp)
+{
+ return (_glptr_PointParameterfEXT) (GET_by_offset
+ (disp, _gloffset_PointParameterfEXT));
}
-static inline void SET_PointParameterfEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLfloat)) {
- SET_by_offset(disp, _gloffset_PointParameterfEXT, fn);
+static inline void
+SET_PointParameterfEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLfloat))
+{
+ SET_by_offset(disp, _gloffset_PointParameterfEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_PointParameterfvEXT)(GLenum, const GLfloat *);
+typedef void (GLAPIENTRYP _glptr_PointParameterfvEXT) (GLenum, const GLfloat *);
+
#define CALL_PointParameterfvEXT(disp, parameters) \
(* GET_PointParameterfvEXT(disp)) parameters
-static inline _glptr_PointParameterfvEXT GET_PointParameterfvEXT(struct _glapi_table *disp) {
- return (_glptr_PointParameterfvEXT) (GET_by_offset(disp, _gloffset_PointParameterfvEXT));
+static inline _glptr_PointParameterfvEXT
+GET_PointParameterfvEXT(struct _glapi_table *disp)
+{
+ return (_glptr_PointParameterfvEXT) (GET_by_offset
+ (disp, _gloffset_PointParameterfvEXT));
}
-static inline void SET_PointParameterfvEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLfloat *)) {
- SET_by_offset(disp, _gloffset_PointParameterfvEXT, fn);
+static inline void
+SET_PointParameterfvEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, const GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_PointParameterfvEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_LockArraysEXT)(GLint, GLsizei);
+typedef void (GLAPIENTRYP _glptr_LockArraysEXT) (GLint, GLsizei);
+
#define CALL_LockArraysEXT(disp, parameters) \
(* GET_LockArraysEXT(disp)) parameters
-static inline _glptr_LockArraysEXT GET_LockArraysEXT(struct _glapi_table *disp) {
- return (_glptr_LockArraysEXT) (GET_by_offset(disp, _gloffset_LockArraysEXT));
+static inline _glptr_LockArraysEXT
+GET_LockArraysEXT(struct _glapi_table *disp)
+{
+ return (_glptr_LockArraysEXT) (GET_by_offset
+ (disp, _gloffset_LockArraysEXT));
}
-static inline void SET_LockArraysEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLsizei)) {
- SET_by_offset(disp, _gloffset_LockArraysEXT, fn);
+static inline void
+SET_LockArraysEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLint, GLsizei))
+{
+ SET_by_offset(disp, _gloffset_LockArraysEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_UnlockArraysEXT)(void);
+typedef void (GLAPIENTRYP _glptr_UnlockArraysEXT) (void);
+
#define CALL_UnlockArraysEXT(disp, parameters) \
(* GET_UnlockArraysEXT(disp)) parameters
-static inline _glptr_UnlockArraysEXT GET_UnlockArraysEXT(struct _glapi_table *disp) {
- return (_glptr_UnlockArraysEXT) (GET_by_offset(disp, _gloffset_UnlockArraysEXT));
+static inline _glptr_UnlockArraysEXT
+GET_UnlockArraysEXT(struct _glapi_table *disp)
+{
+ return (_glptr_UnlockArraysEXT) (GET_by_offset
+ (disp, _gloffset_UnlockArraysEXT));
}
-static inline void SET_UnlockArraysEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) {
- SET_by_offset(disp, _gloffset_UnlockArraysEXT, fn);
+static inline void
+SET_UnlockArraysEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn) (void))
+{
+ SET_by_offset(disp, _gloffset_UnlockArraysEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_SecondaryColor3bEXT)(GLbyte, GLbyte, GLbyte);
+typedef void (GLAPIENTRYP _glptr_SecondaryColor3bEXT) (GLbyte, GLbyte, GLbyte);
+
#define CALL_SecondaryColor3bEXT(disp, parameters) \
(* GET_SecondaryColor3bEXT(disp)) parameters
-static inline _glptr_SecondaryColor3bEXT GET_SecondaryColor3bEXT(struct _glapi_table *disp) {
- return (_glptr_SecondaryColor3bEXT) (GET_by_offset(disp, _gloffset_SecondaryColor3bEXT));
+static inline _glptr_SecondaryColor3bEXT
+GET_SecondaryColor3bEXT(struct _glapi_table *disp)
+{
+ return (_glptr_SecondaryColor3bEXT) (GET_by_offset
+ (disp, _gloffset_SecondaryColor3bEXT));
}
-static inline void SET_SecondaryColor3bEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLbyte, GLbyte, GLbyte)) {
- SET_by_offset(disp, _gloffset_SecondaryColor3bEXT, fn);
+static inline void
+SET_SecondaryColor3bEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLbyte, GLbyte, GLbyte))
+{
+ SET_by_offset(disp, _gloffset_SecondaryColor3bEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_SecondaryColor3bvEXT)(const GLbyte *);
+typedef void (GLAPIENTRYP _glptr_SecondaryColor3bvEXT) (const GLbyte *);
+
#define CALL_SecondaryColor3bvEXT(disp, parameters) \
(* GET_SecondaryColor3bvEXT(disp)) parameters
-static inline _glptr_SecondaryColor3bvEXT GET_SecondaryColor3bvEXT(struct _glapi_table *disp) {
- return (_glptr_SecondaryColor3bvEXT) (GET_by_offset(disp, _gloffset_SecondaryColor3bvEXT));
+static inline _glptr_SecondaryColor3bvEXT
+GET_SecondaryColor3bvEXT(struct _glapi_table *disp)
+{
+ return (_glptr_SecondaryColor3bvEXT) (GET_by_offset
+ (disp,
+ _gloffset_SecondaryColor3bvEXT));
}
-static inline void SET_SecondaryColor3bvEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLbyte *)) {
- SET_by_offset(disp, _gloffset_SecondaryColor3bvEXT, fn);
+static inline void
+SET_SecondaryColor3bvEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (const GLbyte *))
+{
+ SET_by_offset(disp, _gloffset_SecondaryColor3bvEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_SecondaryColor3dEXT)(GLdouble, GLdouble, GLdouble);
+typedef void (GLAPIENTRYP _glptr_SecondaryColor3dEXT) (GLdouble, GLdouble,
+ GLdouble);
#define CALL_SecondaryColor3dEXT(disp, parameters) \
(* GET_SecondaryColor3dEXT(disp)) parameters
-static inline _glptr_SecondaryColor3dEXT GET_SecondaryColor3dEXT(struct _glapi_table *disp) {
- return (_glptr_SecondaryColor3dEXT) (GET_by_offset(disp, _gloffset_SecondaryColor3dEXT));
+static inline _glptr_SecondaryColor3dEXT
+GET_SecondaryColor3dEXT(struct _glapi_table *disp)
+{
+ return (_glptr_SecondaryColor3dEXT) (GET_by_offset
+ (disp, _gloffset_SecondaryColor3dEXT));
}
-static inline void SET_SecondaryColor3dEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble, GLdouble)) {
- SET_by_offset(disp, _gloffset_SecondaryColor3dEXT, fn);
+static inline void
+SET_SecondaryColor3dEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLdouble, GLdouble, GLdouble))
+{
+ SET_by_offset(disp, _gloffset_SecondaryColor3dEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_SecondaryColor3dvEXT)(const GLdouble *);
+typedef void (GLAPIENTRYP _glptr_SecondaryColor3dvEXT) (const GLdouble *);
+
#define CALL_SecondaryColor3dvEXT(disp, parameters) \
(* GET_SecondaryColor3dvEXT(disp)) parameters
-static inline _glptr_SecondaryColor3dvEXT GET_SecondaryColor3dvEXT(struct _glapi_table *disp) {
- return (_glptr_SecondaryColor3dvEXT) (GET_by_offset(disp, _gloffset_SecondaryColor3dvEXT));
+static inline _glptr_SecondaryColor3dvEXT
+GET_SecondaryColor3dvEXT(struct _glapi_table *disp)
+{
+ return (_glptr_SecondaryColor3dvEXT) (GET_by_offset
+ (disp,
+ _gloffset_SecondaryColor3dvEXT));
}
-static inline void SET_SecondaryColor3dvEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) {
- SET_by_offset(disp, _gloffset_SecondaryColor3dvEXT, fn);
+static inline void
+SET_SecondaryColor3dvEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (const GLdouble *))
+{
+ SET_by_offset(disp, _gloffset_SecondaryColor3dvEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_SecondaryColor3fEXT)(GLfloat, GLfloat, GLfloat);
+typedef void (GLAPIENTRYP _glptr_SecondaryColor3fEXT) (GLfloat, GLfloat,
+ GLfloat);
#define CALL_SecondaryColor3fEXT(disp, parameters) \
(* GET_SecondaryColor3fEXT(disp)) parameters
-static inline _glptr_SecondaryColor3fEXT GET_SecondaryColor3fEXT(struct _glapi_table *disp) {
- return (_glptr_SecondaryColor3fEXT) (GET_by_offset(disp, _gloffset_SecondaryColor3fEXT));
+static inline _glptr_SecondaryColor3fEXT
+GET_SecondaryColor3fEXT(struct _glapi_table *disp)
+{
+ return (_glptr_SecondaryColor3fEXT) (GET_by_offset
+ (disp, _gloffset_SecondaryColor3fEXT));
}
-static inline void SET_SecondaryColor3fEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat, GLfloat)) {
- SET_by_offset(disp, _gloffset_SecondaryColor3fEXT, fn);
+static inline void
+SET_SecondaryColor3fEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLfloat, GLfloat, GLfloat))
+{
+ SET_by_offset(disp, _gloffset_SecondaryColor3fEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_SecondaryColor3fvEXT)(const GLfloat *);
+typedef void (GLAPIENTRYP _glptr_SecondaryColor3fvEXT) (const GLfloat *);
+
#define CALL_SecondaryColor3fvEXT(disp, parameters) \
(* GET_SecondaryColor3fvEXT(disp)) parameters
-static inline _glptr_SecondaryColor3fvEXT GET_SecondaryColor3fvEXT(struct _glapi_table *disp) {
- return (_glptr_SecondaryColor3fvEXT) (GET_by_offset(disp, _gloffset_SecondaryColor3fvEXT));
+static inline _glptr_SecondaryColor3fvEXT
+GET_SecondaryColor3fvEXT(struct _glapi_table *disp)
+{
+ return (_glptr_SecondaryColor3fvEXT) (GET_by_offset
+ (disp,
+ _gloffset_SecondaryColor3fvEXT));
}
-static inline void SET_SecondaryColor3fvEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) {
- SET_by_offset(disp, _gloffset_SecondaryColor3fvEXT, fn);
+static inline void
+SET_SecondaryColor3fvEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (const GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_SecondaryColor3fvEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_SecondaryColor3iEXT)(GLint, GLint, GLint);
+typedef void (GLAPIENTRYP _glptr_SecondaryColor3iEXT) (GLint, GLint, GLint);
+
#define CALL_SecondaryColor3iEXT(disp, parameters) \
(* GET_SecondaryColor3iEXT(disp)) parameters
-static inline _glptr_SecondaryColor3iEXT GET_SecondaryColor3iEXT(struct _glapi_table *disp) {
- return (_glptr_SecondaryColor3iEXT) (GET_by_offset(disp, _gloffset_SecondaryColor3iEXT));
+static inline _glptr_SecondaryColor3iEXT
+GET_SecondaryColor3iEXT(struct _glapi_table *disp)
+{
+ return (_glptr_SecondaryColor3iEXT) (GET_by_offset
+ (disp, _gloffset_SecondaryColor3iEXT));
}
-static inline void SET_SecondaryColor3iEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLint)) {
- SET_by_offset(disp, _gloffset_SecondaryColor3iEXT, fn);
+static inline void
+SET_SecondaryColor3iEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLint, GLint, GLint))
+{
+ SET_by_offset(disp, _gloffset_SecondaryColor3iEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_SecondaryColor3ivEXT)(const GLint *);
+typedef void (GLAPIENTRYP _glptr_SecondaryColor3ivEXT) (const GLint *);
+
#define CALL_SecondaryColor3ivEXT(disp, parameters) \
(* GET_SecondaryColor3ivEXT(disp)) parameters
-static inline _glptr_SecondaryColor3ivEXT GET_SecondaryColor3ivEXT(struct _glapi_table *disp) {
- return (_glptr_SecondaryColor3ivEXT) (GET_by_offset(disp, _gloffset_SecondaryColor3ivEXT));
+static inline _glptr_SecondaryColor3ivEXT
+GET_SecondaryColor3ivEXT(struct _glapi_table *disp)
+{
+ return (_glptr_SecondaryColor3ivEXT) (GET_by_offset
+ (disp,
+ _gloffset_SecondaryColor3ivEXT));
}
-static inline void SET_SecondaryColor3ivEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLint *)) {
- SET_by_offset(disp, _gloffset_SecondaryColor3ivEXT, fn);
+static inline void
+SET_SecondaryColor3ivEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (const GLint *))
+{
+ SET_by_offset(disp, _gloffset_SecondaryColor3ivEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_SecondaryColor3sEXT)(GLshort, GLshort, GLshort);
+typedef void (GLAPIENTRYP _glptr_SecondaryColor3sEXT) (GLshort, GLshort,
+ GLshort);
#define CALL_SecondaryColor3sEXT(disp, parameters) \
(* GET_SecondaryColor3sEXT(disp)) parameters
-static inline _glptr_SecondaryColor3sEXT GET_SecondaryColor3sEXT(struct _glapi_table *disp) {
- return (_glptr_SecondaryColor3sEXT) (GET_by_offset(disp, _gloffset_SecondaryColor3sEXT));
+static inline _glptr_SecondaryColor3sEXT
+GET_SecondaryColor3sEXT(struct _glapi_table *disp)
+{
+ return (_glptr_SecondaryColor3sEXT) (GET_by_offset
+ (disp, _gloffset_SecondaryColor3sEXT));
}
-static inline void SET_SecondaryColor3sEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLshort, GLshort, GLshort)) {
- SET_by_offset(disp, _gloffset_SecondaryColor3sEXT, fn);
+static inline void
+SET_SecondaryColor3sEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLshort, GLshort, GLshort))
+{
+ SET_by_offset(disp, _gloffset_SecondaryColor3sEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_SecondaryColor3svEXT)(const GLshort *);
+typedef void (GLAPIENTRYP _glptr_SecondaryColor3svEXT) (const GLshort *);
+
#define CALL_SecondaryColor3svEXT(disp, parameters) \
(* GET_SecondaryColor3svEXT(disp)) parameters
-static inline _glptr_SecondaryColor3svEXT GET_SecondaryColor3svEXT(struct _glapi_table *disp) {
- return (_glptr_SecondaryColor3svEXT) (GET_by_offset(disp, _gloffset_SecondaryColor3svEXT));
+static inline _glptr_SecondaryColor3svEXT
+GET_SecondaryColor3svEXT(struct _glapi_table *disp)
+{
+ return (_glptr_SecondaryColor3svEXT) (GET_by_offset
+ (disp,
+ _gloffset_SecondaryColor3svEXT));
}
-static inline void SET_SecondaryColor3svEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLshort *)) {
- SET_by_offset(disp, _gloffset_SecondaryColor3svEXT, fn);
+static inline void
+SET_SecondaryColor3svEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (const GLshort *))
+{
+ SET_by_offset(disp, _gloffset_SecondaryColor3svEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_SecondaryColor3ubEXT)(GLubyte, GLubyte, GLubyte);
+typedef void (GLAPIENTRYP _glptr_SecondaryColor3ubEXT) (GLubyte, GLubyte,
+ GLubyte);
#define CALL_SecondaryColor3ubEXT(disp, parameters) \
(* GET_SecondaryColor3ubEXT(disp)) parameters
-static inline _glptr_SecondaryColor3ubEXT GET_SecondaryColor3ubEXT(struct _glapi_table *disp) {
- return (_glptr_SecondaryColor3ubEXT) (GET_by_offset(disp, _gloffset_SecondaryColor3ubEXT));
+static inline _glptr_SecondaryColor3ubEXT
+GET_SecondaryColor3ubEXT(struct _glapi_table *disp)
+{
+ return (_glptr_SecondaryColor3ubEXT) (GET_by_offset
+ (disp,
+ _gloffset_SecondaryColor3ubEXT));
}
-static inline void SET_SecondaryColor3ubEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLubyte, GLubyte, GLubyte)) {
- SET_by_offset(disp, _gloffset_SecondaryColor3ubEXT, fn);
+static inline void
+SET_SecondaryColor3ubEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLubyte, GLubyte, GLubyte))
+{
+ SET_by_offset(disp, _gloffset_SecondaryColor3ubEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_SecondaryColor3ubvEXT)(const GLubyte *);
+typedef void (GLAPIENTRYP _glptr_SecondaryColor3ubvEXT) (const GLubyte *);
+
#define CALL_SecondaryColor3ubvEXT(disp, parameters) \
(* GET_SecondaryColor3ubvEXT(disp)) parameters
-static inline _glptr_SecondaryColor3ubvEXT GET_SecondaryColor3ubvEXT(struct _glapi_table *disp) {
- return (_glptr_SecondaryColor3ubvEXT) (GET_by_offset(disp, _gloffset_SecondaryColor3ubvEXT));
+static inline _glptr_SecondaryColor3ubvEXT
+GET_SecondaryColor3ubvEXT(struct _glapi_table *disp)
+{
+ return (_glptr_SecondaryColor3ubvEXT) (GET_by_offset
+ (disp,
+ _gloffset_SecondaryColor3ubvEXT));
}
-static inline void SET_SecondaryColor3ubvEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLubyte *)) {
- SET_by_offset(disp, _gloffset_SecondaryColor3ubvEXT, fn);
+static inline void
+SET_SecondaryColor3ubvEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (const GLubyte *))
+{
+ SET_by_offset(disp, _gloffset_SecondaryColor3ubvEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_SecondaryColor3uiEXT)(GLuint, GLuint, GLuint);
+typedef void (GLAPIENTRYP _glptr_SecondaryColor3uiEXT) (GLuint, GLuint, GLuint);
+
#define CALL_SecondaryColor3uiEXT(disp, parameters) \
(* GET_SecondaryColor3uiEXT(disp)) parameters
-static inline _glptr_SecondaryColor3uiEXT GET_SecondaryColor3uiEXT(struct _glapi_table *disp) {
- return (_glptr_SecondaryColor3uiEXT) (GET_by_offset(disp, _gloffset_SecondaryColor3uiEXT));
+static inline _glptr_SecondaryColor3uiEXT
+GET_SecondaryColor3uiEXT(struct _glapi_table *disp)
+{
+ return (_glptr_SecondaryColor3uiEXT) (GET_by_offset
+ (disp,
+ _gloffset_SecondaryColor3uiEXT));
}
-static inline void SET_SecondaryColor3uiEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLuint, GLuint)) {
- SET_by_offset(disp, _gloffset_SecondaryColor3uiEXT, fn);
+static inline void
+SET_SecondaryColor3uiEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLuint, GLuint))
+{
+ SET_by_offset(disp, _gloffset_SecondaryColor3uiEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_SecondaryColor3uivEXT)(const GLuint *);
+typedef void (GLAPIENTRYP _glptr_SecondaryColor3uivEXT) (const GLuint *);
+
#define CALL_SecondaryColor3uivEXT(disp, parameters) \
(* GET_SecondaryColor3uivEXT(disp)) parameters
-static inline _glptr_SecondaryColor3uivEXT GET_SecondaryColor3uivEXT(struct _glapi_table *disp) {
- return (_glptr_SecondaryColor3uivEXT) (GET_by_offset(disp, _gloffset_SecondaryColor3uivEXT));
+static inline _glptr_SecondaryColor3uivEXT
+GET_SecondaryColor3uivEXT(struct _glapi_table *disp)
+{
+ return (_glptr_SecondaryColor3uivEXT) (GET_by_offset
+ (disp,
+ _gloffset_SecondaryColor3uivEXT));
}
-static inline void SET_SecondaryColor3uivEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLuint *)) {
- SET_by_offset(disp, _gloffset_SecondaryColor3uivEXT, fn);
+static inline void
+SET_SecondaryColor3uivEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (const GLuint *))
+{
+ SET_by_offset(disp, _gloffset_SecondaryColor3uivEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_SecondaryColor3usEXT)(GLushort, GLushort, GLushort);
+typedef void (GLAPIENTRYP _glptr_SecondaryColor3usEXT) (GLushort, GLushort,
+ GLushort);
#define CALL_SecondaryColor3usEXT(disp, parameters) \
(* GET_SecondaryColor3usEXT(disp)) parameters
-static inline _glptr_SecondaryColor3usEXT GET_SecondaryColor3usEXT(struct _glapi_table *disp) {
- return (_glptr_SecondaryColor3usEXT) (GET_by_offset(disp, _gloffset_SecondaryColor3usEXT));
+static inline _glptr_SecondaryColor3usEXT
+GET_SecondaryColor3usEXT(struct _glapi_table *disp)
+{
+ return (_glptr_SecondaryColor3usEXT) (GET_by_offset
+ (disp,
+ _gloffset_SecondaryColor3usEXT));
}
-static inline void SET_SecondaryColor3usEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLushort, GLushort, GLushort)) {
- SET_by_offset(disp, _gloffset_SecondaryColor3usEXT, fn);
+static inline void
+SET_SecondaryColor3usEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLushort, GLushort, GLushort))
+{
+ SET_by_offset(disp, _gloffset_SecondaryColor3usEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_SecondaryColor3usvEXT)(const GLushort *);
+typedef void (GLAPIENTRYP _glptr_SecondaryColor3usvEXT) (const GLushort *);
+
#define CALL_SecondaryColor3usvEXT(disp, parameters) \
(* GET_SecondaryColor3usvEXT(disp)) parameters
-static inline _glptr_SecondaryColor3usvEXT GET_SecondaryColor3usvEXT(struct _glapi_table *disp) {
- return (_glptr_SecondaryColor3usvEXT) (GET_by_offset(disp, _gloffset_SecondaryColor3usvEXT));
+static inline _glptr_SecondaryColor3usvEXT
+GET_SecondaryColor3usvEXT(struct _glapi_table *disp)
+{
+ return (_glptr_SecondaryColor3usvEXT) (GET_by_offset
+ (disp,
+ _gloffset_SecondaryColor3usvEXT));
}
-static inline void SET_SecondaryColor3usvEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLushort *)) {
- SET_by_offset(disp, _gloffset_SecondaryColor3usvEXT, fn);
+static inline void
+SET_SecondaryColor3usvEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (const GLushort *))
+{
+ SET_by_offset(disp, _gloffset_SecondaryColor3usvEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_SecondaryColorPointerEXT)(GLint, GLenum, GLsizei, const GLvoid *);
+typedef void (GLAPIENTRYP _glptr_SecondaryColorPointerEXT) (GLint, GLenum,
+ GLsizei,
+ const GLvoid *);
#define CALL_SecondaryColorPointerEXT(disp, parameters) \
(* GET_SecondaryColorPointerEXT(disp)) parameters
-static inline _glptr_SecondaryColorPointerEXT GET_SecondaryColorPointerEXT(struct _glapi_table *disp) {
- return (_glptr_SecondaryColorPointerEXT) (GET_by_offset(disp, _gloffset_SecondaryColorPointerEXT));
+static inline _glptr_SecondaryColorPointerEXT
+GET_SecondaryColorPointerEXT(struct _glapi_table *disp)
+{
+ return (_glptr_SecondaryColorPointerEXT) (GET_by_offset
+ (disp,
+ _gloffset_SecondaryColorPointerEXT));
}
-static inline void SET_SecondaryColorPointerEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLenum, GLsizei, const GLvoid *)) {
- SET_by_offset(disp, _gloffset_SecondaryColorPointerEXT, fn);
+static inline void
+SET_SecondaryColorPointerEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLint, GLenum, GLsizei,
+ const GLvoid *))
+{
+ SET_by_offset(disp, _gloffset_SecondaryColorPointerEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_MultiDrawArraysEXT)(GLenum, const GLint *, const GLsizei *, GLsizei);
+typedef void (GLAPIENTRYP _glptr_MultiDrawArraysEXT) (GLenum, const GLint *,
+ const GLsizei *, GLsizei);
#define CALL_MultiDrawArraysEXT(disp, parameters) \
(* GET_MultiDrawArraysEXT(disp)) parameters
-static inline _glptr_MultiDrawArraysEXT GET_MultiDrawArraysEXT(struct _glapi_table *disp) {
- return (_glptr_MultiDrawArraysEXT) (GET_by_offset(disp, _gloffset_MultiDrawArraysEXT));
+static inline _glptr_MultiDrawArraysEXT
+GET_MultiDrawArraysEXT(struct _glapi_table *disp)
+{
+ return (_glptr_MultiDrawArraysEXT) (GET_by_offset
+ (disp, _gloffset_MultiDrawArraysEXT));
}
-static inline void SET_MultiDrawArraysEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLint *, const GLsizei *, GLsizei)) {
- SET_by_offset(disp, _gloffset_MultiDrawArraysEXT, fn);
+static inline void
+SET_MultiDrawArraysEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, const GLint *,
+ const GLsizei *, GLsizei))
+{
+ SET_by_offset(disp, _gloffset_MultiDrawArraysEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_MultiDrawElementsEXT)(GLenum, const GLsizei *, GLenum, const GLvoid **, GLsizei);
+typedef void (GLAPIENTRYP _glptr_MultiDrawElementsEXT) (GLenum, const GLsizei *,
+ GLenum, const GLvoid **,
+ GLsizei);
#define CALL_MultiDrawElementsEXT(disp, parameters) \
(* GET_MultiDrawElementsEXT(disp)) parameters
-static inline _glptr_MultiDrawElementsEXT GET_MultiDrawElementsEXT(struct _glapi_table *disp) {
- return (_glptr_MultiDrawElementsEXT) (GET_by_offset(disp, _gloffset_MultiDrawElementsEXT));
+static inline _glptr_MultiDrawElementsEXT
+GET_MultiDrawElementsEXT(struct _glapi_table *disp)
+{
+ return (_glptr_MultiDrawElementsEXT) (GET_by_offset
+ (disp,
+ _gloffset_MultiDrawElementsEXT));
}
-static inline void SET_MultiDrawElementsEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLsizei *, GLenum, const GLvoid **, GLsizei)) {
- SET_by_offset(disp, _gloffset_MultiDrawElementsEXT, fn);
+static inline void
+SET_MultiDrawElementsEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, const GLsizei *, GLenum,
+ const GLvoid **, GLsizei))
+{
+ SET_by_offset(disp, _gloffset_MultiDrawElementsEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_FogCoordPointerEXT)(GLenum, GLsizei, const GLvoid *);
+typedef void (GLAPIENTRYP _glptr_FogCoordPointerEXT) (GLenum, GLsizei,
+ const GLvoid *);
#define CALL_FogCoordPointerEXT(disp, parameters) \
(* GET_FogCoordPointerEXT(disp)) parameters
-static inline _glptr_FogCoordPointerEXT GET_FogCoordPointerEXT(struct _glapi_table *disp) {
- return (_glptr_FogCoordPointerEXT) (GET_by_offset(disp, _gloffset_FogCoordPointerEXT));
+static inline _glptr_FogCoordPointerEXT
+GET_FogCoordPointerEXT(struct _glapi_table *disp)
+{
+ return (_glptr_FogCoordPointerEXT) (GET_by_offset
+ (disp, _gloffset_FogCoordPointerEXT));
}
-static inline void SET_FogCoordPointerEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, const GLvoid *)) {
- SET_by_offset(disp, _gloffset_FogCoordPointerEXT, fn);
+static inline void
+SET_FogCoordPointerEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLsizei, const GLvoid *))
+{
+ SET_by_offset(disp, _gloffset_FogCoordPointerEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_FogCoorddEXT)(GLdouble);
+typedef void (GLAPIENTRYP _glptr_FogCoorddEXT) (GLdouble);
+
#define CALL_FogCoorddEXT(disp, parameters) \
(* GET_FogCoorddEXT(disp)) parameters
-static inline _glptr_FogCoorddEXT GET_FogCoorddEXT(struct _glapi_table *disp) {
- return (_glptr_FogCoorddEXT) (GET_by_offset(disp, _gloffset_FogCoorddEXT));
+static inline _glptr_FogCoorddEXT
+GET_FogCoorddEXT(struct _glapi_table *disp)
+{
+ return (_glptr_FogCoorddEXT) (GET_by_offset(disp, _gloffset_FogCoorddEXT));
}
-static inline void SET_FogCoorddEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble)) {
- SET_by_offset(disp, _gloffset_FogCoorddEXT, fn);
+static inline void
+SET_FogCoorddEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLdouble))
+{
+ SET_by_offset(disp, _gloffset_FogCoorddEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_FogCoorddvEXT)(const GLdouble *);
+typedef void (GLAPIENTRYP _glptr_FogCoorddvEXT) (const GLdouble *);
+
#define CALL_FogCoorddvEXT(disp, parameters) \
(* GET_FogCoorddvEXT(disp)) parameters
-static inline _glptr_FogCoorddvEXT GET_FogCoorddvEXT(struct _glapi_table *disp) {
- return (_glptr_FogCoorddvEXT) (GET_by_offset(disp, _gloffset_FogCoorddvEXT));
+static inline _glptr_FogCoorddvEXT
+GET_FogCoorddvEXT(struct _glapi_table *disp)
+{
+ return (_glptr_FogCoorddvEXT) (GET_by_offset
+ (disp, _gloffset_FogCoorddvEXT));
}
-static inline void SET_FogCoorddvEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) {
- SET_by_offset(disp, _gloffset_FogCoorddvEXT, fn);
+static inline void
+SET_FogCoorddvEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (const GLdouble *))
+{
+ SET_by_offset(disp, _gloffset_FogCoorddvEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_FogCoordfEXT)(GLfloat);
+typedef void (GLAPIENTRYP _glptr_FogCoordfEXT) (GLfloat);
+
#define CALL_FogCoordfEXT(disp, parameters) \
(* GET_FogCoordfEXT(disp)) parameters
-static inline _glptr_FogCoordfEXT GET_FogCoordfEXT(struct _glapi_table *disp) {
- return (_glptr_FogCoordfEXT) (GET_by_offset(disp, _gloffset_FogCoordfEXT));
+static inline _glptr_FogCoordfEXT
+GET_FogCoordfEXT(struct _glapi_table *disp)
+{
+ return (_glptr_FogCoordfEXT) (GET_by_offset(disp, _gloffset_FogCoordfEXT));
}
-static inline void SET_FogCoordfEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat)) {
- SET_by_offset(disp, _gloffset_FogCoordfEXT, fn);
+static inline void
+SET_FogCoordfEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLfloat))
+{
+ SET_by_offset(disp, _gloffset_FogCoordfEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_FogCoordfvEXT)(const GLfloat *);
+typedef void (GLAPIENTRYP _glptr_FogCoordfvEXT) (const GLfloat *);
+
#define CALL_FogCoordfvEXT(disp, parameters) \
(* GET_FogCoordfvEXT(disp)) parameters
-static inline _glptr_FogCoordfvEXT GET_FogCoordfvEXT(struct _glapi_table *disp) {
- return (_glptr_FogCoordfvEXT) (GET_by_offset(disp, _gloffset_FogCoordfvEXT));
+static inline _glptr_FogCoordfvEXT
+GET_FogCoordfvEXT(struct _glapi_table *disp)
+{
+ return (_glptr_FogCoordfvEXT) (GET_by_offset
+ (disp, _gloffset_FogCoordfvEXT));
}
-static inline void SET_FogCoordfvEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) {
- SET_by_offset(disp, _gloffset_FogCoordfvEXT, fn);
+static inline void
+SET_FogCoordfvEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (const GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_FogCoordfvEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_PixelTexGenSGIX)(GLenum);
+typedef void (GLAPIENTRYP _glptr_PixelTexGenSGIX) (GLenum);
+
#define CALL_PixelTexGenSGIX(disp, parameters) \
(* GET_PixelTexGenSGIX(disp)) parameters
-static inline _glptr_PixelTexGenSGIX GET_PixelTexGenSGIX(struct _glapi_table *disp) {
- return (_glptr_PixelTexGenSGIX) (GET_by_offset(disp, _gloffset_PixelTexGenSGIX));
+static inline _glptr_PixelTexGenSGIX
+GET_PixelTexGenSGIX(struct _glapi_table *disp)
+{
+ return (_glptr_PixelTexGenSGIX) (GET_by_offset
+ (disp, _gloffset_PixelTexGenSGIX));
}
-static inline void SET_PixelTexGenSGIX(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) {
- SET_by_offset(disp, _gloffset_PixelTexGenSGIX, fn);
+static inline void
+SET_PixelTexGenSGIX(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLenum))
+{
+ SET_by_offset(disp, _gloffset_PixelTexGenSGIX, fn);
}
-typedef void (GLAPIENTRYP _glptr_BlendFuncSeparateEXT)(GLenum, GLenum, GLenum, GLenum);
+typedef void (GLAPIENTRYP _glptr_BlendFuncSeparateEXT) (GLenum, GLenum, GLenum,
+ GLenum);
#define CALL_BlendFuncSeparateEXT(disp, parameters) \
(* GET_BlendFuncSeparateEXT(disp)) parameters
-static inline _glptr_BlendFuncSeparateEXT GET_BlendFuncSeparateEXT(struct _glapi_table *disp) {
- return (_glptr_BlendFuncSeparateEXT) (GET_by_offset(disp, _gloffset_BlendFuncSeparateEXT));
+static inline _glptr_BlendFuncSeparateEXT
+GET_BlendFuncSeparateEXT(struct _glapi_table *disp)
+{
+ return (_glptr_BlendFuncSeparateEXT) (GET_by_offset
+ (disp,
+ _gloffset_BlendFuncSeparateEXT));
}
-static inline void SET_BlendFuncSeparateEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLenum, GLenum)) {
- SET_by_offset(disp, _gloffset_BlendFuncSeparateEXT, fn);
+static inline void
+SET_BlendFuncSeparateEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, GLenum, GLenum))
+{
+ SET_by_offset(disp, _gloffset_BlendFuncSeparateEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_FlushVertexArrayRangeNV)(void);
+typedef void (GLAPIENTRYP _glptr_FlushVertexArrayRangeNV) (void);
+
#define CALL_FlushVertexArrayRangeNV(disp, parameters) \
(* GET_FlushVertexArrayRangeNV(disp)) parameters
-static inline _glptr_FlushVertexArrayRangeNV GET_FlushVertexArrayRangeNV(struct _glapi_table *disp) {
- return (_glptr_FlushVertexArrayRangeNV) (GET_by_offset(disp, _gloffset_FlushVertexArrayRangeNV));
+static inline _glptr_FlushVertexArrayRangeNV
+GET_FlushVertexArrayRangeNV(struct _glapi_table *disp)
+{
+ return (_glptr_FlushVertexArrayRangeNV) (GET_by_offset
+ (disp,
+ _gloffset_FlushVertexArrayRangeNV));
}
-static inline void SET_FlushVertexArrayRangeNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) {
- SET_by_offset(disp, _gloffset_FlushVertexArrayRangeNV, fn);
+static inline void
+SET_FlushVertexArrayRangeNV(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (void))
+{
+ SET_by_offset(disp, _gloffset_FlushVertexArrayRangeNV, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexArrayRangeNV)(GLsizei, const GLvoid *);
+typedef void (GLAPIENTRYP _glptr_VertexArrayRangeNV) (GLsizei, const GLvoid *);
+
#define CALL_VertexArrayRangeNV(disp, parameters) \
(* GET_VertexArrayRangeNV(disp)) parameters
-static inline _glptr_VertexArrayRangeNV GET_VertexArrayRangeNV(struct _glapi_table *disp) {
- return (_glptr_VertexArrayRangeNV) (GET_by_offset(disp, _gloffset_VertexArrayRangeNV));
+static inline _glptr_VertexArrayRangeNV
+GET_VertexArrayRangeNV(struct _glapi_table *disp)
+{
+ return (_glptr_VertexArrayRangeNV) (GET_by_offset
+ (disp, _gloffset_VertexArrayRangeNV));
}
-static inline void SET_VertexArrayRangeNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, const GLvoid *)) {
- SET_by_offset(disp, _gloffset_VertexArrayRangeNV, fn);
+static inline void
+SET_VertexArrayRangeNV(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLsizei, const GLvoid *))
+{
+ SET_by_offset(disp, _gloffset_VertexArrayRangeNV, fn);
}
-typedef void (GLAPIENTRYP _glptr_CombinerInputNV)(GLenum, GLenum, GLenum, GLenum, GLenum, GLenum);
+typedef void (GLAPIENTRYP _glptr_CombinerInputNV) (GLenum, GLenum, GLenum,
+ GLenum, GLenum, GLenum);
#define CALL_CombinerInputNV(disp, parameters) \
(* GET_CombinerInputNV(disp)) parameters
-static inline _glptr_CombinerInputNV GET_CombinerInputNV(struct _glapi_table *disp) {
- return (_glptr_CombinerInputNV) (GET_by_offset(disp, _gloffset_CombinerInputNV));
+static inline _glptr_CombinerInputNV
+GET_CombinerInputNV(struct _glapi_table *disp)
+{
+ return (_glptr_CombinerInputNV) (GET_by_offset
+ (disp, _gloffset_CombinerInputNV));
}
-static inline void SET_CombinerInputNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLenum, GLenum, GLenum, GLenum)) {
- SET_by_offset(disp, _gloffset_CombinerInputNV, fn);
+static inline void
+SET_CombinerInputNV(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, GLenum, GLenum,
+ GLenum, GLenum))
+{
+ SET_by_offset(disp, _gloffset_CombinerInputNV, fn);
}
-typedef void (GLAPIENTRYP _glptr_CombinerOutputNV)(GLenum, GLenum, GLenum, GLenum, GLenum, GLenum, GLenum, GLboolean, GLboolean, GLboolean);
+typedef void (GLAPIENTRYP _glptr_CombinerOutputNV) (GLenum, GLenum, GLenum,
+ GLenum, GLenum, GLenum,
+ GLenum, GLboolean,
+ GLboolean, GLboolean);
#define CALL_CombinerOutputNV(disp, parameters) \
(* GET_CombinerOutputNV(disp)) parameters
-static inline _glptr_CombinerOutputNV GET_CombinerOutputNV(struct _glapi_table *disp) {
- return (_glptr_CombinerOutputNV) (GET_by_offset(disp, _gloffset_CombinerOutputNV));
+static inline _glptr_CombinerOutputNV
+GET_CombinerOutputNV(struct _glapi_table *disp)
+{
+ return (_glptr_CombinerOutputNV) (GET_by_offset
+ (disp, _gloffset_CombinerOutputNV));
}
-static inline void SET_CombinerOutputNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLenum, GLenum, GLenum, GLenum, GLenum, GLboolean, GLboolean, GLboolean)) {
- SET_by_offset(disp, _gloffset_CombinerOutputNV, fn);
+static inline void
+SET_CombinerOutputNV(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, GLenum, GLenum,
+ GLenum, GLenum, GLenum, GLboolean,
+ GLboolean, GLboolean))
+{
+ SET_by_offset(disp, _gloffset_CombinerOutputNV, fn);
}
-typedef void (GLAPIENTRYP _glptr_CombinerParameterfNV)(GLenum, GLfloat);
+typedef void (GLAPIENTRYP _glptr_CombinerParameterfNV) (GLenum, GLfloat);
+
#define CALL_CombinerParameterfNV(disp, parameters) \
(* GET_CombinerParameterfNV(disp)) parameters
-static inline _glptr_CombinerParameterfNV GET_CombinerParameterfNV(struct _glapi_table *disp) {
- return (_glptr_CombinerParameterfNV) (GET_by_offset(disp, _gloffset_CombinerParameterfNV));
+static inline _glptr_CombinerParameterfNV
+GET_CombinerParameterfNV(struct _glapi_table *disp)
+{
+ return (_glptr_CombinerParameterfNV) (GET_by_offset
+ (disp,
+ _gloffset_CombinerParameterfNV));
}
-static inline void SET_CombinerParameterfNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLfloat)) {
- SET_by_offset(disp, _gloffset_CombinerParameterfNV, fn);
+static inline void
+SET_CombinerParameterfNV(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLfloat))
+{
+ SET_by_offset(disp, _gloffset_CombinerParameterfNV, fn);
}
-typedef void (GLAPIENTRYP _glptr_CombinerParameterfvNV)(GLenum, const GLfloat *);
+typedef void (GLAPIENTRYP _glptr_CombinerParameterfvNV) (GLenum,
+ const GLfloat *);
#define CALL_CombinerParameterfvNV(disp, parameters) \
(* GET_CombinerParameterfvNV(disp)) parameters
-static inline _glptr_CombinerParameterfvNV GET_CombinerParameterfvNV(struct _glapi_table *disp) {
- return (_glptr_CombinerParameterfvNV) (GET_by_offset(disp, _gloffset_CombinerParameterfvNV));
+static inline _glptr_CombinerParameterfvNV
+GET_CombinerParameterfvNV(struct _glapi_table *disp)
+{
+ return (_glptr_CombinerParameterfvNV) (GET_by_offset
+ (disp,
+ _gloffset_CombinerParameterfvNV));
}
-static inline void SET_CombinerParameterfvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLfloat *)) {
- SET_by_offset(disp, _gloffset_CombinerParameterfvNV, fn);
+static inline void
+SET_CombinerParameterfvNV(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, const GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_CombinerParameterfvNV, fn);
}
-typedef void (GLAPIENTRYP _glptr_CombinerParameteriNV)(GLenum, GLint);
+typedef void (GLAPIENTRYP _glptr_CombinerParameteriNV) (GLenum, GLint);
+
#define CALL_CombinerParameteriNV(disp, parameters) \
(* GET_CombinerParameteriNV(disp)) parameters
-static inline _glptr_CombinerParameteriNV GET_CombinerParameteriNV(struct _glapi_table *disp) {
- return (_glptr_CombinerParameteriNV) (GET_by_offset(disp, _gloffset_CombinerParameteriNV));
+static inline _glptr_CombinerParameteriNV
+GET_CombinerParameteriNV(struct _glapi_table *disp)
+{
+ return (_glptr_CombinerParameteriNV) (GET_by_offset
+ (disp,
+ _gloffset_CombinerParameteriNV));
}
-static inline void SET_CombinerParameteriNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint)) {
- SET_by_offset(disp, _gloffset_CombinerParameteriNV, fn);
+static inline void
+SET_CombinerParameteriNV(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLint))
+{
+ SET_by_offset(disp, _gloffset_CombinerParameteriNV, fn);
}
-typedef void (GLAPIENTRYP _glptr_CombinerParameterivNV)(GLenum, const GLint *);
+typedef void (GLAPIENTRYP _glptr_CombinerParameterivNV) (GLenum, const GLint *);
+
#define CALL_CombinerParameterivNV(disp, parameters) \
(* GET_CombinerParameterivNV(disp)) parameters
-static inline _glptr_CombinerParameterivNV GET_CombinerParameterivNV(struct _glapi_table *disp) {
- return (_glptr_CombinerParameterivNV) (GET_by_offset(disp, _gloffset_CombinerParameterivNV));
+static inline _glptr_CombinerParameterivNV
+GET_CombinerParameterivNV(struct _glapi_table *disp)
+{
+ return (_glptr_CombinerParameterivNV) (GET_by_offset
+ (disp,
+ _gloffset_CombinerParameterivNV));
}
-static inline void SET_CombinerParameterivNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLint *)) {
- SET_by_offset(disp, _gloffset_CombinerParameterivNV, fn);
+static inline void
+SET_CombinerParameterivNV(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, const GLint *))
+{
+ SET_by_offset(disp, _gloffset_CombinerParameterivNV, fn);
}
-typedef void (GLAPIENTRYP _glptr_FinalCombinerInputNV)(GLenum, GLenum, GLenum, GLenum);
+typedef void (GLAPIENTRYP _glptr_FinalCombinerInputNV) (GLenum, GLenum, GLenum,
+ GLenum);
#define CALL_FinalCombinerInputNV(disp, parameters) \
(* GET_FinalCombinerInputNV(disp)) parameters
-static inline _glptr_FinalCombinerInputNV GET_FinalCombinerInputNV(struct _glapi_table *disp) {
- return (_glptr_FinalCombinerInputNV) (GET_by_offset(disp, _gloffset_FinalCombinerInputNV));
+static inline _glptr_FinalCombinerInputNV
+GET_FinalCombinerInputNV(struct _glapi_table *disp)
+{
+ return (_glptr_FinalCombinerInputNV) (GET_by_offset
+ (disp,
+ _gloffset_FinalCombinerInputNV));
}
-static inline void SET_FinalCombinerInputNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLenum, GLenum)) {
- SET_by_offset(disp, _gloffset_FinalCombinerInputNV, fn);
+static inline void
+SET_FinalCombinerInputNV(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, GLenum, GLenum))
+{
+ SET_by_offset(disp, _gloffset_FinalCombinerInputNV, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetCombinerInputParameterfvNV)(GLenum, GLenum, GLenum, GLenum, GLfloat *);
+typedef void (GLAPIENTRYP _glptr_GetCombinerInputParameterfvNV) (GLenum, GLenum,
+ GLenum, GLenum,
+ GLfloat *);
#define CALL_GetCombinerInputParameterfvNV(disp, parameters) \
(* GET_GetCombinerInputParameterfvNV(disp)) parameters
-static inline _glptr_GetCombinerInputParameterfvNV GET_GetCombinerInputParameterfvNV(struct _glapi_table *disp) {
- return (_glptr_GetCombinerInputParameterfvNV) (GET_by_offset(disp, _gloffset_GetCombinerInputParameterfvNV));
+static inline _glptr_GetCombinerInputParameterfvNV
+GET_GetCombinerInputParameterfvNV(struct _glapi_table *disp)
+{
+ return (_glptr_GetCombinerInputParameterfvNV) (GET_by_offset
+ (disp,
+ _gloffset_GetCombinerInputParameterfvNV));
}
-static inline void SET_GetCombinerInputParameterfvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLenum, GLenum, GLfloat *)) {
- SET_by_offset(disp, _gloffset_GetCombinerInputParameterfvNV, fn);
+static inline void
+SET_GetCombinerInputParameterfvNV(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, GLenum,
+ GLenum, GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_GetCombinerInputParameterfvNV, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetCombinerInputParameterivNV)(GLenum, GLenum, GLenum, GLenum, GLint *);
+typedef void (GLAPIENTRYP _glptr_GetCombinerInputParameterivNV) (GLenum, GLenum,
+ GLenum, GLenum,
+ GLint *);
#define CALL_GetCombinerInputParameterivNV(disp, parameters) \
(* GET_GetCombinerInputParameterivNV(disp)) parameters
-static inline _glptr_GetCombinerInputParameterivNV GET_GetCombinerInputParameterivNV(struct _glapi_table *disp) {
- return (_glptr_GetCombinerInputParameterivNV) (GET_by_offset(disp, _gloffset_GetCombinerInputParameterivNV));
-}
-
-static inline void SET_GetCombinerInputParameterivNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLenum, GLenum, GLint *)) {
- SET_by_offset(disp, _gloffset_GetCombinerInputParameterivNV, fn);
-}
-
-typedef void (GLAPIENTRYP _glptr_GetCombinerOutputParameterfvNV)(GLenum, GLenum, GLenum, GLfloat *);
+static inline _glptr_GetCombinerInputParameterivNV
+GET_GetCombinerInputParameterivNV(struct _glapi_table *disp)
+{
+ return (_glptr_GetCombinerInputParameterivNV) (GET_by_offset
+ (disp,
+ _gloffset_GetCombinerInputParameterivNV));
+}
+
+static inline void
+SET_GetCombinerInputParameterivNV(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, GLenum,
+ GLenum, GLint *))
+{
+ SET_by_offset(disp, _gloffset_GetCombinerInputParameterivNV, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetCombinerOutputParameterfvNV) (GLenum,
+ GLenum,
+ GLenum,
+ GLfloat *);
#define CALL_GetCombinerOutputParameterfvNV(disp, parameters) \
(* GET_GetCombinerOutputParameterfvNV(disp)) parameters
-static inline _glptr_GetCombinerOutputParameterfvNV GET_GetCombinerOutputParameterfvNV(struct _glapi_table *disp) {
- return (_glptr_GetCombinerOutputParameterfvNV) (GET_by_offset(disp, _gloffset_GetCombinerOutputParameterfvNV));
-}
-
-static inline void SET_GetCombinerOutputParameterfvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLenum, GLfloat *)) {
- SET_by_offset(disp, _gloffset_GetCombinerOutputParameterfvNV, fn);
-}
-
-typedef void (GLAPIENTRYP _glptr_GetCombinerOutputParameterivNV)(GLenum, GLenum, GLenum, GLint *);
+static inline _glptr_GetCombinerOutputParameterfvNV
+GET_GetCombinerOutputParameterfvNV(struct _glapi_table *disp)
+{
+ return (_glptr_GetCombinerOutputParameterfvNV) (GET_by_offset
+ (disp,
+ _gloffset_GetCombinerOutputParameterfvNV));
+}
+
+static inline void
+SET_GetCombinerOutputParameterfvNV(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum,
+ GLenum, GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_GetCombinerOutputParameterfvNV, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetCombinerOutputParameterivNV) (GLenum,
+ GLenum,
+ GLenum,
+ GLint *);
#define CALL_GetCombinerOutputParameterivNV(disp, parameters) \
(* GET_GetCombinerOutputParameterivNV(disp)) parameters
-static inline _glptr_GetCombinerOutputParameterivNV GET_GetCombinerOutputParameterivNV(struct _glapi_table *disp) {
- return (_glptr_GetCombinerOutputParameterivNV) (GET_by_offset(disp, _gloffset_GetCombinerOutputParameterivNV));
-}
-
-static inline void SET_GetCombinerOutputParameterivNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLenum, GLint *)) {
- SET_by_offset(disp, _gloffset_GetCombinerOutputParameterivNV, fn);
-}
-
-typedef void (GLAPIENTRYP _glptr_GetFinalCombinerInputParameterfvNV)(GLenum, GLenum, GLfloat *);
+static inline _glptr_GetCombinerOutputParameterivNV
+GET_GetCombinerOutputParameterivNV(struct _glapi_table *disp)
+{
+ return (_glptr_GetCombinerOutputParameterivNV) (GET_by_offset
+ (disp,
+ _gloffset_GetCombinerOutputParameterivNV));
+}
+
+static inline void
+SET_GetCombinerOutputParameterivNV(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum,
+ GLenum, GLint *))
+{
+ SET_by_offset(disp, _gloffset_GetCombinerOutputParameterivNV, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetFinalCombinerInputParameterfvNV) (GLenum,
+ GLenum,
+ GLfloat
+ *);
#define CALL_GetFinalCombinerInputParameterfvNV(disp, parameters) \
(* GET_GetFinalCombinerInputParameterfvNV(disp)) parameters
-static inline _glptr_GetFinalCombinerInputParameterfvNV GET_GetFinalCombinerInputParameterfvNV(struct _glapi_table *disp) {
- return (_glptr_GetFinalCombinerInputParameterfvNV) (GET_by_offset(disp, _gloffset_GetFinalCombinerInputParameterfvNV));
+static inline _glptr_GetFinalCombinerInputParameterfvNV
+GET_GetFinalCombinerInputParameterfvNV(struct _glapi_table *disp)
+{
+ return (_glptr_GetFinalCombinerInputParameterfvNV) (GET_by_offset
+ (disp,
+ _gloffset_GetFinalCombinerInputParameterfvNV));
}
-static inline void SET_GetFinalCombinerInputParameterfvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLfloat *)) {
- SET_by_offset(disp, _gloffset_GetFinalCombinerInputParameterfvNV, fn);
+static inline void
+SET_GetFinalCombinerInputParameterfvNV(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum,
+ GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_GetFinalCombinerInputParameterfvNV, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetFinalCombinerInputParameterivNV)(GLenum, GLenum, GLint *);
+typedef void (GLAPIENTRYP _glptr_GetFinalCombinerInputParameterivNV) (GLenum,
+ GLenum,
+ GLint *);
#define CALL_GetFinalCombinerInputParameterivNV(disp, parameters) \
(* GET_GetFinalCombinerInputParameterivNV(disp)) parameters
-static inline _glptr_GetFinalCombinerInputParameterivNV GET_GetFinalCombinerInputParameterivNV(struct _glapi_table *disp) {
- return (_glptr_GetFinalCombinerInputParameterivNV) (GET_by_offset(disp, _gloffset_GetFinalCombinerInputParameterivNV));
+static inline _glptr_GetFinalCombinerInputParameterivNV
+GET_GetFinalCombinerInputParameterivNV(struct _glapi_table *disp)
+{
+ return (_glptr_GetFinalCombinerInputParameterivNV) (GET_by_offset
+ (disp,
+ _gloffset_GetFinalCombinerInputParameterivNV));
}
-static inline void SET_GetFinalCombinerInputParameterivNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint *)) {
- SET_by_offset(disp, _gloffset_GetFinalCombinerInputParameterivNV, fn);
+static inline void
+SET_GetFinalCombinerInputParameterivNV(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum,
+ GLint *))
+{
+ SET_by_offset(disp, _gloffset_GetFinalCombinerInputParameterivNV, fn);
}
-typedef void (GLAPIENTRYP _glptr_ResizeBuffersMESA)(void);
+typedef void (GLAPIENTRYP _glptr_ResizeBuffersMESA) (void);
+
#define CALL_ResizeBuffersMESA(disp, parameters) \
(* GET_ResizeBuffersMESA(disp)) parameters
-static inline _glptr_ResizeBuffersMESA GET_ResizeBuffersMESA(struct _glapi_table *disp) {
- return (_glptr_ResizeBuffersMESA) (GET_by_offset(disp, _gloffset_ResizeBuffersMESA));
+static inline _glptr_ResizeBuffersMESA
+GET_ResizeBuffersMESA(struct _glapi_table *disp)
+{
+ return (_glptr_ResizeBuffersMESA) (GET_by_offset
+ (disp, _gloffset_ResizeBuffersMESA));
}
-static inline void SET_ResizeBuffersMESA(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) {
- SET_by_offset(disp, _gloffset_ResizeBuffersMESA, fn);
+static inline void
+SET_ResizeBuffersMESA(struct _glapi_table *disp, void (GLAPIENTRYP fn) (void))
+{
+ SET_by_offset(disp, _gloffset_ResizeBuffersMESA, fn);
}
-typedef void (GLAPIENTRYP _glptr_WindowPos2dMESA)(GLdouble, GLdouble);
+typedef void (GLAPIENTRYP _glptr_WindowPos2dMESA) (GLdouble, GLdouble);
+
#define CALL_WindowPos2dMESA(disp, parameters) \
(* GET_WindowPos2dMESA(disp)) parameters
-static inline _glptr_WindowPos2dMESA GET_WindowPos2dMESA(struct _glapi_table *disp) {
- return (_glptr_WindowPos2dMESA) (GET_by_offset(disp, _gloffset_WindowPos2dMESA));
+static inline _glptr_WindowPos2dMESA
+GET_WindowPos2dMESA(struct _glapi_table *disp)
+{
+ return (_glptr_WindowPos2dMESA) (GET_by_offset
+ (disp, _gloffset_WindowPos2dMESA));
}
-static inline void SET_WindowPos2dMESA(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble)) {
- SET_by_offset(disp, _gloffset_WindowPos2dMESA, fn);
+static inline void
+SET_WindowPos2dMESA(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLdouble, GLdouble))
+{
+ SET_by_offset(disp, _gloffset_WindowPos2dMESA, fn);
}
-typedef void (GLAPIENTRYP _glptr_WindowPos2dvMESA)(const GLdouble *);
+typedef void (GLAPIENTRYP _glptr_WindowPos2dvMESA) (const GLdouble *);
+
#define CALL_WindowPos2dvMESA(disp, parameters) \
(* GET_WindowPos2dvMESA(disp)) parameters
-static inline _glptr_WindowPos2dvMESA GET_WindowPos2dvMESA(struct _glapi_table *disp) {
- return (_glptr_WindowPos2dvMESA) (GET_by_offset(disp, _gloffset_WindowPos2dvMESA));
+static inline _glptr_WindowPos2dvMESA
+GET_WindowPos2dvMESA(struct _glapi_table *disp)
+{
+ return (_glptr_WindowPos2dvMESA) (GET_by_offset
+ (disp, _gloffset_WindowPos2dvMESA));
}
-static inline void SET_WindowPos2dvMESA(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) {
- SET_by_offset(disp, _gloffset_WindowPos2dvMESA, fn);
+static inline void
+SET_WindowPos2dvMESA(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (const GLdouble *))
+{
+ SET_by_offset(disp, _gloffset_WindowPos2dvMESA, fn);
}
-typedef void (GLAPIENTRYP _glptr_WindowPos2fMESA)(GLfloat, GLfloat);
+typedef void (GLAPIENTRYP _glptr_WindowPos2fMESA) (GLfloat, GLfloat);
+
#define CALL_WindowPos2fMESA(disp, parameters) \
(* GET_WindowPos2fMESA(disp)) parameters
-static inline _glptr_WindowPos2fMESA GET_WindowPos2fMESA(struct _glapi_table *disp) {
- return (_glptr_WindowPos2fMESA) (GET_by_offset(disp, _gloffset_WindowPos2fMESA));
+static inline _glptr_WindowPos2fMESA
+GET_WindowPos2fMESA(struct _glapi_table *disp)
+{
+ return (_glptr_WindowPos2fMESA) (GET_by_offset
+ (disp, _gloffset_WindowPos2fMESA));
}
-static inline void SET_WindowPos2fMESA(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat)) {
- SET_by_offset(disp, _gloffset_WindowPos2fMESA, fn);
+static inline void
+SET_WindowPos2fMESA(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLfloat, GLfloat))
+{
+ SET_by_offset(disp, _gloffset_WindowPos2fMESA, fn);
}
-typedef void (GLAPIENTRYP _glptr_WindowPos2fvMESA)(const GLfloat *);
+typedef void (GLAPIENTRYP _glptr_WindowPos2fvMESA) (const GLfloat *);
+
#define CALL_WindowPos2fvMESA(disp, parameters) \
(* GET_WindowPos2fvMESA(disp)) parameters
-static inline _glptr_WindowPos2fvMESA GET_WindowPos2fvMESA(struct _glapi_table *disp) {
- return (_glptr_WindowPos2fvMESA) (GET_by_offset(disp, _gloffset_WindowPos2fvMESA));
+static inline _glptr_WindowPos2fvMESA
+GET_WindowPos2fvMESA(struct _glapi_table *disp)
+{
+ return (_glptr_WindowPos2fvMESA) (GET_by_offset
+ (disp, _gloffset_WindowPos2fvMESA));
}
-static inline void SET_WindowPos2fvMESA(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) {
- SET_by_offset(disp, _gloffset_WindowPos2fvMESA, fn);
+static inline void
+SET_WindowPos2fvMESA(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (const GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_WindowPos2fvMESA, fn);
}
-typedef void (GLAPIENTRYP _glptr_WindowPos2iMESA)(GLint, GLint);
+typedef void (GLAPIENTRYP _glptr_WindowPos2iMESA) (GLint, GLint);
+
#define CALL_WindowPos2iMESA(disp, parameters) \
(* GET_WindowPos2iMESA(disp)) parameters
-static inline _glptr_WindowPos2iMESA GET_WindowPos2iMESA(struct _glapi_table *disp) {
- return (_glptr_WindowPos2iMESA) (GET_by_offset(disp, _gloffset_WindowPos2iMESA));
+static inline _glptr_WindowPos2iMESA
+GET_WindowPos2iMESA(struct _glapi_table *disp)
+{
+ return (_glptr_WindowPos2iMESA) (GET_by_offset
+ (disp, _gloffset_WindowPos2iMESA));
}
-static inline void SET_WindowPos2iMESA(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint)) {
- SET_by_offset(disp, _gloffset_WindowPos2iMESA, fn);
+static inline void
+SET_WindowPos2iMESA(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLint, GLint))
+{
+ SET_by_offset(disp, _gloffset_WindowPos2iMESA, fn);
}
-typedef void (GLAPIENTRYP _glptr_WindowPos2ivMESA)(const GLint *);
+typedef void (GLAPIENTRYP _glptr_WindowPos2ivMESA) (const GLint *);
+
#define CALL_WindowPos2ivMESA(disp, parameters) \
(* GET_WindowPos2ivMESA(disp)) parameters
-static inline _glptr_WindowPos2ivMESA GET_WindowPos2ivMESA(struct _glapi_table *disp) {
- return (_glptr_WindowPos2ivMESA) (GET_by_offset(disp, _gloffset_WindowPos2ivMESA));
+static inline _glptr_WindowPos2ivMESA
+GET_WindowPos2ivMESA(struct _glapi_table *disp)
+{
+ return (_glptr_WindowPos2ivMESA) (GET_by_offset
+ (disp, _gloffset_WindowPos2ivMESA));
}
-static inline void SET_WindowPos2ivMESA(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLint *)) {
- SET_by_offset(disp, _gloffset_WindowPos2ivMESA, fn);
+static inline void
+SET_WindowPos2ivMESA(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (const GLint *))
+{
+ SET_by_offset(disp, _gloffset_WindowPos2ivMESA, fn);
}
-typedef void (GLAPIENTRYP _glptr_WindowPos2sMESA)(GLshort, GLshort);
+typedef void (GLAPIENTRYP _glptr_WindowPos2sMESA) (GLshort, GLshort);
+
#define CALL_WindowPos2sMESA(disp, parameters) \
(* GET_WindowPos2sMESA(disp)) parameters
-static inline _glptr_WindowPos2sMESA GET_WindowPos2sMESA(struct _glapi_table *disp) {
- return (_glptr_WindowPos2sMESA) (GET_by_offset(disp, _gloffset_WindowPos2sMESA));
+static inline _glptr_WindowPos2sMESA
+GET_WindowPos2sMESA(struct _glapi_table *disp)
+{
+ return (_glptr_WindowPos2sMESA) (GET_by_offset
+ (disp, _gloffset_WindowPos2sMESA));
}
-static inline void SET_WindowPos2sMESA(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLshort, GLshort)) {
- SET_by_offset(disp, _gloffset_WindowPos2sMESA, fn);
+static inline void
+SET_WindowPos2sMESA(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLshort, GLshort))
+{
+ SET_by_offset(disp, _gloffset_WindowPos2sMESA, fn);
}
-typedef void (GLAPIENTRYP _glptr_WindowPos2svMESA)(const GLshort *);
+typedef void (GLAPIENTRYP _glptr_WindowPos2svMESA) (const GLshort *);
+
#define CALL_WindowPos2svMESA(disp, parameters) \
(* GET_WindowPos2svMESA(disp)) parameters
-static inline _glptr_WindowPos2svMESA GET_WindowPos2svMESA(struct _glapi_table *disp) {
- return (_glptr_WindowPos2svMESA) (GET_by_offset(disp, _gloffset_WindowPos2svMESA));
+static inline _glptr_WindowPos2svMESA
+GET_WindowPos2svMESA(struct _glapi_table *disp)
+{
+ return (_glptr_WindowPos2svMESA) (GET_by_offset
+ (disp, _gloffset_WindowPos2svMESA));
}
-static inline void SET_WindowPos2svMESA(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLshort *)) {
- SET_by_offset(disp, _gloffset_WindowPos2svMESA, fn);
+static inline void
+SET_WindowPos2svMESA(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (const GLshort *))
+{
+ SET_by_offset(disp, _gloffset_WindowPos2svMESA, fn);
}
-typedef void (GLAPIENTRYP _glptr_WindowPos3dMESA)(GLdouble, GLdouble, GLdouble);
+typedef void (GLAPIENTRYP _glptr_WindowPos3dMESA) (GLdouble, GLdouble,
+ GLdouble);
#define CALL_WindowPos3dMESA(disp, parameters) \
(* GET_WindowPos3dMESA(disp)) parameters
-static inline _glptr_WindowPos3dMESA GET_WindowPos3dMESA(struct _glapi_table *disp) {
- return (_glptr_WindowPos3dMESA) (GET_by_offset(disp, _gloffset_WindowPos3dMESA));
+static inline _glptr_WindowPos3dMESA
+GET_WindowPos3dMESA(struct _glapi_table *disp)
+{
+ return (_glptr_WindowPos3dMESA) (GET_by_offset
+ (disp, _gloffset_WindowPos3dMESA));
}
-static inline void SET_WindowPos3dMESA(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble, GLdouble)) {
- SET_by_offset(disp, _gloffset_WindowPos3dMESA, fn);
+static inline void
+SET_WindowPos3dMESA(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLdouble, GLdouble, GLdouble))
+{
+ SET_by_offset(disp, _gloffset_WindowPos3dMESA, fn);
}
-typedef void (GLAPIENTRYP _glptr_WindowPos3dvMESA)(const GLdouble *);
+typedef void (GLAPIENTRYP _glptr_WindowPos3dvMESA) (const GLdouble *);
+
#define CALL_WindowPos3dvMESA(disp, parameters) \
(* GET_WindowPos3dvMESA(disp)) parameters
-static inline _glptr_WindowPos3dvMESA GET_WindowPos3dvMESA(struct _glapi_table *disp) {
- return (_glptr_WindowPos3dvMESA) (GET_by_offset(disp, _gloffset_WindowPos3dvMESA));
+static inline _glptr_WindowPos3dvMESA
+GET_WindowPos3dvMESA(struct _glapi_table *disp)
+{
+ return (_glptr_WindowPos3dvMESA) (GET_by_offset
+ (disp, _gloffset_WindowPos3dvMESA));
}
-static inline void SET_WindowPos3dvMESA(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) {
- SET_by_offset(disp, _gloffset_WindowPos3dvMESA, fn);
+static inline void
+SET_WindowPos3dvMESA(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (const GLdouble *))
+{
+ SET_by_offset(disp, _gloffset_WindowPos3dvMESA, fn);
}
-typedef void (GLAPIENTRYP _glptr_WindowPos3fMESA)(GLfloat, GLfloat, GLfloat);
+typedef void (GLAPIENTRYP _glptr_WindowPos3fMESA) (GLfloat, GLfloat, GLfloat);
+
#define CALL_WindowPos3fMESA(disp, parameters) \
(* GET_WindowPos3fMESA(disp)) parameters
-static inline _glptr_WindowPos3fMESA GET_WindowPos3fMESA(struct _glapi_table *disp) {
- return (_glptr_WindowPos3fMESA) (GET_by_offset(disp, _gloffset_WindowPos3fMESA));
+static inline _glptr_WindowPos3fMESA
+GET_WindowPos3fMESA(struct _glapi_table *disp)
+{
+ return (_glptr_WindowPos3fMESA) (GET_by_offset
+ (disp, _gloffset_WindowPos3fMESA));
}
-static inline void SET_WindowPos3fMESA(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat, GLfloat)) {
- SET_by_offset(disp, _gloffset_WindowPos3fMESA, fn);
+static inline void
+SET_WindowPos3fMESA(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLfloat, GLfloat, GLfloat))
+{
+ SET_by_offset(disp, _gloffset_WindowPos3fMESA, fn);
}
-typedef void (GLAPIENTRYP _glptr_WindowPos3fvMESA)(const GLfloat *);
+typedef void (GLAPIENTRYP _glptr_WindowPos3fvMESA) (const GLfloat *);
+
#define CALL_WindowPos3fvMESA(disp, parameters) \
(* GET_WindowPos3fvMESA(disp)) parameters
-static inline _glptr_WindowPos3fvMESA GET_WindowPos3fvMESA(struct _glapi_table *disp) {
- return (_glptr_WindowPos3fvMESA) (GET_by_offset(disp, _gloffset_WindowPos3fvMESA));
+static inline _glptr_WindowPos3fvMESA
+GET_WindowPos3fvMESA(struct _glapi_table *disp)
+{
+ return (_glptr_WindowPos3fvMESA) (GET_by_offset
+ (disp, _gloffset_WindowPos3fvMESA));
}
-static inline void SET_WindowPos3fvMESA(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) {
- SET_by_offset(disp, _gloffset_WindowPos3fvMESA, fn);
+static inline void
+SET_WindowPos3fvMESA(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (const GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_WindowPos3fvMESA, fn);
}
-typedef void (GLAPIENTRYP _glptr_WindowPos3iMESA)(GLint, GLint, GLint);
+typedef void (GLAPIENTRYP _glptr_WindowPos3iMESA) (GLint, GLint, GLint);
+
#define CALL_WindowPos3iMESA(disp, parameters) \
(* GET_WindowPos3iMESA(disp)) parameters
-static inline _glptr_WindowPos3iMESA GET_WindowPos3iMESA(struct _glapi_table *disp) {
- return (_glptr_WindowPos3iMESA) (GET_by_offset(disp, _gloffset_WindowPos3iMESA));
+static inline _glptr_WindowPos3iMESA
+GET_WindowPos3iMESA(struct _glapi_table *disp)
+{
+ return (_glptr_WindowPos3iMESA) (GET_by_offset
+ (disp, _gloffset_WindowPos3iMESA));
}
-static inline void SET_WindowPos3iMESA(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLint)) {
- SET_by_offset(disp, _gloffset_WindowPos3iMESA, fn);
+static inline void
+SET_WindowPos3iMESA(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLint, GLint, GLint))
+{
+ SET_by_offset(disp, _gloffset_WindowPos3iMESA, fn);
}
-typedef void (GLAPIENTRYP _glptr_WindowPos3ivMESA)(const GLint *);
+typedef void (GLAPIENTRYP _glptr_WindowPos3ivMESA) (const GLint *);
+
#define CALL_WindowPos3ivMESA(disp, parameters) \
(* GET_WindowPos3ivMESA(disp)) parameters
-static inline _glptr_WindowPos3ivMESA GET_WindowPos3ivMESA(struct _glapi_table *disp) {
- return (_glptr_WindowPos3ivMESA) (GET_by_offset(disp, _gloffset_WindowPos3ivMESA));
+static inline _glptr_WindowPos3ivMESA
+GET_WindowPos3ivMESA(struct _glapi_table *disp)
+{
+ return (_glptr_WindowPos3ivMESA) (GET_by_offset
+ (disp, _gloffset_WindowPos3ivMESA));
}
-static inline void SET_WindowPos3ivMESA(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLint *)) {
- SET_by_offset(disp, _gloffset_WindowPos3ivMESA, fn);
+static inline void
+SET_WindowPos3ivMESA(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (const GLint *))
+{
+ SET_by_offset(disp, _gloffset_WindowPos3ivMESA, fn);
}
-typedef void (GLAPIENTRYP _glptr_WindowPos3sMESA)(GLshort, GLshort, GLshort);
+typedef void (GLAPIENTRYP _glptr_WindowPos3sMESA) (GLshort, GLshort, GLshort);
+
#define CALL_WindowPos3sMESA(disp, parameters) \
(* GET_WindowPos3sMESA(disp)) parameters
-static inline _glptr_WindowPos3sMESA GET_WindowPos3sMESA(struct _glapi_table *disp) {
- return (_glptr_WindowPos3sMESA) (GET_by_offset(disp, _gloffset_WindowPos3sMESA));
+static inline _glptr_WindowPos3sMESA
+GET_WindowPos3sMESA(struct _glapi_table *disp)
+{
+ return (_glptr_WindowPos3sMESA) (GET_by_offset
+ (disp, _gloffset_WindowPos3sMESA));
}
-static inline void SET_WindowPos3sMESA(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLshort, GLshort, GLshort)) {
- SET_by_offset(disp, _gloffset_WindowPos3sMESA, fn);
+static inline void
+SET_WindowPos3sMESA(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLshort, GLshort, GLshort))
+{
+ SET_by_offset(disp, _gloffset_WindowPos3sMESA, fn);
}
-typedef void (GLAPIENTRYP _glptr_WindowPos3svMESA)(const GLshort *);
+typedef void (GLAPIENTRYP _glptr_WindowPos3svMESA) (const GLshort *);
+
#define CALL_WindowPos3svMESA(disp, parameters) \
(* GET_WindowPos3svMESA(disp)) parameters
-static inline _glptr_WindowPos3svMESA GET_WindowPos3svMESA(struct _glapi_table *disp) {
- return (_glptr_WindowPos3svMESA) (GET_by_offset(disp, _gloffset_WindowPos3svMESA));
+static inline _glptr_WindowPos3svMESA
+GET_WindowPos3svMESA(struct _glapi_table *disp)
+{
+ return (_glptr_WindowPos3svMESA) (GET_by_offset
+ (disp, _gloffset_WindowPos3svMESA));
}
-static inline void SET_WindowPos3svMESA(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLshort *)) {
- SET_by_offset(disp, _gloffset_WindowPos3svMESA, fn);
+static inline void
+SET_WindowPos3svMESA(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (const GLshort *))
+{
+ SET_by_offset(disp, _gloffset_WindowPos3svMESA, fn);
}
-typedef void (GLAPIENTRYP _glptr_WindowPos4dMESA)(GLdouble, GLdouble, GLdouble, GLdouble);
+typedef void (GLAPIENTRYP _glptr_WindowPos4dMESA) (GLdouble, GLdouble, GLdouble,
+ GLdouble);
#define CALL_WindowPos4dMESA(disp, parameters) \
(* GET_WindowPos4dMESA(disp)) parameters
-static inline _glptr_WindowPos4dMESA GET_WindowPos4dMESA(struct _glapi_table *disp) {
- return (_glptr_WindowPos4dMESA) (GET_by_offset(disp, _gloffset_WindowPos4dMESA));
+static inline _glptr_WindowPos4dMESA
+GET_WindowPos4dMESA(struct _glapi_table *disp)
+{
+ return (_glptr_WindowPos4dMESA) (GET_by_offset
+ (disp, _gloffset_WindowPos4dMESA));
}
-static inline void SET_WindowPos4dMESA(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLdouble, GLdouble, GLdouble, GLdouble)) {
- SET_by_offset(disp, _gloffset_WindowPos4dMESA, fn);
+static inline void
+SET_WindowPos4dMESA(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLdouble, GLdouble, GLdouble,
+ GLdouble))
+{
+ SET_by_offset(disp, _gloffset_WindowPos4dMESA, fn);
}
-typedef void (GLAPIENTRYP _glptr_WindowPos4dvMESA)(const GLdouble *);
+typedef void (GLAPIENTRYP _glptr_WindowPos4dvMESA) (const GLdouble *);
+
#define CALL_WindowPos4dvMESA(disp, parameters) \
(* GET_WindowPos4dvMESA(disp)) parameters
-static inline _glptr_WindowPos4dvMESA GET_WindowPos4dvMESA(struct _glapi_table *disp) {
- return (_glptr_WindowPos4dvMESA) (GET_by_offset(disp, _gloffset_WindowPos4dvMESA));
+static inline _glptr_WindowPos4dvMESA
+GET_WindowPos4dvMESA(struct _glapi_table *disp)
+{
+ return (_glptr_WindowPos4dvMESA) (GET_by_offset
+ (disp, _gloffset_WindowPos4dvMESA));
}
-static inline void SET_WindowPos4dvMESA(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLdouble *)) {
- SET_by_offset(disp, _gloffset_WindowPos4dvMESA, fn);
+static inline void
+SET_WindowPos4dvMESA(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (const GLdouble *))
+{
+ SET_by_offset(disp, _gloffset_WindowPos4dvMESA, fn);
}
-typedef void (GLAPIENTRYP _glptr_WindowPos4fMESA)(GLfloat, GLfloat, GLfloat, GLfloat);
+typedef void (GLAPIENTRYP _glptr_WindowPos4fMESA) (GLfloat, GLfloat, GLfloat,
+ GLfloat);
#define CALL_WindowPos4fMESA(disp, parameters) \
(* GET_WindowPos4fMESA(disp)) parameters
-static inline _glptr_WindowPos4fMESA GET_WindowPos4fMESA(struct _glapi_table *disp) {
- return (_glptr_WindowPos4fMESA) (GET_by_offset(disp, _gloffset_WindowPos4fMESA));
+static inline _glptr_WindowPos4fMESA
+GET_WindowPos4fMESA(struct _glapi_table *disp)
+{
+ return (_glptr_WindowPos4fMESA) (GET_by_offset
+ (disp, _gloffset_WindowPos4fMESA));
}
-static inline void SET_WindowPos4fMESA(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLfloat, GLfloat, GLfloat, GLfloat)) {
- SET_by_offset(disp, _gloffset_WindowPos4fMESA, fn);
+static inline void
+SET_WindowPos4fMESA(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLfloat, GLfloat, GLfloat, GLfloat))
+{
+ SET_by_offset(disp, _gloffset_WindowPos4fMESA, fn);
}
-typedef void (GLAPIENTRYP _glptr_WindowPos4fvMESA)(const GLfloat *);
+typedef void (GLAPIENTRYP _glptr_WindowPos4fvMESA) (const GLfloat *);
+
#define CALL_WindowPos4fvMESA(disp, parameters) \
(* GET_WindowPos4fvMESA(disp)) parameters
-static inline _glptr_WindowPos4fvMESA GET_WindowPos4fvMESA(struct _glapi_table *disp) {
- return (_glptr_WindowPos4fvMESA) (GET_by_offset(disp, _gloffset_WindowPos4fvMESA));
+static inline _glptr_WindowPos4fvMESA
+GET_WindowPos4fvMESA(struct _glapi_table *disp)
+{
+ return (_glptr_WindowPos4fvMESA) (GET_by_offset
+ (disp, _gloffset_WindowPos4fvMESA));
}
-static inline void SET_WindowPos4fvMESA(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLfloat *)) {
- SET_by_offset(disp, _gloffset_WindowPos4fvMESA, fn);
+static inline void
+SET_WindowPos4fvMESA(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (const GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_WindowPos4fvMESA, fn);
}
-typedef void (GLAPIENTRYP _glptr_WindowPos4iMESA)(GLint, GLint, GLint, GLint);
+typedef void (GLAPIENTRYP _glptr_WindowPos4iMESA) (GLint, GLint, GLint, GLint);
+
#define CALL_WindowPos4iMESA(disp, parameters) \
(* GET_WindowPos4iMESA(disp)) parameters
-static inline _glptr_WindowPos4iMESA GET_WindowPos4iMESA(struct _glapi_table *disp) {
- return (_glptr_WindowPos4iMESA) (GET_by_offset(disp, _gloffset_WindowPos4iMESA));
+static inline _glptr_WindowPos4iMESA
+GET_WindowPos4iMESA(struct _glapi_table *disp)
+{
+ return (_glptr_WindowPos4iMESA) (GET_by_offset
+ (disp, _gloffset_WindowPos4iMESA));
}
-static inline void SET_WindowPos4iMESA(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLint, GLint)) {
- SET_by_offset(disp, _gloffset_WindowPos4iMESA, fn);
+static inline void
+SET_WindowPos4iMESA(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLint, GLint, GLint, GLint))
+{
+ SET_by_offset(disp, _gloffset_WindowPos4iMESA, fn);
}
-typedef void (GLAPIENTRYP _glptr_WindowPos4ivMESA)(const GLint *);
+typedef void (GLAPIENTRYP _glptr_WindowPos4ivMESA) (const GLint *);
+
#define CALL_WindowPos4ivMESA(disp, parameters) \
(* GET_WindowPos4ivMESA(disp)) parameters
-static inline _glptr_WindowPos4ivMESA GET_WindowPos4ivMESA(struct _glapi_table *disp) {
- return (_glptr_WindowPos4ivMESA) (GET_by_offset(disp, _gloffset_WindowPos4ivMESA));
+static inline _glptr_WindowPos4ivMESA
+GET_WindowPos4ivMESA(struct _glapi_table *disp)
+{
+ return (_glptr_WindowPos4ivMESA) (GET_by_offset
+ (disp, _gloffset_WindowPos4ivMESA));
}
-static inline void SET_WindowPos4ivMESA(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLint *)) {
- SET_by_offset(disp, _gloffset_WindowPos4ivMESA, fn);
+static inline void
+SET_WindowPos4ivMESA(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (const GLint *))
+{
+ SET_by_offset(disp, _gloffset_WindowPos4ivMESA, fn);
}
-typedef void (GLAPIENTRYP _glptr_WindowPos4sMESA)(GLshort, GLshort, GLshort, GLshort);
+typedef void (GLAPIENTRYP _glptr_WindowPos4sMESA) (GLshort, GLshort, GLshort,
+ GLshort);
#define CALL_WindowPos4sMESA(disp, parameters) \
(* GET_WindowPos4sMESA(disp)) parameters
-static inline _glptr_WindowPos4sMESA GET_WindowPos4sMESA(struct _glapi_table *disp) {
- return (_glptr_WindowPos4sMESA) (GET_by_offset(disp, _gloffset_WindowPos4sMESA));
+static inline _glptr_WindowPos4sMESA
+GET_WindowPos4sMESA(struct _glapi_table *disp)
+{
+ return (_glptr_WindowPos4sMESA) (GET_by_offset
+ (disp, _gloffset_WindowPos4sMESA));
}
-static inline void SET_WindowPos4sMESA(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLshort, GLshort, GLshort, GLshort)) {
- SET_by_offset(disp, _gloffset_WindowPos4sMESA, fn);
+static inline void
+SET_WindowPos4sMESA(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLshort, GLshort, GLshort, GLshort))
+{
+ SET_by_offset(disp, _gloffset_WindowPos4sMESA, fn);
}
-typedef void (GLAPIENTRYP _glptr_WindowPos4svMESA)(const GLshort *);
+typedef void (GLAPIENTRYP _glptr_WindowPos4svMESA) (const GLshort *);
+
#define CALL_WindowPos4svMESA(disp, parameters) \
(* GET_WindowPos4svMESA(disp)) parameters
-static inline _glptr_WindowPos4svMESA GET_WindowPos4svMESA(struct _glapi_table *disp) {
- return (_glptr_WindowPos4svMESA) (GET_by_offset(disp, _gloffset_WindowPos4svMESA));
+static inline _glptr_WindowPos4svMESA
+GET_WindowPos4svMESA(struct _glapi_table *disp)
+{
+ return (_glptr_WindowPos4svMESA) (GET_by_offset
+ (disp, _gloffset_WindowPos4svMESA));
}
-static inline void SET_WindowPos4svMESA(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLshort *)) {
- SET_by_offset(disp, _gloffset_WindowPos4svMESA, fn);
+static inline void
+SET_WindowPos4svMESA(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (const GLshort *))
+{
+ SET_by_offset(disp, _gloffset_WindowPos4svMESA, fn);
}
-typedef void (GLAPIENTRYP _glptr_MultiModeDrawArraysIBM)(const GLenum *, const GLint *, const GLsizei *, GLsizei, GLint);
+typedef void (GLAPIENTRYP _glptr_MultiModeDrawArraysIBM) (const GLenum *,
+ const GLint *,
+ const GLsizei *,
+ GLsizei, GLint);
#define CALL_MultiModeDrawArraysIBM(disp, parameters) \
(* GET_MultiModeDrawArraysIBM(disp)) parameters
-static inline _glptr_MultiModeDrawArraysIBM GET_MultiModeDrawArraysIBM(struct _glapi_table *disp) {
- return (_glptr_MultiModeDrawArraysIBM) (GET_by_offset(disp, _gloffset_MultiModeDrawArraysIBM));
-}
-
-static inline void SET_MultiModeDrawArraysIBM(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLenum *, const GLint *, const GLsizei *, GLsizei, GLint)) {
- SET_by_offset(disp, _gloffset_MultiModeDrawArraysIBM, fn);
-}
-
-typedef void (GLAPIENTRYP _glptr_MultiModeDrawElementsIBM)(const GLenum *, const GLsizei *, GLenum, const GLvoid * const *, GLsizei, GLint);
+static inline _glptr_MultiModeDrawArraysIBM
+GET_MultiModeDrawArraysIBM(struct _glapi_table *disp)
+{
+ return (_glptr_MultiModeDrawArraysIBM) (GET_by_offset
+ (disp,
+ _gloffset_MultiModeDrawArraysIBM));
+}
+
+static inline void
+SET_MultiModeDrawArraysIBM(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (const GLenum *, const GLint *,
+ const GLsizei *, GLsizei,
+ GLint))
+{
+ SET_by_offset(disp, _gloffset_MultiModeDrawArraysIBM, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_MultiModeDrawElementsIBM) (const GLenum *,
+ const GLsizei *,
+ GLenum,
+ const GLvoid *
+ const *, GLsizei,
+ GLint);
#define CALL_MultiModeDrawElementsIBM(disp, parameters) \
(* GET_MultiModeDrawElementsIBM(disp)) parameters
-static inline _glptr_MultiModeDrawElementsIBM GET_MultiModeDrawElementsIBM(struct _glapi_table *disp) {
- return (_glptr_MultiModeDrawElementsIBM) (GET_by_offset(disp, _gloffset_MultiModeDrawElementsIBM));
+static inline _glptr_MultiModeDrawElementsIBM
+GET_MultiModeDrawElementsIBM(struct _glapi_table *disp)
+{
+ return (_glptr_MultiModeDrawElementsIBM) (GET_by_offset
+ (disp,
+ _gloffset_MultiModeDrawElementsIBM));
}
-static inline void SET_MultiModeDrawElementsIBM(struct _glapi_table *disp, void (GLAPIENTRYP fn)(const GLenum *, const GLsizei *, GLenum, const GLvoid * const *, GLsizei, GLint)) {
- SET_by_offset(disp, _gloffset_MultiModeDrawElementsIBM, fn);
+static inline void
+SET_MultiModeDrawElementsIBM(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (const GLenum *,
+ const GLsizei *, GLenum,
+ const GLvoid * const *,
+ GLsizei, GLint))
+{
+ SET_by_offset(disp, _gloffset_MultiModeDrawElementsIBM, fn);
}
-typedef void (GLAPIENTRYP _glptr_DeleteFencesNV)(GLsizei, const GLuint *);
+typedef void (GLAPIENTRYP _glptr_DeleteFencesNV) (GLsizei, const GLuint *);
+
#define CALL_DeleteFencesNV(disp, parameters) \
(* GET_DeleteFencesNV(disp)) parameters
-static inline _glptr_DeleteFencesNV GET_DeleteFencesNV(struct _glapi_table *disp) {
- return (_glptr_DeleteFencesNV) (GET_by_offset(disp, _gloffset_DeleteFencesNV));
+static inline _glptr_DeleteFencesNV
+GET_DeleteFencesNV(struct _glapi_table *disp)
+{
+ return (_glptr_DeleteFencesNV) (GET_by_offset
+ (disp, _gloffset_DeleteFencesNV));
}
-static inline void SET_DeleteFencesNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, const GLuint *)) {
- SET_by_offset(disp, _gloffset_DeleteFencesNV, fn);
+static inline void
+SET_DeleteFencesNV(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLsizei, const GLuint *))
+{
+ SET_by_offset(disp, _gloffset_DeleteFencesNV, fn);
}
-typedef void (GLAPIENTRYP _glptr_FinishFenceNV)(GLuint);
+typedef void (GLAPIENTRYP _glptr_FinishFenceNV) (GLuint);
+
#define CALL_FinishFenceNV(disp, parameters) \
(* GET_FinishFenceNV(disp)) parameters
-static inline _glptr_FinishFenceNV GET_FinishFenceNV(struct _glapi_table *disp) {
- return (_glptr_FinishFenceNV) (GET_by_offset(disp, _gloffset_FinishFenceNV));
+static inline _glptr_FinishFenceNV
+GET_FinishFenceNV(struct _glapi_table *disp)
+{
+ return (_glptr_FinishFenceNV) (GET_by_offset
+ (disp, _gloffset_FinishFenceNV));
}
-static inline void SET_FinishFenceNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint)) {
- SET_by_offset(disp, _gloffset_FinishFenceNV, fn);
+static inline void
+SET_FinishFenceNV(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLuint))
+{
+ SET_by_offset(disp, _gloffset_FinishFenceNV, fn);
}
-typedef void (GLAPIENTRYP _glptr_GenFencesNV)(GLsizei, GLuint *);
+typedef void (GLAPIENTRYP _glptr_GenFencesNV) (GLsizei, GLuint *);
+
#define CALL_GenFencesNV(disp, parameters) \
(* GET_GenFencesNV(disp)) parameters
-static inline _glptr_GenFencesNV GET_GenFencesNV(struct _glapi_table *disp) {
- return (_glptr_GenFencesNV) (GET_by_offset(disp, _gloffset_GenFencesNV));
+static inline _glptr_GenFencesNV
+GET_GenFencesNV(struct _glapi_table *disp)
+{
+ return (_glptr_GenFencesNV) (GET_by_offset(disp, _gloffset_GenFencesNV));
}
-static inline void SET_GenFencesNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, GLuint *)) {
- SET_by_offset(disp, _gloffset_GenFencesNV, fn);
+static inline void
+SET_GenFencesNV(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLsizei, GLuint *))
+{
+ SET_by_offset(disp, _gloffset_GenFencesNV, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetFenceivNV)(GLuint, GLenum, GLint *);
+typedef void (GLAPIENTRYP _glptr_GetFenceivNV) (GLuint, GLenum, GLint *);
+
#define CALL_GetFenceivNV(disp, parameters) \
(* GET_GetFenceivNV(disp)) parameters
-static inline _glptr_GetFenceivNV GET_GetFenceivNV(struct _glapi_table *disp) {
- return (_glptr_GetFenceivNV) (GET_by_offset(disp, _gloffset_GetFenceivNV));
+static inline _glptr_GetFenceivNV
+GET_GetFenceivNV(struct _glapi_table *disp)
+{
+ return (_glptr_GetFenceivNV) (GET_by_offset(disp, _gloffset_GetFenceivNV));
}
-static inline void SET_GetFenceivNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLint *)) {
- SET_by_offset(disp, _gloffset_GetFenceivNV, fn);
+static inline void
+SET_GetFenceivNV(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLenum, GLint *))
+{
+ SET_by_offset(disp, _gloffset_GetFenceivNV, fn);
}
-typedef GLboolean (GLAPIENTRYP _glptr_IsFenceNV)(GLuint);
+typedef GLboolean(GLAPIENTRYP _glptr_IsFenceNV) (GLuint);
+
#define CALL_IsFenceNV(disp, parameters) \
(* GET_IsFenceNV(disp)) parameters
-static inline _glptr_IsFenceNV GET_IsFenceNV(struct _glapi_table *disp) {
- return (_glptr_IsFenceNV) (GET_by_offset(disp, _gloffset_IsFenceNV));
+static inline _glptr_IsFenceNV
+GET_IsFenceNV(struct _glapi_table *disp)
+{
+ return (_glptr_IsFenceNV) (GET_by_offset(disp, _gloffset_IsFenceNV));
}
-static inline void SET_IsFenceNV(struct _glapi_table *disp, GLboolean (GLAPIENTRYP fn)(GLuint)) {
- SET_by_offset(disp, _gloffset_IsFenceNV, fn);
+static inline void
+SET_IsFenceNV(struct _glapi_table *disp, GLboolean(GLAPIENTRYP fn) (GLuint))
+{
+ SET_by_offset(disp, _gloffset_IsFenceNV, fn);
}
-typedef void (GLAPIENTRYP _glptr_SetFenceNV)(GLuint, GLenum);
+typedef void (GLAPIENTRYP _glptr_SetFenceNV) (GLuint, GLenum);
+
#define CALL_SetFenceNV(disp, parameters) \
(* GET_SetFenceNV(disp)) parameters
-static inline _glptr_SetFenceNV GET_SetFenceNV(struct _glapi_table *disp) {
- return (_glptr_SetFenceNV) (GET_by_offset(disp, _gloffset_SetFenceNV));
+static inline _glptr_SetFenceNV
+GET_SetFenceNV(struct _glapi_table *disp)
+{
+ return (_glptr_SetFenceNV) (GET_by_offset(disp, _gloffset_SetFenceNV));
}
-static inline void SET_SetFenceNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum)) {
- SET_by_offset(disp, _gloffset_SetFenceNV, fn);
+static inline void
+SET_SetFenceNV(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLenum))
+{
+ SET_by_offset(disp, _gloffset_SetFenceNV, fn);
}
-typedef GLboolean (GLAPIENTRYP _glptr_TestFenceNV)(GLuint);
+typedef GLboolean(GLAPIENTRYP _glptr_TestFenceNV) (GLuint);
+
#define CALL_TestFenceNV(disp, parameters) \
(* GET_TestFenceNV(disp)) parameters
-static inline _glptr_TestFenceNV GET_TestFenceNV(struct _glapi_table *disp) {
- return (_glptr_TestFenceNV) (GET_by_offset(disp, _gloffset_TestFenceNV));
+static inline _glptr_TestFenceNV
+GET_TestFenceNV(struct _glapi_table *disp)
+{
+ return (_glptr_TestFenceNV) (GET_by_offset(disp, _gloffset_TestFenceNV));
}
-static inline void SET_TestFenceNV(struct _glapi_table *disp, GLboolean (GLAPIENTRYP fn)(GLuint)) {
- SET_by_offset(disp, _gloffset_TestFenceNV, fn);
+static inline void
+SET_TestFenceNV(struct _glapi_table *disp, GLboolean(GLAPIENTRYP fn) (GLuint))
+{
+ SET_by_offset(disp, _gloffset_TestFenceNV, fn);
}
-typedef GLboolean (GLAPIENTRYP _glptr_AreProgramsResidentNV)(GLsizei, const GLuint *, GLboolean *);
+typedef GLboolean(GLAPIENTRYP _glptr_AreProgramsResidentNV) (GLsizei,
+ const GLuint *,
+ GLboolean *);
#define CALL_AreProgramsResidentNV(disp, parameters) \
(* GET_AreProgramsResidentNV(disp)) parameters
-static inline _glptr_AreProgramsResidentNV GET_AreProgramsResidentNV(struct _glapi_table *disp) {
- return (_glptr_AreProgramsResidentNV) (GET_by_offset(disp, _gloffset_AreProgramsResidentNV));
+static inline _glptr_AreProgramsResidentNV
+GET_AreProgramsResidentNV(struct _glapi_table *disp)
+{
+ return (_glptr_AreProgramsResidentNV) (GET_by_offset
+ (disp,
+ _gloffset_AreProgramsResidentNV));
}
-static inline void SET_AreProgramsResidentNV(struct _glapi_table *disp, GLboolean (GLAPIENTRYP fn)(GLsizei, const GLuint *, GLboolean *)) {
- SET_by_offset(disp, _gloffset_AreProgramsResidentNV, fn);
+static inline void
+SET_AreProgramsResidentNV(struct _glapi_table *disp,
+ GLboolean(GLAPIENTRYP fn) (GLsizei, const GLuint *,
+ GLboolean *))
+{
+ SET_by_offset(disp, _gloffset_AreProgramsResidentNV, fn);
}
-typedef void (GLAPIENTRYP _glptr_BindProgramNV)(GLenum, GLuint);
+typedef void (GLAPIENTRYP _glptr_BindProgramNV) (GLenum, GLuint);
+
#define CALL_BindProgramNV(disp, parameters) \
(* GET_BindProgramNV(disp)) parameters
-static inline _glptr_BindProgramNV GET_BindProgramNV(struct _glapi_table *disp) {
- return (_glptr_BindProgramNV) (GET_by_offset(disp, _gloffset_BindProgramNV));
+static inline _glptr_BindProgramNV
+GET_BindProgramNV(struct _glapi_table *disp)
+{
+ return (_glptr_BindProgramNV) (GET_by_offset
+ (disp, _gloffset_BindProgramNV));
}
-static inline void SET_BindProgramNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint)) {
- SET_by_offset(disp, _gloffset_BindProgramNV, fn);
+static inline void
+SET_BindProgramNV(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLuint))
+{
+ SET_by_offset(disp, _gloffset_BindProgramNV, fn);
}
-typedef void (GLAPIENTRYP _glptr_DeleteProgramsNV)(GLsizei, const GLuint *);
+typedef void (GLAPIENTRYP _glptr_DeleteProgramsNV) (GLsizei, const GLuint *);
+
#define CALL_DeleteProgramsNV(disp, parameters) \
(* GET_DeleteProgramsNV(disp)) parameters
-static inline _glptr_DeleteProgramsNV GET_DeleteProgramsNV(struct _glapi_table *disp) {
- return (_glptr_DeleteProgramsNV) (GET_by_offset(disp, _gloffset_DeleteProgramsNV));
+static inline _glptr_DeleteProgramsNV
+GET_DeleteProgramsNV(struct _glapi_table *disp)
+{
+ return (_glptr_DeleteProgramsNV) (GET_by_offset
+ (disp, _gloffset_DeleteProgramsNV));
}
-static inline void SET_DeleteProgramsNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, const GLuint *)) {
- SET_by_offset(disp, _gloffset_DeleteProgramsNV, fn);
+static inline void
+SET_DeleteProgramsNV(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLsizei, const GLuint *))
+{
+ SET_by_offset(disp, _gloffset_DeleteProgramsNV, fn);
}
-typedef void (GLAPIENTRYP _glptr_ExecuteProgramNV)(GLenum, GLuint, const GLfloat *);
+typedef void (GLAPIENTRYP _glptr_ExecuteProgramNV) (GLenum, GLuint,
+ const GLfloat *);
#define CALL_ExecuteProgramNV(disp, parameters) \
(* GET_ExecuteProgramNV(disp)) parameters
-static inline _glptr_ExecuteProgramNV GET_ExecuteProgramNV(struct _glapi_table *disp) {
- return (_glptr_ExecuteProgramNV) (GET_by_offset(disp, _gloffset_ExecuteProgramNV));
+static inline _glptr_ExecuteProgramNV
+GET_ExecuteProgramNV(struct _glapi_table *disp)
+{
+ return (_glptr_ExecuteProgramNV) (GET_by_offset
+ (disp, _gloffset_ExecuteProgramNV));
}
-static inline void SET_ExecuteProgramNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, const GLfloat *)) {
- SET_by_offset(disp, _gloffset_ExecuteProgramNV, fn);
+static inline void
+SET_ExecuteProgramNV(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLuint, const GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_ExecuteProgramNV, fn);
}
-typedef void (GLAPIENTRYP _glptr_GenProgramsNV)(GLsizei, GLuint *);
+typedef void (GLAPIENTRYP _glptr_GenProgramsNV) (GLsizei, GLuint *);
+
#define CALL_GenProgramsNV(disp, parameters) \
(* GET_GenProgramsNV(disp)) parameters
-static inline _glptr_GenProgramsNV GET_GenProgramsNV(struct _glapi_table *disp) {
- return (_glptr_GenProgramsNV) (GET_by_offset(disp, _gloffset_GenProgramsNV));
+static inline _glptr_GenProgramsNV
+GET_GenProgramsNV(struct _glapi_table *disp)
+{
+ return (_glptr_GenProgramsNV) (GET_by_offset
+ (disp, _gloffset_GenProgramsNV));
}
-static inline void SET_GenProgramsNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, GLuint *)) {
- SET_by_offset(disp, _gloffset_GenProgramsNV, fn);
+static inline void
+SET_GenProgramsNV(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLsizei, GLuint *))
+{
+ SET_by_offset(disp, _gloffset_GenProgramsNV, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetProgramParameterdvNV)(GLenum, GLuint, GLenum, GLdouble *);
+typedef void (GLAPIENTRYP _glptr_GetProgramParameterdvNV) (GLenum, GLuint,
+ GLenum, GLdouble *);
#define CALL_GetProgramParameterdvNV(disp, parameters) \
(* GET_GetProgramParameterdvNV(disp)) parameters
-static inline _glptr_GetProgramParameterdvNV GET_GetProgramParameterdvNV(struct _glapi_table *disp) {
- return (_glptr_GetProgramParameterdvNV) (GET_by_offset(disp, _gloffset_GetProgramParameterdvNV));
+static inline _glptr_GetProgramParameterdvNV
+GET_GetProgramParameterdvNV(struct _glapi_table *disp)
+{
+ return (_glptr_GetProgramParameterdvNV) (GET_by_offset
+ (disp,
+ _gloffset_GetProgramParameterdvNV));
}
-static inline void SET_GetProgramParameterdvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLenum, GLdouble *)) {
- SET_by_offset(disp, _gloffset_GetProgramParameterdvNV, fn);
+static inline void
+SET_GetProgramParameterdvNV(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLuint, GLenum,
+ GLdouble *))
+{
+ SET_by_offset(disp, _gloffset_GetProgramParameterdvNV, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetProgramParameterfvNV)(GLenum, GLuint, GLenum, GLfloat *);
+typedef void (GLAPIENTRYP _glptr_GetProgramParameterfvNV) (GLenum, GLuint,
+ GLenum, GLfloat *);
#define CALL_GetProgramParameterfvNV(disp, parameters) \
(* GET_GetProgramParameterfvNV(disp)) parameters
-static inline _glptr_GetProgramParameterfvNV GET_GetProgramParameterfvNV(struct _glapi_table *disp) {
- return (_glptr_GetProgramParameterfvNV) (GET_by_offset(disp, _gloffset_GetProgramParameterfvNV));
+static inline _glptr_GetProgramParameterfvNV
+GET_GetProgramParameterfvNV(struct _glapi_table *disp)
+{
+ return (_glptr_GetProgramParameterfvNV) (GET_by_offset
+ (disp,
+ _gloffset_GetProgramParameterfvNV));
}
-static inline void SET_GetProgramParameterfvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLenum, GLfloat *)) {
- SET_by_offset(disp, _gloffset_GetProgramParameterfvNV, fn);
+static inline void
+SET_GetProgramParameterfvNV(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLuint, GLenum,
+ GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_GetProgramParameterfvNV, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetProgramStringNV)(GLuint, GLenum, GLubyte *);
+typedef void (GLAPIENTRYP _glptr_GetProgramStringNV) (GLuint, GLenum,
+ GLubyte *);
#define CALL_GetProgramStringNV(disp, parameters) \
(* GET_GetProgramStringNV(disp)) parameters
-static inline _glptr_GetProgramStringNV GET_GetProgramStringNV(struct _glapi_table *disp) {
- return (_glptr_GetProgramStringNV) (GET_by_offset(disp, _gloffset_GetProgramStringNV));
+static inline _glptr_GetProgramStringNV
+GET_GetProgramStringNV(struct _glapi_table *disp)
+{
+ return (_glptr_GetProgramStringNV) (GET_by_offset
+ (disp, _gloffset_GetProgramStringNV));
}
-static inline void SET_GetProgramStringNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLubyte *)) {
- SET_by_offset(disp, _gloffset_GetProgramStringNV, fn);
+static inline void
+SET_GetProgramStringNV(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLenum, GLubyte *))
+{
+ SET_by_offset(disp, _gloffset_GetProgramStringNV, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetProgramivNV)(GLuint, GLenum, GLint *);
+typedef void (GLAPIENTRYP _glptr_GetProgramivNV) (GLuint, GLenum, GLint *);
+
#define CALL_GetProgramivNV(disp, parameters) \
(* GET_GetProgramivNV(disp)) parameters
-static inline _glptr_GetProgramivNV GET_GetProgramivNV(struct _glapi_table *disp) {
- return (_glptr_GetProgramivNV) (GET_by_offset(disp, _gloffset_GetProgramivNV));
+static inline _glptr_GetProgramivNV
+GET_GetProgramivNV(struct _glapi_table *disp)
+{
+ return (_glptr_GetProgramivNV) (GET_by_offset
+ (disp, _gloffset_GetProgramivNV));
}
-static inline void SET_GetProgramivNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLint *)) {
- SET_by_offset(disp, _gloffset_GetProgramivNV, fn);
+static inline void
+SET_GetProgramivNV(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLenum, GLint *))
+{
+ SET_by_offset(disp, _gloffset_GetProgramivNV, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetTrackMatrixivNV)(GLenum, GLuint, GLenum, GLint *);
+typedef void (GLAPIENTRYP _glptr_GetTrackMatrixivNV) (GLenum, GLuint, GLenum,
+ GLint *);
#define CALL_GetTrackMatrixivNV(disp, parameters) \
(* GET_GetTrackMatrixivNV(disp)) parameters
-static inline _glptr_GetTrackMatrixivNV GET_GetTrackMatrixivNV(struct _glapi_table *disp) {
- return (_glptr_GetTrackMatrixivNV) (GET_by_offset(disp, _gloffset_GetTrackMatrixivNV));
+static inline _glptr_GetTrackMatrixivNV
+GET_GetTrackMatrixivNV(struct _glapi_table *disp)
+{
+ return (_glptr_GetTrackMatrixivNV) (GET_by_offset
+ (disp, _gloffset_GetTrackMatrixivNV));
}
-static inline void SET_GetTrackMatrixivNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLenum, GLint *)) {
- SET_by_offset(disp, _gloffset_GetTrackMatrixivNV, fn);
+static inline void
+SET_GetTrackMatrixivNV(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLuint, GLenum, GLint *))
+{
+ SET_by_offset(disp, _gloffset_GetTrackMatrixivNV, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetVertexAttribPointervNV)(GLuint, GLenum, GLvoid **);
+typedef void (GLAPIENTRYP _glptr_GetVertexAttribPointervNV) (GLuint, GLenum,
+ GLvoid **);
#define CALL_GetVertexAttribPointervNV(disp, parameters) \
(* GET_GetVertexAttribPointervNV(disp)) parameters
-static inline _glptr_GetVertexAttribPointervNV GET_GetVertexAttribPointervNV(struct _glapi_table *disp) {
- return (_glptr_GetVertexAttribPointervNV) (GET_by_offset(disp, _gloffset_GetVertexAttribPointervNV));
+static inline _glptr_GetVertexAttribPointervNV
+GET_GetVertexAttribPointervNV(struct _glapi_table *disp)
+{
+ return (_glptr_GetVertexAttribPointervNV) (GET_by_offset
+ (disp,
+ _gloffset_GetVertexAttribPointervNV));
}
-static inline void SET_GetVertexAttribPointervNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLvoid **)) {
- SET_by_offset(disp, _gloffset_GetVertexAttribPointervNV, fn);
+static inline void
+SET_GetVertexAttribPointervNV(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLenum, GLvoid **))
+{
+ SET_by_offset(disp, _gloffset_GetVertexAttribPointervNV, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetVertexAttribdvNV)(GLuint, GLenum, GLdouble *);
+typedef void (GLAPIENTRYP _glptr_GetVertexAttribdvNV) (GLuint, GLenum,
+ GLdouble *);
#define CALL_GetVertexAttribdvNV(disp, parameters) \
(* GET_GetVertexAttribdvNV(disp)) parameters
-static inline _glptr_GetVertexAttribdvNV GET_GetVertexAttribdvNV(struct _glapi_table *disp) {
- return (_glptr_GetVertexAttribdvNV) (GET_by_offset(disp, _gloffset_GetVertexAttribdvNV));
+static inline _glptr_GetVertexAttribdvNV
+GET_GetVertexAttribdvNV(struct _glapi_table *disp)
+{
+ return (_glptr_GetVertexAttribdvNV) (GET_by_offset
+ (disp, _gloffset_GetVertexAttribdvNV));
}
-static inline void SET_GetVertexAttribdvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLdouble *)) {
- SET_by_offset(disp, _gloffset_GetVertexAttribdvNV, fn);
+static inline void
+SET_GetVertexAttribdvNV(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLenum, GLdouble *))
+{
+ SET_by_offset(disp, _gloffset_GetVertexAttribdvNV, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetVertexAttribfvNV)(GLuint, GLenum, GLfloat *);
+typedef void (GLAPIENTRYP _glptr_GetVertexAttribfvNV) (GLuint, GLenum,
+ GLfloat *);
#define CALL_GetVertexAttribfvNV(disp, parameters) \
(* GET_GetVertexAttribfvNV(disp)) parameters
-static inline _glptr_GetVertexAttribfvNV GET_GetVertexAttribfvNV(struct _glapi_table *disp) {
- return (_glptr_GetVertexAttribfvNV) (GET_by_offset(disp, _gloffset_GetVertexAttribfvNV));
+static inline _glptr_GetVertexAttribfvNV
+GET_GetVertexAttribfvNV(struct _glapi_table *disp)
+{
+ return (_glptr_GetVertexAttribfvNV) (GET_by_offset
+ (disp, _gloffset_GetVertexAttribfvNV));
}
-static inline void SET_GetVertexAttribfvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLfloat *)) {
- SET_by_offset(disp, _gloffset_GetVertexAttribfvNV, fn);
+static inline void
+SET_GetVertexAttribfvNV(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLenum, GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_GetVertexAttribfvNV, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetVertexAttribivNV)(GLuint, GLenum, GLint *);
+typedef void (GLAPIENTRYP _glptr_GetVertexAttribivNV) (GLuint, GLenum, GLint *);
+
#define CALL_GetVertexAttribivNV(disp, parameters) \
(* GET_GetVertexAttribivNV(disp)) parameters
-static inline _glptr_GetVertexAttribivNV GET_GetVertexAttribivNV(struct _glapi_table *disp) {
- return (_glptr_GetVertexAttribivNV) (GET_by_offset(disp, _gloffset_GetVertexAttribivNV));
+static inline _glptr_GetVertexAttribivNV
+GET_GetVertexAttribivNV(struct _glapi_table *disp)
+{
+ return (_glptr_GetVertexAttribivNV) (GET_by_offset
+ (disp, _gloffset_GetVertexAttribivNV));
}
-static inline void SET_GetVertexAttribivNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLint *)) {
- SET_by_offset(disp, _gloffset_GetVertexAttribivNV, fn);
+static inline void
+SET_GetVertexAttribivNV(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLenum, GLint *))
+{
+ SET_by_offset(disp, _gloffset_GetVertexAttribivNV, fn);
}
-typedef GLboolean (GLAPIENTRYP _glptr_IsProgramNV)(GLuint);
+typedef GLboolean(GLAPIENTRYP _glptr_IsProgramNV) (GLuint);
+
#define CALL_IsProgramNV(disp, parameters) \
(* GET_IsProgramNV(disp)) parameters
-static inline _glptr_IsProgramNV GET_IsProgramNV(struct _glapi_table *disp) {
- return (_glptr_IsProgramNV) (GET_by_offset(disp, _gloffset_IsProgramNV));
+static inline _glptr_IsProgramNV
+GET_IsProgramNV(struct _glapi_table *disp)
+{
+ return (_glptr_IsProgramNV) (GET_by_offset(disp, _gloffset_IsProgramNV));
}
-static inline void SET_IsProgramNV(struct _glapi_table *disp, GLboolean (GLAPIENTRYP fn)(GLuint)) {
- SET_by_offset(disp, _gloffset_IsProgramNV, fn);
+static inline void
+SET_IsProgramNV(struct _glapi_table *disp, GLboolean(GLAPIENTRYP fn) (GLuint))
+{
+ SET_by_offset(disp, _gloffset_IsProgramNV, fn);
}
-typedef void (GLAPIENTRYP _glptr_LoadProgramNV)(GLenum, GLuint, GLsizei, const GLubyte *);
+typedef void (GLAPIENTRYP _glptr_LoadProgramNV) (GLenum, GLuint, GLsizei,
+ const GLubyte *);
#define CALL_LoadProgramNV(disp, parameters) \
(* GET_LoadProgramNV(disp)) parameters
-static inline _glptr_LoadProgramNV GET_LoadProgramNV(struct _glapi_table *disp) {
- return (_glptr_LoadProgramNV) (GET_by_offset(disp, _gloffset_LoadProgramNV));
+static inline _glptr_LoadProgramNV
+GET_LoadProgramNV(struct _glapi_table *disp)
+{
+ return (_glptr_LoadProgramNV) (GET_by_offset
+ (disp, _gloffset_LoadProgramNV));
}
-static inline void SET_LoadProgramNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLsizei, const GLubyte *)) {
- SET_by_offset(disp, _gloffset_LoadProgramNV, fn);
+static inline void
+SET_LoadProgramNV(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLuint, GLsizei,
+ const GLubyte *))
+{
+ SET_by_offset(disp, _gloffset_LoadProgramNV, fn);
}
-typedef void (GLAPIENTRYP _glptr_ProgramParameters4dvNV)(GLenum, GLuint, GLsizei, const GLdouble *);
+typedef void (GLAPIENTRYP _glptr_ProgramParameters4dvNV) (GLenum, GLuint,
+ GLsizei,
+ const GLdouble *);
#define CALL_ProgramParameters4dvNV(disp, parameters) \
(* GET_ProgramParameters4dvNV(disp)) parameters
-static inline _glptr_ProgramParameters4dvNV GET_ProgramParameters4dvNV(struct _glapi_table *disp) {
- return (_glptr_ProgramParameters4dvNV) (GET_by_offset(disp, _gloffset_ProgramParameters4dvNV));
+static inline _glptr_ProgramParameters4dvNV
+GET_ProgramParameters4dvNV(struct _glapi_table *disp)
+{
+ return (_glptr_ProgramParameters4dvNV) (GET_by_offset
+ (disp,
+ _gloffset_ProgramParameters4dvNV));
}
-static inline void SET_ProgramParameters4dvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLsizei, const GLdouble *)) {
- SET_by_offset(disp, _gloffset_ProgramParameters4dvNV, fn);
+static inline void
+SET_ProgramParameters4dvNV(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLuint, GLsizei,
+ const GLdouble *))
+{
+ SET_by_offset(disp, _gloffset_ProgramParameters4dvNV, fn);
}
-typedef void (GLAPIENTRYP _glptr_ProgramParameters4fvNV)(GLenum, GLuint, GLsizei, const GLfloat *);
+typedef void (GLAPIENTRYP _glptr_ProgramParameters4fvNV) (GLenum, GLuint,
+ GLsizei,
+ const GLfloat *);
#define CALL_ProgramParameters4fvNV(disp, parameters) \
(* GET_ProgramParameters4fvNV(disp)) parameters
-static inline _glptr_ProgramParameters4fvNV GET_ProgramParameters4fvNV(struct _glapi_table *disp) {
- return (_glptr_ProgramParameters4fvNV) (GET_by_offset(disp, _gloffset_ProgramParameters4fvNV));
+static inline _glptr_ProgramParameters4fvNV
+GET_ProgramParameters4fvNV(struct _glapi_table *disp)
+{
+ return (_glptr_ProgramParameters4fvNV) (GET_by_offset
+ (disp,
+ _gloffset_ProgramParameters4fvNV));
}
-static inline void SET_ProgramParameters4fvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLsizei, const GLfloat *)) {
- SET_by_offset(disp, _gloffset_ProgramParameters4fvNV, fn);
+static inline void
+SET_ProgramParameters4fvNV(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLuint, GLsizei,
+ const GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_ProgramParameters4fvNV, fn);
}
-typedef void (GLAPIENTRYP _glptr_RequestResidentProgramsNV)(GLsizei, const GLuint *);
+typedef void (GLAPIENTRYP _glptr_RequestResidentProgramsNV) (GLsizei,
+ const GLuint *);
#define CALL_RequestResidentProgramsNV(disp, parameters) \
(* GET_RequestResidentProgramsNV(disp)) parameters
-static inline _glptr_RequestResidentProgramsNV GET_RequestResidentProgramsNV(struct _glapi_table *disp) {
- return (_glptr_RequestResidentProgramsNV) (GET_by_offset(disp, _gloffset_RequestResidentProgramsNV));
+static inline _glptr_RequestResidentProgramsNV
+GET_RequestResidentProgramsNV(struct _glapi_table *disp)
+{
+ return (_glptr_RequestResidentProgramsNV) (GET_by_offset
+ (disp,
+ _gloffset_RequestResidentProgramsNV));
}
-static inline void SET_RequestResidentProgramsNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, const GLuint *)) {
- SET_by_offset(disp, _gloffset_RequestResidentProgramsNV, fn);
+static inline void
+SET_RequestResidentProgramsNV(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLsizei, const GLuint *))
+{
+ SET_by_offset(disp, _gloffset_RequestResidentProgramsNV, fn);
}
-typedef void (GLAPIENTRYP _glptr_TrackMatrixNV)(GLenum, GLuint, GLenum, GLenum);
+typedef void (GLAPIENTRYP _glptr_TrackMatrixNV) (GLenum, GLuint, GLenum,
+ GLenum);
#define CALL_TrackMatrixNV(disp, parameters) \
(* GET_TrackMatrixNV(disp)) parameters
-static inline _glptr_TrackMatrixNV GET_TrackMatrixNV(struct _glapi_table *disp) {
- return (_glptr_TrackMatrixNV) (GET_by_offset(disp, _gloffset_TrackMatrixNV));
+static inline _glptr_TrackMatrixNV
+GET_TrackMatrixNV(struct _glapi_table *disp)
+{
+ return (_glptr_TrackMatrixNV) (GET_by_offset
+ (disp, _gloffset_TrackMatrixNV));
}
-static inline void SET_TrackMatrixNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLenum, GLenum)) {
- SET_by_offset(disp, _gloffset_TrackMatrixNV, fn);
+static inline void
+SET_TrackMatrixNV(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLuint, GLenum, GLenum))
+{
+ SET_by_offset(disp, _gloffset_TrackMatrixNV, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttrib1dNV)(GLuint, GLdouble);
+typedef void (GLAPIENTRYP _glptr_VertexAttrib1dNV) (GLuint, GLdouble);
+
#define CALL_VertexAttrib1dNV(disp, parameters) \
(* GET_VertexAttrib1dNV(disp)) parameters
-static inline _glptr_VertexAttrib1dNV GET_VertexAttrib1dNV(struct _glapi_table *disp) {
- return (_glptr_VertexAttrib1dNV) (GET_by_offset(disp, _gloffset_VertexAttrib1dNV));
+static inline _glptr_VertexAttrib1dNV
+GET_VertexAttrib1dNV(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttrib1dNV) (GET_by_offset
+ (disp, _gloffset_VertexAttrib1dNV));
}
-static inline void SET_VertexAttrib1dNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLdouble)) {
- SET_by_offset(disp, _gloffset_VertexAttrib1dNV, fn);
+static inline void
+SET_VertexAttrib1dNV(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLdouble))
+{
+ SET_by_offset(disp, _gloffset_VertexAttrib1dNV, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttrib1dvNV)(GLuint, const GLdouble *);
+typedef void (GLAPIENTRYP _glptr_VertexAttrib1dvNV) (GLuint, const GLdouble *);
+
#define CALL_VertexAttrib1dvNV(disp, parameters) \
(* GET_VertexAttrib1dvNV(disp)) parameters
-static inline _glptr_VertexAttrib1dvNV GET_VertexAttrib1dvNV(struct _glapi_table *disp) {
- return (_glptr_VertexAttrib1dvNV) (GET_by_offset(disp, _gloffset_VertexAttrib1dvNV));
+static inline _glptr_VertexAttrib1dvNV
+GET_VertexAttrib1dvNV(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttrib1dvNV) (GET_by_offset
+ (disp, _gloffset_VertexAttrib1dvNV));
}
-static inline void SET_VertexAttrib1dvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLdouble *)) {
- SET_by_offset(disp, _gloffset_VertexAttrib1dvNV, fn);
+static inline void
+SET_VertexAttrib1dvNV(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, const GLdouble *))
+{
+ SET_by_offset(disp, _gloffset_VertexAttrib1dvNV, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttrib1fNV)(GLuint, GLfloat);
+typedef void (GLAPIENTRYP _glptr_VertexAttrib1fNV) (GLuint, GLfloat);
+
#define CALL_VertexAttrib1fNV(disp, parameters) \
(* GET_VertexAttrib1fNV(disp)) parameters
-static inline _glptr_VertexAttrib1fNV GET_VertexAttrib1fNV(struct _glapi_table *disp) {
- return (_glptr_VertexAttrib1fNV) (GET_by_offset(disp, _gloffset_VertexAttrib1fNV));
+static inline _glptr_VertexAttrib1fNV
+GET_VertexAttrib1fNV(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttrib1fNV) (GET_by_offset
+ (disp, _gloffset_VertexAttrib1fNV));
}
-static inline void SET_VertexAttrib1fNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLfloat)) {
- SET_by_offset(disp, _gloffset_VertexAttrib1fNV, fn);
+static inline void
+SET_VertexAttrib1fNV(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLfloat))
+{
+ SET_by_offset(disp, _gloffset_VertexAttrib1fNV, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttrib1fvNV)(GLuint, const GLfloat *);
+typedef void (GLAPIENTRYP _glptr_VertexAttrib1fvNV) (GLuint, const GLfloat *);
+
#define CALL_VertexAttrib1fvNV(disp, parameters) \
(* GET_VertexAttrib1fvNV(disp)) parameters
-static inline _glptr_VertexAttrib1fvNV GET_VertexAttrib1fvNV(struct _glapi_table *disp) {
- return (_glptr_VertexAttrib1fvNV) (GET_by_offset(disp, _gloffset_VertexAttrib1fvNV));
+static inline _glptr_VertexAttrib1fvNV
+GET_VertexAttrib1fvNV(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttrib1fvNV) (GET_by_offset
+ (disp, _gloffset_VertexAttrib1fvNV));
}
-static inline void SET_VertexAttrib1fvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLfloat *)) {
- SET_by_offset(disp, _gloffset_VertexAttrib1fvNV, fn);
+static inline void
+SET_VertexAttrib1fvNV(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, const GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_VertexAttrib1fvNV, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttrib1sNV)(GLuint, GLshort);
+typedef void (GLAPIENTRYP _glptr_VertexAttrib1sNV) (GLuint, GLshort);
+
#define CALL_VertexAttrib1sNV(disp, parameters) \
(* GET_VertexAttrib1sNV(disp)) parameters
-static inline _glptr_VertexAttrib1sNV GET_VertexAttrib1sNV(struct _glapi_table *disp) {
- return (_glptr_VertexAttrib1sNV) (GET_by_offset(disp, _gloffset_VertexAttrib1sNV));
+static inline _glptr_VertexAttrib1sNV
+GET_VertexAttrib1sNV(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttrib1sNV) (GET_by_offset
+ (disp, _gloffset_VertexAttrib1sNV));
}
-static inline void SET_VertexAttrib1sNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLshort)) {
- SET_by_offset(disp, _gloffset_VertexAttrib1sNV, fn);
+static inline void
+SET_VertexAttrib1sNV(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLshort))
+{
+ SET_by_offset(disp, _gloffset_VertexAttrib1sNV, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttrib1svNV)(GLuint, const GLshort *);
+typedef void (GLAPIENTRYP _glptr_VertexAttrib1svNV) (GLuint, const GLshort *);
+
#define CALL_VertexAttrib1svNV(disp, parameters) \
(* GET_VertexAttrib1svNV(disp)) parameters
-static inline _glptr_VertexAttrib1svNV GET_VertexAttrib1svNV(struct _glapi_table *disp) {
- return (_glptr_VertexAttrib1svNV) (GET_by_offset(disp, _gloffset_VertexAttrib1svNV));
+static inline _glptr_VertexAttrib1svNV
+GET_VertexAttrib1svNV(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttrib1svNV) (GET_by_offset
+ (disp, _gloffset_VertexAttrib1svNV));
}
-static inline void SET_VertexAttrib1svNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLshort *)) {
- SET_by_offset(disp, _gloffset_VertexAttrib1svNV, fn);
+static inline void
+SET_VertexAttrib1svNV(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, const GLshort *))
+{
+ SET_by_offset(disp, _gloffset_VertexAttrib1svNV, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttrib2dNV)(GLuint, GLdouble, GLdouble);
+typedef void (GLAPIENTRYP _glptr_VertexAttrib2dNV) (GLuint, GLdouble, GLdouble);
+
#define CALL_VertexAttrib2dNV(disp, parameters) \
(* GET_VertexAttrib2dNV(disp)) parameters
-static inline _glptr_VertexAttrib2dNV GET_VertexAttrib2dNV(struct _glapi_table *disp) {
- return (_glptr_VertexAttrib2dNV) (GET_by_offset(disp, _gloffset_VertexAttrib2dNV));
+static inline _glptr_VertexAttrib2dNV
+GET_VertexAttrib2dNV(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttrib2dNV) (GET_by_offset
+ (disp, _gloffset_VertexAttrib2dNV));
}
-static inline void SET_VertexAttrib2dNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLdouble, GLdouble)) {
- SET_by_offset(disp, _gloffset_VertexAttrib2dNV, fn);
+static inline void
+SET_VertexAttrib2dNV(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLdouble, GLdouble))
+{
+ SET_by_offset(disp, _gloffset_VertexAttrib2dNV, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttrib2dvNV)(GLuint, const GLdouble *);
+typedef void (GLAPIENTRYP _glptr_VertexAttrib2dvNV) (GLuint, const GLdouble *);
+
#define CALL_VertexAttrib2dvNV(disp, parameters) \
(* GET_VertexAttrib2dvNV(disp)) parameters
-static inline _glptr_VertexAttrib2dvNV GET_VertexAttrib2dvNV(struct _glapi_table *disp) {
- return (_glptr_VertexAttrib2dvNV) (GET_by_offset(disp, _gloffset_VertexAttrib2dvNV));
+static inline _glptr_VertexAttrib2dvNV
+GET_VertexAttrib2dvNV(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttrib2dvNV) (GET_by_offset
+ (disp, _gloffset_VertexAttrib2dvNV));
}
-static inline void SET_VertexAttrib2dvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLdouble *)) {
- SET_by_offset(disp, _gloffset_VertexAttrib2dvNV, fn);
+static inline void
+SET_VertexAttrib2dvNV(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, const GLdouble *))
+{
+ SET_by_offset(disp, _gloffset_VertexAttrib2dvNV, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttrib2fNV)(GLuint, GLfloat, GLfloat);
+typedef void (GLAPIENTRYP _glptr_VertexAttrib2fNV) (GLuint, GLfloat, GLfloat);
+
#define CALL_VertexAttrib2fNV(disp, parameters) \
(* GET_VertexAttrib2fNV(disp)) parameters
-static inline _glptr_VertexAttrib2fNV GET_VertexAttrib2fNV(struct _glapi_table *disp) {
- return (_glptr_VertexAttrib2fNV) (GET_by_offset(disp, _gloffset_VertexAttrib2fNV));
+static inline _glptr_VertexAttrib2fNV
+GET_VertexAttrib2fNV(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttrib2fNV) (GET_by_offset
+ (disp, _gloffset_VertexAttrib2fNV));
}
-static inline void SET_VertexAttrib2fNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLfloat, GLfloat)) {
- SET_by_offset(disp, _gloffset_VertexAttrib2fNV, fn);
+static inline void
+SET_VertexAttrib2fNV(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLfloat, GLfloat))
+{
+ SET_by_offset(disp, _gloffset_VertexAttrib2fNV, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttrib2fvNV)(GLuint, const GLfloat *);
+typedef void (GLAPIENTRYP _glptr_VertexAttrib2fvNV) (GLuint, const GLfloat *);
+
#define CALL_VertexAttrib2fvNV(disp, parameters) \
(* GET_VertexAttrib2fvNV(disp)) parameters
-static inline _glptr_VertexAttrib2fvNV GET_VertexAttrib2fvNV(struct _glapi_table *disp) {
- return (_glptr_VertexAttrib2fvNV) (GET_by_offset(disp, _gloffset_VertexAttrib2fvNV));
+static inline _glptr_VertexAttrib2fvNV
+GET_VertexAttrib2fvNV(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttrib2fvNV) (GET_by_offset
+ (disp, _gloffset_VertexAttrib2fvNV));
}
-static inline void SET_VertexAttrib2fvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLfloat *)) {
- SET_by_offset(disp, _gloffset_VertexAttrib2fvNV, fn);
+static inline void
+SET_VertexAttrib2fvNV(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, const GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_VertexAttrib2fvNV, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttrib2sNV)(GLuint, GLshort, GLshort);
+typedef void (GLAPIENTRYP _glptr_VertexAttrib2sNV) (GLuint, GLshort, GLshort);
+
#define CALL_VertexAttrib2sNV(disp, parameters) \
(* GET_VertexAttrib2sNV(disp)) parameters
-static inline _glptr_VertexAttrib2sNV GET_VertexAttrib2sNV(struct _glapi_table *disp) {
- return (_glptr_VertexAttrib2sNV) (GET_by_offset(disp, _gloffset_VertexAttrib2sNV));
+static inline _glptr_VertexAttrib2sNV
+GET_VertexAttrib2sNV(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttrib2sNV) (GET_by_offset
+ (disp, _gloffset_VertexAttrib2sNV));
}
-static inline void SET_VertexAttrib2sNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLshort, GLshort)) {
- SET_by_offset(disp, _gloffset_VertexAttrib2sNV, fn);
+static inline void
+SET_VertexAttrib2sNV(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLshort, GLshort))
+{
+ SET_by_offset(disp, _gloffset_VertexAttrib2sNV, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttrib2svNV)(GLuint, const GLshort *);
+typedef void (GLAPIENTRYP _glptr_VertexAttrib2svNV) (GLuint, const GLshort *);
+
#define CALL_VertexAttrib2svNV(disp, parameters) \
(* GET_VertexAttrib2svNV(disp)) parameters
-static inline _glptr_VertexAttrib2svNV GET_VertexAttrib2svNV(struct _glapi_table *disp) {
- return (_glptr_VertexAttrib2svNV) (GET_by_offset(disp, _gloffset_VertexAttrib2svNV));
+static inline _glptr_VertexAttrib2svNV
+GET_VertexAttrib2svNV(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttrib2svNV) (GET_by_offset
+ (disp, _gloffset_VertexAttrib2svNV));
}
-static inline void SET_VertexAttrib2svNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLshort *)) {
- SET_by_offset(disp, _gloffset_VertexAttrib2svNV, fn);
+static inline void
+SET_VertexAttrib2svNV(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, const GLshort *))
+{
+ SET_by_offset(disp, _gloffset_VertexAttrib2svNV, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttrib3dNV)(GLuint, GLdouble, GLdouble, GLdouble);
+typedef void (GLAPIENTRYP _glptr_VertexAttrib3dNV) (GLuint, GLdouble, GLdouble,
+ GLdouble);
#define CALL_VertexAttrib3dNV(disp, parameters) \
(* GET_VertexAttrib3dNV(disp)) parameters
-static inline _glptr_VertexAttrib3dNV GET_VertexAttrib3dNV(struct _glapi_table *disp) {
- return (_glptr_VertexAttrib3dNV) (GET_by_offset(disp, _gloffset_VertexAttrib3dNV));
+static inline _glptr_VertexAttrib3dNV
+GET_VertexAttrib3dNV(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttrib3dNV) (GET_by_offset
+ (disp, _gloffset_VertexAttrib3dNV));
}
-static inline void SET_VertexAttrib3dNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLdouble, GLdouble, GLdouble)) {
- SET_by_offset(disp, _gloffset_VertexAttrib3dNV, fn);
+static inline void
+SET_VertexAttrib3dNV(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLdouble, GLdouble,
+ GLdouble))
+{
+ SET_by_offset(disp, _gloffset_VertexAttrib3dNV, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttrib3dvNV)(GLuint, const GLdouble *);
+typedef void (GLAPIENTRYP _glptr_VertexAttrib3dvNV) (GLuint, const GLdouble *);
+
#define CALL_VertexAttrib3dvNV(disp, parameters) \
(* GET_VertexAttrib3dvNV(disp)) parameters
-static inline _glptr_VertexAttrib3dvNV GET_VertexAttrib3dvNV(struct _glapi_table *disp) {
- return (_glptr_VertexAttrib3dvNV) (GET_by_offset(disp, _gloffset_VertexAttrib3dvNV));
+static inline _glptr_VertexAttrib3dvNV
+GET_VertexAttrib3dvNV(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttrib3dvNV) (GET_by_offset
+ (disp, _gloffset_VertexAttrib3dvNV));
}
-static inline void SET_VertexAttrib3dvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLdouble *)) {
- SET_by_offset(disp, _gloffset_VertexAttrib3dvNV, fn);
+static inline void
+SET_VertexAttrib3dvNV(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, const GLdouble *))
+{
+ SET_by_offset(disp, _gloffset_VertexAttrib3dvNV, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttrib3fNV)(GLuint, GLfloat, GLfloat, GLfloat);
+typedef void (GLAPIENTRYP _glptr_VertexAttrib3fNV) (GLuint, GLfloat, GLfloat,
+ GLfloat);
#define CALL_VertexAttrib3fNV(disp, parameters) \
(* GET_VertexAttrib3fNV(disp)) parameters
-static inline _glptr_VertexAttrib3fNV GET_VertexAttrib3fNV(struct _glapi_table *disp) {
- return (_glptr_VertexAttrib3fNV) (GET_by_offset(disp, _gloffset_VertexAttrib3fNV));
+static inline _glptr_VertexAttrib3fNV
+GET_VertexAttrib3fNV(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttrib3fNV) (GET_by_offset
+ (disp, _gloffset_VertexAttrib3fNV));
}
-static inline void SET_VertexAttrib3fNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLfloat, GLfloat, GLfloat)) {
- SET_by_offset(disp, _gloffset_VertexAttrib3fNV, fn);
+static inline void
+SET_VertexAttrib3fNV(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLfloat, GLfloat, GLfloat))
+{
+ SET_by_offset(disp, _gloffset_VertexAttrib3fNV, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttrib3fvNV)(GLuint, const GLfloat *);
+typedef void (GLAPIENTRYP _glptr_VertexAttrib3fvNV) (GLuint, const GLfloat *);
+
#define CALL_VertexAttrib3fvNV(disp, parameters) \
(* GET_VertexAttrib3fvNV(disp)) parameters
-static inline _glptr_VertexAttrib3fvNV GET_VertexAttrib3fvNV(struct _glapi_table *disp) {
- return (_glptr_VertexAttrib3fvNV) (GET_by_offset(disp, _gloffset_VertexAttrib3fvNV));
+static inline _glptr_VertexAttrib3fvNV
+GET_VertexAttrib3fvNV(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttrib3fvNV) (GET_by_offset
+ (disp, _gloffset_VertexAttrib3fvNV));
}
-static inline void SET_VertexAttrib3fvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLfloat *)) {
- SET_by_offset(disp, _gloffset_VertexAttrib3fvNV, fn);
+static inline void
+SET_VertexAttrib3fvNV(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, const GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_VertexAttrib3fvNV, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttrib3sNV)(GLuint, GLshort, GLshort, GLshort);
+typedef void (GLAPIENTRYP _glptr_VertexAttrib3sNV) (GLuint, GLshort, GLshort,
+ GLshort);
#define CALL_VertexAttrib3sNV(disp, parameters) \
(* GET_VertexAttrib3sNV(disp)) parameters
-static inline _glptr_VertexAttrib3sNV GET_VertexAttrib3sNV(struct _glapi_table *disp) {
- return (_glptr_VertexAttrib3sNV) (GET_by_offset(disp, _gloffset_VertexAttrib3sNV));
+static inline _glptr_VertexAttrib3sNV
+GET_VertexAttrib3sNV(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttrib3sNV) (GET_by_offset
+ (disp, _gloffset_VertexAttrib3sNV));
}
-static inline void SET_VertexAttrib3sNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLshort, GLshort, GLshort)) {
- SET_by_offset(disp, _gloffset_VertexAttrib3sNV, fn);
+static inline void
+SET_VertexAttrib3sNV(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLshort, GLshort, GLshort))
+{
+ SET_by_offset(disp, _gloffset_VertexAttrib3sNV, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttrib3svNV)(GLuint, const GLshort *);
+typedef void (GLAPIENTRYP _glptr_VertexAttrib3svNV) (GLuint, const GLshort *);
+
#define CALL_VertexAttrib3svNV(disp, parameters) \
(* GET_VertexAttrib3svNV(disp)) parameters
-static inline _glptr_VertexAttrib3svNV GET_VertexAttrib3svNV(struct _glapi_table *disp) {
- return (_glptr_VertexAttrib3svNV) (GET_by_offset(disp, _gloffset_VertexAttrib3svNV));
+static inline _glptr_VertexAttrib3svNV
+GET_VertexAttrib3svNV(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttrib3svNV) (GET_by_offset
+ (disp, _gloffset_VertexAttrib3svNV));
}
-static inline void SET_VertexAttrib3svNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLshort *)) {
- SET_by_offset(disp, _gloffset_VertexAttrib3svNV, fn);
+static inline void
+SET_VertexAttrib3svNV(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, const GLshort *))
+{
+ SET_by_offset(disp, _gloffset_VertexAttrib3svNV, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttrib4dNV)(GLuint, GLdouble, GLdouble, GLdouble, GLdouble);
+typedef void (GLAPIENTRYP _glptr_VertexAttrib4dNV) (GLuint, GLdouble, GLdouble,
+ GLdouble, GLdouble);
#define CALL_VertexAttrib4dNV(disp, parameters) \
(* GET_VertexAttrib4dNV(disp)) parameters
-static inline _glptr_VertexAttrib4dNV GET_VertexAttrib4dNV(struct _glapi_table *disp) {
- return (_glptr_VertexAttrib4dNV) (GET_by_offset(disp, _gloffset_VertexAttrib4dNV));
+static inline _glptr_VertexAttrib4dNV
+GET_VertexAttrib4dNV(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttrib4dNV) (GET_by_offset
+ (disp, _gloffset_VertexAttrib4dNV));
}
-static inline void SET_VertexAttrib4dNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLdouble, GLdouble, GLdouble, GLdouble)) {
- SET_by_offset(disp, _gloffset_VertexAttrib4dNV, fn);
+static inline void
+SET_VertexAttrib4dNV(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLdouble, GLdouble,
+ GLdouble, GLdouble))
+{
+ SET_by_offset(disp, _gloffset_VertexAttrib4dNV, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttrib4dvNV)(GLuint, const GLdouble *);
+typedef void (GLAPIENTRYP _glptr_VertexAttrib4dvNV) (GLuint, const GLdouble *);
+
#define CALL_VertexAttrib4dvNV(disp, parameters) \
(* GET_VertexAttrib4dvNV(disp)) parameters
-static inline _glptr_VertexAttrib4dvNV GET_VertexAttrib4dvNV(struct _glapi_table *disp) {
- return (_glptr_VertexAttrib4dvNV) (GET_by_offset(disp, _gloffset_VertexAttrib4dvNV));
+static inline _glptr_VertexAttrib4dvNV
+GET_VertexAttrib4dvNV(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttrib4dvNV) (GET_by_offset
+ (disp, _gloffset_VertexAttrib4dvNV));
}
-static inline void SET_VertexAttrib4dvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLdouble *)) {
- SET_by_offset(disp, _gloffset_VertexAttrib4dvNV, fn);
+static inline void
+SET_VertexAttrib4dvNV(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, const GLdouble *))
+{
+ SET_by_offset(disp, _gloffset_VertexAttrib4dvNV, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttrib4fNV)(GLuint, GLfloat, GLfloat, GLfloat, GLfloat);
+typedef void (GLAPIENTRYP _glptr_VertexAttrib4fNV) (GLuint, GLfloat, GLfloat,
+ GLfloat, GLfloat);
#define CALL_VertexAttrib4fNV(disp, parameters) \
(* GET_VertexAttrib4fNV(disp)) parameters
-static inline _glptr_VertexAttrib4fNV GET_VertexAttrib4fNV(struct _glapi_table *disp) {
- return (_glptr_VertexAttrib4fNV) (GET_by_offset(disp, _gloffset_VertexAttrib4fNV));
+static inline _glptr_VertexAttrib4fNV
+GET_VertexAttrib4fNV(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttrib4fNV) (GET_by_offset
+ (disp, _gloffset_VertexAttrib4fNV));
}
-static inline void SET_VertexAttrib4fNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLfloat, GLfloat, GLfloat, GLfloat)) {
- SET_by_offset(disp, _gloffset_VertexAttrib4fNV, fn);
+static inline void
+SET_VertexAttrib4fNV(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLfloat, GLfloat, GLfloat,
+ GLfloat))
+{
+ SET_by_offset(disp, _gloffset_VertexAttrib4fNV, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttrib4fvNV)(GLuint, const GLfloat *);
+typedef void (GLAPIENTRYP _glptr_VertexAttrib4fvNV) (GLuint, const GLfloat *);
+
#define CALL_VertexAttrib4fvNV(disp, parameters) \
(* GET_VertexAttrib4fvNV(disp)) parameters
-static inline _glptr_VertexAttrib4fvNV GET_VertexAttrib4fvNV(struct _glapi_table *disp) {
- return (_glptr_VertexAttrib4fvNV) (GET_by_offset(disp, _gloffset_VertexAttrib4fvNV));
+static inline _glptr_VertexAttrib4fvNV
+GET_VertexAttrib4fvNV(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttrib4fvNV) (GET_by_offset
+ (disp, _gloffset_VertexAttrib4fvNV));
}
-static inline void SET_VertexAttrib4fvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLfloat *)) {
- SET_by_offset(disp, _gloffset_VertexAttrib4fvNV, fn);
+static inline void
+SET_VertexAttrib4fvNV(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, const GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_VertexAttrib4fvNV, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttrib4sNV)(GLuint, GLshort, GLshort, GLshort, GLshort);
+typedef void (GLAPIENTRYP _glptr_VertexAttrib4sNV) (GLuint, GLshort, GLshort,
+ GLshort, GLshort);
#define CALL_VertexAttrib4sNV(disp, parameters) \
(* GET_VertexAttrib4sNV(disp)) parameters
-static inline _glptr_VertexAttrib4sNV GET_VertexAttrib4sNV(struct _glapi_table *disp) {
- return (_glptr_VertexAttrib4sNV) (GET_by_offset(disp, _gloffset_VertexAttrib4sNV));
+static inline _glptr_VertexAttrib4sNV
+GET_VertexAttrib4sNV(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttrib4sNV) (GET_by_offset
+ (disp, _gloffset_VertexAttrib4sNV));
}
-static inline void SET_VertexAttrib4sNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLshort, GLshort, GLshort, GLshort)) {
- SET_by_offset(disp, _gloffset_VertexAttrib4sNV, fn);
+static inline void
+SET_VertexAttrib4sNV(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLshort, GLshort, GLshort,
+ GLshort))
+{
+ SET_by_offset(disp, _gloffset_VertexAttrib4sNV, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttrib4svNV)(GLuint, const GLshort *);
+typedef void (GLAPIENTRYP _glptr_VertexAttrib4svNV) (GLuint, const GLshort *);
+
#define CALL_VertexAttrib4svNV(disp, parameters) \
(* GET_VertexAttrib4svNV(disp)) parameters
-static inline _glptr_VertexAttrib4svNV GET_VertexAttrib4svNV(struct _glapi_table *disp) {
- return (_glptr_VertexAttrib4svNV) (GET_by_offset(disp, _gloffset_VertexAttrib4svNV));
+static inline _glptr_VertexAttrib4svNV
+GET_VertexAttrib4svNV(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttrib4svNV) (GET_by_offset
+ (disp, _gloffset_VertexAttrib4svNV));
}
-static inline void SET_VertexAttrib4svNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLshort *)) {
- SET_by_offset(disp, _gloffset_VertexAttrib4svNV, fn);
+static inline void
+SET_VertexAttrib4svNV(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, const GLshort *))
+{
+ SET_by_offset(disp, _gloffset_VertexAttrib4svNV, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttrib4ubNV)(GLuint, GLubyte, GLubyte, GLubyte, GLubyte);
+typedef void (GLAPIENTRYP _glptr_VertexAttrib4ubNV) (GLuint, GLubyte, GLubyte,
+ GLubyte, GLubyte);
#define CALL_VertexAttrib4ubNV(disp, parameters) \
(* GET_VertexAttrib4ubNV(disp)) parameters
-static inline _glptr_VertexAttrib4ubNV GET_VertexAttrib4ubNV(struct _glapi_table *disp) {
- return (_glptr_VertexAttrib4ubNV) (GET_by_offset(disp, _gloffset_VertexAttrib4ubNV));
+static inline _glptr_VertexAttrib4ubNV
+GET_VertexAttrib4ubNV(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttrib4ubNV) (GET_by_offset
+ (disp, _gloffset_VertexAttrib4ubNV));
}
-static inline void SET_VertexAttrib4ubNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLubyte, GLubyte, GLubyte, GLubyte)) {
- SET_by_offset(disp, _gloffset_VertexAttrib4ubNV, fn);
+static inline void
+SET_VertexAttrib4ubNV(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLubyte, GLubyte, GLubyte,
+ GLubyte))
+{
+ SET_by_offset(disp, _gloffset_VertexAttrib4ubNV, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttrib4ubvNV)(GLuint, const GLubyte *);
+typedef void (GLAPIENTRYP _glptr_VertexAttrib4ubvNV) (GLuint, const GLubyte *);
+
#define CALL_VertexAttrib4ubvNV(disp, parameters) \
(* GET_VertexAttrib4ubvNV(disp)) parameters
-static inline _glptr_VertexAttrib4ubvNV GET_VertexAttrib4ubvNV(struct _glapi_table *disp) {
- return (_glptr_VertexAttrib4ubvNV) (GET_by_offset(disp, _gloffset_VertexAttrib4ubvNV));
+static inline _glptr_VertexAttrib4ubvNV
+GET_VertexAttrib4ubvNV(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttrib4ubvNV) (GET_by_offset
+ (disp, _gloffset_VertexAttrib4ubvNV));
}
-static inline void SET_VertexAttrib4ubvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLubyte *)) {
- SET_by_offset(disp, _gloffset_VertexAttrib4ubvNV, fn);
+static inline void
+SET_VertexAttrib4ubvNV(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, const GLubyte *))
+{
+ SET_by_offset(disp, _gloffset_VertexAttrib4ubvNV, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttribPointerNV)(GLuint, GLint, GLenum, GLsizei, const GLvoid *);
+typedef void (GLAPIENTRYP _glptr_VertexAttribPointerNV) (GLuint, GLint, GLenum,
+ GLsizei,
+ const GLvoid *);
#define CALL_VertexAttribPointerNV(disp, parameters) \
(* GET_VertexAttribPointerNV(disp)) parameters
-static inline _glptr_VertexAttribPointerNV GET_VertexAttribPointerNV(struct _glapi_table *disp) {
- return (_glptr_VertexAttribPointerNV) (GET_by_offset(disp, _gloffset_VertexAttribPointerNV));
+static inline _glptr_VertexAttribPointerNV
+GET_VertexAttribPointerNV(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttribPointerNV) (GET_by_offset
+ (disp,
+ _gloffset_VertexAttribPointerNV));
}
-static inline void SET_VertexAttribPointerNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLint, GLenum, GLsizei, const GLvoid *)) {
- SET_by_offset(disp, _gloffset_VertexAttribPointerNV, fn);
+static inline void
+SET_VertexAttribPointerNV(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLint, GLenum, GLsizei,
+ const GLvoid *))
+{
+ SET_by_offset(disp, _gloffset_VertexAttribPointerNV, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttribs1dvNV)(GLuint, GLsizei, const GLdouble *);
+typedef void (GLAPIENTRYP _glptr_VertexAttribs1dvNV) (GLuint, GLsizei,
+ const GLdouble *);
#define CALL_VertexAttribs1dvNV(disp, parameters) \
(* GET_VertexAttribs1dvNV(disp)) parameters
-static inline _glptr_VertexAttribs1dvNV GET_VertexAttribs1dvNV(struct _glapi_table *disp) {
- return (_glptr_VertexAttribs1dvNV) (GET_by_offset(disp, _gloffset_VertexAttribs1dvNV));
+static inline _glptr_VertexAttribs1dvNV
+GET_VertexAttribs1dvNV(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttribs1dvNV) (GET_by_offset
+ (disp, _gloffset_VertexAttribs1dvNV));
}
-static inline void SET_VertexAttribs1dvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, const GLdouble *)) {
- SET_by_offset(disp, _gloffset_VertexAttribs1dvNV, fn);
+static inline void
+SET_VertexAttribs1dvNV(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLsizei,
+ const GLdouble *))
+{
+ SET_by_offset(disp, _gloffset_VertexAttribs1dvNV, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttribs1fvNV)(GLuint, GLsizei, const GLfloat *);
+typedef void (GLAPIENTRYP _glptr_VertexAttribs1fvNV) (GLuint, GLsizei,
+ const GLfloat *);
#define CALL_VertexAttribs1fvNV(disp, parameters) \
(* GET_VertexAttribs1fvNV(disp)) parameters
-static inline _glptr_VertexAttribs1fvNV GET_VertexAttribs1fvNV(struct _glapi_table *disp) {
- return (_glptr_VertexAttribs1fvNV) (GET_by_offset(disp, _gloffset_VertexAttribs1fvNV));
+static inline _glptr_VertexAttribs1fvNV
+GET_VertexAttribs1fvNV(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttribs1fvNV) (GET_by_offset
+ (disp, _gloffset_VertexAttribs1fvNV));
}
-static inline void SET_VertexAttribs1fvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, const GLfloat *)) {
- SET_by_offset(disp, _gloffset_VertexAttribs1fvNV, fn);
+static inline void
+SET_VertexAttribs1fvNV(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLsizei, const GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_VertexAttribs1fvNV, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttribs1svNV)(GLuint, GLsizei, const GLshort *);
+typedef void (GLAPIENTRYP _glptr_VertexAttribs1svNV) (GLuint, GLsizei,
+ const GLshort *);
#define CALL_VertexAttribs1svNV(disp, parameters) \
(* GET_VertexAttribs1svNV(disp)) parameters
-static inline _glptr_VertexAttribs1svNV GET_VertexAttribs1svNV(struct _glapi_table *disp) {
- return (_glptr_VertexAttribs1svNV) (GET_by_offset(disp, _gloffset_VertexAttribs1svNV));
+static inline _glptr_VertexAttribs1svNV
+GET_VertexAttribs1svNV(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttribs1svNV) (GET_by_offset
+ (disp, _gloffset_VertexAttribs1svNV));
}
-static inline void SET_VertexAttribs1svNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, const GLshort *)) {
- SET_by_offset(disp, _gloffset_VertexAttribs1svNV, fn);
+static inline void
+SET_VertexAttribs1svNV(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLsizei, const GLshort *))
+{
+ SET_by_offset(disp, _gloffset_VertexAttribs1svNV, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttribs2dvNV)(GLuint, GLsizei, const GLdouble *);
+typedef void (GLAPIENTRYP _glptr_VertexAttribs2dvNV) (GLuint, GLsizei,
+ const GLdouble *);
#define CALL_VertexAttribs2dvNV(disp, parameters) \
(* GET_VertexAttribs2dvNV(disp)) parameters
-static inline _glptr_VertexAttribs2dvNV GET_VertexAttribs2dvNV(struct _glapi_table *disp) {
- return (_glptr_VertexAttribs2dvNV) (GET_by_offset(disp, _gloffset_VertexAttribs2dvNV));
+static inline _glptr_VertexAttribs2dvNV
+GET_VertexAttribs2dvNV(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttribs2dvNV) (GET_by_offset
+ (disp, _gloffset_VertexAttribs2dvNV));
}
-static inline void SET_VertexAttribs2dvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, const GLdouble *)) {
- SET_by_offset(disp, _gloffset_VertexAttribs2dvNV, fn);
+static inline void
+SET_VertexAttribs2dvNV(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLsizei,
+ const GLdouble *))
+{
+ SET_by_offset(disp, _gloffset_VertexAttribs2dvNV, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttribs2fvNV)(GLuint, GLsizei, const GLfloat *);
+typedef void (GLAPIENTRYP _glptr_VertexAttribs2fvNV) (GLuint, GLsizei,
+ const GLfloat *);
#define CALL_VertexAttribs2fvNV(disp, parameters) \
(* GET_VertexAttribs2fvNV(disp)) parameters
-static inline _glptr_VertexAttribs2fvNV GET_VertexAttribs2fvNV(struct _glapi_table *disp) {
- return (_glptr_VertexAttribs2fvNV) (GET_by_offset(disp, _gloffset_VertexAttribs2fvNV));
+static inline _glptr_VertexAttribs2fvNV
+GET_VertexAttribs2fvNV(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttribs2fvNV) (GET_by_offset
+ (disp, _gloffset_VertexAttribs2fvNV));
}
-static inline void SET_VertexAttribs2fvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, const GLfloat *)) {
- SET_by_offset(disp, _gloffset_VertexAttribs2fvNV, fn);
+static inline void
+SET_VertexAttribs2fvNV(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLsizei, const GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_VertexAttribs2fvNV, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttribs2svNV)(GLuint, GLsizei, const GLshort *);
+typedef void (GLAPIENTRYP _glptr_VertexAttribs2svNV) (GLuint, GLsizei,
+ const GLshort *);
#define CALL_VertexAttribs2svNV(disp, parameters) \
(* GET_VertexAttribs2svNV(disp)) parameters
-static inline _glptr_VertexAttribs2svNV GET_VertexAttribs2svNV(struct _glapi_table *disp) {
- return (_glptr_VertexAttribs2svNV) (GET_by_offset(disp, _gloffset_VertexAttribs2svNV));
+static inline _glptr_VertexAttribs2svNV
+GET_VertexAttribs2svNV(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttribs2svNV) (GET_by_offset
+ (disp, _gloffset_VertexAttribs2svNV));
}
-static inline void SET_VertexAttribs2svNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, const GLshort *)) {
- SET_by_offset(disp, _gloffset_VertexAttribs2svNV, fn);
+static inline void
+SET_VertexAttribs2svNV(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLsizei, const GLshort *))
+{
+ SET_by_offset(disp, _gloffset_VertexAttribs2svNV, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttribs3dvNV)(GLuint, GLsizei, const GLdouble *);
+typedef void (GLAPIENTRYP _glptr_VertexAttribs3dvNV) (GLuint, GLsizei,
+ const GLdouble *);
#define CALL_VertexAttribs3dvNV(disp, parameters) \
(* GET_VertexAttribs3dvNV(disp)) parameters
-static inline _glptr_VertexAttribs3dvNV GET_VertexAttribs3dvNV(struct _glapi_table *disp) {
- return (_glptr_VertexAttribs3dvNV) (GET_by_offset(disp, _gloffset_VertexAttribs3dvNV));
+static inline _glptr_VertexAttribs3dvNV
+GET_VertexAttribs3dvNV(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttribs3dvNV) (GET_by_offset
+ (disp, _gloffset_VertexAttribs3dvNV));
}
-static inline void SET_VertexAttribs3dvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, const GLdouble *)) {
- SET_by_offset(disp, _gloffset_VertexAttribs3dvNV, fn);
+static inline void
+SET_VertexAttribs3dvNV(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLsizei,
+ const GLdouble *))
+{
+ SET_by_offset(disp, _gloffset_VertexAttribs3dvNV, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttribs3fvNV)(GLuint, GLsizei, const GLfloat *);
+typedef void (GLAPIENTRYP _glptr_VertexAttribs3fvNV) (GLuint, GLsizei,
+ const GLfloat *);
#define CALL_VertexAttribs3fvNV(disp, parameters) \
(* GET_VertexAttribs3fvNV(disp)) parameters
-static inline _glptr_VertexAttribs3fvNV GET_VertexAttribs3fvNV(struct _glapi_table *disp) {
- return (_glptr_VertexAttribs3fvNV) (GET_by_offset(disp, _gloffset_VertexAttribs3fvNV));
+static inline _glptr_VertexAttribs3fvNV
+GET_VertexAttribs3fvNV(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttribs3fvNV) (GET_by_offset
+ (disp, _gloffset_VertexAttribs3fvNV));
}
-static inline void SET_VertexAttribs3fvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, const GLfloat *)) {
- SET_by_offset(disp, _gloffset_VertexAttribs3fvNV, fn);
+static inline void
+SET_VertexAttribs3fvNV(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLsizei, const GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_VertexAttribs3fvNV, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttribs3svNV)(GLuint, GLsizei, const GLshort *);
+typedef void (GLAPIENTRYP _glptr_VertexAttribs3svNV) (GLuint, GLsizei,
+ const GLshort *);
#define CALL_VertexAttribs3svNV(disp, parameters) \
(* GET_VertexAttribs3svNV(disp)) parameters
-static inline _glptr_VertexAttribs3svNV GET_VertexAttribs3svNV(struct _glapi_table *disp) {
- return (_glptr_VertexAttribs3svNV) (GET_by_offset(disp, _gloffset_VertexAttribs3svNV));
+static inline _glptr_VertexAttribs3svNV
+GET_VertexAttribs3svNV(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttribs3svNV) (GET_by_offset
+ (disp, _gloffset_VertexAttribs3svNV));
}
-static inline void SET_VertexAttribs3svNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, const GLshort *)) {
- SET_by_offset(disp, _gloffset_VertexAttribs3svNV, fn);
+static inline void
+SET_VertexAttribs3svNV(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLsizei, const GLshort *))
+{
+ SET_by_offset(disp, _gloffset_VertexAttribs3svNV, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttribs4dvNV)(GLuint, GLsizei, const GLdouble *);
+typedef void (GLAPIENTRYP _glptr_VertexAttribs4dvNV) (GLuint, GLsizei,
+ const GLdouble *);
#define CALL_VertexAttribs4dvNV(disp, parameters) \
(* GET_VertexAttribs4dvNV(disp)) parameters
-static inline _glptr_VertexAttribs4dvNV GET_VertexAttribs4dvNV(struct _glapi_table *disp) {
- return (_glptr_VertexAttribs4dvNV) (GET_by_offset(disp, _gloffset_VertexAttribs4dvNV));
+static inline _glptr_VertexAttribs4dvNV
+GET_VertexAttribs4dvNV(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttribs4dvNV) (GET_by_offset
+ (disp, _gloffset_VertexAttribs4dvNV));
}
-static inline void SET_VertexAttribs4dvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, const GLdouble *)) {
- SET_by_offset(disp, _gloffset_VertexAttribs4dvNV, fn);
+static inline void
+SET_VertexAttribs4dvNV(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLsizei,
+ const GLdouble *))
+{
+ SET_by_offset(disp, _gloffset_VertexAttribs4dvNV, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttribs4fvNV)(GLuint, GLsizei, const GLfloat *);
+typedef void (GLAPIENTRYP _glptr_VertexAttribs4fvNV) (GLuint, GLsizei,
+ const GLfloat *);
#define CALL_VertexAttribs4fvNV(disp, parameters) \
(* GET_VertexAttribs4fvNV(disp)) parameters
-static inline _glptr_VertexAttribs4fvNV GET_VertexAttribs4fvNV(struct _glapi_table *disp) {
- return (_glptr_VertexAttribs4fvNV) (GET_by_offset(disp, _gloffset_VertexAttribs4fvNV));
+static inline _glptr_VertexAttribs4fvNV
+GET_VertexAttribs4fvNV(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttribs4fvNV) (GET_by_offset
+ (disp, _gloffset_VertexAttribs4fvNV));
}
-static inline void SET_VertexAttribs4fvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, const GLfloat *)) {
- SET_by_offset(disp, _gloffset_VertexAttribs4fvNV, fn);
+static inline void
+SET_VertexAttribs4fvNV(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLsizei, const GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_VertexAttribs4fvNV, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttribs4svNV)(GLuint, GLsizei, const GLshort *);
+typedef void (GLAPIENTRYP _glptr_VertexAttribs4svNV) (GLuint, GLsizei,
+ const GLshort *);
#define CALL_VertexAttribs4svNV(disp, parameters) \
(* GET_VertexAttribs4svNV(disp)) parameters
-static inline _glptr_VertexAttribs4svNV GET_VertexAttribs4svNV(struct _glapi_table *disp) {
- return (_glptr_VertexAttribs4svNV) (GET_by_offset(disp, _gloffset_VertexAttribs4svNV));
+static inline _glptr_VertexAttribs4svNV
+GET_VertexAttribs4svNV(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttribs4svNV) (GET_by_offset
+ (disp, _gloffset_VertexAttribs4svNV));
}
-static inline void SET_VertexAttribs4svNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, const GLshort *)) {
- SET_by_offset(disp, _gloffset_VertexAttribs4svNV, fn);
+static inline void
+SET_VertexAttribs4svNV(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLsizei, const GLshort *))
+{
+ SET_by_offset(disp, _gloffset_VertexAttribs4svNV, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttribs4ubvNV)(GLuint, GLsizei, const GLubyte *);
+typedef void (GLAPIENTRYP _glptr_VertexAttribs4ubvNV) (GLuint, GLsizei,
+ const GLubyte *);
#define CALL_VertexAttribs4ubvNV(disp, parameters) \
(* GET_VertexAttribs4ubvNV(disp)) parameters
-static inline _glptr_VertexAttribs4ubvNV GET_VertexAttribs4ubvNV(struct _glapi_table *disp) {
- return (_glptr_VertexAttribs4ubvNV) (GET_by_offset(disp, _gloffset_VertexAttribs4ubvNV));
+static inline _glptr_VertexAttribs4ubvNV
+GET_VertexAttribs4ubvNV(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttribs4ubvNV) (GET_by_offset
+ (disp, _gloffset_VertexAttribs4ubvNV));
}
-static inline void SET_VertexAttribs4ubvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, const GLubyte *)) {
- SET_by_offset(disp, _gloffset_VertexAttribs4ubvNV, fn);
+static inline void
+SET_VertexAttribs4ubvNV(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLsizei,
+ const GLubyte *))
+{
+ SET_by_offset(disp, _gloffset_VertexAttribs4ubvNV, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetTexBumpParameterfvATI)(GLenum, GLfloat *);
+typedef void (GLAPIENTRYP _glptr_GetTexBumpParameterfvATI) (GLenum, GLfloat *);
+
#define CALL_GetTexBumpParameterfvATI(disp, parameters) \
(* GET_GetTexBumpParameterfvATI(disp)) parameters
-static inline _glptr_GetTexBumpParameterfvATI GET_GetTexBumpParameterfvATI(struct _glapi_table *disp) {
- return (_glptr_GetTexBumpParameterfvATI) (GET_by_offset(disp, _gloffset_GetTexBumpParameterfvATI));
+static inline _glptr_GetTexBumpParameterfvATI
+GET_GetTexBumpParameterfvATI(struct _glapi_table *disp)
+{
+ return (_glptr_GetTexBumpParameterfvATI) (GET_by_offset
+ (disp,
+ _gloffset_GetTexBumpParameterfvATI));
}
-static inline void SET_GetTexBumpParameterfvATI(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLfloat *)) {
- SET_by_offset(disp, _gloffset_GetTexBumpParameterfvATI, fn);
+static inline void
+SET_GetTexBumpParameterfvATI(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_GetTexBumpParameterfvATI, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetTexBumpParameterivATI)(GLenum, GLint *);
+typedef void (GLAPIENTRYP _glptr_GetTexBumpParameterivATI) (GLenum, GLint *);
+
#define CALL_GetTexBumpParameterivATI(disp, parameters) \
(* GET_GetTexBumpParameterivATI(disp)) parameters
-static inline _glptr_GetTexBumpParameterivATI GET_GetTexBumpParameterivATI(struct _glapi_table *disp) {
- return (_glptr_GetTexBumpParameterivATI) (GET_by_offset(disp, _gloffset_GetTexBumpParameterivATI));
+static inline _glptr_GetTexBumpParameterivATI
+GET_GetTexBumpParameterivATI(struct _glapi_table *disp)
+{
+ return (_glptr_GetTexBumpParameterivATI) (GET_by_offset
+ (disp,
+ _gloffset_GetTexBumpParameterivATI));
}
-static inline void SET_GetTexBumpParameterivATI(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint *)) {
- SET_by_offset(disp, _gloffset_GetTexBumpParameterivATI, fn);
+static inline void
+SET_GetTexBumpParameterivATI(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLint *))
+{
+ SET_by_offset(disp, _gloffset_GetTexBumpParameterivATI, fn);
}
-typedef void (GLAPIENTRYP _glptr_TexBumpParameterfvATI)(GLenum, const GLfloat *);
+typedef void (GLAPIENTRYP _glptr_TexBumpParameterfvATI) (GLenum,
+ const GLfloat *);
#define CALL_TexBumpParameterfvATI(disp, parameters) \
(* GET_TexBumpParameterfvATI(disp)) parameters
-static inline _glptr_TexBumpParameterfvATI GET_TexBumpParameterfvATI(struct _glapi_table *disp) {
- return (_glptr_TexBumpParameterfvATI) (GET_by_offset(disp, _gloffset_TexBumpParameterfvATI));
+static inline _glptr_TexBumpParameterfvATI
+GET_TexBumpParameterfvATI(struct _glapi_table *disp)
+{
+ return (_glptr_TexBumpParameterfvATI) (GET_by_offset
+ (disp,
+ _gloffset_TexBumpParameterfvATI));
}
-static inline void SET_TexBumpParameterfvATI(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLfloat *)) {
- SET_by_offset(disp, _gloffset_TexBumpParameterfvATI, fn);
+static inline void
+SET_TexBumpParameterfvATI(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, const GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_TexBumpParameterfvATI, fn);
}
-typedef void (GLAPIENTRYP _glptr_TexBumpParameterivATI)(GLenum, const GLint *);
+typedef void (GLAPIENTRYP _glptr_TexBumpParameterivATI) (GLenum, const GLint *);
+
#define CALL_TexBumpParameterivATI(disp, parameters) \
(* GET_TexBumpParameterivATI(disp)) parameters
-static inline _glptr_TexBumpParameterivATI GET_TexBumpParameterivATI(struct _glapi_table *disp) {
- return (_glptr_TexBumpParameterivATI) (GET_by_offset(disp, _gloffset_TexBumpParameterivATI));
+static inline _glptr_TexBumpParameterivATI
+GET_TexBumpParameterivATI(struct _glapi_table *disp)
+{
+ return (_glptr_TexBumpParameterivATI) (GET_by_offset
+ (disp,
+ _gloffset_TexBumpParameterivATI));
}
-static inline void SET_TexBumpParameterivATI(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLint *)) {
- SET_by_offset(disp, _gloffset_TexBumpParameterivATI, fn);
+static inline void
+SET_TexBumpParameterivATI(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, const GLint *))
+{
+ SET_by_offset(disp, _gloffset_TexBumpParameterivATI, fn);
}
-typedef void (GLAPIENTRYP _glptr_AlphaFragmentOp1ATI)(GLenum, GLuint, GLuint, GLuint, GLuint, GLuint);
+typedef void (GLAPIENTRYP _glptr_AlphaFragmentOp1ATI) (GLenum, GLuint, GLuint,
+ GLuint, GLuint, GLuint);
#define CALL_AlphaFragmentOp1ATI(disp, parameters) \
(* GET_AlphaFragmentOp1ATI(disp)) parameters
-static inline _glptr_AlphaFragmentOp1ATI GET_AlphaFragmentOp1ATI(struct _glapi_table *disp) {
- return (_glptr_AlphaFragmentOp1ATI) (GET_by_offset(disp, _gloffset_AlphaFragmentOp1ATI));
+static inline _glptr_AlphaFragmentOp1ATI
+GET_AlphaFragmentOp1ATI(struct _glapi_table *disp)
+{
+ return (_glptr_AlphaFragmentOp1ATI) (GET_by_offset
+ (disp, _gloffset_AlphaFragmentOp1ATI));
}
-static inline void SET_AlphaFragmentOp1ATI(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLuint, GLuint, GLuint, GLuint)) {
- SET_by_offset(disp, _gloffset_AlphaFragmentOp1ATI, fn);
+static inline void
+SET_AlphaFragmentOp1ATI(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLuint, GLuint, GLuint,
+ GLuint, GLuint))
+{
+ SET_by_offset(disp, _gloffset_AlphaFragmentOp1ATI, fn);
}
-typedef void (GLAPIENTRYP _glptr_AlphaFragmentOp2ATI)(GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint);
+typedef void (GLAPIENTRYP _glptr_AlphaFragmentOp2ATI) (GLenum, GLuint, GLuint,
+ GLuint, GLuint, GLuint,
+ GLuint, GLuint, GLuint);
#define CALL_AlphaFragmentOp2ATI(disp, parameters) \
(* GET_AlphaFragmentOp2ATI(disp)) parameters
-static inline _glptr_AlphaFragmentOp2ATI GET_AlphaFragmentOp2ATI(struct _glapi_table *disp) {
- return (_glptr_AlphaFragmentOp2ATI) (GET_by_offset(disp, _gloffset_AlphaFragmentOp2ATI));
-}
-
-static inline void SET_AlphaFragmentOp2ATI(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint)) {
- SET_by_offset(disp, _gloffset_AlphaFragmentOp2ATI, fn);
-}
-
-typedef void (GLAPIENTRYP _glptr_AlphaFragmentOp3ATI)(GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint);
+static inline _glptr_AlphaFragmentOp2ATI
+GET_AlphaFragmentOp2ATI(struct _glapi_table *disp)
+{
+ return (_glptr_AlphaFragmentOp2ATI) (GET_by_offset
+ (disp, _gloffset_AlphaFragmentOp2ATI));
+}
+
+static inline void
+SET_AlphaFragmentOp2ATI(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLuint, GLuint, GLuint,
+ GLuint, GLuint, GLuint, GLuint,
+ GLuint))
+{
+ SET_by_offset(disp, _gloffset_AlphaFragmentOp2ATI, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_AlphaFragmentOp3ATI) (GLenum, GLuint, GLuint,
+ GLuint, GLuint, GLuint,
+ GLuint, GLuint, GLuint,
+ GLuint, GLuint, GLuint);
#define CALL_AlphaFragmentOp3ATI(disp, parameters) \
(* GET_AlphaFragmentOp3ATI(disp)) parameters
-static inline _glptr_AlphaFragmentOp3ATI GET_AlphaFragmentOp3ATI(struct _glapi_table *disp) {
- return (_glptr_AlphaFragmentOp3ATI) (GET_by_offset(disp, _gloffset_AlphaFragmentOp3ATI));
+static inline _glptr_AlphaFragmentOp3ATI
+GET_AlphaFragmentOp3ATI(struct _glapi_table *disp)
+{
+ return (_glptr_AlphaFragmentOp3ATI) (GET_by_offset
+ (disp, _gloffset_AlphaFragmentOp3ATI));
}
-static inline void SET_AlphaFragmentOp3ATI(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint)) {
- SET_by_offset(disp, _gloffset_AlphaFragmentOp3ATI, fn);
+static inline void
+SET_AlphaFragmentOp3ATI(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLuint, GLuint, GLuint,
+ GLuint, GLuint, GLuint, GLuint,
+ GLuint, GLuint, GLuint, GLuint))
+{
+ SET_by_offset(disp, _gloffset_AlphaFragmentOp3ATI, fn);
}
-typedef void (GLAPIENTRYP _glptr_BeginFragmentShaderATI)(void);
+typedef void (GLAPIENTRYP _glptr_BeginFragmentShaderATI) (void);
+
#define CALL_BeginFragmentShaderATI(disp, parameters) \
(* GET_BeginFragmentShaderATI(disp)) parameters
-static inline _glptr_BeginFragmentShaderATI GET_BeginFragmentShaderATI(struct _glapi_table *disp) {
- return (_glptr_BeginFragmentShaderATI) (GET_by_offset(disp, _gloffset_BeginFragmentShaderATI));
+static inline _glptr_BeginFragmentShaderATI
+GET_BeginFragmentShaderATI(struct _glapi_table *disp)
+{
+ return (_glptr_BeginFragmentShaderATI) (GET_by_offset
+ (disp,
+ _gloffset_BeginFragmentShaderATI));
}
-static inline void SET_BeginFragmentShaderATI(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) {
- SET_by_offset(disp, _gloffset_BeginFragmentShaderATI, fn);
+static inline void
+SET_BeginFragmentShaderATI(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (void))
+{
+ SET_by_offset(disp, _gloffset_BeginFragmentShaderATI, fn);
}
-typedef void (GLAPIENTRYP _glptr_BindFragmentShaderATI)(GLuint);
+typedef void (GLAPIENTRYP _glptr_BindFragmentShaderATI) (GLuint);
+
#define CALL_BindFragmentShaderATI(disp, parameters) \
(* GET_BindFragmentShaderATI(disp)) parameters
-static inline _glptr_BindFragmentShaderATI GET_BindFragmentShaderATI(struct _glapi_table *disp) {
- return (_glptr_BindFragmentShaderATI) (GET_by_offset(disp, _gloffset_BindFragmentShaderATI));
+static inline _glptr_BindFragmentShaderATI
+GET_BindFragmentShaderATI(struct _glapi_table *disp)
+{
+ return (_glptr_BindFragmentShaderATI) (GET_by_offset
+ (disp,
+ _gloffset_BindFragmentShaderATI));
}
-static inline void SET_BindFragmentShaderATI(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint)) {
- SET_by_offset(disp, _gloffset_BindFragmentShaderATI, fn);
+static inline void
+SET_BindFragmentShaderATI(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint))
+{
+ SET_by_offset(disp, _gloffset_BindFragmentShaderATI, fn);
}
-typedef void (GLAPIENTRYP _glptr_ColorFragmentOp1ATI)(GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint);
+typedef void (GLAPIENTRYP _glptr_ColorFragmentOp1ATI) (GLenum, GLuint, GLuint,
+ GLuint, GLuint, GLuint,
+ GLuint);
#define CALL_ColorFragmentOp1ATI(disp, parameters) \
(* GET_ColorFragmentOp1ATI(disp)) parameters
-static inline _glptr_ColorFragmentOp1ATI GET_ColorFragmentOp1ATI(struct _glapi_table *disp) {
- return (_glptr_ColorFragmentOp1ATI) (GET_by_offset(disp, _gloffset_ColorFragmentOp1ATI));
+static inline _glptr_ColorFragmentOp1ATI
+GET_ColorFragmentOp1ATI(struct _glapi_table *disp)
+{
+ return (_glptr_ColorFragmentOp1ATI) (GET_by_offset
+ (disp, _gloffset_ColorFragmentOp1ATI));
}
-static inline void SET_ColorFragmentOp1ATI(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint)) {
- SET_by_offset(disp, _gloffset_ColorFragmentOp1ATI, fn);
+static inline void
+SET_ColorFragmentOp1ATI(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLuint, GLuint, GLuint,
+ GLuint, GLuint, GLuint))
+{
+ SET_by_offset(disp, _gloffset_ColorFragmentOp1ATI, fn);
}
-typedef void (GLAPIENTRYP _glptr_ColorFragmentOp2ATI)(GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint);
+typedef void (GLAPIENTRYP _glptr_ColorFragmentOp2ATI) (GLenum, GLuint, GLuint,
+ GLuint, GLuint, GLuint,
+ GLuint, GLuint, GLuint,
+ GLuint);
#define CALL_ColorFragmentOp2ATI(disp, parameters) \
(* GET_ColorFragmentOp2ATI(disp)) parameters
-static inline _glptr_ColorFragmentOp2ATI GET_ColorFragmentOp2ATI(struct _glapi_table *disp) {
- return (_glptr_ColorFragmentOp2ATI) (GET_by_offset(disp, _gloffset_ColorFragmentOp2ATI));
-}
-
-static inline void SET_ColorFragmentOp2ATI(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint)) {
- SET_by_offset(disp, _gloffset_ColorFragmentOp2ATI, fn);
-}
-
-typedef void (GLAPIENTRYP _glptr_ColorFragmentOp3ATI)(GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint);
+static inline _glptr_ColorFragmentOp2ATI
+GET_ColorFragmentOp2ATI(struct _glapi_table *disp)
+{
+ return (_glptr_ColorFragmentOp2ATI) (GET_by_offset
+ (disp, _gloffset_ColorFragmentOp2ATI));
+}
+
+static inline void
+SET_ColorFragmentOp2ATI(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLuint, GLuint, GLuint,
+ GLuint, GLuint, GLuint, GLuint,
+ GLuint, GLuint))
+{
+ SET_by_offset(disp, _gloffset_ColorFragmentOp2ATI, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_ColorFragmentOp3ATI) (GLenum, GLuint, GLuint,
+ GLuint, GLuint, GLuint,
+ GLuint, GLuint, GLuint,
+ GLuint, GLuint, GLuint,
+ GLuint);
#define CALL_ColorFragmentOp3ATI(disp, parameters) \
(* GET_ColorFragmentOp3ATI(disp)) parameters
-static inline _glptr_ColorFragmentOp3ATI GET_ColorFragmentOp3ATI(struct _glapi_table *disp) {
- return (_glptr_ColorFragmentOp3ATI) (GET_by_offset(disp, _gloffset_ColorFragmentOp3ATI));
+static inline _glptr_ColorFragmentOp3ATI
+GET_ColorFragmentOp3ATI(struct _glapi_table *disp)
+{
+ return (_glptr_ColorFragmentOp3ATI) (GET_by_offset
+ (disp, _gloffset_ColorFragmentOp3ATI));
}
-static inline void SET_ColorFragmentOp3ATI(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint)) {
- SET_by_offset(disp, _gloffset_ColorFragmentOp3ATI, fn);
+static inline void
+SET_ColorFragmentOp3ATI(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLuint, GLuint, GLuint,
+ GLuint, GLuint, GLuint, GLuint,
+ GLuint, GLuint, GLuint, GLuint,
+ GLuint))
+{
+ SET_by_offset(disp, _gloffset_ColorFragmentOp3ATI, fn);
}
-typedef void (GLAPIENTRYP _glptr_DeleteFragmentShaderATI)(GLuint);
+typedef void (GLAPIENTRYP _glptr_DeleteFragmentShaderATI) (GLuint);
+
#define CALL_DeleteFragmentShaderATI(disp, parameters) \
(* GET_DeleteFragmentShaderATI(disp)) parameters
-static inline _glptr_DeleteFragmentShaderATI GET_DeleteFragmentShaderATI(struct _glapi_table *disp) {
- return (_glptr_DeleteFragmentShaderATI) (GET_by_offset(disp, _gloffset_DeleteFragmentShaderATI));
+static inline _glptr_DeleteFragmentShaderATI
+GET_DeleteFragmentShaderATI(struct _glapi_table *disp)
+{
+ return (_glptr_DeleteFragmentShaderATI) (GET_by_offset
+ (disp,
+ _gloffset_DeleteFragmentShaderATI));
}
-static inline void SET_DeleteFragmentShaderATI(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint)) {
- SET_by_offset(disp, _gloffset_DeleteFragmentShaderATI, fn);
+static inline void
+SET_DeleteFragmentShaderATI(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint))
+{
+ SET_by_offset(disp, _gloffset_DeleteFragmentShaderATI, fn);
}
-typedef void (GLAPIENTRYP _glptr_EndFragmentShaderATI)(void);
+typedef void (GLAPIENTRYP _glptr_EndFragmentShaderATI) (void);
+
#define CALL_EndFragmentShaderATI(disp, parameters) \
(* GET_EndFragmentShaderATI(disp)) parameters
-static inline _glptr_EndFragmentShaderATI GET_EndFragmentShaderATI(struct _glapi_table *disp) {
- return (_glptr_EndFragmentShaderATI) (GET_by_offset(disp, _gloffset_EndFragmentShaderATI));
+static inline _glptr_EndFragmentShaderATI
+GET_EndFragmentShaderATI(struct _glapi_table *disp)
+{
+ return (_glptr_EndFragmentShaderATI) (GET_by_offset
+ (disp,
+ _gloffset_EndFragmentShaderATI));
}
-static inline void SET_EndFragmentShaderATI(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) {
- SET_by_offset(disp, _gloffset_EndFragmentShaderATI, fn);
+static inline void
+SET_EndFragmentShaderATI(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (void))
+{
+ SET_by_offset(disp, _gloffset_EndFragmentShaderATI, fn);
}
-typedef GLuint (GLAPIENTRYP _glptr_GenFragmentShadersATI)(GLuint);
+typedef GLuint(GLAPIENTRYP _glptr_GenFragmentShadersATI) (GLuint);
+
#define CALL_GenFragmentShadersATI(disp, parameters) \
(* GET_GenFragmentShadersATI(disp)) parameters
-static inline _glptr_GenFragmentShadersATI GET_GenFragmentShadersATI(struct _glapi_table *disp) {
- return (_glptr_GenFragmentShadersATI) (GET_by_offset(disp, _gloffset_GenFragmentShadersATI));
+static inline _glptr_GenFragmentShadersATI
+GET_GenFragmentShadersATI(struct _glapi_table *disp)
+{
+ return (_glptr_GenFragmentShadersATI) (GET_by_offset
+ (disp,
+ _gloffset_GenFragmentShadersATI));
}
-static inline void SET_GenFragmentShadersATI(struct _glapi_table *disp, GLuint (GLAPIENTRYP fn)(GLuint)) {
- SET_by_offset(disp, _gloffset_GenFragmentShadersATI, fn);
+static inline void
+SET_GenFragmentShadersATI(struct _glapi_table *disp,
+ GLuint(GLAPIENTRYP fn) (GLuint))
+{
+ SET_by_offset(disp, _gloffset_GenFragmentShadersATI, fn);
}
-typedef void (GLAPIENTRYP _glptr_PassTexCoordATI)(GLuint, GLuint, GLenum);
+typedef void (GLAPIENTRYP _glptr_PassTexCoordATI) (GLuint, GLuint, GLenum);
+
#define CALL_PassTexCoordATI(disp, parameters) \
(* GET_PassTexCoordATI(disp)) parameters
-static inline _glptr_PassTexCoordATI GET_PassTexCoordATI(struct _glapi_table *disp) {
- return (_glptr_PassTexCoordATI) (GET_by_offset(disp, _gloffset_PassTexCoordATI));
+static inline _glptr_PassTexCoordATI
+GET_PassTexCoordATI(struct _glapi_table *disp)
+{
+ return (_glptr_PassTexCoordATI) (GET_by_offset
+ (disp, _gloffset_PassTexCoordATI));
}
-static inline void SET_PassTexCoordATI(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLuint, GLenum)) {
- SET_by_offset(disp, _gloffset_PassTexCoordATI, fn);
+static inline void
+SET_PassTexCoordATI(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLuint, GLenum))
+{
+ SET_by_offset(disp, _gloffset_PassTexCoordATI, fn);
}
-typedef void (GLAPIENTRYP _glptr_SampleMapATI)(GLuint, GLuint, GLenum);
+typedef void (GLAPIENTRYP _glptr_SampleMapATI) (GLuint, GLuint, GLenum);
+
#define CALL_SampleMapATI(disp, parameters) \
(* GET_SampleMapATI(disp)) parameters
-static inline _glptr_SampleMapATI GET_SampleMapATI(struct _glapi_table *disp) {
- return (_glptr_SampleMapATI) (GET_by_offset(disp, _gloffset_SampleMapATI));
+static inline _glptr_SampleMapATI
+GET_SampleMapATI(struct _glapi_table *disp)
+{
+ return (_glptr_SampleMapATI) (GET_by_offset(disp, _gloffset_SampleMapATI));
}
-static inline void SET_SampleMapATI(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLuint, GLenum)) {
- SET_by_offset(disp, _gloffset_SampleMapATI, fn);
+static inline void
+SET_SampleMapATI(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLuint, GLenum))
+{
+ SET_by_offset(disp, _gloffset_SampleMapATI, fn);
}
-typedef void (GLAPIENTRYP _glptr_SetFragmentShaderConstantATI)(GLuint, const GLfloat *);
+typedef void (GLAPIENTRYP _glptr_SetFragmentShaderConstantATI) (GLuint,
+ const GLfloat
+ *);
#define CALL_SetFragmentShaderConstantATI(disp, parameters) \
(* GET_SetFragmentShaderConstantATI(disp)) parameters
-static inline _glptr_SetFragmentShaderConstantATI GET_SetFragmentShaderConstantATI(struct _glapi_table *disp) {
- return (_glptr_SetFragmentShaderConstantATI) (GET_by_offset(disp, _gloffset_SetFragmentShaderConstantATI));
+static inline _glptr_SetFragmentShaderConstantATI
+GET_SetFragmentShaderConstantATI(struct _glapi_table *disp)
+{
+ return (_glptr_SetFragmentShaderConstantATI) (GET_by_offset
+ (disp,
+ _gloffset_SetFragmentShaderConstantATI));
}
-static inline void SET_SetFragmentShaderConstantATI(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLfloat *)) {
- SET_by_offset(disp, _gloffset_SetFragmentShaderConstantATI, fn);
+static inline void
+SET_SetFragmentShaderConstantATI(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint,
+ const GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_SetFragmentShaderConstantATI, fn);
}
-typedef void (GLAPIENTRYP _glptr_PointParameteriNV)(GLenum, GLint);
+typedef void (GLAPIENTRYP _glptr_PointParameteriNV) (GLenum, GLint);
+
#define CALL_PointParameteriNV(disp, parameters) \
(* GET_PointParameteriNV(disp)) parameters
-static inline _glptr_PointParameteriNV GET_PointParameteriNV(struct _glapi_table *disp) {
- return (_glptr_PointParameteriNV) (GET_by_offset(disp, _gloffset_PointParameteriNV));
+static inline _glptr_PointParameteriNV
+GET_PointParameteriNV(struct _glapi_table *disp)
+{
+ return (_glptr_PointParameteriNV) (GET_by_offset
+ (disp, _gloffset_PointParameteriNV));
}
-static inline void SET_PointParameteriNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLint)) {
- SET_by_offset(disp, _gloffset_PointParameteriNV, fn);
+static inline void
+SET_PointParameteriNV(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLint))
+{
+ SET_by_offset(disp, _gloffset_PointParameteriNV, fn);
}
-typedef void (GLAPIENTRYP _glptr_PointParameterivNV)(GLenum, const GLint *);
+typedef void (GLAPIENTRYP _glptr_PointParameterivNV) (GLenum, const GLint *);
+
#define CALL_PointParameterivNV(disp, parameters) \
(* GET_PointParameterivNV(disp)) parameters
-static inline _glptr_PointParameterivNV GET_PointParameterivNV(struct _glapi_table *disp) {
- return (_glptr_PointParameterivNV) (GET_by_offset(disp, _gloffset_PointParameterivNV));
+static inline _glptr_PointParameterivNV
+GET_PointParameterivNV(struct _glapi_table *disp)
+{
+ return (_glptr_PointParameterivNV) (GET_by_offset
+ (disp, _gloffset_PointParameterivNV));
}
-static inline void SET_PointParameterivNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, const GLint *)) {
- SET_by_offset(disp, _gloffset_PointParameterivNV, fn);
+static inline void
+SET_PointParameterivNV(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, const GLint *))
+{
+ SET_by_offset(disp, _gloffset_PointParameterivNV, fn);
}
-typedef void (GLAPIENTRYP _glptr_ActiveStencilFaceEXT)(GLenum);
+typedef void (GLAPIENTRYP _glptr_ActiveStencilFaceEXT) (GLenum);
+
#define CALL_ActiveStencilFaceEXT(disp, parameters) \
(* GET_ActiveStencilFaceEXT(disp)) parameters
-static inline _glptr_ActiveStencilFaceEXT GET_ActiveStencilFaceEXT(struct _glapi_table *disp) {
- return (_glptr_ActiveStencilFaceEXT) (GET_by_offset(disp, _gloffset_ActiveStencilFaceEXT));
+static inline _glptr_ActiveStencilFaceEXT
+GET_ActiveStencilFaceEXT(struct _glapi_table *disp)
+{
+ return (_glptr_ActiveStencilFaceEXT) (GET_by_offset
+ (disp,
+ _gloffset_ActiveStencilFaceEXT));
}
-static inline void SET_ActiveStencilFaceEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) {
- SET_by_offset(disp, _gloffset_ActiveStencilFaceEXT, fn);
+static inline void
+SET_ActiveStencilFaceEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum))
+{
+ SET_by_offset(disp, _gloffset_ActiveStencilFaceEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_BindVertexArrayAPPLE)(GLuint);
+typedef void (GLAPIENTRYP _glptr_BindVertexArrayAPPLE) (GLuint);
+
#define CALL_BindVertexArrayAPPLE(disp, parameters) \
(* GET_BindVertexArrayAPPLE(disp)) parameters
-static inline _glptr_BindVertexArrayAPPLE GET_BindVertexArrayAPPLE(struct _glapi_table *disp) {
- return (_glptr_BindVertexArrayAPPLE) (GET_by_offset(disp, _gloffset_BindVertexArrayAPPLE));
+static inline _glptr_BindVertexArrayAPPLE
+GET_BindVertexArrayAPPLE(struct _glapi_table *disp)
+{
+ return (_glptr_BindVertexArrayAPPLE) (GET_by_offset
+ (disp,
+ _gloffset_BindVertexArrayAPPLE));
}
-static inline void SET_BindVertexArrayAPPLE(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint)) {
- SET_by_offset(disp, _gloffset_BindVertexArrayAPPLE, fn);
+static inline void
+SET_BindVertexArrayAPPLE(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint))
+{
+ SET_by_offset(disp, _gloffset_BindVertexArrayAPPLE, fn);
}
-typedef void (GLAPIENTRYP _glptr_DeleteVertexArraysAPPLE)(GLsizei, const GLuint *);
+typedef void (GLAPIENTRYP _glptr_DeleteVertexArraysAPPLE) (GLsizei,
+ const GLuint *);
#define CALL_DeleteVertexArraysAPPLE(disp, parameters) \
(* GET_DeleteVertexArraysAPPLE(disp)) parameters
-static inline _glptr_DeleteVertexArraysAPPLE GET_DeleteVertexArraysAPPLE(struct _glapi_table *disp) {
- return (_glptr_DeleteVertexArraysAPPLE) (GET_by_offset(disp, _gloffset_DeleteVertexArraysAPPLE));
+static inline _glptr_DeleteVertexArraysAPPLE
+GET_DeleteVertexArraysAPPLE(struct _glapi_table *disp)
+{
+ return (_glptr_DeleteVertexArraysAPPLE) (GET_by_offset
+ (disp,
+ _gloffset_DeleteVertexArraysAPPLE));
}
-static inline void SET_DeleteVertexArraysAPPLE(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, const GLuint *)) {
- SET_by_offset(disp, _gloffset_DeleteVertexArraysAPPLE, fn);
+static inline void
+SET_DeleteVertexArraysAPPLE(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLsizei, const GLuint *))
+{
+ SET_by_offset(disp, _gloffset_DeleteVertexArraysAPPLE, fn);
}
-typedef void (GLAPIENTRYP _glptr_GenVertexArraysAPPLE)(GLsizei, GLuint *);
+typedef void (GLAPIENTRYP _glptr_GenVertexArraysAPPLE) (GLsizei, GLuint *);
+
#define CALL_GenVertexArraysAPPLE(disp, parameters) \
(* GET_GenVertexArraysAPPLE(disp)) parameters
-static inline _glptr_GenVertexArraysAPPLE GET_GenVertexArraysAPPLE(struct _glapi_table *disp) {
- return (_glptr_GenVertexArraysAPPLE) (GET_by_offset(disp, _gloffset_GenVertexArraysAPPLE));
+static inline _glptr_GenVertexArraysAPPLE
+GET_GenVertexArraysAPPLE(struct _glapi_table *disp)
+{
+ return (_glptr_GenVertexArraysAPPLE) (GET_by_offset
+ (disp,
+ _gloffset_GenVertexArraysAPPLE));
}
-static inline void SET_GenVertexArraysAPPLE(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, GLuint *)) {
- SET_by_offset(disp, _gloffset_GenVertexArraysAPPLE, fn);
+static inline void
+SET_GenVertexArraysAPPLE(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLsizei, GLuint *))
+{
+ SET_by_offset(disp, _gloffset_GenVertexArraysAPPLE, fn);
}
-typedef GLboolean (GLAPIENTRYP _glptr_IsVertexArrayAPPLE)(GLuint);
+typedef GLboolean(GLAPIENTRYP _glptr_IsVertexArrayAPPLE) (GLuint);
+
#define CALL_IsVertexArrayAPPLE(disp, parameters) \
(* GET_IsVertexArrayAPPLE(disp)) parameters
-static inline _glptr_IsVertexArrayAPPLE GET_IsVertexArrayAPPLE(struct _glapi_table *disp) {
- return (_glptr_IsVertexArrayAPPLE) (GET_by_offset(disp, _gloffset_IsVertexArrayAPPLE));
+static inline _glptr_IsVertexArrayAPPLE
+GET_IsVertexArrayAPPLE(struct _glapi_table *disp)
+{
+ return (_glptr_IsVertexArrayAPPLE) (GET_by_offset
+ (disp, _gloffset_IsVertexArrayAPPLE));
}
-static inline void SET_IsVertexArrayAPPLE(struct _glapi_table *disp, GLboolean (GLAPIENTRYP fn)(GLuint)) {
- SET_by_offset(disp, _gloffset_IsVertexArrayAPPLE, fn);
+static inline void
+SET_IsVertexArrayAPPLE(struct _glapi_table *disp,
+ GLboolean(GLAPIENTRYP fn) (GLuint))
+{
+ SET_by_offset(disp, _gloffset_IsVertexArrayAPPLE, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetProgramNamedParameterdvNV)(GLuint, GLsizei, const GLubyte *, GLdouble *);
+typedef void (GLAPIENTRYP _glptr_GetProgramNamedParameterdvNV) (GLuint, GLsizei,
+ const GLubyte *,
+ GLdouble *);
#define CALL_GetProgramNamedParameterdvNV(disp, parameters) \
(* GET_GetProgramNamedParameterdvNV(disp)) parameters
-static inline _glptr_GetProgramNamedParameterdvNV GET_GetProgramNamedParameterdvNV(struct _glapi_table *disp) {
- return (_glptr_GetProgramNamedParameterdvNV) (GET_by_offset(disp, _gloffset_GetProgramNamedParameterdvNV));
-}
-
-static inline void SET_GetProgramNamedParameterdvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, const GLubyte *, GLdouble *)) {
- SET_by_offset(disp, _gloffset_GetProgramNamedParameterdvNV, fn);
-}
-
-typedef void (GLAPIENTRYP _glptr_GetProgramNamedParameterfvNV)(GLuint, GLsizei, const GLubyte *, GLfloat *);
+static inline _glptr_GetProgramNamedParameterdvNV
+GET_GetProgramNamedParameterdvNV(struct _glapi_table *disp)
+{
+ return (_glptr_GetProgramNamedParameterdvNV) (GET_by_offset
+ (disp,
+ _gloffset_GetProgramNamedParameterdvNV));
+}
+
+static inline void
+SET_GetProgramNamedParameterdvNV(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLsizei,
+ const GLubyte *,
+ GLdouble *))
+{
+ SET_by_offset(disp, _gloffset_GetProgramNamedParameterdvNV, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetProgramNamedParameterfvNV) (GLuint, GLsizei,
+ const GLubyte *,
+ GLfloat *);
#define CALL_GetProgramNamedParameterfvNV(disp, parameters) \
(* GET_GetProgramNamedParameterfvNV(disp)) parameters
-static inline _glptr_GetProgramNamedParameterfvNV GET_GetProgramNamedParameterfvNV(struct _glapi_table *disp) {
- return (_glptr_GetProgramNamedParameterfvNV) (GET_by_offset(disp, _gloffset_GetProgramNamedParameterfvNV));
-}
-
-static inline void SET_GetProgramNamedParameterfvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, const GLubyte *, GLfloat *)) {
- SET_by_offset(disp, _gloffset_GetProgramNamedParameterfvNV, fn);
-}
-
-typedef void (GLAPIENTRYP _glptr_ProgramNamedParameter4dNV)(GLuint, GLsizei, const GLubyte *, GLdouble, GLdouble, GLdouble, GLdouble);
+static inline _glptr_GetProgramNamedParameterfvNV
+GET_GetProgramNamedParameterfvNV(struct _glapi_table *disp)
+{
+ return (_glptr_GetProgramNamedParameterfvNV) (GET_by_offset
+ (disp,
+ _gloffset_GetProgramNamedParameterfvNV));
+}
+
+static inline void
+SET_GetProgramNamedParameterfvNV(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLsizei,
+ const GLubyte *,
+ GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_GetProgramNamedParameterfvNV, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_ProgramNamedParameter4dNV) (GLuint, GLsizei,
+ const GLubyte *,
+ GLdouble, GLdouble,
+ GLdouble,
+ GLdouble);
#define CALL_ProgramNamedParameter4dNV(disp, parameters) \
(* GET_ProgramNamedParameter4dNV(disp)) parameters
-static inline _glptr_ProgramNamedParameter4dNV GET_ProgramNamedParameter4dNV(struct _glapi_table *disp) {
- return (_glptr_ProgramNamedParameter4dNV) (GET_by_offset(disp, _gloffset_ProgramNamedParameter4dNV));
-}
-
-static inline void SET_ProgramNamedParameter4dNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, const GLubyte *, GLdouble, GLdouble, GLdouble, GLdouble)) {
- SET_by_offset(disp, _gloffset_ProgramNamedParameter4dNV, fn);
-}
-
-typedef void (GLAPIENTRYP _glptr_ProgramNamedParameter4dvNV)(GLuint, GLsizei, const GLubyte *, const GLdouble *);
+static inline _glptr_ProgramNamedParameter4dNV
+GET_ProgramNamedParameter4dNV(struct _glapi_table *disp)
+{
+ return (_glptr_ProgramNamedParameter4dNV) (GET_by_offset
+ (disp,
+ _gloffset_ProgramNamedParameter4dNV));
+}
+
+static inline void
+SET_ProgramNamedParameter4dNV(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLsizei,
+ const GLubyte *, GLdouble,
+ GLdouble, GLdouble,
+ GLdouble))
+{
+ SET_by_offset(disp, _gloffset_ProgramNamedParameter4dNV, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_ProgramNamedParameter4dvNV) (GLuint, GLsizei,
+ const GLubyte *,
+ const GLdouble *);
#define CALL_ProgramNamedParameter4dvNV(disp, parameters) \
(* GET_ProgramNamedParameter4dvNV(disp)) parameters
-static inline _glptr_ProgramNamedParameter4dvNV GET_ProgramNamedParameter4dvNV(struct _glapi_table *disp) {
- return (_glptr_ProgramNamedParameter4dvNV) (GET_by_offset(disp, _gloffset_ProgramNamedParameter4dvNV));
-}
-
-static inline void SET_ProgramNamedParameter4dvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, const GLubyte *, const GLdouble *)) {
- SET_by_offset(disp, _gloffset_ProgramNamedParameter4dvNV, fn);
-}
-
-typedef void (GLAPIENTRYP _glptr_ProgramNamedParameter4fNV)(GLuint, GLsizei, const GLubyte *, GLfloat, GLfloat, GLfloat, GLfloat);
+static inline _glptr_ProgramNamedParameter4dvNV
+GET_ProgramNamedParameter4dvNV(struct _glapi_table *disp)
+{
+ return (_glptr_ProgramNamedParameter4dvNV) (GET_by_offset
+ (disp,
+ _gloffset_ProgramNamedParameter4dvNV));
+}
+
+static inline void
+SET_ProgramNamedParameter4dvNV(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLsizei,
+ const GLubyte *,
+ const GLdouble *))
+{
+ SET_by_offset(disp, _gloffset_ProgramNamedParameter4dvNV, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_ProgramNamedParameter4fNV) (GLuint, GLsizei,
+ const GLubyte *,
+ GLfloat, GLfloat,
+ GLfloat, GLfloat);
#define CALL_ProgramNamedParameter4fNV(disp, parameters) \
(* GET_ProgramNamedParameter4fNV(disp)) parameters
-static inline _glptr_ProgramNamedParameter4fNV GET_ProgramNamedParameter4fNV(struct _glapi_table *disp) {
- return (_glptr_ProgramNamedParameter4fNV) (GET_by_offset(disp, _gloffset_ProgramNamedParameter4fNV));
-}
-
-static inline void SET_ProgramNamedParameter4fNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, const GLubyte *, GLfloat, GLfloat, GLfloat, GLfloat)) {
- SET_by_offset(disp, _gloffset_ProgramNamedParameter4fNV, fn);
-}
-
-typedef void (GLAPIENTRYP _glptr_ProgramNamedParameter4fvNV)(GLuint, GLsizei, const GLubyte *, const GLfloat *);
+static inline _glptr_ProgramNamedParameter4fNV
+GET_ProgramNamedParameter4fNV(struct _glapi_table *disp)
+{
+ return (_glptr_ProgramNamedParameter4fNV) (GET_by_offset
+ (disp,
+ _gloffset_ProgramNamedParameter4fNV));
+}
+
+static inline void
+SET_ProgramNamedParameter4fNV(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLsizei,
+ const GLubyte *, GLfloat,
+ GLfloat, GLfloat, GLfloat))
+{
+ SET_by_offset(disp, _gloffset_ProgramNamedParameter4fNV, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_ProgramNamedParameter4fvNV) (GLuint, GLsizei,
+ const GLubyte *,
+ const GLfloat *);
#define CALL_ProgramNamedParameter4fvNV(disp, parameters) \
(* GET_ProgramNamedParameter4fvNV(disp)) parameters
-static inline _glptr_ProgramNamedParameter4fvNV GET_ProgramNamedParameter4fvNV(struct _glapi_table *disp) {
- return (_glptr_ProgramNamedParameter4fvNV) (GET_by_offset(disp, _gloffset_ProgramNamedParameter4fvNV));
+static inline _glptr_ProgramNamedParameter4fvNV
+GET_ProgramNamedParameter4fvNV(struct _glapi_table *disp)
+{
+ return (_glptr_ProgramNamedParameter4fvNV) (GET_by_offset
+ (disp,
+ _gloffset_ProgramNamedParameter4fvNV));
}
-static inline void SET_ProgramNamedParameter4fvNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, const GLubyte *, const GLfloat *)) {
- SET_by_offset(disp, _gloffset_ProgramNamedParameter4fvNV, fn);
+static inline void
+SET_ProgramNamedParameter4fvNV(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLsizei,
+ const GLubyte *,
+ const GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_ProgramNamedParameter4fvNV, fn);
}
-typedef void (GLAPIENTRYP _glptr_PrimitiveRestartIndexNV)(GLuint);
+typedef void (GLAPIENTRYP _glptr_PrimitiveRestartIndexNV) (GLuint);
+
#define CALL_PrimitiveRestartIndexNV(disp, parameters) \
(* GET_PrimitiveRestartIndexNV(disp)) parameters
-static inline _glptr_PrimitiveRestartIndexNV GET_PrimitiveRestartIndexNV(struct _glapi_table *disp) {
- return (_glptr_PrimitiveRestartIndexNV) (GET_by_offset(disp, _gloffset_PrimitiveRestartIndexNV));
+static inline _glptr_PrimitiveRestartIndexNV
+GET_PrimitiveRestartIndexNV(struct _glapi_table *disp)
+{
+ return (_glptr_PrimitiveRestartIndexNV) (GET_by_offset
+ (disp,
+ _gloffset_PrimitiveRestartIndexNV));
}
-static inline void SET_PrimitiveRestartIndexNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint)) {
- SET_by_offset(disp, _gloffset_PrimitiveRestartIndexNV, fn);
+static inline void
+SET_PrimitiveRestartIndexNV(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint))
+{
+ SET_by_offset(disp, _gloffset_PrimitiveRestartIndexNV, fn);
}
-typedef void (GLAPIENTRYP _glptr_PrimitiveRestartNV)(void);
+typedef void (GLAPIENTRYP _glptr_PrimitiveRestartNV) (void);
+
#define CALL_PrimitiveRestartNV(disp, parameters) \
(* GET_PrimitiveRestartNV(disp)) parameters
-static inline _glptr_PrimitiveRestartNV GET_PrimitiveRestartNV(struct _glapi_table *disp) {
- return (_glptr_PrimitiveRestartNV) (GET_by_offset(disp, _gloffset_PrimitiveRestartNV));
+static inline _glptr_PrimitiveRestartNV
+GET_PrimitiveRestartNV(struct _glapi_table *disp)
+{
+ return (_glptr_PrimitiveRestartNV) (GET_by_offset
+ (disp, _gloffset_PrimitiveRestartNV));
}
-static inline void SET_PrimitiveRestartNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) {
- SET_by_offset(disp, _gloffset_PrimitiveRestartNV, fn);
+static inline void
+SET_PrimitiveRestartNV(struct _glapi_table *disp, void (GLAPIENTRYP fn) (void))
+{
+ SET_by_offset(disp, _gloffset_PrimitiveRestartNV, fn);
}
-typedef void (GLAPIENTRYP _glptr_DepthBoundsEXT)(GLclampd, GLclampd);
+typedef void (GLAPIENTRYP _glptr_DepthBoundsEXT) (GLclampd, GLclampd);
+
#define CALL_DepthBoundsEXT(disp, parameters) \
(* GET_DepthBoundsEXT(disp)) parameters
-static inline _glptr_DepthBoundsEXT GET_DepthBoundsEXT(struct _glapi_table *disp) {
- return (_glptr_DepthBoundsEXT) (GET_by_offset(disp, _gloffset_DepthBoundsEXT));
+static inline _glptr_DepthBoundsEXT
+GET_DepthBoundsEXT(struct _glapi_table *disp)
+{
+ return (_glptr_DepthBoundsEXT) (GET_by_offset
+ (disp, _gloffset_DepthBoundsEXT));
}
-static inline void SET_DepthBoundsEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLclampd, GLclampd)) {
- SET_by_offset(disp, _gloffset_DepthBoundsEXT, fn);
+static inline void
+SET_DepthBoundsEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLclampd, GLclampd))
+{
+ SET_by_offset(disp, _gloffset_DepthBoundsEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_BlendEquationSeparateEXT)(GLenum, GLenum);
+typedef void (GLAPIENTRYP _glptr_BlendEquationSeparateEXT) (GLenum, GLenum);
+
#define CALL_BlendEquationSeparateEXT(disp, parameters) \
(* GET_BlendEquationSeparateEXT(disp)) parameters
-static inline _glptr_BlendEquationSeparateEXT GET_BlendEquationSeparateEXT(struct _glapi_table *disp) {
- return (_glptr_BlendEquationSeparateEXT) (GET_by_offset(disp, _gloffset_BlendEquationSeparateEXT));
+static inline _glptr_BlendEquationSeparateEXT
+GET_BlendEquationSeparateEXT(struct _glapi_table *disp)
+{
+ return (_glptr_BlendEquationSeparateEXT) (GET_by_offset
+ (disp,
+ _gloffset_BlendEquationSeparateEXT));
}
-static inline void SET_BlendEquationSeparateEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum)) {
- SET_by_offset(disp, _gloffset_BlendEquationSeparateEXT, fn);
+static inline void
+SET_BlendEquationSeparateEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum))
+{
+ SET_by_offset(disp, _gloffset_BlendEquationSeparateEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_BindFramebufferEXT)(GLenum, GLuint);
+typedef void (GLAPIENTRYP _glptr_BindFramebufferEXT) (GLenum, GLuint);
+
#define CALL_BindFramebufferEXT(disp, parameters) \
(* GET_BindFramebufferEXT(disp)) parameters
-static inline _glptr_BindFramebufferEXT GET_BindFramebufferEXT(struct _glapi_table *disp) {
- return (_glptr_BindFramebufferEXT) (GET_by_offset(disp, _gloffset_BindFramebufferEXT));
+static inline _glptr_BindFramebufferEXT
+GET_BindFramebufferEXT(struct _glapi_table *disp)
+{
+ return (_glptr_BindFramebufferEXT) (GET_by_offset
+ (disp, _gloffset_BindFramebufferEXT));
}
-static inline void SET_BindFramebufferEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint)) {
- SET_by_offset(disp, _gloffset_BindFramebufferEXT, fn);
+static inline void
+SET_BindFramebufferEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLuint))
+{
+ SET_by_offset(disp, _gloffset_BindFramebufferEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_BindRenderbufferEXT)(GLenum, GLuint);
+typedef void (GLAPIENTRYP _glptr_BindRenderbufferEXT) (GLenum, GLuint);
+
#define CALL_BindRenderbufferEXT(disp, parameters) \
(* GET_BindRenderbufferEXT(disp)) parameters
-static inline _glptr_BindRenderbufferEXT GET_BindRenderbufferEXT(struct _glapi_table *disp) {
- return (_glptr_BindRenderbufferEXT) (GET_by_offset(disp, _gloffset_BindRenderbufferEXT));
+static inline _glptr_BindRenderbufferEXT
+GET_BindRenderbufferEXT(struct _glapi_table *disp)
+{
+ return (_glptr_BindRenderbufferEXT) (GET_by_offset
+ (disp, _gloffset_BindRenderbufferEXT));
}
-static inline void SET_BindRenderbufferEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint)) {
- SET_by_offset(disp, _gloffset_BindRenderbufferEXT, fn);
+static inline void
+SET_BindRenderbufferEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLuint))
+{
+ SET_by_offset(disp, _gloffset_BindRenderbufferEXT, fn);
}
-typedef GLenum (GLAPIENTRYP _glptr_CheckFramebufferStatusEXT)(GLenum);
+typedef GLenum(GLAPIENTRYP _glptr_CheckFramebufferStatusEXT) (GLenum);
+
#define CALL_CheckFramebufferStatusEXT(disp, parameters) \
(* GET_CheckFramebufferStatusEXT(disp)) parameters
-static inline _glptr_CheckFramebufferStatusEXT GET_CheckFramebufferStatusEXT(struct _glapi_table *disp) {
- return (_glptr_CheckFramebufferStatusEXT) (GET_by_offset(disp, _gloffset_CheckFramebufferStatusEXT));
+static inline _glptr_CheckFramebufferStatusEXT
+GET_CheckFramebufferStatusEXT(struct _glapi_table *disp)
+{
+ return (_glptr_CheckFramebufferStatusEXT) (GET_by_offset
+ (disp,
+ _gloffset_CheckFramebufferStatusEXT));
}
-static inline void SET_CheckFramebufferStatusEXT(struct _glapi_table *disp, GLenum (GLAPIENTRYP fn)(GLenum)) {
- SET_by_offset(disp, _gloffset_CheckFramebufferStatusEXT, fn);
+static inline void
+SET_CheckFramebufferStatusEXT(struct _glapi_table *disp,
+ GLenum(GLAPIENTRYP fn) (GLenum))
+{
+ SET_by_offset(disp, _gloffset_CheckFramebufferStatusEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_DeleteFramebuffersEXT)(GLsizei, const GLuint *);
+typedef void (GLAPIENTRYP _glptr_DeleteFramebuffersEXT) (GLsizei,
+ const GLuint *);
#define CALL_DeleteFramebuffersEXT(disp, parameters) \
(* GET_DeleteFramebuffersEXT(disp)) parameters
-static inline _glptr_DeleteFramebuffersEXT GET_DeleteFramebuffersEXT(struct _glapi_table *disp) {
- return (_glptr_DeleteFramebuffersEXT) (GET_by_offset(disp, _gloffset_DeleteFramebuffersEXT));
+static inline _glptr_DeleteFramebuffersEXT
+GET_DeleteFramebuffersEXT(struct _glapi_table *disp)
+{
+ return (_glptr_DeleteFramebuffersEXT) (GET_by_offset
+ (disp,
+ _gloffset_DeleteFramebuffersEXT));
}
-static inline void SET_DeleteFramebuffersEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, const GLuint *)) {
- SET_by_offset(disp, _gloffset_DeleteFramebuffersEXT, fn);
+static inline void
+SET_DeleteFramebuffersEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLsizei, const GLuint *))
+{
+ SET_by_offset(disp, _gloffset_DeleteFramebuffersEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_DeleteRenderbuffersEXT)(GLsizei, const GLuint *);
+typedef void (GLAPIENTRYP _glptr_DeleteRenderbuffersEXT) (GLsizei,
+ const GLuint *);
#define CALL_DeleteRenderbuffersEXT(disp, parameters) \
(* GET_DeleteRenderbuffersEXT(disp)) parameters
-static inline _glptr_DeleteRenderbuffersEXT GET_DeleteRenderbuffersEXT(struct _glapi_table *disp) {
- return (_glptr_DeleteRenderbuffersEXT) (GET_by_offset(disp, _gloffset_DeleteRenderbuffersEXT));
+static inline _glptr_DeleteRenderbuffersEXT
+GET_DeleteRenderbuffersEXT(struct _glapi_table *disp)
+{
+ return (_glptr_DeleteRenderbuffersEXT) (GET_by_offset
+ (disp,
+ _gloffset_DeleteRenderbuffersEXT));
}
-static inline void SET_DeleteRenderbuffersEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, const GLuint *)) {
- SET_by_offset(disp, _gloffset_DeleteRenderbuffersEXT, fn);
+static inline void
+SET_DeleteRenderbuffersEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLsizei, const GLuint *))
+{
+ SET_by_offset(disp, _gloffset_DeleteRenderbuffersEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_FramebufferRenderbufferEXT)(GLenum, GLenum, GLenum, GLuint);
+typedef void (GLAPIENTRYP _glptr_FramebufferRenderbufferEXT) (GLenum, GLenum,
+ GLenum, GLuint);
#define CALL_FramebufferRenderbufferEXT(disp, parameters) \
(* GET_FramebufferRenderbufferEXT(disp)) parameters
-static inline _glptr_FramebufferRenderbufferEXT GET_FramebufferRenderbufferEXT(struct _glapi_table *disp) {
- return (_glptr_FramebufferRenderbufferEXT) (GET_by_offset(disp, _gloffset_FramebufferRenderbufferEXT));
+static inline _glptr_FramebufferRenderbufferEXT
+GET_FramebufferRenderbufferEXT(struct _glapi_table *disp)
+{
+ return (_glptr_FramebufferRenderbufferEXT) (GET_by_offset
+ (disp,
+ _gloffset_FramebufferRenderbufferEXT));
}
-static inline void SET_FramebufferRenderbufferEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLenum, GLuint)) {
- SET_by_offset(disp, _gloffset_FramebufferRenderbufferEXT, fn);
+static inline void
+SET_FramebufferRenderbufferEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, GLenum,
+ GLuint))
+{
+ SET_by_offset(disp, _gloffset_FramebufferRenderbufferEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_FramebufferTexture1DEXT)(GLenum, GLenum, GLenum, GLuint, GLint);
+typedef void (GLAPIENTRYP _glptr_FramebufferTexture1DEXT) (GLenum, GLenum,
+ GLenum, GLuint,
+ GLint);
#define CALL_FramebufferTexture1DEXT(disp, parameters) \
(* GET_FramebufferTexture1DEXT(disp)) parameters
-static inline _glptr_FramebufferTexture1DEXT GET_FramebufferTexture1DEXT(struct _glapi_table *disp) {
- return (_glptr_FramebufferTexture1DEXT) (GET_by_offset(disp, _gloffset_FramebufferTexture1DEXT));
+static inline _glptr_FramebufferTexture1DEXT
+GET_FramebufferTexture1DEXT(struct _glapi_table *disp)
+{
+ return (_glptr_FramebufferTexture1DEXT) (GET_by_offset
+ (disp,
+ _gloffset_FramebufferTexture1DEXT));
}
-static inline void SET_FramebufferTexture1DEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLenum, GLuint, GLint)) {
- SET_by_offset(disp, _gloffset_FramebufferTexture1DEXT, fn);
+static inline void
+SET_FramebufferTexture1DEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, GLenum,
+ GLuint, GLint))
+{
+ SET_by_offset(disp, _gloffset_FramebufferTexture1DEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_FramebufferTexture2DEXT)(GLenum, GLenum, GLenum, GLuint, GLint);
+typedef void (GLAPIENTRYP _glptr_FramebufferTexture2DEXT) (GLenum, GLenum,
+ GLenum, GLuint,
+ GLint);
#define CALL_FramebufferTexture2DEXT(disp, parameters) \
(* GET_FramebufferTexture2DEXT(disp)) parameters
-static inline _glptr_FramebufferTexture2DEXT GET_FramebufferTexture2DEXT(struct _glapi_table *disp) {
- return (_glptr_FramebufferTexture2DEXT) (GET_by_offset(disp, _gloffset_FramebufferTexture2DEXT));
+static inline _glptr_FramebufferTexture2DEXT
+GET_FramebufferTexture2DEXT(struct _glapi_table *disp)
+{
+ return (_glptr_FramebufferTexture2DEXT) (GET_by_offset
+ (disp,
+ _gloffset_FramebufferTexture2DEXT));
}
-static inline void SET_FramebufferTexture2DEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLenum, GLuint, GLint)) {
- SET_by_offset(disp, _gloffset_FramebufferTexture2DEXT, fn);
+static inline void
+SET_FramebufferTexture2DEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, GLenum,
+ GLuint, GLint))
+{
+ SET_by_offset(disp, _gloffset_FramebufferTexture2DEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_FramebufferTexture3DEXT)(GLenum, GLenum, GLenum, GLuint, GLint, GLint);
+typedef void (GLAPIENTRYP _glptr_FramebufferTexture3DEXT) (GLenum, GLenum,
+ GLenum, GLuint,
+ GLint, GLint);
#define CALL_FramebufferTexture3DEXT(disp, parameters) \
(* GET_FramebufferTexture3DEXT(disp)) parameters
-static inline _glptr_FramebufferTexture3DEXT GET_FramebufferTexture3DEXT(struct _glapi_table *disp) {
- return (_glptr_FramebufferTexture3DEXT) (GET_by_offset(disp, _gloffset_FramebufferTexture3DEXT));
+static inline _glptr_FramebufferTexture3DEXT
+GET_FramebufferTexture3DEXT(struct _glapi_table *disp)
+{
+ return (_glptr_FramebufferTexture3DEXT) (GET_by_offset
+ (disp,
+ _gloffset_FramebufferTexture3DEXT));
}
-static inline void SET_FramebufferTexture3DEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLenum, GLuint, GLint, GLint)) {
- SET_by_offset(disp, _gloffset_FramebufferTexture3DEXT, fn);
+static inline void
+SET_FramebufferTexture3DEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, GLenum,
+ GLuint, GLint, GLint))
+{
+ SET_by_offset(disp, _gloffset_FramebufferTexture3DEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_GenFramebuffersEXT)(GLsizei, GLuint *);
+typedef void (GLAPIENTRYP _glptr_GenFramebuffersEXT) (GLsizei, GLuint *);
+
#define CALL_GenFramebuffersEXT(disp, parameters) \
(* GET_GenFramebuffersEXT(disp)) parameters
-static inline _glptr_GenFramebuffersEXT GET_GenFramebuffersEXT(struct _glapi_table *disp) {
- return (_glptr_GenFramebuffersEXT) (GET_by_offset(disp, _gloffset_GenFramebuffersEXT));
+static inline _glptr_GenFramebuffersEXT
+GET_GenFramebuffersEXT(struct _glapi_table *disp)
+{
+ return (_glptr_GenFramebuffersEXT) (GET_by_offset
+ (disp, _gloffset_GenFramebuffersEXT));
}
-static inline void SET_GenFramebuffersEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, GLuint *)) {
- SET_by_offset(disp, _gloffset_GenFramebuffersEXT, fn);
+static inline void
+SET_GenFramebuffersEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLsizei, GLuint *))
+{
+ SET_by_offset(disp, _gloffset_GenFramebuffersEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_GenRenderbuffersEXT)(GLsizei, GLuint *);
+typedef void (GLAPIENTRYP _glptr_GenRenderbuffersEXT) (GLsizei, GLuint *);
+
#define CALL_GenRenderbuffersEXT(disp, parameters) \
(* GET_GenRenderbuffersEXT(disp)) parameters
-static inline _glptr_GenRenderbuffersEXT GET_GenRenderbuffersEXT(struct _glapi_table *disp) {
- return (_glptr_GenRenderbuffersEXT) (GET_by_offset(disp, _gloffset_GenRenderbuffersEXT));
+static inline _glptr_GenRenderbuffersEXT
+GET_GenRenderbuffersEXT(struct _glapi_table *disp)
+{
+ return (_glptr_GenRenderbuffersEXT) (GET_by_offset
+ (disp, _gloffset_GenRenderbuffersEXT));
}
-static inline void SET_GenRenderbuffersEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLsizei, GLuint *)) {
- SET_by_offset(disp, _gloffset_GenRenderbuffersEXT, fn);
+static inline void
+SET_GenRenderbuffersEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLsizei, GLuint *))
+{
+ SET_by_offset(disp, _gloffset_GenRenderbuffersEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_GenerateMipmapEXT)(GLenum);
+typedef void (GLAPIENTRYP _glptr_GenerateMipmapEXT) (GLenum);
+
#define CALL_GenerateMipmapEXT(disp, parameters) \
(* GET_GenerateMipmapEXT(disp)) parameters
-static inline _glptr_GenerateMipmapEXT GET_GenerateMipmapEXT(struct _glapi_table *disp) {
- return (_glptr_GenerateMipmapEXT) (GET_by_offset(disp, _gloffset_GenerateMipmapEXT));
+static inline _glptr_GenerateMipmapEXT
+GET_GenerateMipmapEXT(struct _glapi_table *disp)
+{
+ return (_glptr_GenerateMipmapEXT) (GET_by_offset
+ (disp, _gloffset_GenerateMipmapEXT));
}
-static inline void SET_GenerateMipmapEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) {
- SET_by_offset(disp, _gloffset_GenerateMipmapEXT, fn);
+static inline void
+SET_GenerateMipmapEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLenum))
+{
+ SET_by_offset(disp, _gloffset_GenerateMipmapEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetFramebufferAttachmentParameterivEXT)(GLenum, GLenum, GLenum, GLint *);
+typedef void (GLAPIENTRYP
+ _glptr_GetFramebufferAttachmentParameterivEXT) (GLenum, GLenum,
+ GLenum, GLint *);
#define CALL_GetFramebufferAttachmentParameterivEXT(disp, parameters) \
(* GET_GetFramebufferAttachmentParameterivEXT(disp)) parameters
-static inline _glptr_GetFramebufferAttachmentParameterivEXT GET_GetFramebufferAttachmentParameterivEXT(struct _glapi_table *disp) {
- return (_glptr_GetFramebufferAttachmentParameterivEXT) (GET_by_offset(disp, _gloffset_GetFramebufferAttachmentParameterivEXT));
-}
-
-static inline void SET_GetFramebufferAttachmentParameterivEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLenum, GLint *)) {
- SET_by_offset(disp, _gloffset_GetFramebufferAttachmentParameterivEXT, fn);
-}
-
-typedef void (GLAPIENTRYP _glptr_GetRenderbufferParameterivEXT)(GLenum, GLenum, GLint *);
+static inline _glptr_GetFramebufferAttachmentParameterivEXT
+GET_GetFramebufferAttachmentParameterivEXT(struct _glapi_table *disp)
+{
+ return (_glptr_GetFramebufferAttachmentParameterivEXT) (GET_by_offset
+ (disp,
+ _gloffset_GetFramebufferAttachmentParameterivEXT));
+}
+
+static inline void
+SET_GetFramebufferAttachmentParameterivEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum,
+ GLenum,
+ GLenum,
+ GLint *))
+{
+ SET_by_offset(disp, _gloffset_GetFramebufferAttachmentParameterivEXT, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetRenderbufferParameterivEXT) (GLenum, GLenum,
+ GLint *);
#define CALL_GetRenderbufferParameterivEXT(disp, parameters) \
(* GET_GetRenderbufferParameterivEXT(disp)) parameters
-static inline _glptr_GetRenderbufferParameterivEXT GET_GetRenderbufferParameterivEXT(struct _glapi_table *disp) {
- return (_glptr_GetRenderbufferParameterivEXT) (GET_by_offset(disp, _gloffset_GetRenderbufferParameterivEXT));
+static inline _glptr_GetRenderbufferParameterivEXT
+GET_GetRenderbufferParameterivEXT(struct _glapi_table *disp)
+{
+ return (_glptr_GetRenderbufferParameterivEXT) (GET_by_offset
+ (disp,
+ _gloffset_GetRenderbufferParameterivEXT));
}
-static inline void SET_GetRenderbufferParameterivEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint *)) {
- SET_by_offset(disp, _gloffset_GetRenderbufferParameterivEXT, fn);
+static inline void
+SET_GetRenderbufferParameterivEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum,
+ GLint *))
+{
+ SET_by_offset(disp, _gloffset_GetRenderbufferParameterivEXT, fn);
}
-typedef GLboolean (GLAPIENTRYP _glptr_IsFramebufferEXT)(GLuint);
+typedef GLboolean(GLAPIENTRYP _glptr_IsFramebufferEXT) (GLuint);
+
#define CALL_IsFramebufferEXT(disp, parameters) \
(* GET_IsFramebufferEXT(disp)) parameters
-static inline _glptr_IsFramebufferEXT GET_IsFramebufferEXT(struct _glapi_table *disp) {
- return (_glptr_IsFramebufferEXT) (GET_by_offset(disp, _gloffset_IsFramebufferEXT));
+static inline _glptr_IsFramebufferEXT
+GET_IsFramebufferEXT(struct _glapi_table *disp)
+{
+ return (_glptr_IsFramebufferEXT) (GET_by_offset
+ (disp, _gloffset_IsFramebufferEXT));
}
-static inline void SET_IsFramebufferEXT(struct _glapi_table *disp, GLboolean (GLAPIENTRYP fn)(GLuint)) {
- SET_by_offset(disp, _gloffset_IsFramebufferEXT, fn);
+static inline void
+SET_IsFramebufferEXT(struct _glapi_table *disp,
+ GLboolean(GLAPIENTRYP fn) (GLuint))
+{
+ SET_by_offset(disp, _gloffset_IsFramebufferEXT, fn);
}
-typedef GLboolean (GLAPIENTRYP _glptr_IsRenderbufferEXT)(GLuint);
+typedef GLboolean(GLAPIENTRYP _glptr_IsRenderbufferEXT) (GLuint);
+
#define CALL_IsRenderbufferEXT(disp, parameters) \
(* GET_IsRenderbufferEXT(disp)) parameters
-static inline _glptr_IsRenderbufferEXT GET_IsRenderbufferEXT(struct _glapi_table *disp) {
- return (_glptr_IsRenderbufferEXT) (GET_by_offset(disp, _gloffset_IsRenderbufferEXT));
+static inline _glptr_IsRenderbufferEXT
+GET_IsRenderbufferEXT(struct _glapi_table *disp)
+{
+ return (_glptr_IsRenderbufferEXT) (GET_by_offset
+ (disp, _gloffset_IsRenderbufferEXT));
}
-static inline void SET_IsRenderbufferEXT(struct _glapi_table *disp, GLboolean (GLAPIENTRYP fn)(GLuint)) {
- SET_by_offset(disp, _gloffset_IsRenderbufferEXT, fn);
+static inline void
+SET_IsRenderbufferEXT(struct _glapi_table *disp,
+ GLboolean(GLAPIENTRYP fn) (GLuint))
+{
+ SET_by_offset(disp, _gloffset_IsRenderbufferEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_RenderbufferStorageEXT)(GLenum, GLenum, GLsizei, GLsizei);
+typedef void (GLAPIENTRYP _glptr_RenderbufferStorageEXT) (GLenum, GLenum,
+ GLsizei, GLsizei);
#define CALL_RenderbufferStorageEXT(disp, parameters) \
(* GET_RenderbufferStorageEXT(disp)) parameters
-static inline _glptr_RenderbufferStorageEXT GET_RenderbufferStorageEXT(struct _glapi_table *disp) {
- return (_glptr_RenderbufferStorageEXT) (GET_by_offset(disp, _gloffset_RenderbufferStorageEXT));
-}
-
-static inline void SET_RenderbufferStorageEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLsizei, GLsizei)) {
- SET_by_offset(disp, _gloffset_RenderbufferStorageEXT, fn);
-}
-
-typedef void (GLAPIENTRYP _glptr_BlitFramebufferEXT)(GLint, GLint, GLint, GLint, GLint, GLint, GLint, GLint, GLbitfield, GLenum);
+static inline _glptr_RenderbufferStorageEXT
+GET_RenderbufferStorageEXT(struct _glapi_table *disp)
+{
+ return (_glptr_RenderbufferStorageEXT) (GET_by_offset
+ (disp,
+ _gloffset_RenderbufferStorageEXT));
+}
+
+static inline void
+SET_RenderbufferStorageEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, GLsizei,
+ GLsizei))
+{
+ SET_by_offset(disp, _gloffset_RenderbufferStorageEXT, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_BlitFramebufferEXT) (GLint, GLint, GLint,
+ GLint, GLint, GLint,
+ GLint, GLint, GLbitfield,
+ GLenum);
#define CALL_BlitFramebufferEXT(disp, parameters) \
(* GET_BlitFramebufferEXT(disp)) parameters
-static inline _glptr_BlitFramebufferEXT GET_BlitFramebufferEXT(struct _glapi_table *disp) {
- return (_glptr_BlitFramebufferEXT) (GET_by_offset(disp, _gloffset_BlitFramebufferEXT));
+static inline _glptr_BlitFramebufferEXT
+GET_BlitFramebufferEXT(struct _glapi_table *disp)
+{
+ return (_glptr_BlitFramebufferEXT) (GET_by_offset
+ (disp, _gloffset_BlitFramebufferEXT));
}
-static inline void SET_BlitFramebufferEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLint, GLint, GLint, GLint, GLint, GLint, GLbitfield, GLenum)) {
- SET_by_offset(disp, _gloffset_BlitFramebufferEXT, fn);
+static inline void
+SET_BlitFramebufferEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLint, GLint, GLint, GLint, GLint,
+ GLint, GLint, GLint, GLbitfield,
+ GLenum))
+{
+ SET_by_offset(disp, _gloffset_BlitFramebufferEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_BufferParameteriAPPLE)(GLenum, GLenum, GLint);
+typedef void (GLAPIENTRYP _glptr_BufferParameteriAPPLE) (GLenum, GLenum, GLint);
+
#define CALL_BufferParameteriAPPLE(disp, parameters) \
(* GET_BufferParameteriAPPLE(disp)) parameters
-static inline _glptr_BufferParameteriAPPLE GET_BufferParameteriAPPLE(struct _glapi_table *disp) {
- return (_glptr_BufferParameteriAPPLE) (GET_by_offset(disp, _gloffset_BufferParameteriAPPLE));
+static inline _glptr_BufferParameteriAPPLE
+GET_BufferParameteriAPPLE(struct _glapi_table *disp)
+{
+ return (_glptr_BufferParameteriAPPLE) (GET_by_offset
+ (disp,
+ _gloffset_BufferParameteriAPPLE));
}
-static inline void SET_BufferParameteriAPPLE(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint)) {
- SET_by_offset(disp, _gloffset_BufferParameteriAPPLE, fn);
+static inline void
+SET_BufferParameteriAPPLE(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, GLint))
+{
+ SET_by_offset(disp, _gloffset_BufferParameteriAPPLE, fn);
}
-typedef void (GLAPIENTRYP _glptr_FlushMappedBufferRangeAPPLE)(GLenum, GLintptr, GLsizeiptr);
+typedef void (GLAPIENTRYP _glptr_FlushMappedBufferRangeAPPLE) (GLenum, GLintptr,
+ GLsizeiptr);
#define CALL_FlushMappedBufferRangeAPPLE(disp, parameters) \
(* GET_FlushMappedBufferRangeAPPLE(disp)) parameters
-static inline _glptr_FlushMappedBufferRangeAPPLE GET_FlushMappedBufferRangeAPPLE(struct _glapi_table *disp) {
- return (_glptr_FlushMappedBufferRangeAPPLE) (GET_by_offset(disp, _gloffset_FlushMappedBufferRangeAPPLE));
+static inline _glptr_FlushMappedBufferRangeAPPLE
+GET_FlushMappedBufferRangeAPPLE(struct _glapi_table *disp)
+{
+ return (_glptr_FlushMappedBufferRangeAPPLE) (GET_by_offset
+ (disp,
+ _gloffset_FlushMappedBufferRangeAPPLE));
}
-static inline void SET_FlushMappedBufferRangeAPPLE(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLintptr, GLsizeiptr)) {
- SET_by_offset(disp, _gloffset_FlushMappedBufferRangeAPPLE, fn);
+static inline void
+SET_FlushMappedBufferRangeAPPLE(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLintptr,
+ GLsizeiptr))
+{
+ SET_by_offset(disp, _gloffset_FlushMappedBufferRangeAPPLE, fn);
}
-typedef void (GLAPIENTRYP _glptr_BindFragDataLocationEXT)(GLuint, GLuint, const GLchar *);
+typedef void (GLAPIENTRYP _glptr_BindFragDataLocationEXT) (GLuint, GLuint,
+ const GLchar *);
#define CALL_BindFragDataLocationEXT(disp, parameters) \
(* GET_BindFragDataLocationEXT(disp)) parameters
-static inline _glptr_BindFragDataLocationEXT GET_BindFragDataLocationEXT(struct _glapi_table *disp) {
- return (_glptr_BindFragDataLocationEXT) (GET_by_offset(disp, _gloffset_BindFragDataLocationEXT));
+static inline _glptr_BindFragDataLocationEXT
+GET_BindFragDataLocationEXT(struct _glapi_table *disp)
+{
+ return (_glptr_BindFragDataLocationEXT) (GET_by_offset
+ (disp,
+ _gloffset_BindFragDataLocationEXT));
}
-static inline void SET_BindFragDataLocationEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLuint, const GLchar *)) {
- SET_by_offset(disp, _gloffset_BindFragDataLocationEXT, fn);
+static inline void
+SET_BindFragDataLocationEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLuint,
+ const GLchar *))
+{
+ SET_by_offset(disp, _gloffset_BindFragDataLocationEXT, fn);
}
-typedef GLint (GLAPIENTRYP _glptr_GetFragDataLocationEXT)(GLuint, const GLchar *);
+typedef GLint(GLAPIENTRYP _glptr_GetFragDataLocationEXT) (GLuint,
+ const GLchar *);
#define CALL_GetFragDataLocationEXT(disp, parameters) \
(* GET_GetFragDataLocationEXT(disp)) parameters
-static inline _glptr_GetFragDataLocationEXT GET_GetFragDataLocationEXT(struct _glapi_table *disp) {
- return (_glptr_GetFragDataLocationEXT) (GET_by_offset(disp, _gloffset_GetFragDataLocationEXT));
+static inline _glptr_GetFragDataLocationEXT
+GET_GetFragDataLocationEXT(struct _glapi_table *disp)
+{
+ return (_glptr_GetFragDataLocationEXT) (GET_by_offset
+ (disp,
+ _gloffset_GetFragDataLocationEXT));
}
-static inline void SET_GetFragDataLocationEXT(struct _glapi_table *disp, GLint (GLAPIENTRYP fn)(GLuint, const GLchar *)) {
- SET_by_offset(disp, _gloffset_GetFragDataLocationEXT, fn);
+static inline void
+SET_GetFragDataLocationEXT(struct _glapi_table *disp,
+ GLint(GLAPIENTRYP fn) (GLuint, const GLchar *))
+{
+ SET_by_offset(disp, _gloffset_GetFragDataLocationEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetUniformuivEXT)(GLuint, GLint, GLuint *);
+typedef void (GLAPIENTRYP _glptr_GetUniformuivEXT) (GLuint, GLint, GLuint *);
+
#define CALL_GetUniformuivEXT(disp, parameters) \
(* GET_GetUniformuivEXT(disp)) parameters
-static inline _glptr_GetUniformuivEXT GET_GetUniformuivEXT(struct _glapi_table *disp) {
- return (_glptr_GetUniformuivEXT) (GET_by_offset(disp, _gloffset_GetUniformuivEXT));
+static inline _glptr_GetUniformuivEXT
+GET_GetUniformuivEXT(struct _glapi_table *disp)
+{
+ return (_glptr_GetUniformuivEXT) (GET_by_offset
+ (disp, _gloffset_GetUniformuivEXT));
}
-static inline void SET_GetUniformuivEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLint, GLuint *)) {
- SET_by_offset(disp, _gloffset_GetUniformuivEXT, fn);
+static inline void
+SET_GetUniformuivEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLint, GLuint *))
+{
+ SET_by_offset(disp, _gloffset_GetUniformuivEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetVertexAttribIivEXT)(GLuint, GLenum, GLint *);
+typedef void (GLAPIENTRYP _glptr_GetVertexAttribIivEXT) (GLuint, GLenum,
+ GLint *);
#define CALL_GetVertexAttribIivEXT(disp, parameters) \
(* GET_GetVertexAttribIivEXT(disp)) parameters
-static inline _glptr_GetVertexAttribIivEXT GET_GetVertexAttribIivEXT(struct _glapi_table *disp) {
- return (_glptr_GetVertexAttribIivEXT) (GET_by_offset(disp, _gloffset_GetVertexAttribIivEXT));
+static inline _glptr_GetVertexAttribIivEXT
+GET_GetVertexAttribIivEXT(struct _glapi_table *disp)
+{
+ return (_glptr_GetVertexAttribIivEXT) (GET_by_offset
+ (disp,
+ _gloffset_GetVertexAttribIivEXT));
}
-static inline void SET_GetVertexAttribIivEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLint *)) {
- SET_by_offset(disp, _gloffset_GetVertexAttribIivEXT, fn);
+static inline void
+SET_GetVertexAttribIivEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLenum, GLint *))
+{
+ SET_by_offset(disp, _gloffset_GetVertexAttribIivEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetVertexAttribIuivEXT)(GLuint, GLenum, GLuint *);
+typedef void (GLAPIENTRYP _glptr_GetVertexAttribIuivEXT) (GLuint, GLenum,
+ GLuint *);
#define CALL_GetVertexAttribIuivEXT(disp, parameters) \
(* GET_GetVertexAttribIuivEXT(disp)) parameters
-static inline _glptr_GetVertexAttribIuivEXT GET_GetVertexAttribIuivEXT(struct _glapi_table *disp) {
- return (_glptr_GetVertexAttribIuivEXT) (GET_by_offset(disp, _gloffset_GetVertexAttribIuivEXT));
+static inline _glptr_GetVertexAttribIuivEXT
+GET_GetVertexAttribIuivEXT(struct _glapi_table *disp)
+{
+ return (_glptr_GetVertexAttribIuivEXT) (GET_by_offset
+ (disp,
+ _gloffset_GetVertexAttribIuivEXT));
}
-static inline void SET_GetVertexAttribIuivEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLuint *)) {
- SET_by_offset(disp, _gloffset_GetVertexAttribIuivEXT, fn);
+static inline void
+SET_GetVertexAttribIuivEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLenum, GLuint *))
+{
+ SET_by_offset(disp, _gloffset_GetVertexAttribIuivEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_Uniform1uiEXT)(GLint, GLuint);
+typedef void (GLAPIENTRYP _glptr_Uniform1uiEXT) (GLint, GLuint);
+
#define CALL_Uniform1uiEXT(disp, parameters) \
(* GET_Uniform1uiEXT(disp)) parameters
-static inline _glptr_Uniform1uiEXT GET_Uniform1uiEXT(struct _glapi_table *disp) {
- return (_glptr_Uniform1uiEXT) (GET_by_offset(disp, _gloffset_Uniform1uiEXT));
+static inline _glptr_Uniform1uiEXT
+GET_Uniform1uiEXT(struct _glapi_table *disp)
+{
+ return (_glptr_Uniform1uiEXT) (GET_by_offset
+ (disp, _gloffset_Uniform1uiEXT));
}
-static inline void SET_Uniform1uiEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLuint)) {
- SET_by_offset(disp, _gloffset_Uniform1uiEXT, fn);
+static inline void
+SET_Uniform1uiEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLint, GLuint))
+{
+ SET_by_offset(disp, _gloffset_Uniform1uiEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_Uniform1uivEXT)(GLint, GLsizei, const GLuint *);
+typedef void (GLAPIENTRYP _glptr_Uniform1uivEXT) (GLint, GLsizei,
+ const GLuint *);
#define CALL_Uniform1uivEXT(disp, parameters) \
(* GET_Uniform1uivEXT(disp)) parameters
-static inline _glptr_Uniform1uivEXT GET_Uniform1uivEXT(struct _glapi_table *disp) {
- return (_glptr_Uniform1uivEXT) (GET_by_offset(disp, _gloffset_Uniform1uivEXT));
+static inline _glptr_Uniform1uivEXT
+GET_Uniform1uivEXT(struct _glapi_table *disp)
+{
+ return (_glptr_Uniform1uivEXT) (GET_by_offset
+ (disp, _gloffset_Uniform1uivEXT));
}
-static inline void SET_Uniform1uivEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLsizei, const GLuint *)) {
- SET_by_offset(disp, _gloffset_Uniform1uivEXT, fn);
+static inline void
+SET_Uniform1uivEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLint, GLsizei, const GLuint *))
+{
+ SET_by_offset(disp, _gloffset_Uniform1uivEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_Uniform2uiEXT)(GLint, GLuint, GLuint);
+typedef void (GLAPIENTRYP _glptr_Uniform2uiEXT) (GLint, GLuint, GLuint);
+
#define CALL_Uniform2uiEXT(disp, parameters) \
(* GET_Uniform2uiEXT(disp)) parameters
-static inline _glptr_Uniform2uiEXT GET_Uniform2uiEXT(struct _glapi_table *disp) {
- return (_glptr_Uniform2uiEXT) (GET_by_offset(disp, _gloffset_Uniform2uiEXT));
+static inline _glptr_Uniform2uiEXT
+GET_Uniform2uiEXT(struct _glapi_table *disp)
+{
+ return (_glptr_Uniform2uiEXT) (GET_by_offset
+ (disp, _gloffset_Uniform2uiEXT));
}
-static inline void SET_Uniform2uiEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLuint, GLuint)) {
- SET_by_offset(disp, _gloffset_Uniform2uiEXT, fn);
+static inline void
+SET_Uniform2uiEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLint, GLuint, GLuint))
+{
+ SET_by_offset(disp, _gloffset_Uniform2uiEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_Uniform2uivEXT)(GLint, GLsizei, const GLuint *);
+typedef void (GLAPIENTRYP _glptr_Uniform2uivEXT) (GLint, GLsizei,
+ const GLuint *);
#define CALL_Uniform2uivEXT(disp, parameters) \
(* GET_Uniform2uivEXT(disp)) parameters
-static inline _glptr_Uniform2uivEXT GET_Uniform2uivEXT(struct _glapi_table *disp) {
- return (_glptr_Uniform2uivEXT) (GET_by_offset(disp, _gloffset_Uniform2uivEXT));
+static inline _glptr_Uniform2uivEXT
+GET_Uniform2uivEXT(struct _glapi_table *disp)
+{
+ return (_glptr_Uniform2uivEXT) (GET_by_offset
+ (disp, _gloffset_Uniform2uivEXT));
}
-static inline void SET_Uniform2uivEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLsizei, const GLuint *)) {
- SET_by_offset(disp, _gloffset_Uniform2uivEXT, fn);
+static inline void
+SET_Uniform2uivEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLint, GLsizei, const GLuint *))
+{
+ SET_by_offset(disp, _gloffset_Uniform2uivEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_Uniform3uiEXT)(GLint, GLuint, GLuint, GLuint);
+typedef void (GLAPIENTRYP _glptr_Uniform3uiEXT) (GLint, GLuint, GLuint, GLuint);
+
#define CALL_Uniform3uiEXT(disp, parameters) \
(* GET_Uniform3uiEXT(disp)) parameters
-static inline _glptr_Uniform3uiEXT GET_Uniform3uiEXT(struct _glapi_table *disp) {
- return (_glptr_Uniform3uiEXT) (GET_by_offset(disp, _gloffset_Uniform3uiEXT));
+static inline _glptr_Uniform3uiEXT
+GET_Uniform3uiEXT(struct _glapi_table *disp)
+{
+ return (_glptr_Uniform3uiEXT) (GET_by_offset
+ (disp, _gloffset_Uniform3uiEXT));
}
-static inline void SET_Uniform3uiEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLuint, GLuint, GLuint)) {
- SET_by_offset(disp, _gloffset_Uniform3uiEXT, fn);
+static inline void
+SET_Uniform3uiEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLint, GLuint, GLuint, GLuint))
+{
+ SET_by_offset(disp, _gloffset_Uniform3uiEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_Uniform3uivEXT)(GLint, GLsizei, const GLuint *);
+typedef void (GLAPIENTRYP _glptr_Uniform3uivEXT) (GLint, GLsizei,
+ const GLuint *);
#define CALL_Uniform3uivEXT(disp, parameters) \
(* GET_Uniform3uivEXT(disp)) parameters
-static inline _glptr_Uniform3uivEXT GET_Uniform3uivEXT(struct _glapi_table *disp) {
- return (_glptr_Uniform3uivEXT) (GET_by_offset(disp, _gloffset_Uniform3uivEXT));
+static inline _glptr_Uniform3uivEXT
+GET_Uniform3uivEXT(struct _glapi_table *disp)
+{
+ return (_glptr_Uniform3uivEXT) (GET_by_offset
+ (disp, _gloffset_Uniform3uivEXT));
}
-static inline void SET_Uniform3uivEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLsizei, const GLuint *)) {
- SET_by_offset(disp, _gloffset_Uniform3uivEXT, fn);
+static inline void
+SET_Uniform3uivEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLint, GLsizei, const GLuint *))
+{
+ SET_by_offset(disp, _gloffset_Uniform3uivEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_Uniform4uiEXT)(GLint, GLuint, GLuint, GLuint, GLuint);
+typedef void (GLAPIENTRYP _glptr_Uniform4uiEXT) (GLint, GLuint, GLuint, GLuint,
+ GLuint);
#define CALL_Uniform4uiEXT(disp, parameters) \
(* GET_Uniform4uiEXT(disp)) parameters
-static inline _glptr_Uniform4uiEXT GET_Uniform4uiEXT(struct _glapi_table *disp) {
- return (_glptr_Uniform4uiEXT) (GET_by_offset(disp, _gloffset_Uniform4uiEXT));
+static inline _glptr_Uniform4uiEXT
+GET_Uniform4uiEXT(struct _glapi_table *disp)
+{
+ return (_glptr_Uniform4uiEXT) (GET_by_offset
+ (disp, _gloffset_Uniform4uiEXT));
}
-static inline void SET_Uniform4uiEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLuint, GLuint, GLuint, GLuint)) {
- SET_by_offset(disp, _gloffset_Uniform4uiEXT, fn);
+static inline void
+SET_Uniform4uiEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLint, GLuint, GLuint, GLuint, GLuint))
+{
+ SET_by_offset(disp, _gloffset_Uniform4uiEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_Uniform4uivEXT)(GLint, GLsizei, const GLuint *);
+typedef void (GLAPIENTRYP _glptr_Uniform4uivEXT) (GLint, GLsizei,
+ const GLuint *);
#define CALL_Uniform4uivEXT(disp, parameters) \
(* GET_Uniform4uivEXT(disp)) parameters
-static inline _glptr_Uniform4uivEXT GET_Uniform4uivEXT(struct _glapi_table *disp) {
- return (_glptr_Uniform4uivEXT) (GET_by_offset(disp, _gloffset_Uniform4uivEXT));
+static inline _glptr_Uniform4uivEXT
+GET_Uniform4uivEXT(struct _glapi_table *disp)
+{
+ return (_glptr_Uniform4uivEXT) (GET_by_offset
+ (disp, _gloffset_Uniform4uivEXT));
}
-static inline void SET_Uniform4uivEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLsizei, const GLuint *)) {
- SET_by_offset(disp, _gloffset_Uniform4uivEXT, fn);
+static inline void
+SET_Uniform4uivEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLint, GLsizei, const GLuint *))
+{
+ SET_by_offset(disp, _gloffset_Uniform4uivEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttribI1iEXT)(GLuint, GLint);
+typedef void (GLAPIENTRYP _glptr_VertexAttribI1iEXT) (GLuint, GLint);
+
#define CALL_VertexAttribI1iEXT(disp, parameters) \
(* GET_VertexAttribI1iEXT(disp)) parameters
-static inline _glptr_VertexAttribI1iEXT GET_VertexAttribI1iEXT(struct _glapi_table *disp) {
- return (_glptr_VertexAttribI1iEXT) (GET_by_offset(disp, _gloffset_VertexAttribI1iEXT));
+static inline _glptr_VertexAttribI1iEXT
+GET_VertexAttribI1iEXT(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttribI1iEXT) (GET_by_offset
+ (disp, _gloffset_VertexAttribI1iEXT));
}
-static inline void SET_VertexAttribI1iEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLint)) {
- SET_by_offset(disp, _gloffset_VertexAttribI1iEXT, fn);
+static inline void
+SET_VertexAttribI1iEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLint))
+{
+ SET_by_offset(disp, _gloffset_VertexAttribI1iEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttribI1ivEXT)(GLuint, const GLint *);
+typedef void (GLAPIENTRYP _glptr_VertexAttribI1ivEXT) (GLuint, const GLint *);
+
#define CALL_VertexAttribI1ivEXT(disp, parameters) \
(* GET_VertexAttribI1ivEXT(disp)) parameters
-static inline _glptr_VertexAttribI1ivEXT GET_VertexAttribI1ivEXT(struct _glapi_table *disp) {
- return (_glptr_VertexAttribI1ivEXT) (GET_by_offset(disp, _gloffset_VertexAttribI1ivEXT));
+static inline _glptr_VertexAttribI1ivEXT
+GET_VertexAttribI1ivEXT(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttribI1ivEXT) (GET_by_offset
+ (disp, _gloffset_VertexAttribI1ivEXT));
}
-static inline void SET_VertexAttribI1ivEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLint *)) {
- SET_by_offset(disp, _gloffset_VertexAttribI1ivEXT, fn);
+static inline void
+SET_VertexAttribI1ivEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, const GLint *))
+{
+ SET_by_offset(disp, _gloffset_VertexAttribI1ivEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttribI1uiEXT)(GLuint, GLuint);
+typedef void (GLAPIENTRYP _glptr_VertexAttribI1uiEXT) (GLuint, GLuint);
+
#define CALL_VertexAttribI1uiEXT(disp, parameters) \
(* GET_VertexAttribI1uiEXT(disp)) parameters
-static inline _glptr_VertexAttribI1uiEXT GET_VertexAttribI1uiEXT(struct _glapi_table *disp) {
- return (_glptr_VertexAttribI1uiEXT) (GET_by_offset(disp, _gloffset_VertexAttribI1uiEXT));
+static inline _glptr_VertexAttribI1uiEXT
+GET_VertexAttribI1uiEXT(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttribI1uiEXT) (GET_by_offset
+ (disp, _gloffset_VertexAttribI1uiEXT));
}
-static inline void SET_VertexAttribI1uiEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLuint)) {
- SET_by_offset(disp, _gloffset_VertexAttribI1uiEXT, fn);
+static inline void
+SET_VertexAttribI1uiEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLuint))
+{
+ SET_by_offset(disp, _gloffset_VertexAttribI1uiEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttribI1uivEXT)(GLuint, const GLuint *);
+typedef void (GLAPIENTRYP _glptr_VertexAttribI1uivEXT) (GLuint, const GLuint *);
+
#define CALL_VertexAttribI1uivEXT(disp, parameters) \
(* GET_VertexAttribI1uivEXT(disp)) parameters
-static inline _glptr_VertexAttribI1uivEXT GET_VertexAttribI1uivEXT(struct _glapi_table *disp) {
- return (_glptr_VertexAttribI1uivEXT) (GET_by_offset(disp, _gloffset_VertexAttribI1uivEXT));
+static inline _glptr_VertexAttribI1uivEXT
+GET_VertexAttribI1uivEXT(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttribI1uivEXT) (GET_by_offset
+ (disp,
+ _gloffset_VertexAttribI1uivEXT));
}
-static inline void SET_VertexAttribI1uivEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLuint *)) {
- SET_by_offset(disp, _gloffset_VertexAttribI1uivEXT, fn);
+static inline void
+SET_VertexAttribI1uivEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, const GLuint *))
+{
+ SET_by_offset(disp, _gloffset_VertexAttribI1uivEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttribI2iEXT)(GLuint, GLint, GLint);
+typedef void (GLAPIENTRYP _glptr_VertexAttribI2iEXT) (GLuint, GLint, GLint);
+
#define CALL_VertexAttribI2iEXT(disp, parameters) \
(* GET_VertexAttribI2iEXT(disp)) parameters
-static inline _glptr_VertexAttribI2iEXT GET_VertexAttribI2iEXT(struct _glapi_table *disp) {
- return (_glptr_VertexAttribI2iEXT) (GET_by_offset(disp, _gloffset_VertexAttribI2iEXT));
+static inline _glptr_VertexAttribI2iEXT
+GET_VertexAttribI2iEXT(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttribI2iEXT) (GET_by_offset
+ (disp, _gloffset_VertexAttribI2iEXT));
}
-static inline void SET_VertexAttribI2iEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLint, GLint)) {
- SET_by_offset(disp, _gloffset_VertexAttribI2iEXT, fn);
+static inline void
+SET_VertexAttribI2iEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLint, GLint))
+{
+ SET_by_offset(disp, _gloffset_VertexAttribI2iEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttribI2ivEXT)(GLuint, const GLint *);
+typedef void (GLAPIENTRYP _glptr_VertexAttribI2ivEXT) (GLuint, const GLint *);
+
#define CALL_VertexAttribI2ivEXT(disp, parameters) \
(* GET_VertexAttribI2ivEXT(disp)) parameters
-static inline _glptr_VertexAttribI2ivEXT GET_VertexAttribI2ivEXT(struct _glapi_table *disp) {
- return (_glptr_VertexAttribI2ivEXT) (GET_by_offset(disp, _gloffset_VertexAttribI2ivEXT));
+static inline _glptr_VertexAttribI2ivEXT
+GET_VertexAttribI2ivEXT(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttribI2ivEXT) (GET_by_offset
+ (disp, _gloffset_VertexAttribI2ivEXT));
}
-static inline void SET_VertexAttribI2ivEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLint *)) {
- SET_by_offset(disp, _gloffset_VertexAttribI2ivEXT, fn);
+static inline void
+SET_VertexAttribI2ivEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, const GLint *))
+{
+ SET_by_offset(disp, _gloffset_VertexAttribI2ivEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttribI2uiEXT)(GLuint, GLuint, GLuint);
+typedef void (GLAPIENTRYP _glptr_VertexAttribI2uiEXT) (GLuint, GLuint, GLuint);
+
#define CALL_VertexAttribI2uiEXT(disp, parameters) \
(* GET_VertexAttribI2uiEXT(disp)) parameters
-static inline _glptr_VertexAttribI2uiEXT GET_VertexAttribI2uiEXT(struct _glapi_table *disp) {
- return (_glptr_VertexAttribI2uiEXT) (GET_by_offset(disp, _gloffset_VertexAttribI2uiEXT));
+static inline _glptr_VertexAttribI2uiEXT
+GET_VertexAttribI2uiEXT(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttribI2uiEXT) (GET_by_offset
+ (disp, _gloffset_VertexAttribI2uiEXT));
}
-static inline void SET_VertexAttribI2uiEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLuint, GLuint)) {
- SET_by_offset(disp, _gloffset_VertexAttribI2uiEXT, fn);
+static inline void
+SET_VertexAttribI2uiEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLuint, GLuint))
+{
+ SET_by_offset(disp, _gloffset_VertexAttribI2uiEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttribI2uivEXT)(GLuint, const GLuint *);
+typedef void (GLAPIENTRYP _glptr_VertexAttribI2uivEXT) (GLuint, const GLuint *);
+
#define CALL_VertexAttribI2uivEXT(disp, parameters) \
(* GET_VertexAttribI2uivEXT(disp)) parameters
-static inline _glptr_VertexAttribI2uivEXT GET_VertexAttribI2uivEXT(struct _glapi_table *disp) {
- return (_glptr_VertexAttribI2uivEXT) (GET_by_offset(disp, _gloffset_VertexAttribI2uivEXT));
+static inline _glptr_VertexAttribI2uivEXT
+GET_VertexAttribI2uivEXT(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttribI2uivEXT) (GET_by_offset
+ (disp,
+ _gloffset_VertexAttribI2uivEXT));
}
-static inline void SET_VertexAttribI2uivEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLuint *)) {
- SET_by_offset(disp, _gloffset_VertexAttribI2uivEXT, fn);
+static inline void
+SET_VertexAttribI2uivEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, const GLuint *))
+{
+ SET_by_offset(disp, _gloffset_VertexAttribI2uivEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttribI3iEXT)(GLuint, GLint, GLint, GLint);
+typedef void (GLAPIENTRYP _glptr_VertexAttribI3iEXT) (GLuint, GLint, GLint,
+ GLint);
#define CALL_VertexAttribI3iEXT(disp, parameters) \
(* GET_VertexAttribI3iEXT(disp)) parameters
-static inline _glptr_VertexAttribI3iEXT GET_VertexAttribI3iEXT(struct _glapi_table *disp) {
- return (_glptr_VertexAttribI3iEXT) (GET_by_offset(disp, _gloffset_VertexAttribI3iEXT));
+static inline _glptr_VertexAttribI3iEXT
+GET_VertexAttribI3iEXT(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttribI3iEXT) (GET_by_offset
+ (disp, _gloffset_VertexAttribI3iEXT));
}
-static inline void SET_VertexAttribI3iEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLint, GLint, GLint)) {
- SET_by_offset(disp, _gloffset_VertexAttribI3iEXT, fn);
+static inline void
+SET_VertexAttribI3iEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLint, GLint, GLint))
+{
+ SET_by_offset(disp, _gloffset_VertexAttribI3iEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttribI3ivEXT)(GLuint, const GLint *);
+typedef void (GLAPIENTRYP _glptr_VertexAttribI3ivEXT) (GLuint, const GLint *);
+
#define CALL_VertexAttribI3ivEXT(disp, parameters) \
(* GET_VertexAttribI3ivEXT(disp)) parameters
-static inline _glptr_VertexAttribI3ivEXT GET_VertexAttribI3ivEXT(struct _glapi_table *disp) {
- return (_glptr_VertexAttribI3ivEXT) (GET_by_offset(disp, _gloffset_VertexAttribI3ivEXT));
+static inline _glptr_VertexAttribI3ivEXT
+GET_VertexAttribI3ivEXT(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttribI3ivEXT) (GET_by_offset
+ (disp, _gloffset_VertexAttribI3ivEXT));
}
-static inline void SET_VertexAttribI3ivEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLint *)) {
- SET_by_offset(disp, _gloffset_VertexAttribI3ivEXT, fn);
+static inline void
+SET_VertexAttribI3ivEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, const GLint *))
+{
+ SET_by_offset(disp, _gloffset_VertexAttribI3ivEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttribI3uiEXT)(GLuint, GLuint, GLuint, GLuint);
+typedef void (GLAPIENTRYP _glptr_VertexAttribI3uiEXT) (GLuint, GLuint, GLuint,
+ GLuint);
#define CALL_VertexAttribI3uiEXT(disp, parameters) \
(* GET_VertexAttribI3uiEXT(disp)) parameters
-static inline _glptr_VertexAttribI3uiEXT GET_VertexAttribI3uiEXT(struct _glapi_table *disp) {
- return (_glptr_VertexAttribI3uiEXT) (GET_by_offset(disp, _gloffset_VertexAttribI3uiEXT));
+static inline _glptr_VertexAttribI3uiEXT
+GET_VertexAttribI3uiEXT(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttribI3uiEXT) (GET_by_offset
+ (disp, _gloffset_VertexAttribI3uiEXT));
}
-static inline void SET_VertexAttribI3uiEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLuint, GLuint, GLuint)) {
- SET_by_offset(disp, _gloffset_VertexAttribI3uiEXT, fn);
+static inline void
+SET_VertexAttribI3uiEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLuint, GLuint, GLuint))
+{
+ SET_by_offset(disp, _gloffset_VertexAttribI3uiEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttribI3uivEXT)(GLuint, const GLuint *);
+typedef void (GLAPIENTRYP _glptr_VertexAttribI3uivEXT) (GLuint, const GLuint *);
+
#define CALL_VertexAttribI3uivEXT(disp, parameters) \
(* GET_VertexAttribI3uivEXT(disp)) parameters
-static inline _glptr_VertexAttribI3uivEXT GET_VertexAttribI3uivEXT(struct _glapi_table *disp) {
- return (_glptr_VertexAttribI3uivEXT) (GET_by_offset(disp, _gloffset_VertexAttribI3uivEXT));
+static inline _glptr_VertexAttribI3uivEXT
+GET_VertexAttribI3uivEXT(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttribI3uivEXT) (GET_by_offset
+ (disp,
+ _gloffset_VertexAttribI3uivEXT));
}
-static inline void SET_VertexAttribI3uivEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLuint *)) {
- SET_by_offset(disp, _gloffset_VertexAttribI3uivEXT, fn);
+static inline void
+SET_VertexAttribI3uivEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, const GLuint *))
+{
+ SET_by_offset(disp, _gloffset_VertexAttribI3uivEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttribI4bvEXT)(GLuint, const GLbyte *);
+typedef void (GLAPIENTRYP _glptr_VertexAttribI4bvEXT) (GLuint, const GLbyte *);
+
#define CALL_VertexAttribI4bvEXT(disp, parameters) \
(* GET_VertexAttribI4bvEXT(disp)) parameters
-static inline _glptr_VertexAttribI4bvEXT GET_VertexAttribI4bvEXT(struct _glapi_table *disp) {
- return (_glptr_VertexAttribI4bvEXT) (GET_by_offset(disp, _gloffset_VertexAttribI4bvEXT));
+static inline _glptr_VertexAttribI4bvEXT
+GET_VertexAttribI4bvEXT(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttribI4bvEXT) (GET_by_offset
+ (disp, _gloffset_VertexAttribI4bvEXT));
}
-static inline void SET_VertexAttribI4bvEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLbyte *)) {
- SET_by_offset(disp, _gloffset_VertexAttribI4bvEXT, fn);
+static inline void
+SET_VertexAttribI4bvEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, const GLbyte *))
+{
+ SET_by_offset(disp, _gloffset_VertexAttribI4bvEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttribI4iEXT)(GLuint, GLint, GLint, GLint, GLint);
+typedef void (GLAPIENTRYP _glptr_VertexAttribI4iEXT) (GLuint, GLint, GLint,
+ GLint, GLint);
#define CALL_VertexAttribI4iEXT(disp, parameters) \
(* GET_VertexAttribI4iEXT(disp)) parameters
-static inline _glptr_VertexAttribI4iEXT GET_VertexAttribI4iEXT(struct _glapi_table *disp) {
- return (_glptr_VertexAttribI4iEXT) (GET_by_offset(disp, _gloffset_VertexAttribI4iEXT));
+static inline _glptr_VertexAttribI4iEXT
+GET_VertexAttribI4iEXT(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttribI4iEXT) (GET_by_offset
+ (disp, _gloffset_VertexAttribI4iEXT));
}
-static inline void SET_VertexAttribI4iEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLint, GLint, GLint, GLint)) {
- SET_by_offset(disp, _gloffset_VertexAttribI4iEXT, fn);
+static inline void
+SET_VertexAttribI4iEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLint, GLint, GLint,
+ GLint))
+{
+ SET_by_offset(disp, _gloffset_VertexAttribI4iEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttribI4ivEXT)(GLuint, const GLint *);
+typedef void (GLAPIENTRYP _glptr_VertexAttribI4ivEXT) (GLuint, const GLint *);
+
#define CALL_VertexAttribI4ivEXT(disp, parameters) \
(* GET_VertexAttribI4ivEXT(disp)) parameters
-static inline _glptr_VertexAttribI4ivEXT GET_VertexAttribI4ivEXT(struct _glapi_table *disp) {
- return (_glptr_VertexAttribI4ivEXT) (GET_by_offset(disp, _gloffset_VertexAttribI4ivEXT));
+static inline _glptr_VertexAttribI4ivEXT
+GET_VertexAttribI4ivEXT(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttribI4ivEXT) (GET_by_offset
+ (disp, _gloffset_VertexAttribI4ivEXT));
}
-static inline void SET_VertexAttribI4ivEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLint *)) {
- SET_by_offset(disp, _gloffset_VertexAttribI4ivEXT, fn);
+static inline void
+SET_VertexAttribI4ivEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, const GLint *))
+{
+ SET_by_offset(disp, _gloffset_VertexAttribI4ivEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttribI4svEXT)(GLuint, const GLshort *);
+typedef void (GLAPIENTRYP _glptr_VertexAttribI4svEXT) (GLuint, const GLshort *);
+
#define CALL_VertexAttribI4svEXT(disp, parameters) \
(* GET_VertexAttribI4svEXT(disp)) parameters
-static inline _glptr_VertexAttribI4svEXT GET_VertexAttribI4svEXT(struct _glapi_table *disp) {
- return (_glptr_VertexAttribI4svEXT) (GET_by_offset(disp, _gloffset_VertexAttribI4svEXT));
+static inline _glptr_VertexAttribI4svEXT
+GET_VertexAttribI4svEXT(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttribI4svEXT) (GET_by_offset
+ (disp, _gloffset_VertexAttribI4svEXT));
}
-static inline void SET_VertexAttribI4svEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLshort *)) {
- SET_by_offset(disp, _gloffset_VertexAttribI4svEXT, fn);
+static inline void
+SET_VertexAttribI4svEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, const GLshort *))
+{
+ SET_by_offset(disp, _gloffset_VertexAttribI4svEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttribI4ubvEXT)(GLuint, const GLubyte *);
+typedef void (GLAPIENTRYP _glptr_VertexAttribI4ubvEXT) (GLuint,
+ const GLubyte *);
#define CALL_VertexAttribI4ubvEXT(disp, parameters) \
(* GET_VertexAttribI4ubvEXT(disp)) parameters
-static inline _glptr_VertexAttribI4ubvEXT GET_VertexAttribI4ubvEXT(struct _glapi_table *disp) {
- return (_glptr_VertexAttribI4ubvEXT) (GET_by_offset(disp, _gloffset_VertexAttribI4ubvEXT));
+static inline _glptr_VertexAttribI4ubvEXT
+GET_VertexAttribI4ubvEXT(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttribI4ubvEXT) (GET_by_offset
+ (disp,
+ _gloffset_VertexAttribI4ubvEXT));
}
-static inline void SET_VertexAttribI4ubvEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLubyte *)) {
- SET_by_offset(disp, _gloffset_VertexAttribI4ubvEXT, fn);
+static inline void
+SET_VertexAttribI4ubvEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, const GLubyte *))
+{
+ SET_by_offset(disp, _gloffset_VertexAttribI4ubvEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttribI4uiEXT)(GLuint, GLuint, GLuint, GLuint, GLuint);
+typedef void (GLAPIENTRYP _glptr_VertexAttribI4uiEXT) (GLuint, GLuint, GLuint,
+ GLuint, GLuint);
#define CALL_VertexAttribI4uiEXT(disp, parameters) \
(* GET_VertexAttribI4uiEXT(disp)) parameters
-static inline _glptr_VertexAttribI4uiEXT GET_VertexAttribI4uiEXT(struct _glapi_table *disp) {
- return (_glptr_VertexAttribI4uiEXT) (GET_by_offset(disp, _gloffset_VertexAttribI4uiEXT));
+static inline _glptr_VertexAttribI4uiEXT
+GET_VertexAttribI4uiEXT(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttribI4uiEXT) (GET_by_offset
+ (disp, _gloffset_VertexAttribI4uiEXT));
}
-static inline void SET_VertexAttribI4uiEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLuint, GLuint, GLuint, GLuint)) {
- SET_by_offset(disp, _gloffset_VertexAttribI4uiEXT, fn);
+static inline void
+SET_VertexAttribI4uiEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLuint, GLuint, GLuint,
+ GLuint))
+{
+ SET_by_offset(disp, _gloffset_VertexAttribI4uiEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttribI4uivEXT)(GLuint, const GLuint *);
+typedef void (GLAPIENTRYP _glptr_VertexAttribI4uivEXT) (GLuint, const GLuint *);
+
#define CALL_VertexAttribI4uivEXT(disp, parameters) \
(* GET_VertexAttribI4uivEXT(disp)) parameters
-static inline _glptr_VertexAttribI4uivEXT GET_VertexAttribI4uivEXT(struct _glapi_table *disp) {
- return (_glptr_VertexAttribI4uivEXT) (GET_by_offset(disp, _gloffset_VertexAttribI4uivEXT));
+static inline _glptr_VertexAttribI4uivEXT
+GET_VertexAttribI4uivEXT(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttribI4uivEXT) (GET_by_offset
+ (disp,
+ _gloffset_VertexAttribI4uivEXT));
}
-static inline void SET_VertexAttribI4uivEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLuint *)) {
- SET_by_offset(disp, _gloffset_VertexAttribI4uivEXT, fn);
+static inline void
+SET_VertexAttribI4uivEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, const GLuint *))
+{
+ SET_by_offset(disp, _gloffset_VertexAttribI4uivEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttribI4usvEXT)(GLuint, const GLushort *);
+typedef void (GLAPIENTRYP _glptr_VertexAttribI4usvEXT) (GLuint,
+ const GLushort *);
#define CALL_VertexAttribI4usvEXT(disp, parameters) \
(* GET_VertexAttribI4usvEXT(disp)) parameters
-static inline _glptr_VertexAttribI4usvEXT GET_VertexAttribI4usvEXT(struct _glapi_table *disp) {
- return (_glptr_VertexAttribI4usvEXT) (GET_by_offset(disp, _gloffset_VertexAttribI4usvEXT));
+static inline _glptr_VertexAttribI4usvEXT
+GET_VertexAttribI4usvEXT(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttribI4usvEXT) (GET_by_offset
+ (disp,
+ _gloffset_VertexAttribI4usvEXT));
}
-static inline void SET_VertexAttribI4usvEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, const GLushort *)) {
- SET_by_offset(disp, _gloffset_VertexAttribI4usvEXT, fn);
+static inline void
+SET_VertexAttribI4usvEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, const GLushort *))
+{
+ SET_by_offset(disp, _gloffset_VertexAttribI4usvEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_VertexAttribIPointerEXT)(GLuint, GLint, GLenum, GLsizei, const GLvoid *);
+typedef void (GLAPIENTRYP _glptr_VertexAttribIPointerEXT) (GLuint, GLint,
+ GLenum, GLsizei,
+ const GLvoid *);
#define CALL_VertexAttribIPointerEXT(disp, parameters) \
(* GET_VertexAttribIPointerEXT(disp)) parameters
-static inline _glptr_VertexAttribIPointerEXT GET_VertexAttribIPointerEXT(struct _glapi_table *disp) {
- return (_glptr_VertexAttribIPointerEXT) (GET_by_offset(disp, _gloffset_VertexAttribIPointerEXT));
+static inline _glptr_VertexAttribIPointerEXT
+GET_VertexAttribIPointerEXT(struct _glapi_table *disp)
+{
+ return (_glptr_VertexAttribIPointerEXT) (GET_by_offset
+ (disp,
+ _gloffset_VertexAttribIPointerEXT));
}
-static inline void SET_VertexAttribIPointerEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLint, GLenum, GLsizei, const GLvoid *)) {
- SET_by_offset(disp, _gloffset_VertexAttribIPointerEXT, fn);
+static inline void
+SET_VertexAttribIPointerEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLint, GLenum,
+ GLsizei, const GLvoid *))
+{
+ SET_by_offset(disp, _gloffset_VertexAttribIPointerEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_FramebufferTextureLayerEXT)(GLenum, GLenum, GLuint, GLint, GLint);
+typedef void (GLAPIENTRYP _glptr_FramebufferTextureLayerEXT) (GLenum, GLenum,
+ GLuint, GLint,
+ GLint);
#define CALL_FramebufferTextureLayerEXT(disp, parameters) \
(* GET_FramebufferTextureLayerEXT(disp)) parameters
-static inline _glptr_FramebufferTextureLayerEXT GET_FramebufferTextureLayerEXT(struct _glapi_table *disp) {
- return (_glptr_FramebufferTextureLayerEXT) (GET_by_offset(disp, _gloffset_FramebufferTextureLayerEXT));
+static inline _glptr_FramebufferTextureLayerEXT
+GET_FramebufferTextureLayerEXT(struct _glapi_table *disp)
+{
+ return (_glptr_FramebufferTextureLayerEXT) (GET_by_offset
+ (disp,
+ _gloffset_FramebufferTextureLayerEXT));
}
-static inline void SET_FramebufferTextureLayerEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLuint, GLint, GLint)) {
- SET_by_offset(disp, _gloffset_FramebufferTextureLayerEXT, fn);
+static inline void
+SET_FramebufferTextureLayerEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, GLuint,
+ GLint, GLint))
+{
+ SET_by_offset(disp, _gloffset_FramebufferTextureLayerEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_ColorMaskIndexedEXT)(GLuint, GLboolean, GLboolean, GLboolean, GLboolean);
+typedef void (GLAPIENTRYP _glptr_ColorMaskIndexedEXT) (GLuint, GLboolean,
+ GLboolean, GLboolean,
+ GLboolean);
#define CALL_ColorMaskIndexedEXT(disp, parameters) \
(* GET_ColorMaskIndexedEXT(disp)) parameters
-static inline _glptr_ColorMaskIndexedEXT GET_ColorMaskIndexedEXT(struct _glapi_table *disp) {
- return (_glptr_ColorMaskIndexedEXT) (GET_by_offset(disp, _gloffset_ColorMaskIndexedEXT));
+static inline _glptr_ColorMaskIndexedEXT
+GET_ColorMaskIndexedEXT(struct _glapi_table *disp)
+{
+ return (_glptr_ColorMaskIndexedEXT) (GET_by_offset
+ (disp, _gloffset_ColorMaskIndexedEXT));
}
-static inline void SET_ColorMaskIndexedEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLboolean, GLboolean, GLboolean, GLboolean)) {
- SET_by_offset(disp, _gloffset_ColorMaskIndexedEXT, fn);
+static inline void
+SET_ColorMaskIndexedEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLboolean, GLboolean,
+ GLboolean, GLboolean))
+{
+ SET_by_offset(disp, _gloffset_ColorMaskIndexedEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_DisableIndexedEXT)(GLenum, GLuint);
+typedef void (GLAPIENTRYP _glptr_DisableIndexedEXT) (GLenum, GLuint);
+
#define CALL_DisableIndexedEXT(disp, parameters) \
(* GET_DisableIndexedEXT(disp)) parameters
-static inline _glptr_DisableIndexedEXT GET_DisableIndexedEXT(struct _glapi_table *disp) {
- return (_glptr_DisableIndexedEXT) (GET_by_offset(disp, _gloffset_DisableIndexedEXT));
+static inline _glptr_DisableIndexedEXT
+GET_DisableIndexedEXT(struct _glapi_table *disp)
+{
+ return (_glptr_DisableIndexedEXT) (GET_by_offset
+ (disp, _gloffset_DisableIndexedEXT));
}
-static inline void SET_DisableIndexedEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint)) {
- SET_by_offset(disp, _gloffset_DisableIndexedEXT, fn);
+static inline void
+SET_DisableIndexedEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLuint))
+{
+ SET_by_offset(disp, _gloffset_DisableIndexedEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_EnableIndexedEXT)(GLenum, GLuint);
+typedef void (GLAPIENTRYP _glptr_EnableIndexedEXT) (GLenum, GLuint);
+
#define CALL_EnableIndexedEXT(disp, parameters) \
(* GET_EnableIndexedEXT(disp)) parameters
-static inline _glptr_EnableIndexedEXT GET_EnableIndexedEXT(struct _glapi_table *disp) {
- return (_glptr_EnableIndexedEXT) (GET_by_offset(disp, _gloffset_EnableIndexedEXT));
+static inline _glptr_EnableIndexedEXT
+GET_EnableIndexedEXT(struct _glapi_table *disp)
+{
+ return (_glptr_EnableIndexedEXT) (GET_by_offset
+ (disp, _gloffset_EnableIndexedEXT));
}
-static inline void SET_EnableIndexedEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint)) {
- SET_by_offset(disp, _gloffset_EnableIndexedEXT, fn);
+static inline void
+SET_EnableIndexedEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLuint))
+{
+ SET_by_offset(disp, _gloffset_EnableIndexedEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetBooleanIndexedvEXT)(GLenum, GLuint, GLboolean *);
+typedef void (GLAPIENTRYP _glptr_GetBooleanIndexedvEXT) (GLenum, GLuint,
+ GLboolean *);
#define CALL_GetBooleanIndexedvEXT(disp, parameters) \
(* GET_GetBooleanIndexedvEXT(disp)) parameters
-static inline _glptr_GetBooleanIndexedvEXT GET_GetBooleanIndexedvEXT(struct _glapi_table *disp) {
- return (_glptr_GetBooleanIndexedvEXT) (GET_by_offset(disp, _gloffset_GetBooleanIndexedvEXT));
+static inline _glptr_GetBooleanIndexedvEXT
+GET_GetBooleanIndexedvEXT(struct _glapi_table *disp)
+{
+ return (_glptr_GetBooleanIndexedvEXT) (GET_by_offset
+ (disp,
+ _gloffset_GetBooleanIndexedvEXT));
}
-static inline void SET_GetBooleanIndexedvEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLboolean *)) {
- SET_by_offset(disp, _gloffset_GetBooleanIndexedvEXT, fn);
+static inline void
+SET_GetBooleanIndexedvEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLuint, GLboolean *))
+{
+ SET_by_offset(disp, _gloffset_GetBooleanIndexedvEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetIntegerIndexedvEXT)(GLenum, GLuint, GLint *);
+typedef void (GLAPIENTRYP _glptr_GetIntegerIndexedvEXT) (GLenum, GLuint,
+ GLint *);
#define CALL_GetIntegerIndexedvEXT(disp, parameters) \
(* GET_GetIntegerIndexedvEXT(disp)) parameters
-static inline _glptr_GetIntegerIndexedvEXT GET_GetIntegerIndexedvEXT(struct _glapi_table *disp) {
- return (_glptr_GetIntegerIndexedvEXT) (GET_by_offset(disp, _gloffset_GetIntegerIndexedvEXT));
+static inline _glptr_GetIntegerIndexedvEXT
+GET_GetIntegerIndexedvEXT(struct _glapi_table *disp)
+{
+ return (_glptr_GetIntegerIndexedvEXT) (GET_by_offset
+ (disp,
+ _gloffset_GetIntegerIndexedvEXT));
}
-static inline void SET_GetIntegerIndexedvEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLint *)) {
- SET_by_offset(disp, _gloffset_GetIntegerIndexedvEXT, fn);
+static inline void
+SET_GetIntegerIndexedvEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLuint, GLint *))
+{
+ SET_by_offset(disp, _gloffset_GetIntegerIndexedvEXT, fn);
}
-typedef GLboolean (GLAPIENTRYP _glptr_IsEnabledIndexedEXT)(GLenum, GLuint);
+typedef GLboolean(GLAPIENTRYP _glptr_IsEnabledIndexedEXT) (GLenum, GLuint);
+
#define CALL_IsEnabledIndexedEXT(disp, parameters) \
(* GET_IsEnabledIndexedEXT(disp)) parameters
-static inline _glptr_IsEnabledIndexedEXT GET_IsEnabledIndexedEXT(struct _glapi_table *disp) {
- return (_glptr_IsEnabledIndexedEXT) (GET_by_offset(disp, _gloffset_IsEnabledIndexedEXT));
+static inline _glptr_IsEnabledIndexedEXT
+GET_IsEnabledIndexedEXT(struct _glapi_table *disp)
+{
+ return (_glptr_IsEnabledIndexedEXT) (GET_by_offset
+ (disp, _gloffset_IsEnabledIndexedEXT));
}
-static inline void SET_IsEnabledIndexedEXT(struct _glapi_table *disp, GLboolean (GLAPIENTRYP fn)(GLenum, GLuint)) {
- SET_by_offset(disp, _gloffset_IsEnabledIndexedEXT, fn);
+static inline void
+SET_IsEnabledIndexedEXT(struct _glapi_table *disp,
+ GLboolean(GLAPIENTRYP fn) (GLenum, GLuint))
+{
+ SET_by_offset(disp, _gloffset_IsEnabledIndexedEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_ClearColorIiEXT)(GLint, GLint, GLint, GLint);
+typedef void (GLAPIENTRYP _glptr_ClearColorIiEXT) (GLint, GLint, GLint, GLint);
+
#define CALL_ClearColorIiEXT(disp, parameters) \
(* GET_ClearColorIiEXT(disp)) parameters
-static inline _glptr_ClearColorIiEXT GET_ClearColorIiEXT(struct _glapi_table *disp) {
- return (_glptr_ClearColorIiEXT) (GET_by_offset(disp, _gloffset_ClearColorIiEXT));
+static inline _glptr_ClearColorIiEXT
+GET_ClearColorIiEXT(struct _glapi_table *disp)
+{
+ return (_glptr_ClearColorIiEXT) (GET_by_offset
+ (disp, _gloffset_ClearColorIiEXT));
}
-static inline void SET_ClearColorIiEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLint, GLint, GLint, GLint)) {
- SET_by_offset(disp, _gloffset_ClearColorIiEXT, fn);
+static inline void
+SET_ClearColorIiEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLint, GLint, GLint, GLint))
+{
+ SET_by_offset(disp, _gloffset_ClearColorIiEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_ClearColorIuiEXT)(GLuint, GLuint, GLuint, GLuint);
+typedef void (GLAPIENTRYP _glptr_ClearColorIuiEXT) (GLuint, GLuint, GLuint,
+ GLuint);
#define CALL_ClearColorIuiEXT(disp, parameters) \
(* GET_ClearColorIuiEXT(disp)) parameters
-static inline _glptr_ClearColorIuiEXT GET_ClearColorIuiEXT(struct _glapi_table *disp) {
- return (_glptr_ClearColorIuiEXT) (GET_by_offset(disp, _gloffset_ClearColorIuiEXT));
+static inline _glptr_ClearColorIuiEXT
+GET_ClearColorIuiEXT(struct _glapi_table *disp)
+{
+ return (_glptr_ClearColorIuiEXT) (GET_by_offset
+ (disp, _gloffset_ClearColorIuiEXT));
}
-static inline void SET_ClearColorIuiEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLuint, GLuint, GLuint)) {
- SET_by_offset(disp, _gloffset_ClearColorIuiEXT, fn);
+static inline void
+SET_ClearColorIuiEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLuint, GLuint, GLuint))
+{
+ SET_by_offset(disp, _gloffset_ClearColorIuiEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetTexParameterIivEXT)(GLenum, GLenum, GLint *);
+typedef void (GLAPIENTRYP _glptr_GetTexParameterIivEXT) (GLenum, GLenum,
+ GLint *);
#define CALL_GetTexParameterIivEXT(disp, parameters) \
(* GET_GetTexParameterIivEXT(disp)) parameters
-static inline _glptr_GetTexParameterIivEXT GET_GetTexParameterIivEXT(struct _glapi_table *disp) {
- return (_glptr_GetTexParameterIivEXT) (GET_by_offset(disp, _gloffset_GetTexParameterIivEXT));
+static inline _glptr_GetTexParameterIivEXT
+GET_GetTexParameterIivEXT(struct _glapi_table *disp)
+{
+ return (_glptr_GetTexParameterIivEXT) (GET_by_offset
+ (disp,
+ _gloffset_GetTexParameterIivEXT));
}
-static inline void SET_GetTexParameterIivEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint *)) {
- SET_by_offset(disp, _gloffset_GetTexParameterIivEXT, fn);
+static inline void
+SET_GetTexParameterIivEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, GLint *))
+{
+ SET_by_offset(disp, _gloffset_GetTexParameterIivEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetTexParameterIuivEXT)(GLenum, GLenum, GLuint *);
+typedef void (GLAPIENTRYP _glptr_GetTexParameterIuivEXT) (GLenum, GLenum,
+ GLuint *);
#define CALL_GetTexParameterIuivEXT(disp, parameters) \
(* GET_GetTexParameterIuivEXT(disp)) parameters
-static inline _glptr_GetTexParameterIuivEXT GET_GetTexParameterIuivEXT(struct _glapi_table *disp) {
- return (_glptr_GetTexParameterIuivEXT) (GET_by_offset(disp, _gloffset_GetTexParameterIuivEXT));
+static inline _glptr_GetTexParameterIuivEXT
+GET_GetTexParameterIuivEXT(struct _glapi_table *disp)
+{
+ return (_glptr_GetTexParameterIuivEXT) (GET_by_offset
+ (disp,
+ _gloffset_GetTexParameterIuivEXT));
}
-static inline void SET_GetTexParameterIuivEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLuint *)) {
- SET_by_offset(disp, _gloffset_GetTexParameterIuivEXT, fn);
+static inline void
+SET_GetTexParameterIuivEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, GLuint *))
+{
+ SET_by_offset(disp, _gloffset_GetTexParameterIuivEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_TexParameterIivEXT)(GLenum, GLenum, const GLint *);
+typedef void (GLAPIENTRYP _glptr_TexParameterIivEXT) (GLenum, GLenum,
+ const GLint *);
#define CALL_TexParameterIivEXT(disp, parameters) \
(* GET_TexParameterIivEXT(disp)) parameters
-static inline _glptr_TexParameterIivEXT GET_TexParameterIivEXT(struct _glapi_table *disp) {
- return (_glptr_TexParameterIivEXT) (GET_by_offset(disp, _gloffset_TexParameterIivEXT));
+static inline _glptr_TexParameterIivEXT
+GET_TexParameterIivEXT(struct _glapi_table *disp)
+{
+ return (_glptr_TexParameterIivEXT) (GET_by_offset
+ (disp, _gloffset_TexParameterIivEXT));
}
-static inline void SET_TexParameterIivEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLint *)) {
- SET_by_offset(disp, _gloffset_TexParameterIivEXT, fn);
+static inline void
+SET_TexParameterIivEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, const GLint *))
+{
+ SET_by_offset(disp, _gloffset_TexParameterIivEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_TexParameterIuivEXT)(GLenum, GLenum, const GLuint *);
+typedef void (GLAPIENTRYP _glptr_TexParameterIuivEXT) (GLenum, GLenum,
+ const GLuint *);
#define CALL_TexParameterIuivEXT(disp, parameters) \
(* GET_TexParameterIuivEXT(disp)) parameters
-static inline _glptr_TexParameterIuivEXT GET_TexParameterIuivEXT(struct _glapi_table *disp) {
- return (_glptr_TexParameterIuivEXT) (GET_by_offset(disp, _gloffset_TexParameterIuivEXT));
+static inline _glptr_TexParameterIuivEXT
+GET_TexParameterIuivEXT(struct _glapi_table *disp)
+{
+ return (_glptr_TexParameterIuivEXT) (GET_by_offset
+ (disp, _gloffset_TexParameterIuivEXT));
}
-static inline void SET_TexParameterIuivEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, const GLuint *)) {
- SET_by_offset(disp, _gloffset_TexParameterIuivEXT, fn);
+static inline void
+SET_TexParameterIuivEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, const GLuint *))
+{
+ SET_by_offset(disp, _gloffset_TexParameterIuivEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_BeginConditionalRenderNV)(GLuint, GLenum);
+typedef void (GLAPIENTRYP _glptr_BeginConditionalRenderNV) (GLuint, GLenum);
+
#define CALL_BeginConditionalRenderNV(disp, parameters) \
(* GET_BeginConditionalRenderNV(disp)) parameters
-static inline _glptr_BeginConditionalRenderNV GET_BeginConditionalRenderNV(struct _glapi_table *disp) {
- return (_glptr_BeginConditionalRenderNV) (GET_by_offset(disp, _gloffset_BeginConditionalRenderNV));
+static inline _glptr_BeginConditionalRenderNV
+GET_BeginConditionalRenderNV(struct _glapi_table *disp)
+{
+ return (_glptr_BeginConditionalRenderNV) (GET_by_offset
+ (disp,
+ _gloffset_BeginConditionalRenderNV));
}
-static inline void SET_BeginConditionalRenderNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum)) {
- SET_by_offset(disp, _gloffset_BeginConditionalRenderNV, fn);
+static inline void
+SET_BeginConditionalRenderNV(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLenum))
+{
+ SET_by_offset(disp, _gloffset_BeginConditionalRenderNV, fn);
}
-typedef void (GLAPIENTRYP _glptr_EndConditionalRenderNV)(void);
+typedef void (GLAPIENTRYP _glptr_EndConditionalRenderNV) (void);
+
#define CALL_EndConditionalRenderNV(disp, parameters) \
(* GET_EndConditionalRenderNV(disp)) parameters
-static inline _glptr_EndConditionalRenderNV GET_EndConditionalRenderNV(struct _glapi_table *disp) {
- return (_glptr_EndConditionalRenderNV) (GET_by_offset(disp, _gloffset_EndConditionalRenderNV));
+static inline _glptr_EndConditionalRenderNV
+GET_EndConditionalRenderNV(struct _glapi_table *disp)
+{
+ return (_glptr_EndConditionalRenderNV) (GET_by_offset
+ (disp,
+ _gloffset_EndConditionalRenderNV));
}
-static inline void SET_EndConditionalRenderNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) {
- SET_by_offset(disp, _gloffset_EndConditionalRenderNV, fn);
+static inline void
+SET_EndConditionalRenderNV(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (void))
+{
+ SET_by_offset(disp, _gloffset_EndConditionalRenderNV, fn);
}
-typedef void (GLAPIENTRYP _glptr_BeginTransformFeedbackEXT)(GLenum);
+typedef void (GLAPIENTRYP _glptr_BeginTransformFeedbackEXT) (GLenum);
+
#define CALL_BeginTransformFeedbackEXT(disp, parameters) \
(* GET_BeginTransformFeedbackEXT(disp)) parameters
-static inline _glptr_BeginTransformFeedbackEXT GET_BeginTransformFeedbackEXT(struct _glapi_table *disp) {
- return (_glptr_BeginTransformFeedbackEXT) (GET_by_offset(disp, _gloffset_BeginTransformFeedbackEXT));
+static inline _glptr_BeginTransformFeedbackEXT
+GET_BeginTransformFeedbackEXT(struct _glapi_table *disp)
+{
+ return (_glptr_BeginTransformFeedbackEXT) (GET_by_offset
+ (disp,
+ _gloffset_BeginTransformFeedbackEXT));
}
-static inline void SET_BeginTransformFeedbackEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) {
- SET_by_offset(disp, _gloffset_BeginTransformFeedbackEXT, fn);
+static inline void
+SET_BeginTransformFeedbackEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum))
+{
+ SET_by_offset(disp, _gloffset_BeginTransformFeedbackEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_BindBufferBaseEXT)(GLenum, GLuint, GLuint);
+typedef void (GLAPIENTRYP _glptr_BindBufferBaseEXT) (GLenum, GLuint, GLuint);
+
#define CALL_BindBufferBaseEXT(disp, parameters) \
(* GET_BindBufferBaseEXT(disp)) parameters
-static inline _glptr_BindBufferBaseEXT GET_BindBufferBaseEXT(struct _glapi_table *disp) {
- return (_glptr_BindBufferBaseEXT) (GET_by_offset(disp, _gloffset_BindBufferBaseEXT));
+static inline _glptr_BindBufferBaseEXT
+GET_BindBufferBaseEXT(struct _glapi_table *disp)
+{
+ return (_glptr_BindBufferBaseEXT) (GET_by_offset
+ (disp, _gloffset_BindBufferBaseEXT));
}
-static inline void SET_BindBufferBaseEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLuint)) {
- SET_by_offset(disp, _gloffset_BindBufferBaseEXT, fn);
+static inline void
+SET_BindBufferBaseEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLuint, GLuint))
+{
+ SET_by_offset(disp, _gloffset_BindBufferBaseEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_BindBufferOffsetEXT)(GLenum, GLuint, GLuint, GLintptr);
+typedef void (GLAPIENTRYP _glptr_BindBufferOffsetEXT) (GLenum, GLuint, GLuint,
+ GLintptr);
#define CALL_BindBufferOffsetEXT(disp, parameters) \
(* GET_BindBufferOffsetEXT(disp)) parameters
-static inline _glptr_BindBufferOffsetEXT GET_BindBufferOffsetEXT(struct _glapi_table *disp) {
- return (_glptr_BindBufferOffsetEXT) (GET_by_offset(disp, _gloffset_BindBufferOffsetEXT));
+static inline _glptr_BindBufferOffsetEXT
+GET_BindBufferOffsetEXT(struct _glapi_table *disp)
+{
+ return (_glptr_BindBufferOffsetEXT) (GET_by_offset
+ (disp, _gloffset_BindBufferOffsetEXT));
}
-static inline void SET_BindBufferOffsetEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLuint, GLintptr)) {
- SET_by_offset(disp, _gloffset_BindBufferOffsetEXT, fn);
+static inline void
+SET_BindBufferOffsetEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLuint, GLuint,
+ GLintptr))
+{
+ SET_by_offset(disp, _gloffset_BindBufferOffsetEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_BindBufferRangeEXT)(GLenum, GLuint, GLuint, GLintptr, GLsizeiptr);
+typedef void (GLAPIENTRYP _glptr_BindBufferRangeEXT) (GLenum, GLuint, GLuint,
+ GLintptr, GLsizeiptr);
#define CALL_BindBufferRangeEXT(disp, parameters) \
(* GET_BindBufferRangeEXT(disp)) parameters
-static inline _glptr_BindBufferRangeEXT GET_BindBufferRangeEXT(struct _glapi_table *disp) {
- return (_glptr_BindBufferRangeEXT) (GET_by_offset(disp, _gloffset_BindBufferRangeEXT));
+static inline _glptr_BindBufferRangeEXT
+GET_BindBufferRangeEXT(struct _glapi_table *disp)
+{
+ return (_glptr_BindBufferRangeEXT) (GET_by_offset
+ (disp, _gloffset_BindBufferRangeEXT));
}
-static inline void SET_BindBufferRangeEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLuint, GLintptr, GLsizeiptr)) {
- SET_by_offset(disp, _gloffset_BindBufferRangeEXT, fn);
+static inline void
+SET_BindBufferRangeEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLuint, GLuint, GLintptr,
+ GLsizeiptr))
+{
+ SET_by_offset(disp, _gloffset_BindBufferRangeEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_EndTransformFeedbackEXT)(void);
+typedef void (GLAPIENTRYP _glptr_EndTransformFeedbackEXT) (void);
+
#define CALL_EndTransformFeedbackEXT(disp, parameters) \
(* GET_EndTransformFeedbackEXT(disp)) parameters
-static inline _glptr_EndTransformFeedbackEXT GET_EndTransformFeedbackEXT(struct _glapi_table *disp) {
- return (_glptr_EndTransformFeedbackEXT) (GET_by_offset(disp, _gloffset_EndTransformFeedbackEXT));
-}
-
-static inline void SET_EndTransformFeedbackEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) {
- SET_by_offset(disp, _gloffset_EndTransformFeedbackEXT, fn);
-}
-
-typedef void (GLAPIENTRYP _glptr_GetTransformFeedbackVaryingEXT)(GLuint, GLuint, GLsizei, GLsizei *, GLsizei *, GLenum *, GLchar *);
+static inline _glptr_EndTransformFeedbackEXT
+GET_EndTransformFeedbackEXT(struct _glapi_table *disp)
+{
+ return (_glptr_EndTransformFeedbackEXT) (GET_by_offset
+ (disp,
+ _gloffset_EndTransformFeedbackEXT));
+}
+
+static inline void
+SET_EndTransformFeedbackEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (void))
+{
+ SET_by_offset(disp, _gloffset_EndTransformFeedbackEXT, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_GetTransformFeedbackVaryingEXT) (GLuint,
+ GLuint,
+ GLsizei,
+ GLsizei *,
+ GLsizei *,
+ GLenum *,
+ GLchar *);
#define CALL_GetTransformFeedbackVaryingEXT(disp, parameters) \
(* GET_GetTransformFeedbackVaryingEXT(disp)) parameters
-static inline _glptr_GetTransformFeedbackVaryingEXT GET_GetTransformFeedbackVaryingEXT(struct _glapi_table *disp) {
- return (_glptr_GetTransformFeedbackVaryingEXT) (GET_by_offset(disp, _gloffset_GetTransformFeedbackVaryingEXT));
-}
-
-static inline void SET_GetTransformFeedbackVaryingEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLuint, GLsizei, GLsizei *, GLsizei *, GLenum *, GLchar *)) {
- SET_by_offset(disp, _gloffset_GetTransformFeedbackVaryingEXT, fn);
-}
-
-typedef void (GLAPIENTRYP _glptr_TransformFeedbackVaryingsEXT)(GLuint, GLsizei, const char **, GLenum);
+static inline _glptr_GetTransformFeedbackVaryingEXT
+GET_GetTransformFeedbackVaryingEXT(struct _glapi_table *disp)
+{
+ return (_glptr_GetTransformFeedbackVaryingEXT) (GET_by_offset
+ (disp,
+ _gloffset_GetTransformFeedbackVaryingEXT));
+}
+
+static inline void
+SET_GetTransformFeedbackVaryingEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLuint,
+ GLsizei, GLsizei *,
+ GLsizei *, GLenum *,
+ GLchar *))
+{
+ SET_by_offset(disp, _gloffset_GetTransformFeedbackVaryingEXT, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_TransformFeedbackVaryingsEXT) (GLuint, GLsizei,
+ const char **,
+ GLenum);
#define CALL_TransformFeedbackVaryingsEXT(disp, parameters) \
(* GET_TransformFeedbackVaryingsEXT(disp)) parameters
-static inline _glptr_TransformFeedbackVaryingsEXT GET_TransformFeedbackVaryingsEXT(struct _glapi_table *disp) {
- return (_glptr_TransformFeedbackVaryingsEXT) (GET_by_offset(disp, _gloffset_TransformFeedbackVaryingsEXT));
+static inline _glptr_TransformFeedbackVaryingsEXT
+GET_TransformFeedbackVaryingsEXT(struct _glapi_table *disp)
+{
+ return (_glptr_TransformFeedbackVaryingsEXT) (GET_by_offset
+ (disp,
+ _gloffset_TransformFeedbackVaryingsEXT));
}
-static inline void SET_TransformFeedbackVaryingsEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLsizei, const char **, GLenum)) {
- SET_by_offset(disp, _gloffset_TransformFeedbackVaryingsEXT, fn);
+static inline void
+SET_TransformFeedbackVaryingsEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLsizei,
+ const char **, GLenum))
+{
+ SET_by_offset(disp, _gloffset_TransformFeedbackVaryingsEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_ProvokingVertexEXT)(GLenum);
+typedef void (GLAPIENTRYP _glptr_ProvokingVertexEXT) (GLenum);
+
#define CALL_ProvokingVertexEXT(disp, parameters) \
(* GET_ProvokingVertexEXT(disp)) parameters
-static inline _glptr_ProvokingVertexEXT GET_ProvokingVertexEXT(struct _glapi_table *disp) {
- return (_glptr_ProvokingVertexEXT) (GET_by_offset(disp, _gloffset_ProvokingVertexEXT));
+static inline _glptr_ProvokingVertexEXT
+GET_ProvokingVertexEXT(struct _glapi_table *disp)
+{
+ return (_glptr_ProvokingVertexEXT) (GET_by_offset
+ (disp, _gloffset_ProvokingVertexEXT));
}
-static inline void SET_ProvokingVertexEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum)) {
- SET_by_offset(disp, _gloffset_ProvokingVertexEXT, fn);
+static inline void
+SET_ProvokingVertexEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum))
+{
+ SET_by_offset(disp, _gloffset_ProvokingVertexEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetTexParameterPointervAPPLE)(GLenum, GLenum, GLvoid **);
+typedef void (GLAPIENTRYP _glptr_GetTexParameterPointervAPPLE) (GLenum, GLenum,
+ GLvoid **);
#define CALL_GetTexParameterPointervAPPLE(disp, parameters) \
(* GET_GetTexParameterPointervAPPLE(disp)) parameters
-static inline _glptr_GetTexParameterPointervAPPLE GET_GetTexParameterPointervAPPLE(struct _glapi_table *disp) {
- return (_glptr_GetTexParameterPointervAPPLE) (GET_by_offset(disp, _gloffset_GetTexParameterPointervAPPLE));
+static inline _glptr_GetTexParameterPointervAPPLE
+GET_GetTexParameterPointervAPPLE(struct _glapi_table *disp)
+{
+ return (_glptr_GetTexParameterPointervAPPLE) (GET_by_offset
+ (disp,
+ _gloffset_GetTexParameterPointervAPPLE));
}
-static inline void SET_GetTexParameterPointervAPPLE(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLvoid **)) {
- SET_by_offset(disp, _gloffset_GetTexParameterPointervAPPLE, fn);
+static inline void
+SET_GetTexParameterPointervAPPLE(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum,
+ GLvoid **))
+{
+ SET_by_offset(disp, _gloffset_GetTexParameterPointervAPPLE, fn);
}
-typedef void (GLAPIENTRYP _glptr_TextureRangeAPPLE)(GLenum, GLsizei, GLvoid *);
+typedef void (GLAPIENTRYP _glptr_TextureRangeAPPLE) (GLenum, GLsizei, GLvoid *);
+
#define CALL_TextureRangeAPPLE(disp, parameters) \
(* GET_TextureRangeAPPLE(disp)) parameters
-static inline _glptr_TextureRangeAPPLE GET_TextureRangeAPPLE(struct _glapi_table *disp) {
- return (_glptr_TextureRangeAPPLE) (GET_by_offset(disp, _gloffset_TextureRangeAPPLE));
+static inline _glptr_TextureRangeAPPLE
+GET_TextureRangeAPPLE(struct _glapi_table *disp)
+{
+ return (_glptr_TextureRangeAPPLE) (GET_by_offset
+ (disp, _gloffset_TextureRangeAPPLE));
}
-static inline void SET_TextureRangeAPPLE(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLsizei, GLvoid *)) {
- SET_by_offset(disp, _gloffset_TextureRangeAPPLE, fn);
+static inline void
+SET_TextureRangeAPPLE(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLsizei, GLvoid *))
+{
+ SET_by_offset(disp, _gloffset_TextureRangeAPPLE, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetObjectParameterivAPPLE)(GLenum, GLuint, GLenum, GLint *);
+typedef void (GLAPIENTRYP _glptr_GetObjectParameterivAPPLE) (GLenum, GLuint,
+ GLenum, GLint *);
#define CALL_GetObjectParameterivAPPLE(disp, parameters) \
(* GET_GetObjectParameterivAPPLE(disp)) parameters
-static inline _glptr_GetObjectParameterivAPPLE GET_GetObjectParameterivAPPLE(struct _glapi_table *disp) {
- return (_glptr_GetObjectParameterivAPPLE) (GET_by_offset(disp, _gloffset_GetObjectParameterivAPPLE));
+static inline _glptr_GetObjectParameterivAPPLE
+GET_GetObjectParameterivAPPLE(struct _glapi_table *disp)
+{
+ return (_glptr_GetObjectParameterivAPPLE) (GET_by_offset
+ (disp,
+ _gloffset_GetObjectParameterivAPPLE));
}
-static inline void SET_GetObjectParameterivAPPLE(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLenum, GLint *)) {
- SET_by_offset(disp, _gloffset_GetObjectParameterivAPPLE, fn);
+static inline void
+SET_GetObjectParameterivAPPLE(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLuint, GLenum,
+ GLint *))
+{
+ SET_by_offset(disp, _gloffset_GetObjectParameterivAPPLE, fn);
}
-typedef GLenum (GLAPIENTRYP _glptr_ObjectPurgeableAPPLE)(GLenum, GLuint, GLenum);
+typedef GLenum(GLAPIENTRYP _glptr_ObjectPurgeableAPPLE) (GLenum, GLuint,
+ GLenum);
#define CALL_ObjectPurgeableAPPLE(disp, parameters) \
(* GET_ObjectPurgeableAPPLE(disp)) parameters
-static inline _glptr_ObjectPurgeableAPPLE GET_ObjectPurgeableAPPLE(struct _glapi_table *disp) {
- return (_glptr_ObjectPurgeableAPPLE) (GET_by_offset(disp, _gloffset_ObjectPurgeableAPPLE));
+static inline _glptr_ObjectPurgeableAPPLE
+GET_ObjectPurgeableAPPLE(struct _glapi_table *disp)
+{
+ return (_glptr_ObjectPurgeableAPPLE) (GET_by_offset
+ (disp,
+ _gloffset_ObjectPurgeableAPPLE));
}
-static inline void SET_ObjectPurgeableAPPLE(struct _glapi_table *disp, GLenum (GLAPIENTRYP fn)(GLenum, GLuint, GLenum)) {
- SET_by_offset(disp, _gloffset_ObjectPurgeableAPPLE, fn);
+static inline void
+SET_ObjectPurgeableAPPLE(struct _glapi_table *disp,
+ GLenum(GLAPIENTRYP fn) (GLenum, GLuint, GLenum))
+{
+ SET_by_offset(disp, _gloffset_ObjectPurgeableAPPLE, fn);
}
-typedef GLenum (GLAPIENTRYP _glptr_ObjectUnpurgeableAPPLE)(GLenum, GLuint, GLenum);
+typedef GLenum(GLAPIENTRYP _glptr_ObjectUnpurgeableAPPLE) (GLenum, GLuint,
+ GLenum);
#define CALL_ObjectUnpurgeableAPPLE(disp, parameters) \
(* GET_ObjectUnpurgeableAPPLE(disp)) parameters
-static inline _glptr_ObjectUnpurgeableAPPLE GET_ObjectUnpurgeableAPPLE(struct _glapi_table *disp) {
- return (_glptr_ObjectUnpurgeableAPPLE) (GET_by_offset(disp, _gloffset_ObjectUnpurgeableAPPLE));
+static inline _glptr_ObjectUnpurgeableAPPLE
+GET_ObjectUnpurgeableAPPLE(struct _glapi_table *disp)
+{
+ return (_glptr_ObjectUnpurgeableAPPLE) (GET_by_offset
+ (disp,
+ _gloffset_ObjectUnpurgeableAPPLE));
}
-static inline void SET_ObjectUnpurgeableAPPLE(struct _glapi_table *disp, GLenum (GLAPIENTRYP fn)(GLenum, GLuint, GLenum)) {
- SET_by_offset(disp, _gloffset_ObjectUnpurgeableAPPLE, fn);
+static inline void
+SET_ObjectUnpurgeableAPPLE(struct _glapi_table *disp,
+ GLenum(GLAPIENTRYP fn) (GLenum, GLuint, GLenum))
+{
+ SET_by_offset(disp, _gloffset_ObjectUnpurgeableAPPLE, fn);
}
-typedef void (GLAPIENTRYP _glptr_ActiveProgramEXT)(GLuint);
+typedef void (GLAPIENTRYP _glptr_ActiveProgramEXT) (GLuint);
+
#define CALL_ActiveProgramEXT(disp, parameters) \
(* GET_ActiveProgramEXT(disp)) parameters
-static inline _glptr_ActiveProgramEXT GET_ActiveProgramEXT(struct _glapi_table *disp) {
- return (_glptr_ActiveProgramEXT) (GET_by_offset(disp, _gloffset_ActiveProgramEXT));
+static inline _glptr_ActiveProgramEXT
+GET_ActiveProgramEXT(struct _glapi_table *disp)
+{
+ return (_glptr_ActiveProgramEXT) (GET_by_offset
+ (disp, _gloffset_ActiveProgramEXT));
}
-static inline void SET_ActiveProgramEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint)) {
- SET_by_offset(disp, _gloffset_ActiveProgramEXT, fn);
+static inline void
+SET_ActiveProgramEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn) (GLuint))
+{
+ SET_by_offset(disp, _gloffset_ActiveProgramEXT, fn);
}
-typedef GLuint (GLAPIENTRYP _glptr_CreateShaderProgramEXT)(GLenum, const GLchar *);
+typedef GLuint(GLAPIENTRYP _glptr_CreateShaderProgramEXT) (GLenum,
+ const GLchar *);
#define CALL_CreateShaderProgramEXT(disp, parameters) \
(* GET_CreateShaderProgramEXT(disp)) parameters
-static inline _glptr_CreateShaderProgramEXT GET_CreateShaderProgramEXT(struct _glapi_table *disp) {
- return (_glptr_CreateShaderProgramEXT) (GET_by_offset(disp, _gloffset_CreateShaderProgramEXT));
+static inline _glptr_CreateShaderProgramEXT
+GET_CreateShaderProgramEXT(struct _glapi_table *disp)
+{
+ return (_glptr_CreateShaderProgramEXT) (GET_by_offset
+ (disp,
+ _gloffset_CreateShaderProgramEXT));
}
-static inline void SET_CreateShaderProgramEXT(struct _glapi_table *disp, GLuint (GLAPIENTRYP fn)(GLenum, const GLchar *)) {
- SET_by_offset(disp, _gloffset_CreateShaderProgramEXT, fn);
+static inline void
+SET_CreateShaderProgramEXT(struct _glapi_table *disp,
+ GLuint(GLAPIENTRYP fn) (GLenum, const GLchar *))
+{
+ SET_by_offset(disp, _gloffset_CreateShaderProgramEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_UseShaderProgramEXT)(GLenum, GLuint);
+typedef void (GLAPIENTRYP _glptr_UseShaderProgramEXT) (GLenum, GLuint);
+
#define CALL_UseShaderProgramEXT(disp, parameters) \
(* GET_UseShaderProgramEXT(disp)) parameters
-static inline _glptr_UseShaderProgramEXT GET_UseShaderProgramEXT(struct _glapi_table *disp) {
- return (_glptr_UseShaderProgramEXT) (GET_by_offset(disp, _gloffset_UseShaderProgramEXT));
+static inline _glptr_UseShaderProgramEXT
+GET_UseShaderProgramEXT(struct _glapi_table *disp)
+{
+ return (_glptr_UseShaderProgramEXT) (GET_by_offset
+ (disp, _gloffset_UseShaderProgramEXT));
}
-static inline void SET_UseShaderProgramEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint)) {
- SET_by_offset(disp, _gloffset_UseShaderProgramEXT, fn);
+static inline void
+SET_UseShaderProgramEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLuint))
+{
+ SET_by_offset(disp, _gloffset_UseShaderProgramEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_TextureBarrierNV)(void);
+typedef void (GLAPIENTRYP _glptr_TextureBarrierNV) (void);
+
#define CALL_TextureBarrierNV(disp, parameters) \
(* GET_TextureBarrierNV(disp)) parameters
-static inline _glptr_TextureBarrierNV GET_TextureBarrierNV(struct _glapi_table *disp) {
- return (_glptr_TextureBarrierNV) (GET_by_offset(disp, _gloffset_TextureBarrierNV));
+static inline _glptr_TextureBarrierNV
+GET_TextureBarrierNV(struct _glapi_table *disp)
+{
+ return (_glptr_TextureBarrierNV) (GET_by_offset
+ (disp, _gloffset_TextureBarrierNV));
}
-static inline void SET_TextureBarrierNV(struct _glapi_table *disp, void (GLAPIENTRYP fn)(void)) {
- SET_by_offset(disp, _gloffset_TextureBarrierNV, fn);
+static inline void
+SET_TextureBarrierNV(struct _glapi_table *disp, void (GLAPIENTRYP fn) (void))
+{
+ SET_by_offset(disp, _gloffset_TextureBarrierNV, fn);
}
-typedef void (GLAPIENTRYP _glptr_StencilFuncSeparateATI)(GLenum, GLenum, GLint, GLuint);
+typedef void (GLAPIENTRYP _glptr_StencilFuncSeparateATI) (GLenum, GLenum, GLint,
+ GLuint);
#define CALL_StencilFuncSeparateATI(disp, parameters) \
(* GET_StencilFuncSeparateATI(disp)) parameters
-static inline _glptr_StencilFuncSeparateATI GET_StencilFuncSeparateATI(struct _glapi_table *disp) {
- return (_glptr_StencilFuncSeparateATI) (GET_by_offset(disp, _gloffset_StencilFuncSeparateATI));
+static inline _glptr_StencilFuncSeparateATI
+GET_StencilFuncSeparateATI(struct _glapi_table *disp)
+{
+ return (_glptr_StencilFuncSeparateATI) (GET_by_offset
+ (disp,
+ _gloffset_StencilFuncSeparateATI));
}
-static inline void SET_StencilFuncSeparateATI(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLenum, GLint, GLuint)) {
- SET_by_offset(disp, _gloffset_StencilFuncSeparateATI, fn);
+static inline void
+SET_StencilFuncSeparateATI(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLenum, GLint,
+ GLuint))
+{
+ SET_by_offset(disp, _gloffset_StencilFuncSeparateATI, fn);
}
-typedef void (GLAPIENTRYP _glptr_ProgramEnvParameters4fvEXT)(GLenum, GLuint, GLsizei, const GLfloat *);
+typedef void (GLAPIENTRYP _glptr_ProgramEnvParameters4fvEXT) (GLenum, GLuint,
+ GLsizei,
+ const GLfloat *);
#define CALL_ProgramEnvParameters4fvEXT(disp, parameters) \
(* GET_ProgramEnvParameters4fvEXT(disp)) parameters
-static inline _glptr_ProgramEnvParameters4fvEXT GET_ProgramEnvParameters4fvEXT(struct _glapi_table *disp) {
- return (_glptr_ProgramEnvParameters4fvEXT) (GET_by_offset(disp, _gloffset_ProgramEnvParameters4fvEXT));
-}
-
-static inline void SET_ProgramEnvParameters4fvEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLsizei, const GLfloat *)) {
- SET_by_offset(disp, _gloffset_ProgramEnvParameters4fvEXT, fn);
-}
-
-typedef void (GLAPIENTRYP _glptr_ProgramLocalParameters4fvEXT)(GLenum, GLuint, GLsizei, const GLfloat *);
+static inline _glptr_ProgramEnvParameters4fvEXT
+GET_ProgramEnvParameters4fvEXT(struct _glapi_table *disp)
+{
+ return (_glptr_ProgramEnvParameters4fvEXT) (GET_by_offset
+ (disp,
+ _gloffset_ProgramEnvParameters4fvEXT));
+}
+
+static inline void
+SET_ProgramEnvParameters4fvEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLuint, GLsizei,
+ const GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_ProgramEnvParameters4fvEXT, fn);
+}
+
+typedef void (GLAPIENTRYP _glptr_ProgramLocalParameters4fvEXT) (GLenum, GLuint,
+ GLsizei,
+ const GLfloat
+ *);
#define CALL_ProgramLocalParameters4fvEXT(disp, parameters) \
(* GET_ProgramLocalParameters4fvEXT(disp)) parameters
-static inline _glptr_ProgramLocalParameters4fvEXT GET_ProgramLocalParameters4fvEXT(struct _glapi_table *disp) {
- return (_glptr_ProgramLocalParameters4fvEXT) (GET_by_offset(disp, _gloffset_ProgramLocalParameters4fvEXT));
+static inline _glptr_ProgramLocalParameters4fvEXT
+GET_ProgramLocalParameters4fvEXT(struct _glapi_table *disp)
+{
+ return (_glptr_ProgramLocalParameters4fvEXT) (GET_by_offset
+ (disp,
+ _gloffset_ProgramLocalParameters4fvEXT));
}
-static inline void SET_ProgramLocalParameters4fvEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLuint, GLsizei, const GLfloat *)) {
- SET_by_offset(disp, _gloffset_ProgramLocalParameters4fvEXT, fn);
+static inline void
+SET_ProgramLocalParameters4fvEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLuint, GLsizei,
+ const GLfloat *))
+{
+ SET_by_offset(disp, _gloffset_ProgramLocalParameters4fvEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetQueryObjecti64vEXT)(GLuint, GLenum, GLint64EXT *);
+typedef void (GLAPIENTRYP _glptr_GetQueryObjecti64vEXT) (GLuint, GLenum,
+ GLint64EXT *);
#define CALL_GetQueryObjecti64vEXT(disp, parameters) \
(* GET_GetQueryObjecti64vEXT(disp)) parameters
-static inline _glptr_GetQueryObjecti64vEXT GET_GetQueryObjecti64vEXT(struct _glapi_table *disp) {
- return (_glptr_GetQueryObjecti64vEXT) (GET_by_offset(disp, _gloffset_GetQueryObjecti64vEXT));
+static inline _glptr_GetQueryObjecti64vEXT
+GET_GetQueryObjecti64vEXT(struct _glapi_table *disp)
+{
+ return (_glptr_GetQueryObjecti64vEXT) (GET_by_offset
+ (disp,
+ _gloffset_GetQueryObjecti64vEXT));
}
-static inline void SET_GetQueryObjecti64vEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLint64EXT *)) {
- SET_by_offset(disp, _gloffset_GetQueryObjecti64vEXT, fn);
+static inline void
+SET_GetQueryObjecti64vEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLenum, GLint64EXT *))
+{
+ SET_by_offset(disp, _gloffset_GetQueryObjecti64vEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_GetQueryObjectui64vEXT)(GLuint, GLenum, GLuint64EXT *);
+typedef void (GLAPIENTRYP _glptr_GetQueryObjectui64vEXT) (GLuint, GLenum,
+ GLuint64EXT *);
#define CALL_GetQueryObjectui64vEXT(disp, parameters) \
(* GET_GetQueryObjectui64vEXT(disp)) parameters
-static inline _glptr_GetQueryObjectui64vEXT GET_GetQueryObjectui64vEXT(struct _glapi_table *disp) {
- return (_glptr_GetQueryObjectui64vEXT) (GET_by_offset(disp, _gloffset_GetQueryObjectui64vEXT));
+static inline _glptr_GetQueryObjectui64vEXT
+GET_GetQueryObjectui64vEXT(struct _glapi_table *disp)
+{
+ return (_glptr_GetQueryObjectui64vEXT) (GET_by_offset
+ (disp,
+ _gloffset_GetQueryObjectui64vEXT));
}
-static inline void SET_GetQueryObjectui64vEXT(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLuint, GLenum, GLuint64EXT *)) {
- SET_by_offset(disp, _gloffset_GetQueryObjectui64vEXT, fn);
+static inline void
+SET_GetQueryObjectui64vEXT(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLuint, GLenum,
+ GLuint64EXT *))
+{
+ SET_by_offset(disp, _gloffset_GetQueryObjectui64vEXT, fn);
}
-typedef void (GLAPIENTRYP _glptr_EGLImageTargetRenderbufferStorageOES)(GLenum, GLvoid *);
+typedef void (GLAPIENTRYP _glptr_EGLImageTargetRenderbufferStorageOES) (GLenum,
+ GLvoid
+ *);
#define CALL_EGLImageTargetRenderbufferStorageOES(disp, parameters) \
(* GET_EGLImageTargetRenderbufferStorageOES(disp)) parameters
-static inline _glptr_EGLImageTargetRenderbufferStorageOES GET_EGLImageTargetRenderbufferStorageOES(struct _glapi_table *disp) {
- return (_glptr_EGLImageTargetRenderbufferStorageOES) (GET_by_offset(disp, _gloffset_EGLImageTargetRenderbufferStorageOES));
+static inline _glptr_EGLImageTargetRenderbufferStorageOES
+GET_EGLImageTargetRenderbufferStorageOES(struct _glapi_table *disp)
+{
+ return (_glptr_EGLImageTargetRenderbufferStorageOES) (GET_by_offset
+ (disp,
+ _gloffset_EGLImageTargetRenderbufferStorageOES));
}
-static inline void SET_EGLImageTargetRenderbufferStorageOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLvoid *)) {
- SET_by_offset(disp, _gloffset_EGLImageTargetRenderbufferStorageOES, fn);
+static inline void
+SET_EGLImageTargetRenderbufferStorageOES(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum,
+ GLvoid *))
+{
+ SET_by_offset(disp, _gloffset_EGLImageTargetRenderbufferStorageOES, fn);
}
-typedef void (GLAPIENTRYP _glptr_EGLImageTargetTexture2DOES)(GLenum, GLvoid *);
+typedef void (GLAPIENTRYP _glptr_EGLImageTargetTexture2DOES) (GLenum, GLvoid *);
+
#define CALL_EGLImageTargetTexture2DOES(disp, parameters) \
(* GET_EGLImageTargetTexture2DOES(disp)) parameters
-static inline _glptr_EGLImageTargetTexture2DOES GET_EGLImageTargetTexture2DOES(struct _glapi_table *disp) {
- return (_glptr_EGLImageTargetTexture2DOES) (GET_by_offset(disp, _gloffset_EGLImageTargetTexture2DOES));
+static inline _glptr_EGLImageTargetTexture2DOES
+GET_EGLImageTargetTexture2DOES(struct _glapi_table *disp)
+{
+ return (_glptr_EGLImageTargetTexture2DOES) (GET_by_offset
+ (disp,
+ _gloffset_EGLImageTargetTexture2DOES));
}
-static inline void SET_EGLImageTargetTexture2DOES(struct _glapi_table *disp, void (GLAPIENTRYP fn)(GLenum, GLvoid *)) {
- SET_by_offset(disp, _gloffset_EGLImageTargetTexture2DOES, fn);
+static inline void
+SET_EGLImageTargetTexture2DOES(struct _glapi_table *disp,
+ void (GLAPIENTRYP fn) (GLenum, GLvoid *))
+{
+ SET_by_offset(disp, _gloffset_EGLImageTargetTexture2DOES, fn);
}
-
-#endif /* !defined( _DISPATCH_H_ ) */
+#endif /* !defined( _DISPATCH_H_ ) */
diff --git a/glx/extension_string.c b/glx/extension_string.c
index 7721cb056..866f8bf45 100644
--- a/glx/extension_string.c
+++ b/glx/extension_string.c
@@ -45,10 +45,10 @@
#define EXT_ENABLED(bit,supported) (IS_SET(supported, bit))
struct extension_info {
- const char * const name;
- unsigned name_len;
+ const char *const name;
+ unsigned name_len;
- unsigned char bit;
+ unsigned char bit;
/**
* This is the lowest version of GLX that "requires" this extension.
@@ -56,37 +56,36 @@ struct extension_info {
* SGI_make_current_read. If the extension is not required by any known
* version of GLX, use 0, 0.
*/
- unsigned char version_major;
- unsigned char version_minor;
+ unsigned char version_major;
+ unsigned char version_minor;
/**
* Is driver support forced by the ABI?
*/
- unsigned char driver_support;
+ unsigned char driver_support;
};
static const struct extension_info known_glx_extensions[] = {
/* GLX_ARB_get_proc_address is implemented on the client. */
- { GLX(ARB_multisample), VER(1,4), Y, },
-
- { GLX(EXT_import_context), VER(0,0), Y, },
- { GLX(EXT_texture_from_pixmap), VER(0,0), Y, },
- { GLX(EXT_visual_info), VER(0,0), Y, },
- { GLX(EXT_visual_rating), VER(0,0), Y, },
-
- { GLX(MESA_copy_sub_buffer), VER(0,0), N, },
- { GLX(OML_swap_method), VER(0,0), Y, },
- { GLX(SGI_make_current_read), VER(1,3), N, },
- { GLX(SGI_swap_control), VER(0,0), N, },
- { GLX(SGIS_multisample), VER(0,0), Y, },
- { GLX(SGIX_fbconfig), VER(1,3), Y, },
- { GLX(SGIX_pbuffer), VER(1,3), Y, },
- { GLX(SGIX_visual_select_group), VER(0,0), Y, },
- { GLX(INTEL_swap_event), VER(1,4), N, },
- { NULL }
+ {GLX(ARB_multisample), VER(1, 4), Y,},
+
+ {GLX(EXT_import_context), VER(0, 0), Y,},
+ {GLX(EXT_texture_from_pixmap), VER(0, 0), Y,},
+ {GLX(EXT_visual_info), VER(0, 0), Y,},
+ {GLX(EXT_visual_rating), VER(0, 0), Y,},
+
+ {GLX(MESA_copy_sub_buffer), VER(0, 0), N,},
+ {GLX(OML_swap_method), VER(0, 0), Y,},
+ {GLX(SGI_make_current_read), VER(1, 3), N,},
+ {GLX(SGI_swap_control), VER(0, 0), N,},
+ {GLX(SGIS_multisample), VER(0, 0), Y,},
+ {GLX(SGIX_fbconfig), VER(1, 3), Y,},
+ {GLX(SGIX_pbuffer), VER(1, 3), Y,},
+ {GLX(SGIX_visual_select_group), VER(0, 0), Y,},
+ {GLX(INTEL_swap_event), VER(1, 4), N,},
+ {NULL}
};
-
/**
* Create a GLX extension string for a set of enable bits.
*
@@ -111,56 +110,51 @@ __glXGetExtensionString(const unsigned char *enable_bits, char *buffer)
unsigned i;
int length = 0;
-
for (i = 0; known_glx_extensions[i].name != NULL; i++) {
- const unsigned bit = known_glx_extensions[i].bit;
- const size_t len = known_glx_extensions[i].name_len;
-
- if (EXT_ENABLED(bit, enable_bits)) {
- if (buffer != NULL) {
- (void) memcpy(& buffer[length], known_glx_extensions[i].name,
- len);
-
- buffer[length + len + 0] = ' ';
- buffer[length + len + 1] = '\0';
- }
-
- length += len + 1;
- }
+ const unsigned bit = known_glx_extensions[i].bit;
+ const size_t len = known_glx_extensions[i].name_len;
+
+ if (EXT_ENABLED(bit, enable_bits)) {
+ if (buffer != NULL) {
+ (void) memcpy(&buffer[length], known_glx_extensions[i].name,
+ len);
+
+ buffer[length + len + 0] = ' ';
+ buffer[length + len + 1] = '\0';
+ }
+
+ length += len + 1;
+ }
}
return length + 1;
}
-
void
__glXEnableExtension(unsigned char *enable_bits, const char *ext)
{
const size_t ext_name_len = strlen(ext);
unsigned i;
-
for (i = 0; known_glx_extensions[i].name != NULL; i++) {
- if ((ext_name_len == known_glx_extensions[i].name_len)
- && (memcmp(ext, known_glx_extensions[i].name, ext_name_len) == 0)) {
- SET_BIT(enable_bits, known_glx_extensions[i].bit);
- break;
- }
+ if ((ext_name_len == known_glx_extensions[i].name_len)
+ && (memcmp(ext, known_glx_extensions[i].name, ext_name_len) == 0)) {
+ SET_BIT(enable_bits, known_glx_extensions[i].bit);
+ break;
+ }
}
}
-
void
__glXInitExtensionEnableBits(unsigned char *enable_bits)
{
unsigned i;
-
(void) memset(enable_bits, 0, __GLX_EXT_BYTES);
for (i = 0; known_glx_extensions[i].name != NULL; i++) {
- if (known_glx_extensions[i].driver_support) {
- SET_BIT(enable_bits, known_glx_extensions[i].bit);
- }
+ if (known_glx_extensions[i].driver_support) {
+ SET_BIT(enable_bits, known_glx_extensions[i].bit);
+ }
}
}
diff --git a/glx/extension_string.h b/glx/extension_string.h
index 912534a04..e02213f8f 100644
--- a/glx/extension_string.h
+++ b/glx/extension_string.h
@@ -36,29 +36,29 @@
enum {
/* GLX_ARB_get_proc_address is implemented on the client. */
- ARB_multisample_bit = 0,
- EXT_import_context_bit,
- EXT_texture_from_pixmap_bit,
- EXT_visual_info_bit,
- EXT_visual_rating_bit,
- MESA_copy_sub_buffer_bit,
- OML_swap_method_bit,
- SGI_make_current_read_bit,
- SGI_swap_control_bit,
- SGI_video_sync_bit,
- SGIS_multisample_bit,
- SGIX_fbconfig_bit,
- SGIX_pbuffer_bit,
- SGIX_visual_select_group_bit,
- INTEL_swap_event_bit,
- __NUM_GLX_EXTS,
+ ARB_multisample_bit = 0,
+ EXT_import_context_bit,
+ EXT_texture_from_pixmap_bit,
+ EXT_visual_info_bit,
+ EXT_visual_rating_bit,
+ MESA_copy_sub_buffer_bit,
+ OML_swap_method_bit,
+ SGI_make_current_read_bit,
+ SGI_swap_control_bit,
+ SGI_video_sync_bit,
+ SGIS_multisample_bit,
+ SGIX_fbconfig_bit,
+ SGIX_pbuffer_bit,
+ SGIX_visual_select_group_bit,
+ INTEL_swap_event_bit,
+ __NUM_GLX_EXTS,
};
#define __GLX_EXT_BYTES ((__NUM_GLX_EXTS + 7) / 8)
extern int __glXGetExtensionString(const unsigned char *enable_bits,
- char *buffer);
+ char *buffer);
extern void __glXEnableExtension(unsigned char *enable_bits, const char *ext);
extern void __glXInitExtensionEnableBits(unsigned char *enable_bits);
-#endif /* GLX_EXTENSION_STRING_H */
+#endif /* GLX_EXTENSION_STRING_H */
diff --git a/glx/glapi.c b/glx/glapi.c
index 65f3bc91b..02e06ac1e 100644
--- a/glx/glapi.c
+++ b/glx/glapi.c
@@ -80,9 +80,9 @@ static void init_glapi_relocs(void);
/*@{*/
#if defined(GLX_USE_TLS)
-PUBLIC TLS struct _glapi_table * _glapi_tls_Dispatch = NULL;
+PUBLIC TLS struct _glapi_table *_glapi_tls_Dispatch = NULL;
-PUBLIC TLS void * _glapi_tls_Context;
+PUBLIC TLS void *_glapi_tls_Context;
PUBLIC const struct _glapi_table *_glapi_Dispatch = NULL;
PUBLIC const void *_glapi_Context = NULL;
@@ -95,20 +95,21 @@ _glthread_TSD _gl_DispatchTSD; /**< Per-thread dispatch pointer */
static _glthread_TSD ContextTSD; /**< Per-thread context pointer */
#if defined(WIN32_THREADS)
-void FreeTSD(_glthread_TSD *p);
-void FreeAllTSD(void)
+void FreeTSD(_glthread_TSD * p);
+void
+FreeAllTSD(void)
{
- FreeTSD(&_gl_DispatchTSD);
- FreeTSD(&ContextTSD);
+ FreeTSD(&_gl_DispatchTSD);
+ FreeTSD(&ContextTSD);
}
-#endif /* defined(WIN32_THREADS) */
+#endif /* defined(WIN32_THREADS) */
-#endif /* defined(THREADS) */
+#endif /* defined(THREADS) */
PUBLIC struct _glapi_table *_glapi_Dispatch = NULL;
PUBLIC void *_glapi_Context = NULL;
-#endif /* defined(GLX_USE_TLS) */
+#endif /* defined(GLX_USE_TLS) */
/*@}*/
/*
@@ -128,17 +129,15 @@ PUBLIC void
_glapi_set_context(void *context)
{
#if defined(GLX_USE_TLS)
- _glapi_tls_Context = context;
+ _glapi_tls_Context = context;
#elif defined(THREADS)
- _glthread_SetTSD(&ContextTSD, context);
- _glapi_Context = context;
+ _glthread_SetTSD(&ContextTSD, context);
+ _glapi_Context = context;
#else
- _glapi_Context = context;
+ _glapi_Context = context;
#endif
}
-
-
/**
* Get the current context pointer for this thread.
* The context pointer is an opaque type which should be cast from
@@ -148,14 +147,12 @@ PUBLIC void *
_glapi_get_context(void)
{
#if defined(GLX_USE_TLS)
- return _glapi_tls_Context;
+ return _glapi_tls_Context;
#else
- return _glapi_Context;
+ return _glapi_Context;
#endif
}
-
-
/**
* Set the global or per-thread dispatch table pointer.
*/
@@ -163,77 +160,74 @@ PUBLIC void
_glapi_set_dispatch(struct _glapi_table *dispatch)
{
#if defined(PTHREADS) || defined(GLX_USE_TLS)
- static pthread_once_t once_control = PTHREAD_ONCE_INIT;
- pthread_once( & once_control, init_glapi_relocs );
+ static pthread_once_t once_control = PTHREAD_ONCE_INIT;
+
+ pthread_once(&once_control, init_glapi_relocs);
#endif
#if defined(GLX_USE_TLS)
- _glapi_tls_Dispatch = dispatch;
+ _glapi_tls_Dispatch = dispatch;
#elif defined(THREADS)
- _glthread_SetTSD(&_gl_DispatchTSD, (void *) dispatch);
- _glapi_Dispatch = dispatch;
+ _glthread_SetTSD(&_gl_DispatchTSD, (void *) dispatch);
+ _glapi_Dispatch = dispatch;
#else /*THREADS*/
- _glapi_Dispatch = dispatch;
+ _glapi_Dispatch = dispatch;
#endif /*THREADS*/
}
-
-
/**
* Return pointer to current dispatch table for calling thread.
*/
PUBLIC struct _glapi_table *
_glapi_get_dispatch(void)
{
- struct _glapi_table * api;
+ struct _glapi_table *api;
+
#if defined(GLX_USE_TLS)
- api = _glapi_tls_Dispatch;
+ api = _glapi_tls_Dispatch;
#else
- api = _glapi_Dispatch;
+ api = _glapi_Dispatch;
#endif
- return api;
+ return api;
}
-
-
/***
*** The rest of this file is pretty much concerned with GetProcAddress
*** functionality.
***/
#if defined(USE_X64_64_ASM) && defined(GLX_USE_TLS)
-# define DISPATCH_FUNCTION_SIZE 16
+#define DISPATCH_FUNCTION_SIZE 16
#elif defined(USE_X86_ASM)
-# if defined(THREADS) && !defined(GLX_USE_TLS)
-# define DISPATCH_FUNCTION_SIZE 32
-# else
-# define DISPATCH_FUNCTION_SIZE 16
-# endif
+#if defined(THREADS) && !defined(GLX_USE_TLS)
+#define DISPATCH_FUNCTION_SIZE 32
+#else
+#define DISPATCH_FUNCTION_SIZE 16
+#endif
#endif
-
/* The code in this file is auto-generated with Python */
#include "glprocs.h"
-
/**
* Search the table of static entrypoint functions for the named function
* and return the corresponding glprocs_table_t entry.
*/
static const glprocs_table_t *
-find_entry( const char * n )
+find_entry(const char *n)
{
- GLuint i;
- for (i = 0; static_functions[i].Name_offset >= 0; i++) {
- const char *testName = gl_string_table + static_functions[i].Name_offset;
- if (strcmp(testName, n) == 0) {
- return &static_functions[i];
- }
- }
- return NULL;
+ GLuint i;
+
+ for (i = 0; static_functions[i].Name_offset >= 0; i++) {
+ const char *testName =
+ gl_string_table + static_functions[i].Name_offset;
+ if (strcmp(testName, n) == 0) {
+ return &static_functions[i];
+ }
+ }
+ return NULL;
}
-
/**
* Return dispatch table offset of the named static (built-in) function.
* Return -1 if function not found.
@@ -241,14 +235,13 @@ find_entry( const char * n )
static GLint
get_static_proc_offset(const char *funcName)
{
- const glprocs_table_t * const f = find_entry( funcName );
- if (f) {
- return f->Offset;
- }
- return -1;
-}
-
+ const glprocs_table_t *const f = find_entry(funcName);
+ if (f) {
+ return f->Offset;
+ }
+ return -1;
+}
/**********************************************************************
* Extension function management.
@@ -259,7 +252,6 @@ get_static_proc_offset(const char *funcName)
*/
#define MAX_EXTENSION_FUNCS 300
-
/*
* The dispatch table size (number of entries) is the size of the
* _glapi_table struct plus the number of dynamic entries we can add.
@@ -268,7 +260,6 @@ get_static_proc_offset(const char *funcName)
*/
#define DISPATCH_TABLE_SIZE (sizeof(struct _glapi_table) / sizeof(void *) + MAX_EXTENSION_FUNCS)
-
/**
* Track information about a function added to the GL API.
*/
@@ -276,7 +267,7 @@ struct _glapi_function {
/**
* Name of the function.
*/
- const char * name;
+ const char *name;
/**
* Text string that describes the types of the parameters passed to the
@@ -287,14 +278,14 @@ struct _glapi_function {
* - 'f' for \c GLfloat and \c GLclampf
* - 'd' for \c GLdouble and \c GLclampd
*/
- const char * parameter_signature;
+ const char *parameter_signature;
/**
* Offset in the dispatch table where the pointer to the real function is
* located. If the driver has not requested that the named function be
* added to the dispatch table, this will have the value ~0.
*/
- unsigned dispatch_offset;
+ unsigned dispatch_offset;
};
static struct _glapi_function ExtEntryTable[MAX_EXTENSION_FUNCS];
@@ -314,22 +305,21 @@ static GLuint NumExtEntryPoints = 0;
*/
static struct _glapi_function *
-add_function_name( const char * funcName )
+add_function_name(const char *funcName)
{
- struct _glapi_function * entry = NULL;
-
- if (NumExtEntryPoints < MAX_EXTENSION_FUNCS) {
- entry = &ExtEntryTable[NumExtEntryPoints];
-
- ExtEntryTable[NumExtEntryPoints].name = strdup(funcName);
- ExtEntryTable[NumExtEntryPoints].parameter_signature = NULL;
- ExtEntryTable[NumExtEntryPoints].dispatch_offset = ~0;
- NumExtEntryPoints++;
- }
-
- return entry;
-}
+ struct _glapi_function *entry = NULL;
+
+ if (NumExtEntryPoints < MAX_EXTENSION_FUNCS) {
+ entry = &ExtEntryTable[NumExtEntryPoints];
+ ExtEntryTable[NumExtEntryPoints].name = strdup(funcName);
+ ExtEntryTable[NumExtEntryPoints].parameter_signature = NULL;
+ ExtEntryTable[NumExtEntryPoints].dispatch_offset = ~0;
+ NumExtEntryPoints++;
+ }
+
+ return entry;
+}
/**
* Fill-in the dispatch stub for the named function.
@@ -379,90 +369,91 @@ add_function_name( const char * funcName )
*/
PUBLIC int
-_glapi_add_dispatch( const char * const * function_names,
- const char * parameter_signature )
+_glapi_add_dispatch(const char *const *function_names,
+ const char *parameter_signature)
{
- static int next_dynamic_offset = FIRST_DYNAMIC_OFFSET;
- const char * const real_sig = (parameter_signature != NULL)
- ? parameter_signature : "";
- struct _glapi_function * entry[8];
- GLboolean is_static[8];
- unsigned i;
- unsigned j;
- int offset = ~0;
- int new_offset;
-
-
- (void) memset(is_static, 0, sizeof(is_static));
- (void) memset(entry, 0, sizeof(entry));
-
- for (i = 0 ; function_names[i] != NULL ; i++) {
- /* Do some trivial validation on the name of the function. */
-
- if (function_names[i][0] != 'g' || function_names[i][1] != 'l')
- return GL_FALSE;
-
- /* Determine if the named function already exists. If the function does
- * exist, it must have the same parameter signature as the function
- * being added.
- */
-
- new_offset = get_static_proc_offset(function_names[i]);
- if (new_offset >= 0) {
- /* FIXME: Make sure the parameter signatures match! How do we get
- * FIXME: the parameter signature for static functions?
- */
-
- if ((offset != ~0) && (new_offset != offset)) {
- return -1;
- }
-
- is_static[i] = GL_TRUE;
- offset = new_offset;
- }
-
- for (j = 0; j < NumExtEntryPoints; j++) {
- if (strcmp(ExtEntryTable[j].name, function_names[i]) == 0) {
- /* The offset may be ~0 if the function name was added by
- * glXGetProcAddress but never filled in by the driver.
- */
-
- if (ExtEntryTable[j].dispatch_offset != ~0) {
- if (strcmp(real_sig, ExtEntryTable[j].parameter_signature) != 0)
- return -1;
-
- if ((offset != ~0) && (ExtEntryTable[j].dispatch_offset != offset)) {
- return -1;
- }
-
- offset = ExtEntryTable[j].dispatch_offset;
- }
-
- entry[i] = & ExtEntryTable[j];
- break;
- }
- }
- }
-
- if (offset == ~0) {
- offset = next_dynamic_offset;
- next_dynamic_offset++;
- }
-
- for (i = 0 ; function_names[i] != NULL ; i++) {
- if (!is_static[i]) {
- if (entry[i] == NULL) {
- entry[i] = add_function_name(function_names[i]);
- if (entry[i] == NULL)
- return -1;
- }
-
- entry[i]->parameter_signature = strdup(real_sig);
- entry[i]->dispatch_offset = offset;
- }
- }
-
- return offset;
+ static int next_dynamic_offset = FIRST_DYNAMIC_OFFSET;
+ const char *const real_sig = (parameter_signature != NULL)
+ ? parameter_signature : "";
+ struct _glapi_function *entry[8];
+ GLboolean is_static[8];
+ unsigned i;
+ unsigned j;
+ int offset = ~0;
+ int new_offset;
+
+ (void) memset(is_static, 0, sizeof(is_static));
+ (void) memset(entry, 0, sizeof(entry));
+
+ for (i = 0; function_names[i] != NULL; i++) {
+ /* Do some trivial validation on the name of the function. */
+
+ if (function_names[i][0] != 'g' || function_names[i][1] != 'l')
+ return GL_FALSE;
+
+ /* Determine if the named function already exists. If the function does
+ * exist, it must have the same parameter signature as the function
+ * being added.
+ */
+
+ new_offset = get_static_proc_offset(function_names[i]);
+ if (new_offset >= 0) {
+ /* FIXME: Make sure the parameter signatures match! How do we get
+ * FIXME: the parameter signature for static functions?
+ */
+
+ if ((offset != ~0) && (new_offset != offset)) {
+ return -1;
+ }
+
+ is_static[i] = GL_TRUE;
+ offset = new_offset;
+ }
+
+ for (j = 0; j < NumExtEntryPoints; j++) {
+ if (strcmp(ExtEntryTable[j].name, function_names[i]) == 0) {
+ /* The offset may be ~0 if the function name was added by
+ * glXGetProcAddress but never filled in by the driver.
+ */
+
+ if (ExtEntryTable[j].dispatch_offset != ~0) {
+ if (strcmp(real_sig, ExtEntryTable[j].parameter_signature)
+ != 0)
+ return -1;
+
+ if ((offset != ~0) &&
+ (ExtEntryTable[j].dispatch_offset != offset)) {
+ return -1;
+ }
+
+ offset = ExtEntryTable[j].dispatch_offset;
+ }
+
+ entry[i] = &ExtEntryTable[j];
+ break;
+ }
+ }
+ }
+
+ if (offset == ~0) {
+ offset = next_dynamic_offset;
+ next_dynamic_offset++;
+ }
+
+ for (i = 0; function_names[i] != NULL; i++) {
+ if (!is_static[i]) {
+ if (entry[i] == NULL) {
+ entry[i] = add_function_name(function_names[i]);
+ if (entry[i] == NULL)
+ return -1;
+ }
+
+ entry[i]->parameter_signature = strdup(real_sig);
+ entry[i]->dispatch_offset = offset;
+ }
+ }
+
+ return offset;
}
/*
@@ -483,7 +474,7 @@ _glapi_get_proc_address(const char *funcName)
PUBLIC GLuint
_glapi_get_dispatch_table_size(void)
{
- return DISPATCH_TABLE_SIZE;
+ return DISPATCH_TABLE_SIZE;
}
#if defined(PTHREADS) || defined(GLX_USE_TLS)
@@ -491,22 +482,23 @@ _glapi_get_dispatch_table_size(void)
* Perform platform-specific GL API entry-point fixups.
*/
static void
-init_glapi_relocs( void )
+init_glapi_relocs(void)
{
#if defined(USE_X86_ASM) && defined(GLX_USE_TLS) && !defined(GLX_X86_READONLY_TEXT)
extern unsigned long _x86_get_dispatch(void);
+
char run_time_patch[] = {
- 0x65, 0xa1, 0, 0, 0, 0 /* movl %gs:0,%eax */
+ 0x65, 0xa1, 0, 0, 0, 0 /* movl %gs:0,%eax */
};
- GLuint *offset = (GLuint *) &run_time_patch[2]; /* 32-bits for x86/32 */
- const GLubyte * const get_disp = (const GLubyte *) run_time_patch;
- GLubyte * curr_func = (GLubyte *) gl_dispatch_functions_start;
+ GLuint *offset = (GLuint *) & run_time_patch[2]; /* 32-bits for x86/32 */
+ const GLubyte *const get_disp = (const GLubyte *) run_time_patch;
+ GLubyte *curr_func = (GLubyte *) gl_dispatch_functions_start;
*offset = _x86_get_dispatch();
- while ( curr_func != (GLubyte *) gl_dispatch_functions_end ) {
- (void) memcpy( curr_func, get_disp, sizeof(run_time_patch));
- curr_func += DISPATCH_FUNCTION_SIZE;
+ while (curr_func != (GLubyte *) gl_dispatch_functions_end) {
+ (void) memcpy(curr_func, get_disp, sizeof(run_time_patch));
+ curr_func += DISPATCH_FUNCTION_SIZE;
}
#endif
}
-#endif /* defined(PTHREADS) || defined(GLX_USE_TLS) */
+#endif /* defined(PTHREADS) || defined(GLX_USE_TLS) */
diff --git a/glx/glapi.h b/glx/glapi.h
index 27395d87c..bad791eab 100644
--- a/glx/glapi.h
+++ b/glx/glapi.h
@@ -22,7 +22,6 @@
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
-
/**
* \mainpage Mesa GL API Module
*
@@ -40,7 +39,6 @@
* with the X/DRI libGL also.
*/
-
#ifndef _GLAPI_H
#define _GLAPI_H
@@ -50,13 +48,11 @@
#include "GL/glext.h"
#include "glthread.h"
-
struct _glapi_table;
-typedef void (*_glapi_proc)(void); /* generic function pointer */
-
-typedef void (*_glapi_warning_func)(void *ctx, const char *str, ...);
+typedef void (*_glapi_proc) (void); /* generic function pointer */
+typedef void (*_glapi_warning_func) (void *ctx, const char *str, ...);
#if defined(USE_MGL_NAMESPACE)
#define _glapi_set_dispatch _mglapi_set_dispatch
@@ -67,13 +63,11 @@ typedef void (*_glapi_warning_func)(void *ctx, const char *str, ...);
#define _glapi_Dispatch _mglapi_Dispatch
#endif
-
/*
* Number of extension functions which we can dynamically add at runtime.
*/
#define MAX_EXTENSION_FUNCS 300
-
/**
** Define the GET_CURRENT_CONTEXT() macro.
** \param C local variable which will hold the current context.
@@ -83,63 +77,59 @@ typedef void (*_glapi_warning_func)(void *ctx, const char *str, ...);
const extern void *_glapi_Context;
const extern struct _glapi_table *_glapi_Dispatch;
-extern TLS void * _glapi_tls_Context;
+extern TLS void *_glapi_tls_Context;
-# define GET_CURRENT_CONTEXT(C) GLcontext *C = (GLcontext *) _glapi_tls_Context
+#define GET_CURRENT_CONTEXT(C) GLcontext *C = (GLcontext *) _glapi_tls_Context
#else
extern void *_glapi_Context;
extern struct _glapi_table *_glapi_Dispatch;
-# ifdef THREADS
-# define GET_CURRENT_CONTEXT(C) GLcontext *C = (GLcontext *) (_glapi_Context ? _glapi_Context : _glapi_get_context())
-# else
-# define GET_CURRENT_CONTEXT(C) GLcontext *C = (GLcontext *) _glapi_Context
-# endif
-
-#endif /* defined (GLX_USE_TLS) */
+#ifdef THREADS
+#define GET_CURRENT_CONTEXT(C) GLcontext *C = (GLcontext *) (_glapi_Context ? _glapi_Context : _glapi_get_context())
+#else
+#define GET_CURRENT_CONTEXT(C) GLcontext *C = (GLcontext *) _glapi_Context
+#endif
+#endif /* defined (GLX_USE_TLS) */
/**
** GL API public functions
**/
extern void
-_glapi_check_multithread(void);
+ _glapi_check_multithread(void);
extern void
-_glapi_set_context(void *context);
+ _glapi_set_context(void *context);
-extern void *
-_glapi_get_context(void);
+extern void *_glapi_get_context(void);
extern void
-_glapi_set_dispatch(struct _glapi_table *dispatch);
+ _glapi_set_dispatch(struct _glapi_table *dispatch);
-extern struct _glapi_table *
-_glapi_get_dispatch(void);
+extern struct _glapi_table *_glapi_get_dispatch(void);
extern int
-_glapi_begin_dispatch_override(struct _glapi_table *override);
+ _glapi_begin_dispatch_override(struct _glapi_table *override);
extern void
-_glapi_end_dispatch_override(int layer);
+ _glapi_end_dispatch_override(int layer);
-struct _glapi_table *
-_glapi_get_override_dispatch(int layer);
+struct _glapi_table *_glapi_get_override_dispatch(int layer);
-extern GLuint
-_glapi_get_dispatch_table_size(void);
+extern GLuint _glapi_get_dispatch_table_size(void);
extern int
-_glapi_add_dispatch( const char * const * function_names,
- const char * parameter_signature );
-extern _glapi_proc
-_glapi_get_proc_address(const char *funcName);
+_glapi_add_dispatch(const char *const *function_names,
+ const char *parameter_signature);
+
+extern _glapi_proc _glapi_get_proc_address(const char *funcName);
-extern struct _glapi_table *
-_glapi_create_table_from_handle(void *handle, const char *symbol_prefix);
+extern struct _glapi_table *_glapi_create_table_from_handle(void *handle,
+ const char
+ *symbol_prefix);
#endif
diff --git a/glx/glapi_gentable.c b/glx/glapi_gentable.c
index 5c0480170..1fb143100 100644
--- a/glx/glapi_gentable.c
+++ b/glx/glapi_gentable.c
@@ -58,7 +58,8 @@
#endif
static void
-__glapi_gentable_NoOp(void) {
+__glapi_gentable_NoOp(void)
+{
const char *fstr = "Unknown";
/* Silence potential GCC warning for some #ifdef paths.
@@ -71,10 +72,11 @@ __glapi_gentable_NoOp(void) {
{
void *frames[2];
- if(backtrace(frames, 2) == 2) {
+ if (backtrace(frames, 2) == 2) {
Dl_info info;
+
dladdr(frames[1], &info);
- if(info.dli_sname)
+ if (info.dli_sname)
fstr = info.dli_sname;
}
@@ -89,9400 +91,9968 @@ __glapi_gentable_NoOp(void) {
}
static void
-__glapi_gentable_set_remaining_noop(struct _glapi_table *disp) {
+__glapi_gentable_set_remaining_noop(struct _glapi_table *disp)
+{
GLuint entries = _glapi_get_dispatch_table_size();
void **dispatch = (void **) disp;
int i;
/* ISO C is annoying sometimes */
- union {_glapi_proc p; void *v;} p;
+ union {
+ _glapi_proc p;
+ void *v;
+ } p;
+
p.p = __glapi_gentable_NoOp;
- for(i=0; i < entries; i++)
- if(dispatch[i] == NULL)
+ for (i = 0; i < entries; i++)
+ if (dispatch[i] == NULL)
dispatch[i] = p.v;
}
struct _glapi_table *
-_glapi_create_table_from_handle(void *handle, const char *symbol_prefix) {
+_glapi_create_table_from_handle(void *handle, const char *symbol_prefix)
+{
struct _glapi_table *disp = calloc(1, sizeof(struct _glapi_table));
char symboln[512];
- if(!disp)
+ if (!disp)
return NULL;
- if(symbol_prefix == NULL)
+ if (symbol_prefix == NULL)
symbol_prefix = "";
+ if (!disp->NewList) {
+ void **procp = (void **) &disp->NewList;
- if(!disp->NewList) {
- void ** procp = (void **) &disp->NewList;
snprintf(symboln, sizeof(symboln), "%sNewList", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->EndList) {
+ void **procp = (void **) &disp->EndList;
- if(!disp->EndList) {
- void ** procp = (void **) &disp->EndList;
snprintf(symboln, sizeof(symboln), "%sEndList", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->CallList) {
+ void **procp = (void **) &disp->CallList;
- if(!disp->CallList) {
- void ** procp = (void **) &disp->CallList;
snprintf(symboln, sizeof(symboln), "%sCallList", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->CallLists) {
+ void **procp = (void **) &disp->CallLists;
- if(!disp->CallLists) {
- void ** procp = (void **) &disp->CallLists;
snprintf(symboln, sizeof(symboln), "%sCallLists", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->DeleteLists) {
+ void **procp = (void **) &disp->DeleteLists;
- if(!disp->DeleteLists) {
- void ** procp = (void **) &disp->DeleteLists;
snprintf(symboln, sizeof(symboln), "%sDeleteLists", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GenLists) {
+ void **procp = (void **) &disp->GenLists;
- if(!disp->GenLists) {
- void ** procp = (void **) &disp->GenLists;
snprintf(symboln, sizeof(symboln), "%sGenLists", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ListBase) {
+ void **procp = (void **) &disp->ListBase;
- if(!disp->ListBase) {
- void ** procp = (void **) &disp->ListBase;
snprintf(symboln, sizeof(symboln), "%sListBase", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Begin) {
+ void **procp = (void **) &disp->Begin;
- if(!disp->Begin) {
- void ** procp = (void **) &disp->Begin;
snprintf(symboln, sizeof(symboln), "%sBegin", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Bitmap) {
+ void **procp = (void **) &disp->Bitmap;
- if(!disp->Bitmap) {
- void ** procp = (void **) &disp->Bitmap;
snprintf(symboln, sizeof(symboln), "%sBitmap", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Color3b) {
+ void **procp = (void **) &disp->Color3b;
- if(!disp->Color3b) {
- void ** procp = (void **) &disp->Color3b;
snprintf(symboln, sizeof(symboln), "%sColor3b", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Color3bv) {
+ void **procp = (void **) &disp->Color3bv;
- if(!disp->Color3bv) {
- void ** procp = (void **) &disp->Color3bv;
snprintf(symboln, sizeof(symboln), "%sColor3bv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Color3d) {
+ void **procp = (void **) &disp->Color3d;
- if(!disp->Color3d) {
- void ** procp = (void **) &disp->Color3d;
snprintf(symboln, sizeof(symboln), "%sColor3d", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Color3dv) {
+ void **procp = (void **) &disp->Color3dv;
- if(!disp->Color3dv) {
- void ** procp = (void **) &disp->Color3dv;
snprintf(symboln, sizeof(symboln), "%sColor3dv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Color3f) {
+ void **procp = (void **) &disp->Color3f;
- if(!disp->Color3f) {
- void ** procp = (void **) &disp->Color3f;
snprintf(symboln, sizeof(symboln), "%sColor3f", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Color3fv) {
+ void **procp = (void **) &disp->Color3fv;
- if(!disp->Color3fv) {
- void ** procp = (void **) &disp->Color3fv;
snprintf(symboln, sizeof(symboln), "%sColor3fv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Color3i) {
+ void **procp = (void **) &disp->Color3i;
- if(!disp->Color3i) {
- void ** procp = (void **) &disp->Color3i;
snprintf(symboln, sizeof(symboln), "%sColor3i", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Color3iv) {
+ void **procp = (void **) &disp->Color3iv;
- if(!disp->Color3iv) {
- void ** procp = (void **) &disp->Color3iv;
snprintf(symboln, sizeof(symboln), "%sColor3iv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Color3s) {
+ void **procp = (void **) &disp->Color3s;
- if(!disp->Color3s) {
- void ** procp = (void **) &disp->Color3s;
snprintf(symboln, sizeof(symboln), "%sColor3s", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Color3sv) {
+ void **procp = (void **) &disp->Color3sv;
- if(!disp->Color3sv) {
- void ** procp = (void **) &disp->Color3sv;
snprintf(symboln, sizeof(symboln), "%sColor3sv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Color3ub) {
+ void **procp = (void **) &disp->Color3ub;
- if(!disp->Color3ub) {
- void ** procp = (void **) &disp->Color3ub;
snprintf(symboln, sizeof(symboln), "%sColor3ub", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Color3ubv) {
+ void **procp = (void **) &disp->Color3ubv;
- if(!disp->Color3ubv) {
- void ** procp = (void **) &disp->Color3ubv;
snprintf(symboln, sizeof(symboln), "%sColor3ubv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Color3ui) {
+ void **procp = (void **) &disp->Color3ui;
- if(!disp->Color3ui) {
- void ** procp = (void **) &disp->Color3ui;
snprintf(symboln, sizeof(symboln), "%sColor3ui", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Color3uiv) {
+ void **procp = (void **) &disp->Color3uiv;
- if(!disp->Color3uiv) {
- void ** procp = (void **) &disp->Color3uiv;
snprintf(symboln, sizeof(symboln), "%sColor3uiv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Color3us) {
+ void **procp = (void **) &disp->Color3us;
- if(!disp->Color3us) {
- void ** procp = (void **) &disp->Color3us;
snprintf(symboln, sizeof(symboln), "%sColor3us", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Color3usv) {
+ void **procp = (void **) &disp->Color3usv;
- if(!disp->Color3usv) {
- void ** procp = (void **) &disp->Color3usv;
snprintf(symboln, sizeof(symboln), "%sColor3usv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Color4b) {
+ void **procp = (void **) &disp->Color4b;
- if(!disp->Color4b) {
- void ** procp = (void **) &disp->Color4b;
snprintf(symboln, sizeof(symboln), "%sColor4b", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Color4bv) {
+ void **procp = (void **) &disp->Color4bv;
- if(!disp->Color4bv) {
- void ** procp = (void **) &disp->Color4bv;
snprintf(symboln, sizeof(symboln), "%sColor4bv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Color4d) {
+ void **procp = (void **) &disp->Color4d;
- if(!disp->Color4d) {
- void ** procp = (void **) &disp->Color4d;
snprintf(symboln, sizeof(symboln), "%sColor4d", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Color4dv) {
+ void **procp = (void **) &disp->Color4dv;
- if(!disp->Color4dv) {
- void ** procp = (void **) &disp->Color4dv;
snprintf(symboln, sizeof(symboln), "%sColor4dv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Color4f) {
+ void **procp = (void **) &disp->Color4f;
- if(!disp->Color4f) {
- void ** procp = (void **) &disp->Color4f;
snprintf(symboln, sizeof(symboln), "%sColor4f", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Color4fv) {
+ void **procp = (void **) &disp->Color4fv;
- if(!disp->Color4fv) {
- void ** procp = (void **) &disp->Color4fv;
snprintf(symboln, sizeof(symboln), "%sColor4fv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Color4i) {
+ void **procp = (void **) &disp->Color4i;
- if(!disp->Color4i) {
- void ** procp = (void **) &disp->Color4i;
snprintf(symboln, sizeof(symboln), "%sColor4i", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Color4iv) {
+ void **procp = (void **) &disp->Color4iv;
- if(!disp->Color4iv) {
- void ** procp = (void **) &disp->Color4iv;
snprintf(symboln, sizeof(symboln), "%sColor4iv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Color4s) {
+ void **procp = (void **) &disp->Color4s;
- if(!disp->Color4s) {
- void ** procp = (void **) &disp->Color4s;
snprintf(symboln, sizeof(symboln), "%sColor4s", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Color4sv) {
+ void **procp = (void **) &disp->Color4sv;
- if(!disp->Color4sv) {
- void ** procp = (void **) &disp->Color4sv;
snprintf(symboln, sizeof(symboln), "%sColor4sv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Color4ub) {
+ void **procp = (void **) &disp->Color4ub;
- if(!disp->Color4ub) {
- void ** procp = (void **) &disp->Color4ub;
snprintf(symboln, sizeof(symboln), "%sColor4ub", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Color4ubv) {
+ void **procp = (void **) &disp->Color4ubv;
- if(!disp->Color4ubv) {
- void ** procp = (void **) &disp->Color4ubv;
snprintf(symboln, sizeof(symboln), "%sColor4ubv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Color4ui) {
+ void **procp = (void **) &disp->Color4ui;
- if(!disp->Color4ui) {
- void ** procp = (void **) &disp->Color4ui;
snprintf(symboln, sizeof(symboln), "%sColor4ui", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Color4uiv) {
+ void **procp = (void **) &disp->Color4uiv;
- if(!disp->Color4uiv) {
- void ** procp = (void **) &disp->Color4uiv;
snprintf(symboln, sizeof(symboln), "%sColor4uiv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Color4us) {
+ void **procp = (void **) &disp->Color4us;
- if(!disp->Color4us) {
- void ** procp = (void **) &disp->Color4us;
snprintf(symboln, sizeof(symboln), "%sColor4us", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Color4usv) {
+ void **procp = (void **) &disp->Color4usv;
- if(!disp->Color4usv) {
- void ** procp = (void **) &disp->Color4usv;
snprintf(symboln, sizeof(symboln), "%sColor4usv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->EdgeFlag) {
+ void **procp = (void **) &disp->EdgeFlag;
- if(!disp->EdgeFlag) {
- void ** procp = (void **) &disp->EdgeFlag;
snprintf(symboln, sizeof(symboln), "%sEdgeFlag", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->EdgeFlagv) {
+ void **procp = (void **) &disp->EdgeFlagv;
- if(!disp->EdgeFlagv) {
- void ** procp = (void **) &disp->EdgeFlagv;
snprintf(symboln, sizeof(symboln), "%sEdgeFlagv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->End) {
+ void **procp = (void **) &disp->End;
- if(!disp->End) {
- void ** procp = (void **) &disp->End;
snprintf(symboln, sizeof(symboln), "%sEnd", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Indexd) {
+ void **procp = (void **) &disp->Indexd;
- if(!disp->Indexd) {
- void ** procp = (void **) &disp->Indexd;
snprintf(symboln, sizeof(symboln), "%sIndexd", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Indexdv) {
+ void **procp = (void **) &disp->Indexdv;
- if(!disp->Indexdv) {
- void ** procp = (void **) &disp->Indexdv;
snprintf(symboln, sizeof(symboln), "%sIndexdv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Indexf) {
+ void **procp = (void **) &disp->Indexf;
- if(!disp->Indexf) {
- void ** procp = (void **) &disp->Indexf;
snprintf(symboln, sizeof(symboln), "%sIndexf", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Indexfv) {
+ void **procp = (void **) &disp->Indexfv;
- if(!disp->Indexfv) {
- void ** procp = (void **) &disp->Indexfv;
snprintf(symboln, sizeof(symboln), "%sIndexfv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Indexi) {
+ void **procp = (void **) &disp->Indexi;
- if(!disp->Indexi) {
- void ** procp = (void **) &disp->Indexi;
snprintf(symboln, sizeof(symboln), "%sIndexi", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Indexiv) {
+ void **procp = (void **) &disp->Indexiv;
- if(!disp->Indexiv) {
- void ** procp = (void **) &disp->Indexiv;
snprintf(symboln, sizeof(symboln), "%sIndexiv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Indexs) {
+ void **procp = (void **) &disp->Indexs;
- if(!disp->Indexs) {
- void ** procp = (void **) &disp->Indexs;
snprintf(symboln, sizeof(symboln), "%sIndexs", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Indexsv) {
+ void **procp = (void **) &disp->Indexsv;
- if(!disp->Indexsv) {
- void ** procp = (void **) &disp->Indexsv;
snprintf(symboln, sizeof(symboln), "%sIndexsv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Normal3b) {
+ void **procp = (void **) &disp->Normal3b;
- if(!disp->Normal3b) {
- void ** procp = (void **) &disp->Normal3b;
snprintf(symboln, sizeof(symboln), "%sNormal3b", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Normal3bv) {
+ void **procp = (void **) &disp->Normal3bv;
- if(!disp->Normal3bv) {
- void ** procp = (void **) &disp->Normal3bv;
snprintf(symboln, sizeof(symboln), "%sNormal3bv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Normal3d) {
+ void **procp = (void **) &disp->Normal3d;
- if(!disp->Normal3d) {
- void ** procp = (void **) &disp->Normal3d;
snprintf(symboln, sizeof(symboln), "%sNormal3d", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Normal3dv) {
+ void **procp = (void **) &disp->Normal3dv;
- if(!disp->Normal3dv) {
- void ** procp = (void **) &disp->Normal3dv;
snprintf(symboln, sizeof(symboln), "%sNormal3dv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Normal3f) {
+ void **procp = (void **) &disp->Normal3f;
- if(!disp->Normal3f) {
- void ** procp = (void **) &disp->Normal3f;
snprintf(symboln, sizeof(symboln), "%sNormal3f", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Normal3fv) {
+ void **procp = (void **) &disp->Normal3fv;
- if(!disp->Normal3fv) {
- void ** procp = (void **) &disp->Normal3fv;
snprintf(symboln, sizeof(symboln), "%sNormal3fv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Normal3i) {
+ void **procp = (void **) &disp->Normal3i;
- if(!disp->Normal3i) {
- void ** procp = (void **) &disp->Normal3i;
snprintf(symboln, sizeof(symboln), "%sNormal3i", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Normal3iv) {
+ void **procp = (void **) &disp->Normal3iv;
- if(!disp->Normal3iv) {
- void ** procp = (void **) &disp->Normal3iv;
snprintf(symboln, sizeof(symboln), "%sNormal3iv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Normal3s) {
+ void **procp = (void **) &disp->Normal3s;
- if(!disp->Normal3s) {
- void ** procp = (void **) &disp->Normal3s;
snprintf(symboln, sizeof(symboln), "%sNormal3s", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Normal3sv) {
+ void **procp = (void **) &disp->Normal3sv;
- if(!disp->Normal3sv) {
- void ** procp = (void **) &disp->Normal3sv;
snprintf(symboln, sizeof(symboln), "%sNormal3sv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->RasterPos2d) {
+ void **procp = (void **) &disp->RasterPos2d;
- if(!disp->RasterPos2d) {
- void ** procp = (void **) &disp->RasterPos2d;
snprintf(symboln, sizeof(symboln), "%sRasterPos2d", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->RasterPos2dv) {
+ void **procp = (void **) &disp->RasterPos2dv;
- if(!disp->RasterPos2dv) {
- void ** procp = (void **) &disp->RasterPos2dv;
snprintf(symboln, sizeof(symboln), "%sRasterPos2dv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->RasterPos2f) {
+ void **procp = (void **) &disp->RasterPos2f;
- if(!disp->RasterPos2f) {
- void ** procp = (void **) &disp->RasterPos2f;
snprintf(symboln, sizeof(symboln), "%sRasterPos2f", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->RasterPos2fv) {
+ void **procp = (void **) &disp->RasterPos2fv;
- if(!disp->RasterPos2fv) {
- void ** procp = (void **) &disp->RasterPos2fv;
snprintf(symboln, sizeof(symboln), "%sRasterPos2fv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->RasterPos2i) {
+ void **procp = (void **) &disp->RasterPos2i;
- if(!disp->RasterPos2i) {
- void ** procp = (void **) &disp->RasterPos2i;
snprintf(symboln, sizeof(symboln), "%sRasterPos2i", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->RasterPos2iv) {
+ void **procp = (void **) &disp->RasterPos2iv;
- if(!disp->RasterPos2iv) {
- void ** procp = (void **) &disp->RasterPos2iv;
snprintf(symboln, sizeof(symboln), "%sRasterPos2iv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->RasterPos2s) {
+ void **procp = (void **) &disp->RasterPos2s;
- if(!disp->RasterPos2s) {
- void ** procp = (void **) &disp->RasterPos2s;
snprintf(symboln, sizeof(symboln), "%sRasterPos2s", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->RasterPos2sv) {
+ void **procp = (void **) &disp->RasterPos2sv;
- if(!disp->RasterPos2sv) {
- void ** procp = (void **) &disp->RasterPos2sv;
snprintf(symboln, sizeof(symboln), "%sRasterPos2sv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->RasterPos3d) {
+ void **procp = (void **) &disp->RasterPos3d;
- if(!disp->RasterPos3d) {
- void ** procp = (void **) &disp->RasterPos3d;
snprintf(symboln, sizeof(symboln), "%sRasterPos3d", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->RasterPos3dv) {
+ void **procp = (void **) &disp->RasterPos3dv;
- if(!disp->RasterPos3dv) {
- void ** procp = (void **) &disp->RasterPos3dv;
snprintf(symboln, sizeof(symboln), "%sRasterPos3dv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->RasterPos3f) {
+ void **procp = (void **) &disp->RasterPos3f;
- if(!disp->RasterPos3f) {
- void ** procp = (void **) &disp->RasterPos3f;
snprintf(symboln, sizeof(symboln), "%sRasterPos3f", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->RasterPos3fv) {
+ void **procp = (void **) &disp->RasterPos3fv;
- if(!disp->RasterPos3fv) {
- void ** procp = (void **) &disp->RasterPos3fv;
snprintf(symboln, sizeof(symboln), "%sRasterPos3fv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->RasterPos3i) {
+ void **procp = (void **) &disp->RasterPos3i;
- if(!disp->RasterPos3i) {
- void ** procp = (void **) &disp->RasterPos3i;
snprintf(symboln, sizeof(symboln), "%sRasterPos3i", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->RasterPos3iv) {
+ void **procp = (void **) &disp->RasterPos3iv;
- if(!disp->RasterPos3iv) {
- void ** procp = (void **) &disp->RasterPos3iv;
snprintf(symboln, sizeof(symboln), "%sRasterPos3iv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->RasterPos3s) {
+ void **procp = (void **) &disp->RasterPos3s;
- if(!disp->RasterPos3s) {
- void ** procp = (void **) &disp->RasterPos3s;
snprintf(symboln, sizeof(symboln), "%sRasterPos3s", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->RasterPos3sv) {
+ void **procp = (void **) &disp->RasterPos3sv;
- if(!disp->RasterPos3sv) {
- void ** procp = (void **) &disp->RasterPos3sv;
snprintf(symboln, sizeof(symboln), "%sRasterPos3sv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->RasterPos4d) {
+ void **procp = (void **) &disp->RasterPos4d;
- if(!disp->RasterPos4d) {
- void ** procp = (void **) &disp->RasterPos4d;
snprintf(symboln, sizeof(symboln), "%sRasterPos4d", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->RasterPos4dv) {
+ void **procp = (void **) &disp->RasterPos4dv;
- if(!disp->RasterPos4dv) {
- void ** procp = (void **) &disp->RasterPos4dv;
snprintf(symboln, sizeof(symboln), "%sRasterPos4dv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->RasterPos4f) {
+ void **procp = (void **) &disp->RasterPos4f;
- if(!disp->RasterPos4f) {
- void ** procp = (void **) &disp->RasterPos4f;
snprintf(symboln, sizeof(symboln), "%sRasterPos4f", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->RasterPos4fv) {
+ void **procp = (void **) &disp->RasterPos4fv;
- if(!disp->RasterPos4fv) {
- void ** procp = (void **) &disp->RasterPos4fv;
snprintf(symboln, sizeof(symboln), "%sRasterPos4fv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->RasterPos4i) {
+ void **procp = (void **) &disp->RasterPos4i;
- if(!disp->RasterPos4i) {
- void ** procp = (void **) &disp->RasterPos4i;
snprintf(symboln, sizeof(symboln), "%sRasterPos4i", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->RasterPos4iv) {
+ void **procp = (void **) &disp->RasterPos4iv;
- if(!disp->RasterPos4iv) {
- void ** procp = (void **) &disp->RasterPos4iv;
snprintf(symboln, sizeof(symboln), "%sRasterPos4iv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->RasterPos4s) {
+ void **procp = (void **) &disp->RasterPos4s;
- if(!disp->RasterPos4s) {
- void ** procp = (void **) &disp->RasterPos4s;
snprintf(symboln, sizeof(symboln), "%sRasterPos4s", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->RasterPos4sv) {
+ void **procp = (void **) &disp->RasterPos4sv;
- if(!disp->RasterPos4sv) {
- void ** procp = (void **) &disp->RasterPos4sv;
snprintf(symboln, sizeof(symboln), "%sRasterPos4sv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Rectd) {
+ void **procp = (void **) &disp->Rectd;
- if(!disp->Rectd) {
- void ** procp = (void **) &disp->Rectd;
snprintf(symboln, sizeof(symboln), "%sRectd", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Rectdv) {
+ void **procp = (void **) &disp->Rectdv;
- if(!disp->Rectdv) {
- void ** procp = (void **) &disp->Rectdv;
snprintf(symboln, sizeof(symboln), "%sRectdv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Rectf) {
+ void **procp = (void **) &disp->Rectf;
- if(!disp->Rectf) {
- void ** procp = (void **) &disp->Rectf;
snprintf(symboln, sizeof(symboln), "%sRectf", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Rectfv) {
+ void **procp = (void **) &disp->Rectfv;
- if(!disp->Rectfv) {
- void ** procp = (void **) &disp->Rectfv;
snprintf(symboln, sizeof(symboln), "%sRectfv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Recti) {
+ void **procp = (void **) &disp->Recti;
- if(!disp->Recti) {
- void ** procp = (void **) &disp->Recti;
snprintf(symboln, sizeof(symboln), "%sRecti", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Rectiv) {
+ void **procp = (void **) &disp->Rectiv;
- if(!disp->Rectiv) {
- void ** procp = (void **) &disp->Rectiv;
snprintf(symboln, sizeof(symboln), "%sRectiv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Rects) {
+ void **procp = (void **) &disp->Rects;
- if(!disp->Rects) {
- void ** procp = (void **) &disp->Rects;
snprintf(symboln, sizeof(symboln), "%sRects", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Rectsv) {
+ void **procp = (void **) &disp->Rectsv;
- if(!disp->Rectsv) {
- void ** procp = (void **) &disp->Rectsv;
snprintf(symboln, sizeof(symboln), "%sRectsv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->TexCoord1d) {
+ void **procp = (void **) &disp->TexCoord1d;
- if(!disp->TexCoord1d) {
- void ** procp = (void **) &disp->TexCoord1d;
snprintf(symboln, sizeof(symboln), "%sTexCoord1d", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->TexCoord1dv) {
+ void **procp = (void **) &disp->TexCoord1dv;
- if(!disp->TexCoord1dv) {
- void ** procp = (void **) &disp->TexCoord1dv;
snprintf(symboln, sizeof(symboln), "%sTexCoord1dv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->TexCoord1f) {
+ void **procp = (void **) &disp->TexCoord1f;
- if(!disp->TexCoord1f) {
- void ** procp = (void **) &disp->TexCoord1f;
snprintf(symboln, sizeof(symboln), "%sTexCoord1f", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->TexCoord1fv) {
+ void **procp = (void **) &disp->TexCoord1fv;
- if(!disp->TexCoord1fv) {
- void ** procp = (void **) &disp->TexCoord1fv;
snprintf(symboln, sizeof(symboln), "%sTexCoord1fv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->TexCoord1i) {
+ void **procp = (void **) &disp->TexCoord1i;
- if(!disp->TexCoord1i) {
- void ** procp = (void **) &disp->TexCoord1i;
snprintf(symboln, sizeof(symboln), "%sTexCoord1i", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->TexCoord1iv) {
+ void **procp = (void **) &disp->TexCoord1iv;
- if(!disp->TexCoord1iv) {
- void ** procp = (void **) &disp->TexCoord1iv;
snprintf(symboln, sizeof(symboln), "%sTexCoord1iv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->TexCoord1s) {
+ void **procp = (void **) &disp->TexCoord1s;
- if(!disp->TexCoord1s) {
- void ** procp = (void **) &disp->TexCoord1s;
snprintf(symboln, sizeof(symboln), "%sTexCoord1s", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->TexCoord1sv) {
+ void **procp = (void **) &disp->TexCoord1sv;
- if(!disp->TexCoord1sv) {
- void ** procp = (void **) &disp->TexCoord1sv;
snprintf(symboln, sizeof(symboln), "%sTexCoord1sv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->TexCoord2d) {
+ void **procp = (void **) &disp->TexCoord2d;
- if(!disp->TexCoord2d) {
- void ** procp = (void **) &disp->TexCoord2d;
snprintf(symboln, sizeof(symboln), "%sTexCoord2d", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->TexCoord2dv) {
+ void **procp = (void **) &disp->TexCoord2dv;
- if(!disp->TexCoord2dv) {
- void ** procp = (void **) &disp->TexCoord2dv;
snprintf(symboln, sizeof(symboln), "%sTexCoord2dv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->TexCoord2f) {
+ void **procp = (void **) &disp->TexCoord2f;
- if(!disp->TexCoord2f) {
- void ** procp = (void **) &disp->TexCoord2f;
snprintf(symboln, sizeof(symboln), "%sTexCoord2f", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->TexCoord2fv) {
+ void **procp = (void **) &disp->TexCoord2fv;
- if(!disp->TexCoord2fv) {
- void ** procp = (void **) &disp->TexCoord2fv;
snprintf(symboln, sizeof(symboln), "%sTexCoord2fv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->TexCoord2i) {
+ void **procp = (void **) &disp->TexCoord2i;
- if(!disp->TexCoord2i) {
- void ** procp = (void **) &disp->TexCoord2i;
snprintf(symboln, sizeof(symboln), "%sTexCoord2i", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->TexCoord2iv) {
+ void **procp = (void **) &disp->TexCoord2iv;
- if(!disp->TexCoord2iv) {
- void ** procp = (void **) &disp->TexCoord2iv;
snprintf(symboln, sizeof(symboln), "%sTexCoord2iv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->TexCoord2s) {
+ void **procp = (void **) &disp->TexCoord2s;
- if(!disp->TexCoord2s) {
- void ** procp = (void **) &disp->TexCoord2s;
snprintf(symboln, sizeof(symboln), "%sTexCoord2s", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->TexCoord2sv) {
+ void **procp = (void **) &disp->TexCoord2sv;
- if(!disp->TexCoord2sv) {
- void ** procp = (void **) &disp->TexCoord2sv;
snprintf(symboln, sizeof(symboln), "%sTexCoord2sv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->TexCoord3d) {
+ void **procp = (void **) &disp->TexCoord3d;
- if(!disp->TexCoord3d) {
- void ** procp = (void **) &disp->TexCoord3d;
snprintf(symboln, sizeof(symboln), "%sTexCoord3d", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->TexCoord3dv) {
+ void **procp = (void **) &disp->TexCoord3dv;
- if(!disp->TexCoord3dv) {
- void ** procp = (void **) &disp->TexCoord3dv;
snprintf(symboln, sizeof(symboln), "%sTexCoord3dv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->TexCoord3f) {
+ void **procp = (void **) &disp->TexCoord3f;
- if(!disp->TexCoord3f) {
- void ** procp = (void **) &disp->TexCoord3f;
snprintf(symboln, sizeof(symboln), "%sTexCoord3f", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->TexCoord3fv) {
+ void **procp = (void **) &disp->TexCoord3fv;
- if(!disp->TexCoord3fv) {
- void ** procp = (void **) &disp->TexCoord3fv;
snprintf(symboln, sizeof(symboln), "%sTexCoord3fv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->TexCoord3i) {
+ void **procp = (void **) &disp->TexCoord3i;
- if(!disp->TexCoord3i) {
- void ** procp = (void **) &disp->TexCoord3i;
snprintf(symboln, sizeof(symboln), "%sTexCoord3i", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->TexCoord3iv) {
+ void **procp = (void **) &disp->TexCoord3iv;
- if(!disp->TexCoord3iv) {
- void ** procp = (void **) &disp->TexCoord3iv;
snprintf(symboln, sizeof(symboln), "%sTexCoord3iv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->TexCoord3s) {
+ void **procp = (void **) &disp->TexCoord3s;
- if(!disp->TexCoord3s) {
- void ** procp = (void **) &disp->TexCoord3s;
snprintf(symboln, sizeof(symboln), "%sTexCoord3s", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->TexCoord3sv) {
+ void **procp = (void **) &disp->TexCoord3sv;
- if(!disp->TexCoord3sv) {
- void ** procp = (void **) &disp->TexCoord3sv;
snprintf(symboln, sizeof(symboln), "%sTexCoord3sv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->TexCoord4d) {
+ void **procp = (void **) &disp->TexCoord4d;
- if(!disp->TexCoord4d) {
- void ** procp = (void **) &disp->TexCoord4d;
snprintf(symboln, sizeof(symboln), "%sTexCoord4d", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->TexCoord4dv) {
+ void **procp = (void **) &disp->TexCoord4dv;
- if(!disp->TexCoord4dv) {
- void ** procp = (void **) &disp->TexCoord4dv;
snprintf(symboln, sizeof(symboln), "%sTexCoord4dv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->TexCoord4f) {
+ void **procp = (void **) &disp->TexCoord4f;
- if(!disp->TexCoord4f) {
- void ** procp = (void **) &disp->TexCoord4f;
snprintf(symboln, sizeof(symboln), "%sTexCoord4f", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->TexCoord4fv) {
+ void **procp = (void **) &disp->TexCoord4fv;
- if(!disp->TexCoord4fv) {
- void ** procp = (void **) &disp->TexCoord4fv;
snprintf(symboln, sizeof(symboln), "%sTexCoord4fv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->TexCoord4i) {
+ void **procp = (void **) &disp->TexCoord4i;
- if(!disp->TexCoord4i) {
- void ** procp = (void **) &disp->TexCoord4i;
snprintf(symboln, sizeof(symboln), "%sTexCoord4i", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->TexCoord4iv) {
+ void **procp = (void **) &disp->TexCoord4iv;
- if(!disp->TexCoord4iv) {
- void ** procp = (void **) &disp->TexCoord4iv;
snprintf(symboln, sizeof(symboln), "%sTexCoord4iv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->TexCoord4s) {
+ void **procp = (void **) &disp->TexCoord4s;
- if(!disp->TexCoord4s) {
- void ** procp = (void **) &disp->TexCoord4s;
snprintf(symboln, sizeof(symboln), "%sTexCoord4s", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->TexCoord4sv) {
+ void **procp = (void **) &disp->TexCoord4sv;
- if(!disp->TexCoord4sv) {
- void ** procp = (void **) &disp->TexCoord4sv;
snprintf(symboln, sizeof(symboln), "%sTexCoord4sv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Vertex2d) {
+ void **procp = (void **) &disp->Vertex2d;
- if(!disp->Vertex2d) {
- void ** procp = (void **) &disp->Vertex2d;
snprintf(symboln, sizeof(symboln), "%sVertex2d", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Vertex2dv) {
+ void **procp = (void **) &disp->Vertex2dv;
- if(!disp->Vertex2dv) {
- void ** procp = (void **) &disp->Vertex2dv;
snprintf(symboln, sizeof(symboln), "%sVertex2dv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Vertex2f) {
+ void **procp = (void **) &disp->Vertex2f;
- if(!disp->Vertex2f) {
- void ** procp = (void **) &disp->Vertex2f;
snprintf(symboln, sizeof(symboln), "%sVertex2f", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Vertex2fv) {
+ void **procp = (void **) &disp->Vertex2fv;
- if(!disp->Vertex2fv) {
- void ** procp = (void **) &disp->Vertex2fv;
snprintf(symboln, sizeof(symboln), "%sVertex2fv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Vertex2i) {
+ void **procp = (void **) &disp->Vertex2i;
- if(!disp->Vertex2i) {
- void ** procp = (void **) &disp->Vertex2i;
snprintf(symboln, sizeof(symboln), "%sVertex2i", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Vertex2iv) {
+ void **procp = (void **) &disp->Vertex2iv;
- if(!disp->Vertex2iv) {
- void ** procp = (void **) &disp->Vertex2iv;
snprintf(symboln, sizeof(symboln), "%sVertex2iv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Vertex2s) {
+ void **procp = (void **) &disp->Vertex2s;
- if(!disp->Vertex2s) {
- void ** procp = (void **) &disp->Vertex2s;
snprintf(symboln, sizeof(symboln), "%sVertex2s", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Vertex2sv) {
+ void **procp = (void **) &disp->Vertex2sv;
- if(!disp->Vertex2sv) {
- void ** procp = (void **) &disp->Vertex2sv;
snprintf(symboln, sizeof(symboln), "%sVertex2sv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Vertex3d) {
+ void **procp = (void **) &disp->Vertex3d;
- if(!disp->Vertex3d) {
- void ** procp = (void **) &disp->Vertex3d;
snprintf(symboln, sizeof(symboln), "%sVertex3d", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Vertex3dv) {
+ void **procp = (void **) &disp->Vertex3dv;
- if(!disp->Vertex3dv) {
- void ** procp = (void **) &disp->Vertex3dv;
snprintf(symboln, sizeof(symboln), "%sVertex3dv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Vertex3f) {
+ void **procp = (void **) &disp->Vertex3f;
- if(!disp->Vertex3f) {
- void ** procp = (void **) &disp->Vertex3f;
snprintf(symboln, sizeof(symboln), "%sVertex3f", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Vertex3fv) {
+ void **procp = (void **) &disp->Vertex3fv;
- if(!disp->Vertex3fv) {
- void ** procp = (void **) &disp->Vertex3fv;
snprintf(symboln, sizeof(symboln), "%sVertex3fv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Vertex3i) {
+ void **procp = (void **) &disp->Vertex3i;
- if(!disp->Vertex3i) {
- void ** procp = (void **) &disp->Vertex3i;
snprintf(symboln, sizeof(symboln), "%sVertex3i", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Vertex3iv) {
+ void **procp = (void **) &disp->Vertex3iv;
- if(!disp->Vertex3iv) {
- void ** procp = (void **) &disp->Vertex3iv;
snprintf(symboln, sizeof(symboln), "%sVertex3iv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Vertex3s) {
+ void **procp = (void **) &disp->Vertex3s;
- if(!disp->Vertex3s) {
- void ** procp = (void **) &disp->Vertex3s;
snprintf(symboln, sizeof(symboln), "%sVertex3s", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Vertex3sv) {
+ void **procp = (void **) &disp->Vertex3sv;
- if(!disp->Vertex3sv) {
- void ** procp = (void **) &disp->Vertex3sv;
snprintf(symboln, sizeof(symboln), "%sVertex3sv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Vertex4d) {
+ void **procp = (void **) &disp->Vertex4d;
- if(!disp->Vertex4d) {
- void ** procp = (void **) &disp->Vertex4d;
snprintf(symboln, sizeof(symboln), "%sVertex4d", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Vertex4dv) {
+ void **procp = (void **) &disp->Vertex4dv;
- if(!disp->Vertex4dv) {
- void ** procp = (void **) &disp->Vertex4dv;
snprintf(symboln, sizeof(symboln), "%sVertex4dv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Vertex4f) {
+ void **procp = (void **) &disp->Vertex4f;
- if(!disp->Vertex4f) {
- void ** procp = (void **) &disp->Vertex4f;
snprintf(symboln, sizeof(symboln), "%sVertex4f", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Vertex4fv) {
+ void **procp = (void **) &disp->Vertex4fv;
- if(!disp->Vertex4fv) {
- void ** procp = (void **) &disp->Vertex4fv;
snprintf(symboln, sizeof(symboln), "%sVertex4fv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Vertex4i) {
+ void **procp = (void **) &disp->Vertex4i;
- if(!disp->Vertex4i) {
- void ** procp = (void **) &disp->Vertex4i;
snprintf(symboln, sizeof(symboln), "%sVertex4i", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Vertex4iv) {
+ void **procp = (void **) &disp->Vertex4iv;
- if(!disp->Vertex4iv) {
- void ** procp = (void **) &disp->Vertex4iv;
snprintf(symboln, sizeof(symboln), "%sVertex4iv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Vertex4s) {
+ void **procp = (void **) &disp->Vertex4s;
- if(!disp->Vertex4s) {
- void ** procp = (void **) &disp->Vertex4s;
snprintf(symboln, sizeof(symboln), "%sVertex4s", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Vertex4sv) {
+ void **procp = (void **) &disp->Vertex4sv;
- if(!disp->Vertex4sv) {
- void ** procp = (void **) &disp->Vertex4sv;
snprintf(symboln, sizeof(symboln), "%sVertex4sv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ClipPlane) {
+ void **procp = (void **) &disp->ClipPlane;
- if(!disp->ClipPlane) {
- void ** procp = (void **) &disp->ClipPlane;
snprintf(symboln, sizeof(symboln), "%sClipPlane", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ColorMaterial) {
+ void **procp = (void **) &disp->ColorMaterial;
- if(!disp->ColorMaterial) {
- void ** procp = (void **) &disp->ColorMaterial;
snprintf(symboln, sizeof(symboln), "%sColorMaterial", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->CullFace) {
+ void **procp = (void **) &disp->CullFace;
- if(!disp->CullFace) {
- void ** procp = (void **) &disp->CullFace;
snprintf(symboln, sizeof(symboln), "%sCullFace", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Fogf) {
+ void **procp = (void **) &disp->Fogf;
- if(!disp->Fogf) {
- void ** procp = (void **) &disp->Fogf;
snprintf(symboln, sizeof(symboln), "%sFogf", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Fogfv) {
+ void **procp = (void **) &disp->Fogfv;
- if(!disp->Fogfv) {
- void ** procp = (void **) &disp->Fogfv;
snprintf(symboln, sizeof(symboln), "%sFogfv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Fogi) {
+ void **procp = (void **) &disp->Fogi;
- if(!disp->Fogi) {
- void ** procp = (void **) &disp->Fogi;
snprintf(symboln, sizeof(symboln), "%sFogi", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Fogiv) {
+ void **procp = (void **) &disp->Fogiv;
- if(!disp->Fogiv) {
- void ** procp = (void **) &disp->Fogiv;
snprintf(symboln, sizeof(symboln), "%sFogiv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->FrontFace) {
+ void **procp = (void **) &disp->FrontFace;
- if(!disp->FrontFace) {
- void ** procp = (void **) &disp->FrontFace;
snprintf(symboln, sizeof(symboln), "%sFrontFace", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Hint) {
+ void **procp = (void **) &disp->Hint;
- if(!disp->Hint) {
- void ** procp = (void **) &disp->Hint;
snprintf(symboln, sizeof(symboln), "%sHint", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Lightf) {
+ void **procp = (void **) &disp->Lightf;
- if(!disp->Lightf) {
- void ** procp = (void **) &disp->Lightf;
snprintf(symboln, sizeof(symboln), "%sLightf", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Lightfv) {
+ void **procp = (void **) &disp->Lightfv;
- if(!disp->Lightfv) {
- void ** procp = (void **) &disp->Lightfv;
snprintf(symboln, sizeof(symboln), "%sLightfv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Lighti) {
+ void **procp = (void **) &disp->Lighti;
- if(!disp->Lighti) {
- void ** procp = (void **) &disp->Lighti;
snprintf(symboln, sizeof(symboln), "%sLighti", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Lightiv) {
+ void **procp = (void **) &disp->Lightiv;
- if(!disp->Lightiv) {
- void ** procp = (void **) &disp->Lightiv;
snprintf(symboln, sizeof(symboln), "%sLightiv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->LightModelf) {
+ void **procp = (void **) &disp->LightModelf;
- if(!disp->LightModelf) {
- void ** procp = (void **) &disp->LightModelf;
snprintf(symboln, sizeof(symboln), "%sLightModelf", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->LightModelfv) {
+ void **procp = (void **) &disp->LightModelfv;
- if(!disp->LightModelfv) {
- void ** procp = (void **) &disp->LightModelfv;
snprintf(symboln, sizeof(symboln), "%sLightModelfv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->LightModeli) {
+ void **procp = (void **) &disp->LightModeli;
- if(!disp->LightModeli) {
- void ** procp = (void **) &disp->LightModeli;
snprintf(symboln, sizeof(symboln), "%sLightModeli", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->LightModeliv) {
+ void **procp = (void **) &disp->LightModeliv;
- if(!disp->LightModeliv) {
- void ** procp = (void **) &disp->LightModeliv;
snprintf(symboln, sizeof(symboln), "%sLightModeliv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->LineStipple) {
+ void **procp = (void **) &disp->LineStipple;
- if(!disp->LineStipple) {
- void ** procp = (void **) &disp->LineStipple;
snprintf(symboln, sizeof(symboln), "%sLineStipple", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->LineWidth) {
+ void **procp = (void **) &disp->LineWidth;
- if(!disp->LineWidth) {
- void ** procp = (void **) &disp->LineWidth;
snprintf(symboln, sizeof(symboln), "%sLineWidth", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Materialf) {
+ void **procp = (void **) &disp->Materialf;
- if(!disp->Materialf) {
- void ** procp = (void **) &disp->Materialf;
snprintf(symboln, sizeof(symboln), "%sMaterialf", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Materialfv) {
+ void **procp = (void **) &disp->Materialfv;
- if(!disp->Materialfv) {
- void ** procp = (void **) &disp->Materialfv;
snprintf(symboln, sizeof(symboln), "%sMaterialfv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Materiali) {
+ void **procp = (void **) &disp->Materiali;
- if(!disp->Materiali) {
- void ** procp = (void **) &disp->Materiali;
snprintf(symboln, sizeof(symboln), "%sMateriali", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Materialiv) {
+ void **procp = (void **) &disp->Materialiv;
- if(!disp->Materialiv) {
- void ** procp = (void **) &disp->Materialiv;
snprintf(symboln, sizeof(symboln), "%sMaterialiv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->PointSize) {
+ void **procp = (void **) &disp->PointSize;
- if(!disp->PointSize) {
- void ** procp = (void **) &disp->PointSize;
snprintf(symboln, sizeof(symboln), "%sPointSize", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->PolygonMode) {
+ void **procp = (void **) &disp->PolygonMode;
- if(!disp->PolygonMode) {
- void ** procp = (void **) &disp->PolygonMode;
snprintf(symboln, sizeof(symboln), "%sPolygonMode", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->PolygonStipple) {
+ void **procp = (void **) &disp->PolygonStipple;
- if(!disp->PolygonStipple) {
- void ** procp = (void **) &disp->PolygonStipple;
snprintf(symboln, sizeof(symboln), "%sPolygonStipple", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Scissor) {
+ void **procp = (void **) &disp->Scissor;
- if(!disp->Scissor) {
- void ** procp = (void **) &disp->Scissor;
snprintf(symboln, sizeof(symboln), "%sScissor", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ShadeModel) {
+ void **procp = (void **) &disp->ShadeModel;
- if(!disp->ShadeModel) {
- void ** procp = (void **) &disp->ShadeModel;
snprintf(symboln, sizeof(symboln), "%sShadeModel", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->TexParameterf) {
+ void **procp = (void **) &disp->TexParameterf;
- if(!disp->TexParameterf) {
- void ** procp = (void **) &disp->TexParameterf;
snprintf(symboln, sizeof(symboln), "%sTexParameterf", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->TexParameterfv) {
+ void **procp = (void **) &disp->TexParameterfv;
- if(!disp->TexParameterfv) {
- void ** procp = (void **) &disp->TexParameterfv;
snprintf(symboln, sizeof(symboln), "%sTexParameterfv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->TexParameteri) {
+ void **procp = (void **) &disp->TexParameteri;
- if(!disp->TexParameteri) {
- void ** procp = (void **) &disp->TexParameteri;
snprintf(symboln, sizeof(symboln), "%sTexParameteri", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->TexParameteriv) {
+ void **procp = (void **) &disp->TexParameteriv;
- if(!disp->TexParameteriv) {
- void ** procp = (void **) &disp->TexParameteriv;
snprintf(symboln, sizeof(symboln), "%sTexParameteriv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->TexImage1D) {
+ void **procp = (void **) &disp->TexImage1D;
- if(!disp->TexImage1D) {
- void ** procp = (void **) &disp->TexImage1D;
snprintf(symboln, sizeof(symboln), "%sTexImage1D", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->TexImage2D) {
+ void **procp = (void **) &disp->TexImage2D;
- if(!disp->TexImage2D) {
- void ** procp = (void **) &disp->TexImage2D;
snprintf(symboln, sizeof(symboln), "%sTexImage2D", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->TexEnvf) {
+ void **procp = (void **) &disp->TexEnvf;
- if(!disp->TexEnvf) {
- void ** procp = (void **) &disp->TexEnvf;
snprintf(symboln, sizeof(symboln), "%sTexEnvf", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->TexEnvfv) {
+ void **procp = (void **) &disp->TexEnvfv;
- if(!disp->TexEnvfv) {
- void ** procp = (void **) &disp->TexEnvfv;
snprintf(symboln, sizeof(symboln), "%sTexEnvfv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->TexEnvi) {
+ void **procp = (void **) &disp->TexEnvi;
- if(!disp->TexEnvi) {
- void ** procp = (void **) &disp->TexEnvi;
snprintf(symboln, sizeof(symboln), "%sTexEnvi", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->TexEnviv) {
+ void **procp = (void **) &disp->TexEnviv;
- if(!disp->TexEnviv) {
- void ** procp = (void **) &disp->TexEnviv;
snprintf(symboln, sizeof(symboln), "%sTexEnviv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->TexGend) {
+ void **procp = (void **) &disp->TexGend;
- if(!disp->TexGend) {
- void ** procp = (void **) &disp->TexGend;
snprintf(symboln, sizeof(symboln), "%sTexGend", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->TexGendv) {
+ void **procp = (void **) &disp->TexGendv;
- if(!disp->TexGendv) {
- void ** procp = (void **) &disp->TexGendv;
snprintf(symboln, sizeof(symboln), "%sTexGendv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->TexGenf) {
+ void **procp = (void **) &disp->TexGenf;
- if(!disp->TexGenf) {
- void ** procp = (void **) &disp->TexGenf;
snprintf(symboln, sizeof(symboln), "%sTexGenf", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->TexGenfv) {
+ void **procp = (void **) &disp->TexGenfv;
- if(!disp->TexGenfv) {
- void ** procp = (void **) &disp->TexGenfv;
snprintf(symboln, sizeof(symboln), "%sTexGenfv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->TexGeni) {
+ void **procp = (void **) &disp->TexGeni;
- if(!disp->TexGeni) {
- void ** procp = (void **) &disp->TexGeni;
snprintf(symboln, sizeof(symboln), "%sTexGeni", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->TexGeniv) {
+ void **procp = (void **) &disp->TexGeniv;
- if(!disp->TexGeniv) {
- void ** procp = (void **) &disp->TexGeniv;
snprintf(symboln, sizeof(symboln), "%sTexGeniv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->FeedbackBuffer) {
+ void **procp = (void **) &disp->FeedbackBuffer;
- if(!disp->FeedbackBuffer) {
- void ** procp = (void **) &disp->FeedbackBuffer;
snprintf(symboln, sizeof(symboln), "%sFeedbackBuffer", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->SelectBuffer) {
+ void **procp = (void **) &disp->SelectBuffer;
- if(!disp->SelectBuffer) {
- void ** procp = (void **) &disp->SelectBuffer;
snprintf(symboln, sizeof(symboln), "%sSelectBuffer", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->RenderMode) {
+ void **procp = (void **) &disp->RenderMode;
- if(!disp->RenderMode) {
- void ** procp = (void **) &disp->RenderMode;
snprintf(symboln, sizeof(symboln), "%sRenderMode", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->InitNames) {
+ void **procp = (void **) &disp->InitNames;
- if(!disp->InitNames) {
- void ** procp = (void **) &disp->InitNames;
snprintf(symboln, sizeof(symboln), "%sInitNames", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->LoadName) {
+ void **procp = (void **) &disp->LoadName;
- if(!disp->LoadName) {
- void ** procp = (void **) &disp->LoadName;
snprintf(symboln, sizeof(symboln), "%sLoadName", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->PassThrough) {
+ void **procp = (void **) &disp->PassThrough;
- if(!disp->PassThrough) {
- void ** procp = (void **) &disp->PassThrough;
snprintf(symboln, sizeof(symboln), "%sPassThrough", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->PopName) {
+ void **procp = (void **) &disp->PopName;
- if(!disp->PopName) {
- void ** procp = (void **) &disp->PopName;
snprintf(symboln, sizeof(symboln), "%sPopName", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->PushName) {
+ void **procp = (void **) &disp->PushName;
- if(!disp->PushName) {
- void ** procp = (void **) &disp->PushName;
snprintf(symboln, sizeof(symboln), "%sPushName", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->DrawBuffer) {
+ void **procp = (void **) &disp->DrawBuffer;
- if(!disp->DrawBuffer) {
- void ** procp = (void **) &disp->DrawBuffer;
snprintf(symboln, sizeof(symboln), "%sDrawBuffer", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Clear) {
+ void **procp = (void **) &disp->Clear;
- if(!disp->Clear) {
- void ** procp = (void **) &disp->Clear;
snprintf(symboln, sizeof(symboln), "%sClear", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ClearAccum) {
+ void **procp = (void **) &disp->ClearAccum;
- if(!disp->ClearAccum) {
- void ** procp = (void **) &disp->ClearAccum;
snprintf(symboln, sizeof(symboln), "%sClearAccum", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ClearIndex) {
+ void **procp = (void **) &disp->ClearIndex;
- if(!disp->ClearIndex) {
- void ** procp = (void **) &disp->ClearIndex;
snprintf(symboln, sizeof(symboln), "%sClearIndex", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ClearColor) {
+ void **procp = (void **) &disp->ClearColor;
- if(!disp->ClearColor) {
- void ** procp = (void **) &disp->ClearColor;
snprintf(symboln, sizeof(symboln), "%sClearColor", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ClearStencil) {
+ void **procp = (void **) &disp->ClearStencil;
- if(!disp->ClearStencil) {
- void ** procp = (void **) &disp->ClearStencil;
snprintf(symboln, sizeof(symboln), "%sClearStencil", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ClearDepth) {
+ void **procp = (void **) &disp->ClearDepth;
- if(!disp->ClearDepth) {
- void ** procp = (void **) &disp->ClearDepth;
snprintf(symboln, sizeof(symboln), "%sClearDepth", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->StencilMask) {
+ void **procp = (void **) &disp->StencilMask;
- if(!disp->StencilMask) {
- void ** procp = (void **) &disp->StencilMask;
snprintf(symboln, sizeof(symboln), "%sStencilMask", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ColorMask) {
+ void **procp = (void **) &disp->ColorMask;
- if(!disp->ColorMask) {
- void ** procp = (void **) &disp->ColorMask;
snprintf(symboln, sizeof(symboln), "%sColorMask", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->DepthMask) {
+ void **procp = (void **) &disp->DepthMask;
- if(!disp->DepthMask) {
- void ** procp = (void **) &disp->DepthMask;
snprintf(symboln, sizeof(symboln), "%sDepthMask", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->IndexMask) {
+ void **procp = (void **) &disp->IndexMask;
- if(!disp->IndexMask) {
- void ** procp = (void **) &disp->IndexMask;
snprintf(symboln, sizeof(symboln), "%sIndexMask", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Accum) {
+ void **procp = (void **) &disp->Accum;
- if(!disp->Accum) {
- void ** procp = (void **) &disp->Accum;
snprintf(symboln, sizeof(symboln), "%sAccum", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Disable) {
+ void **procp = (void **) &disp->Disable;
- if(!disp->Disable) {
- void ** procp = (void **) &disp->Disable;
snprintf(symboln, sizeof(symboln), "%sDisable", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Enable) {
+ void **procp = (void **) &disp->Enable;
- if(!disp->Enable) {
- void ** procp = (void **) &disp->Enable;
snprintf(symboln, sizeof(symboln), "%sEnable", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Finish) {
+ void **procp = (void **) &disp->Finish;
- if(!disp->Finish) {
- void ** procp = (void **) &disp->Finish;
snprintf(symboln, sizeof(symboln), "%sFinish", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Flush) {
+ void **procp = (void **) &disp->Flush;
- if(!disp->Flush) {
- void ** procp = (void **) &disp->Flush;
snprintf(symboln, sizeof(symboln), "%sFlush", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->PopAttrib) {
+ void **procp = (void **) &disp->PopAttrib;
- if(!disp->PopAttrib) {
- void ** procp = (void **) &disp->PopAttrib;
snprintf(symboln, sizeof(symboln), "%sPopAttrib", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->PushAttrib) {
+ void **procp = (void **) &disp->PushAttrib;
- if(!disp->PushAttrib) {
- void ** procp = (void **) &disp->PushAttrib;
snprintf(symboln, sizeof(symboln), "%sPushAttrib", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Map1d) {
+ void **procp = (void **) &disp->Map1d;
- if(!disp->Map1d) {
- void ** procp = (void **) &disp->Map1d;
snprintf(symboln, sizeof(symboln), "%sMap1d", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Map1f) {
+ void **procp = (void **) &disp->Map1f;
- if(!disp->Map1f) {
- void ** procp = (void **) &disp->Map1f;
snprintf(symboln, sizeof(symboln), "%sMap1f", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Map2d) {
+ void **procp = (void **) &disp->Map2d;
- if(!disp->Map2d) {
- void ** procp = (void **) &disp->Map2d;
snprintf(symboln, sizeof(symboln), "%sMap2d", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Map2f) {
+ void **procp = (void **) &disp->Map2f;
- if(!disp->Map2f) {
- void ** procp = (void **) &disp->Map2f;
snprintf(symboln, sizeof(symboln), "%sMap2f", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MapGrid1d) {
+ void **procp = (void **) &disp->MapGrid1d;
- if(!disp->MapGrid1d) {
- void ** procp = (void **) &disp->MapGrid1d;
snprintf(symboln, sizeof(symboln), "%sMapGrid1d", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MapGrid1f) {
+ void **procp = (void **) &disp->MapGrid1f;
- if(!disp->MapGrid1f) {
- void ** procp = (void **) &disp->MapGrid1f;
snprintf(symboln, sizeof(symboln), "%sMapGrid1f", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MapGrid2d) {
+ void **procp = (void **) &disp->MapGrid2d;
- if(!disp->MapGrid2d) {
- void ** procp = (void **) &disp->MapGrid2d;
snprintf(symboln, sizeof(symboln), "%sMapGrid2d", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MapGrid2f) {
+ void **procp = (void **) &disp->MapGrid2f;
- if(!disp->MapGrid2f) {
- void ** procp = (void **) &disp->MapGrid2f;
snprintf(symboln, sizeof(symboln), "%sMapGrid2f", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->EvalCoord1d) {
+ void **procp = (void **) &disp->EvalCoord1d;
- if(!disp->EvalCoord1d) {
- void ** procp = (void **) &disp->EvalCoord1d;
snprintf(symboln, sizeof(symboln), "%sEvalCoord1d", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->EvalCoord1dv) {
+ void **procp = (void **) &disp->EvalCoord1dv;
- if(!disp->EvalCoord1dv) {
- void ** procp = (void **) &disp->EvalCoord1dv;
snprintf(symboln, sizeof(symboln), "%sEvalCoord1dv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->EvalCoord1f) {
+ void **procp = (void **) &disp->EvalCoord1f;
- if(!disp->EvalCoord1f) {
- void ** procp = (void **) &disp->EvalCoord1f;
snprintf(symboln, sizeof(symboln), "%sEvalCoord1f", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->EvalCoord1fv) {
+ void **procp = (void **) &disp->EvalCoord1fv;
- if(!disp->EvalCoord1fv) {
- void ** procp = (void **) &disp->EvalCoord1fv;
snprintf(symboln, sizeof(symboln), "%sEvalCoord1fv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->EvalCoord2d) {
+ void **procp = (void **) &disp->EvalCoord2d;
- if(!disp->EvalCoord2d) {
- void ** procp = (void **) &disp->EvalCoord2d;
snprintf(symboln, sizeof(symboln), "%sEvalCoord2d", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->EvalCoord2dv) {
+ void **procp = (void **) &disp->EvalCoord2dv;
- if(!disp->EvalCoord2dv) {
- void ** procp = (void **) &disp->EvalCoord2dv;
snprintf(symboln, sizeof(symboln), "%sEvalCoord2dv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->EvalCoord2f) {
+ void **procp = (void **) &disp->EvalCoord2f;
- if(!disp->EvalCoord2f) {
- void ** procp = (void **) &disp->EvalCoord2f;
snprintf(symboln, sizeof(symboln), "%sEvalCoord2f", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->EvalCoord2fv) {
+ void **procp = (void **) &disp->EvalCoord2fv;
- if(!disp->EvalCoord2fv) {
- void ** procp = (void **) &disp->EvalCoord2fv;
snprintf(symboln, sizeof(symboln), "%sEvalCoord2fv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->EvalMesh1) {
+ void **procp = (void **) &disp->EvalMesh1;
- if(!disp->EvalMesh1) {
- void ** procp = (void **) &disp->EvalMesh1;
snprintf(symboln, sizeof(symboln), "%sEvalMesh1", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->EvalPoint1) {
+ void **procp = (void **) &disp->EvalPoint1;
- if(!disp->EvalPoint1) {
- void ** procp = (void **) &disp->EvalPoint1;
snprintf(symboln, sizeof(symboln), "%sEvalPoint1", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->EvalMesh2) {
+ void **procp = (void **) &disp->EvalMesh2;
- if(!disp->EvalMesh2) {
- void ** procp = (void **) &disp->EvalMesh2;
snprintf(symboln, sizeof(symboln), "%sEvalMesh2", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->EvalPoint2) {
+ void **procp = (void **) &disp->EvalPoint2;
- if(!disp->EvalPoint2) {
- void ** procp = (void **) &disp->EvalPoint2;
snprintf(symboln, sizeof(symboln), "%sEvalPoint2", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->AlphaFunc) {
+ void **procp = (void **) &disp->AlphaFunc;
- if(!disp->AlphaFunc) {
- void ** procp = (void **) &disp->AlphaFunc;
snprintf(symboln, sizeof(symboln), "%sAlphaFunc", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->BlendFunc) {
+ void **procp = (void **) &disp->BlendFunc;
- if(!disp->BlendFunc) {
- void ** procp = (void **) &disp->BlendFunc;
snprintf(symboln, sizeof(symboln), "%sBlendFunc", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->LogicOp) {
+ void **procp = (void **) &disp->LogicOp;
- if(!disp->LogicOp) {
- void ** procp = (void **) &disp->LogicOp;
snprintf(symboln, sizeof(symboln), "%sLogicOp", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->StencilFunc) {
+ void **procp = (void **) &disp->StencilFunc;
- if(!disp->StencilFunc) {
- void ** procp = (void **) &disp->StencilFunc;
snprintf(symboln, sizeof(symboln), "%sStencilFunc", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->StencilOp) {
+ void **procp = (void **) &disp->StencilOp;
- if(!disp->StencilOp) {
- void ** procp = (void **) &disp->StencilOp;
snprintf(symboln, sizeof(symboln), "%sStencilOp", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->DepthFunc) {
+ void **procp = (void **) &disp->DepthFunc;
- if(!disp->DepthFunc) {
- void ** procp = (void **) &disp->DepthFunc;
snprintf(symboln, sizeof(symboln), "%sDepthFunc", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->PixelZoom) {
+ void **procp = (void **) &disp->PixelZoom;
- if(!disp->PixelZoom) {
- void ** procp = (void **) &disp->PixelZoom;
snprintf(symboln, sizeof(symboln), "%sPixelZoom", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->PixelTransferf) {
+ void **procp = (void **) &disp->PixelTransferf;
- if(!disp->PixelTransferf) {
- void ** procp = (void **) &disp->PixelTransferf;
snprintf(symboln, sizeof(symboln), "%sPixelTransferf", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->PixelTransferi) {
+ void **procp = (void **) &disp->PixelTransferi;
- if(!disp->PixelTransferi) {
- void ** procp = (void **) &disp->PixelTransferi;
snprintf(symboln, sizeof(symboln), "%sPixelTransferi", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->PixelStoref) {
+ void **procp = (void **) &disp->PixelStoref;
- if(!disp->PixelStoref) {
- void ** procp = (void **) &disp->PixelStoref;
snprintf(symboln, sizeof(symboln), "%sPixelStoref", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->PixelStorei) {
+ void **procp = (void **) &disp->PixelStorei;
- if(!disp->PixelStorei) {
- void ** procp = (void **) &disp->PixelStorei;
snprintf(symboln, sizeof(symboln), "%sPixelStorei", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->PixelMapfv) {
+ void **procp = (void **) &disp->PixelMapfv;
- if(!disp->PixelMapfv) {
- void ** procp = (void **) &disp->PixelMapfv;
snprintf(symboln, sizeof(symboln), "%sPixelMapfv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->PixelMapuiv) {
+ void **procp = (void **) &disp->PixelMapuiv;
- if(!disp->PixelMapuiv) {
- void ** procp = (void **) &disp->PixelMapuiv;
snprintf(symboln, sizeof(symboln), "%sPixelMapuiv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->PixelMapusv) {
+ void **procp = (void **) &disp->PixelMapusv;
- if(!disp->PixelMapusv) {
- void ** procp = (void **) &disp->PixelMapusv;
snprintf(symboln, sizeof(symboln), "%sPixelMapusv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ReadBuffer) {
+ void **procp = (void **) &disp->ReadBuffer;
- if(!disp->ReadBuffer) {
- void ** procp = (void **) &disp->ReadBuffer;
snprintf(symboln, sizeof(symboln), "%sReadBuffer", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->CopyPixels) {
+ void **procp = (void **) &disp->CopyPixels;
- if(!disp->CopyPixels) {
- void ** procp = (void **) &disp->CopyPixels;
snprintf(symboln, sizeof(symboln), "%sCopyPixels", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ReadPixels) {
+ void **procp = (void **) &disp->ReadPixels;
- if(!disp->ReadPixels) {
- void ** procp = (void **) &disp->ReadPixels;
snprintf(symboln, sizeof(symboln), "%sReadPixels", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->DrawPixels) {
+ void **procp = (void **) &disp->DrawPixels;
- if(!disp->DrawPixels) {
- void ** procp = (void **) &disp->DrawPixels;
snprintf(symboln, sizeof(symboln), "%sDrawPixels", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetBooleanv) {
+ void **procp = (void **) &disp->GetBooleanv;
- if(!disp->GetBooleanv) {
- void ** procp = (void **) &disp->GetBooleanv;
snprintf(symboln, sizeof(symboln), "%sGetBooleanv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetClipPlane) {
+ void **procp = (void **) &disp->GetClipPlane;
- if(!disp->GetClipPlane) {
- void ** procp = (void **) &disp->GetClipPlane;
snprintf(symboln, sizeof(symboln), "%sGetClipPlane", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetDoublev) {
+ void **procp = (void **) &disp->GetDoublev;
- if(!disp->GetDoublev) {
- void ** procp = (void **) &disp->GetDoublev;
snprintf(symboln, sizeof(symboln), "%sGetDoublev", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetError) {
+ void **procp = (void **) &disp->GetError;
- if(!disp->GetError) {
- void ** procp = (void **) &disp->GetError;
snprintf(symboln, sizeof(symboln), "%sGetError", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetFloatv) {
+ void **procp = (void **) &disp->GetFloatv;
- if(!disp->GetFloatv) {
- void ** procp = (void **) &disp->GetFloatv;
snprintf(symboln, sizeof(symboln), "%sGetFloatv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetIntegerv) {
+ void **procp = (void **) &disp->GetIntegerv;
- if(!disp->GetIntegerv) {
- void ** procp = (void **) &disp->GetIntegerv;
snprintf(symboln, sizeof(symboln), "%sGetIntegerv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetLightfv) {
+ void **procp = (void **) &disp->GetLightfv;
- if(!disp->GetLightfv) {
- void ** procp = (void **) &disp->GetLightfv;
snprintf(symboln, sizeof(symboln), "%sGetLightfv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetLightiv) {
+ void **procp = (void **) &disp->GetLightiv;
- if(!disp->GetLightiv) {
- void ** procp = (void **) &disp->GetLightiv;
snprintf(symboln, sizeof(symboln), "%sGetLightiv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetMapdv) {
+ void **procp = (void **) &disp->GetMapdv;
- if(!disp->GetMapdv) {
- void ** procp = (void **) &disp->GetMapdv;
snprintf(symboln, sizeof(symboln), "%sGetMapdv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetMapfv) {
+ void **procp = (void **) &disp->GetMapfv;
- if(!disp->GetMapfv) {
- void ** procp = (void **) &disp->GetMapfv;
snprintf(symboln, sizeof(symboln), "%sGetMapfv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetMapiv) {
+ void **procp = (void **) &disp->GetMapiv;
- if(!disp->GetMapiv) {
- void ** procp = (void **) &disp->GetMapiv;
snprintf(symboln, sizeof(symboln), "%sGetMapiv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetMaterialfv) {
+ void **procp = (void **) &disp->GetMaterialfv;
- if(!disp->GetMaterialfv) {
- void ** procp = (void **) &disp->GetMaterialfv;
snprintf(symboln, sizeof(symboln), "%sGetMaterialfv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetMaterialiv) {
+ void **procp = (void **) &disp->GetMaterialiv;
- if(!disp->GetMaterialiv) {
- void ** procp = (void **) &disp->GetMaterialiv;
snprintf(symboln, sizeof(symboln), "%sGetMaterialiv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetPixelMapfv) {
+ void **procp = (void **) &disp->GetPixelMapfv;
- if(!disp->GetPixelMapfv) {
- void ** procp = (void **) &disp->GetPixelMapfv;
snprintf(symboln, sizeof(symboln), "%sGetPixelMapfv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetPixelMapuiv) {
+ void **procp = (void **) &disp->GetPixelMapuiv;
- if(!disp->GetPixelMapuiv) {
- void ** procp = (void **) &disp->GetPixelMapuiv;
snprintf(symboln, sizeof(symboln), "%sGetPixelMapuiv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetPixelMapusv) {
+ void **procp = (void **) &disp->GetPixelMapusv;
- if(!disp->GetPixelMapusv) {
- void ** procp = (void **) &disp->GetPixelMapusv;
snprintf(symboln, sizeof(symboln), "%sGetPixelMapusv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetPolygonStipple) {
+ void **procp = (void **) &disp->GetPolygonStipple;
- if(!disp->GetPolygonStipple) {
- void ** procp = (void **) &disp->GetPolygonStipple;
- snprintf(symboln, sizeof(symboln), "%sGetPolygonStipple", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetPolygonStipple",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetString) {
+ void **procp = (void **) &disp->GetString;
- if(!disp->GetString) {
- void ** procp = (void **) &disp->GetString;
snprintf(symboln, sizeof(symboln), "%sGetString", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetTexEnvfv) {
+ void **procp = (void **) &disp->GetTexEnvfv;
- if(!disp->GetTexEnvfv) {
- void ** procp = (void **) &disp->GetTexEnvfv;
snprintf(symboln, sizeof(symboln), "%sGetTexEnvfv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetTexEnviv) {
+ void **procp = (void **) &disp->GetTexEnviv;
- if(!disp->GetTexEnviv) {
- void ** procp = (void **) &disp->GetTexEnviv;
snprintf(symboln, sizeof(symboln), "%sGetTexEnviv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetTexGendv) {
+ void **procp = (void **) &disp->GetTexGendv;
- if(!disp->GetTexGendv) {
- void ** procp = (void **) &disp->GetTexGendv;
snprintf(symboln, sizeof(symboln), "%sGetTexGendv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetTexGenfv) {
+ void **procp = (void **) &disp->GetTexGenfv;
- if(!disp->GetTexGenfv) {
- void ** procp = (void **) &disp->GetTexGenfv;
snprintf(symboln, sizeof(symboln), "%sGetTexGenfv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetTexGeniv) {
+ void **procp = (void **) &disp->GetTexGeniv;
- if(!disp->GetTexGeniv) {
- void ** procp = (void **) &disp->GetTexGeniv;
snprintf(symboln, sizeof(symboln), "%sGetTexGeniv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetTexImage) {
+ void **procp = (void **) &disp->GetTexImage;
- if(!disp->GetTexImage) {
- void ** procp = (void **) &disp->GetTexImage;
snprintf(symboln, sizeof(symboln), "%sGetTexImage", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetTexParameterfv) {
+ void **procp = (void **) &disp->GetTexParameterfv;
- if(!disp->GetTexParameterfv) {
- void ** procp = (void **) &disp->GetTexParameterfv;
- snprintf(symboln, sizeof(symboln), "%sGetTexParameterfv", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetTexParameterfv",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetTexParameteriv) {
+ void **procp = (void **) &disp->GetTexParameteriv;
- if(!disp->GetTexParameteriv) {
- void ** procp = (void **) &disp->GetTexParameteriv;
- snprintf(symboln, sizeof(symboln), "%sGetTexParameteriv", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetTexParameteriv",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetTexLevelParameterfv) {
+ void **procp = (void **) &disp->GetTexLevelParameterfv;
- if(!disp->GetTexLevelParameterfv) {
- void ** procp = (void **) &disp->GetTexLevelParameterfv;
- snprintf(symboln, sizeof(symboln), "%sGetTexLevelParameterfv", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetTexLevelParameterfv",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetTexLevelParameteriv) {
+ void **procp = (void **) &disp->GetTexLevelParameteriv;
- if(!disp->GetTexLevelParameteriv) {
- void ** procp = (void **) &disp->GetTexLevelParameteriv;
- snprintf(symboln, sizeof(symboln), "%sGetTexLevelParameteriv", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetTexLevelParameteriv",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->IsEnabled) {
+ void **procp = (void **) &disp->IsEnabled;
- if(!disp->IsEnabled) {
- void ** procp = (void **) &disp->IsEnabled;
snprintf(symboln, sizeof(symboln), "%sIsEnabled", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->IsList) {
+ void **procp = (void **) &disp->IsList;
- if(!disp->IsList) {
- void ** procp = (void **) &disp->IsList;
snprintf(symboln, sizeof(symboln), "%sIsList", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->DepthRange) {
+ void **procp = (void **) &disp->DepthRange;
- if(!disp->DepthRange) {
- void ** procp = (void **) &disp->DepthRange;
snprintf(symboln, sizeof(symboln), "%sDepthRange", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Frustum) {
+ void **procp = (void **) &disp->Frustum;
- if(!disp->Frustum) {
- void ** procp = (void **) &disp->Frustum;
snprintf(symboln, sizeof(symboln), "%sFrustum", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->LoadIdentity) {
+ void **procp = (void **) &disp->LoadIdentity;
- if(!disp->LoadIdentity) {
- void ** procp = (void **) &disp->LoadIdentity;
snprintf(symboln, sizeof(symboln), "%sLoadIdentity", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->LoadMatrixf) {
+ void **procp = (void **) &disp->LoadMatrixf;
- if(!disp->LoadMatrixf) {
- void ** procp = (void **) &disp->LoadMatrixf;
snprintf(symboln, sizeof(symboln), "%sLoadMatrixf", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->LoadMatrixd) {
+ void **procp = (void **) &disp->LoadMatrixd;
- if(!disp->LoadMatrixd) {
- void ** procp = (void **) &disp->LoadMatrixd;
snprintf(symboln, sizeof(symboln), "%sLoadMatrixd", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MatrixMode) {
+ void **procp = (void **) &disp->MatrixMode;
- if(!disp->MatrixMode) {
- void ** procp = (void **) &disp->MatrixMode;
snprintf(symboln, sizeof(symboln), "%sMatrixMode", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MultMatrixf) {
+ void **procp = (void **) &disp->MultMatrixf;
- if(!disp->MultMatrixf) {
- void ** procp = (void **) &disp->MultMatrixf;
snprintf(symboln, sizeof(symboln), "%sMultMatrixf", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MultMatrixd) {
+ void **procp = (void **) &disp->MultMatrixd;
- if(!disp->MultMatrixd) {
- void ** procp = (void **) &disp->MultMatrixd;
snprintf(symboln, sizeof(symboln), "%sMultMatrixd", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Ortho) {
+ void **procp = (void **) &disp->Ortho;
- if(!disp->Ortho) {
- void ** procp = (void **) &disp->Ortho;
snprintf(symboln, sizeof(symboln), "%sOrtho", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->PopMatrix) {
+ void **procp = (void **) &disp->PopMatrix;
- if(!disp->PopMatrix) {
- void ** procp = (void **) &disp->PopMatrix;
snprintf(symboln, sizeof(symboln), "%sPopMatrix", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->PushMatrix) {
+ void **procp = (void **) &disp->PushMatrix;
- if(!disp->PushMatrix) {
- void ** procp = (void **) &disp->PushMatrix;
snprintf(symboln, sizeof(symboln), "%sPushMatrix", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Rotated) {
+ void **procp = (void **) &disp->Rotated;
- if(!disp->Rotated) {
- void ** procp = (void **) &disp->Rotated;
snprintf(symboln, sizeof(symboln), "%sRotated", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Rotatef) {
+ void **procp = (void **) &disp->Rotatef;
- if(!disp->Rotatef) {
- void ** procp = (void **) &disp->Rotatef;
snprintf(symboln, sizeof(symboln), "%sRotatef", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Scaled) {
+ void **procp = (void **) &disp->Scaled;
- if(!disp->Scaled) {
- void ** procp = (void **) &disp->Scaled;
snprintf(symboln, sizeof(symboln), "%sScaled", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Scalef) {
+ void **procp = (void **) &disp->Scalef;
- if(!disp->Scalef) {
- void ** procp = (void **) &disp->Scalef;
snprintf(symboln, sizeof(symboln), "%sScalef", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Translated) {
+ void **procp = (void **) &disp->Translated;
- if(!disp->Translated) {
- void ** procp = (void **) &disp->Translated;
snprintf(symboln, sizeof(symboln), "%sTranslated", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Translatef) {
+ void **procp = (void **) &disp->Translatef;
- if(!disp->Translatef) {
- void ** procp = (void **) &disp->Translatef;
snprintf(symboln, sizeof(symboln), "%sTranslatef", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Viewport) {
+ void **procp = (void **) &disp->Viewport;
- if(!disp->Viewport) {
- void ** procp = (void **) &disp->Viewport;
snprintf(symboln, sizeof(symboln), "%sViewport", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ArrayElement) {
+ void **procp = (void **) &disp->ArrayElement;
- if(!disp->ArrayElement) {
- void ** procp = (void **) &disp->ArrayElement;
snprintf(symboln, sizeof(symboln), "%sArrayElement", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ArrayElement) {
+ void **procp = (void **) &disp->ArrayElement;
- if(!disp->ArrayElement) {
- void ** procp = (void **) &disp->ArrayElement;
snprintf(symboln, sizeof(symboln), "%sArrayElementEXT", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->BindTexture) {
+ void **procp = (void **) &disp->BindTexture;
- if(!disp->BindTexture) {
- void ** procp = (void **) &disp->BindTexture;
snprintf(symboln, sizeof(symboln), "%sBindTexture", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->BindTexture) {
+ void **procp = (void **) &disp->BindTexture;
- if(!disp->BindTexture) {
- void ** procp = (void **) &disp->BindTexture;
snprintf(symboln, sizeof(symboln), "%sBindTextureEXT", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ColorPointer) {
+ void **procp = (void **) &disp->ColorPointer;
- if(!disp->ColorPointer) {
- void ** procp = (void **) &disp->ColorPointer;
snprintf(symboln, sizeof(symboln), "%sColorPointer", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->DisableClientState) {
+ void **procp = (void **) &disp->DisableClientState;
- if(!disp->DisableClientState) {
- void ** procp = (void **) &disp->DisableClientState;
- snprintf(symboln, sizeof(symboln), "%sDisableClientState", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sDisableClientState",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->DrawArrays) {
+ void **procp = (void **) &disp->DrawArrays;
- if(!disp->DrawArrays) {
- void ** procp = (void **) &disp->DrawArrays;
snprintf(symboln, sizeof(symboln), "%sDrawArrays", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->DrawArrays) {
+ void **procp = (void **) &disp->DrawArrays;
- if(!disp->DrawArrays) {
- void ** procp = (void **) &disp->DrawArrays;
snprintf(symboln, sizeof(symboln), "%sDrawArraysEXT", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->DrawElements) {
+ void **procp = (void **) &disp->DrawElements;
- if(!disp->DrawElements) {
- void ** procp = (void **) &disp->DrawElements;
snprintf(symboln, sizeof(symboln), "%sDrawElements", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->EdgeFlagPointer) {
+ void **procp = (void **) &disp->EdgeFlagPointer;
- if(!disp->EdgeFlagPointer) {
- void ** procp = (void **) &disp->EdgeFlagPointer;
snprintf(symboln, sizeof(symboln), "%sEdgeFlagPointer", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->EnableClientState) {
+ void **procp = (void **) &disp->EnableClientState;
- if(!disp->EnableClientState) {
- void ** procp = (void **) &disp->EnableClientState;
- snprintf(symboln, sizeof(symboln), "%sEnableClientState", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sEnableClientState",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->IndexPointer) {
+ void **procp = (void **) &disp->IndexPointer;
- if(!disp->IndexPointer) {
- void ** procp = (void **) &disp->IndexPointer;
snprintf(symboln, sizeof(symboln), "%sIndexPointer", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Indexub) {
+ void **procp = (void **) &disp->Indexub;
- if(!disp->Indexub) {
- void ** procp = (void **) &disp->Indexub;
snprintf(symboln, sizeof(symboln), "%sIndexub", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Indexubv) {
+ void **procp = (void **) &disp->Indexubv;
- if(!disp->Indexubv) {
- void ** procp = (void **) &disp->Indexubv;
snprintf(symboln, sizeof(symboln), "%sIndexubv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->InterleavedArrays) {
+ void **procp = (void **) &disp->InterleavedArrays;
- if(!disp->InterleavedArrays) {
- void ** procp = (void **) &disp->InterleavedArrays;
- snprintf(symboln, sizeof(symboln), "%sInterleavedArrays", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sInterleavedArrays",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->NormalPointer) {
+ void **procp = (void **) &disp->NormalPointer;
- if(!disp->NormalPointer) {
- void ** procp = (void **) &disp->NormalPointer;
snprintf(symboln, sizeof(symboln), "%sNormalPointer", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->PolygonOffset) {
+ void **procp = (void **) &disp->PolygonOffset;
- if(!disp->PolygonOffset) {
- void ** procp = (void **) &disp->PolygonOffset;
snprintf(symboln, sizeof(symboln), "%sPolygonOffset", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->TexCoordPointer) {
+ void **procp = (void **) &disp->TexCoordPointer;
- if(!disp->TexCoordPointer) {
- void ** procp = (void **) &disp->TexCoordPointer;
snprintf(symboln, sizeof(symboln), "%sTexCoordPointer", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexPointer) {
+ void **procp = (void **) &disp->VertexPointer;
- if(!disp->VertexPointer) {
- void ** procp = (void **) &disp->VertexPointer;
snprintf(symboln, sizeof(symboln), "%sVertexPointer", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->AreTexturesResident) {
+ void **procp = (void **) &disp->AreTexturesResident;
- if(!disp->AreTexturesResident) {
- void ** procp = (void **) &disp->AreTexturesResident;
- snprintf(symboln, sizeof(symboln), "%sAreTexturesResident", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sAreTexturesResident",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->AreTexturesResident) {
+ void **procp = (void **) &disp->AreTexturesResident;
- if(!disp->AreTexturesResident) {
- void ** procp = (void **) &disp->AreTexturesResident;
- snprintf(symboln, sizeof(symboln), "%sAreTexturesResidentEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sAreTexturesResidentEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->CopyTexImage1D) {
+ void **procp = (void **) &disp->CopyTexImage1D;
- if(!disp->CopyTexImage1D) {
- void ** procp = (void **) &disp->CopyTexImage1D;
snprintf(symboln, sizeof(symboln), "%sCopyTexImage1D", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->CopyTexImage1D) {
+ void **procp = (void **) &disp->CopyTexImage1D;
- if(!disp->CopyTexImage1D) {
- void ** procp = (void **) &disp->CopyTexImage1D;
- snprintf(symboln, sizeof(symboln), "%sCopyTexImage1DEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sCopyTexImage1DEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->CopyTexImage2D) {
+ void **procp = (void **) &disp->CopyTexImage2D;
- if(!disp->CopyTexImage2D) {
- void ** procp = (void **) &disp->CopyTexImage2D;
snprintf(symboln, sizeof(symboln), "%sCopyTexImage2D", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->CopyTexImage2D) {
+ void **procp = (void **) &disp->CopyTexImage2D;
- if(!disp->CopyTexImage2D) {
- void ** procp = (void **) &disp->CopyTexImage2D;
- snprintf(symboln, sizeof(symboln), "%sCopyTexImage2DEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sCopyTexImage2DEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->CopyTexSubImage1D) {
+ void **procp = (void **) &disp->CopyTexSubImage1D;
- if(!disp->CopyTexSubImage1D) {
- void ** procp = (void **) &disp->CopyTexSubImage1D;
- snprintf(symboln, sizeof(symboln), "%sCopyTexSubImage1D", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sCopyTexSubImage1D",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->CopyTexSubImage1D) {
+ void **procp = (void **) &disp->CopyTexSubImage1D;
- if(!disp->CopyTexSubImage1D) {
- void ** procp = (void **) &disp->CopyTexSubImage1D;
- snprintf(symboln, sizeof(symboln), "%sCopyTexSubImage1DEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sCopyTexSubImage1DEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->CopyTexSubImage2D) {
+ void **procp = (void **) &disp->CopyTexSubImage2D;
- if(!disp->CopyTexSubImage2D) {
- void ** procp = (void **) &disp->CopyTexSubImage2D;
- snprintf(symboln, sizeof(symboln), "%sCopyTexSubImage2D", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sCopyTexSubImage2D",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->CopyTexSubImage2D) {
+ void **procp = (void **) &disp->CopyTexSubImage2D;
- if(!disp->CopyTexSubImage2D) {
- void ** procp = (void **) &disp->CopyTexSubImage2D;
- snprintf(symboln, sizeof(symboln), "%sCopyTexSubImage2DEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sCopyTexSubImage2DEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->DeleteTextures) {
+ void **procp = (void **) &disp->DeleteTextures;
- if(!disp->DeleteTextures) {
- void ** procp = (void **) &disp->DeleteTextures;
snprintf(symboln, sizeof(symboln), "%sDeleteTextures", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->DeleteTextures) {
+ void **procp = (void **) &disp->DeleteTextures;
- if(!disp->DeleteTextures) {
- void ** procp = (void **) &disp->DeleteTextures;
- snprintf(symboln, sizeof(symboln), "%sDeleteTexturesEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sDeleteTexturesEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GenTextures) {
+ void **procp = (void **) &disp->GenTextures;
- if(!disp->GenTextures) {
- void ** procp = (void **) &disp->GenTextures;
snprintf(symboln, sizeof(symboln), "%sGenTextures", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GenTextures) {
+ void **procp = (void **) &disp->GenTextures;
- if(!disp->GenTextures) {
- void ** procp = (void **) &disp->GenTextures;
snprintf(symboln, sizeof(symboln), "%sGenTexturesEXT", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetPointerv) {
+ void **procp = (void **) &disp->GetPointerv;
- if(!disp->GetPointerv) {
- void ** procp = (void **) &disp->GetPointerv;
snprintf(symboln, sizeof(symboln), "%sGetPointerv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetPointerv) {
+ void **procp = (void **) &disp->GetPointerv;
- if(!disp->GetPointerv) {
- void ** procp = (void **) &disp->GetPointerv;
snprintf(symboln, sizeof(symboln), "%sGetPointervEXT", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->IsTexture) {
+ void **procp = (void **) &disp->IsTexture;
- if(!disp->IsTexture) {
- void ** procp = (void **) &disp->IsTexture;
snprintf(symboln, sizeof(symboln), "%sIsTexture", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->IsTexture) {
+ void **procp = (void **) &disp->IsTexture;
- if(!disp->IsTexture) {
- void ** procp = (void **) &disp->IsTexture;
snprintf(symboln, sizeof(symboln), "%sIsTextureEXT", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->PrioritizeTextures) {
+ void **procp = (void **) &disp->PrioritizeTextures;
- if(!disp->PrioritizeTextures) {
- void ** procp = (void **) &disp->PrioritizeTextures;
- snprintf(symboln, sizeof(symboln), "%sPrioritizeTextures", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sPrioritizeTextures",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->PrioritizeTextures) {
+ void **procp = (void **) &disp->PrioritizeTextures;
- if(!disp->PrioritizeTextures) {
- void ** procp = (void **) &disp->PrioritizeTextures;
- snprintf(symboln, sizeof(symboln), "%sPrioritizeTexturesEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sPrioritizeTexturesEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->TexSubImage1D) {
+ void **procp = (void **) &disp->TexSubImage1D;
- if(!disp->TexSubImage1D) {
- void ** procp = (void **) &disp->TexSubImage1D;
snprintf(symboln, sizeof(symboln), "%sTexSubImage1D", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->TexSubImage1D) {
+ void **procp = (void **) &disp->TexSubImage1D;
- if(!disp->TexSubImage1D) {
- void ** procp = (void **) &disp->TexSubImage1D;
snprintf(symboln, sizeof(symboln), "%sTexSubImage1DEXT", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->TexSubImage2D) {
+ void **procp = (void **) &disp->TexSubImage2D;
- if(!disp->TexSubImage2D) {
- void ** procp = (void **) &disp->TexSubImage2D;
snprintf(symboln, sizeof(symboln), "%sTexSubImage2D", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->TexSubImage2D) {
+ void **procp = (void **) &disp->TexSubImage2D;
- if(!disp->TexSubImage2D) {
- void ** procp = (void **) &disp->TexSubImage2D;
snprintf(symboln, sizeof(symboln), "%sTexSubImage2DEXT", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->PopClientAttrib) {
+ void **procp = (void **) &disp->PopClientAttrib;
- if(!disp->PopClientAttrib) {
- void ** procp = (void **) &disp->PopClientAttrib;
snprintf(symboln, sizeof(symboln), "%sPopClientAttrib", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->PushClientAttrib) {
+ void **procp = (void **) &disp->PushClientAttrib;
- if(!disp->PushClientAttrib) {
- void ** procp = (void **) &disp->PushClientAttrib;
snprintf(symboln, sizeof(symboln), "%sPushClientAttrib", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->BlendColor) {
+ void **procp = (void **) &disp->BlendColor;
- if(!disp->BlendColor) {
- void ** procp = (void **) &disp->BlendColor;
snprintf(symboln, sizeof(symboln), "%sBlendColor", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->BlendColor) {
+ void **procp = (void **) &disp->BlendColor;
- if(!disp->BlendColor) {
- void ** procp = (void **) &disp->BlendColor;
snprintf(symboln, sizeof(symboln), "%sBlendColorEXT", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->BlendEquation) {
+ void **procp = (void **) &disp->BlendEquation;
- if(!disp->BlendEquation) {
- void ** procp = (void **) &disp->BlendEquation;
snprintf(symboln, sizeof(symboln), "%sBlendEquation", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->BlendEquation) {
+ void **procp = (void **) &disp->BlendEquation;
- if(!disp->BlendEquation) {
- void ** procp = (void **) &disp->BlendEquation;
snprintf(symboln, sizeof(symboln), "%sBlendEquationEXT", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->DrawRangeElements) {
+ void **procp = (void **) &disp->DrawRangeElements;
- if(!disp->DrawRangeElements) {
- void ** procp = (void **) &disp->DrawRangeElements;
- snprintf(symboln, sizeof(symboln), "%sDrawRangeElements", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sDrawRangeElements",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->DrawRangeElements) {
+ void **procp = (void **) &disp->DrawRangeElements;
- if(!disp->DrawRangeElements) {
- void ** procp = (void **) &disp->DrawRangeElements;
- snprintf(symboln, sizeof(symboln), "%sDrawRangeElementsEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sDrawRangeElementsEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ColorTable) {
+ void **procp = (void **) &disp->ColorTable;
- if(!disp->ColorTable) {
- void ** procp = (void **) &disp->ColorTable;
snprintf(symboln, sizeof(symboln), "%sColorTable", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ColorTable) {
+ void **procp = (void **) &disp->ColorTable;
- if(!disp->ColorTable) {
- void ** procp = (void **) &disp->ColorTable;
snprintf(symboln, sizeof(symboln), "%sColorTableSGI", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ColorTable) {
+ void **procp = (void **) &disp->ColorTable;
- if(!disp->ColorTable) {
- void ** procp = (void **) &disp->ColorTable;
snprintf(symboln, sizeof(symboln), "%sColorTableEXT", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ColorTableParameterfv) {
+ void **procp = (void **) &disp->ColorTableParameterfv;
- if(!disp->ColorTableParameterfv) {
- void ** procp = (void **) &disp->ColorTableParameterfv;
- snprintf(symboln, sizeof(symboln), "%sColorTableParameterfv", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sColorTableParameterfv",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ColorTableParameterfv) {
+ void **procp = (void **) &disp->ColorTableParameterfv;
- if(!disp->ColorTableParameterfv) {
- void ** procp = (void **) &disp->ColorTableParameterfv;
- snprintf(symboln, sizeof(symboln), "%sColorTableParameterfvSGI", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sColorTableParameterfvSGI",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ColorTableParameteriv) {
+ void **procp = (void **) &disp->ColorTableParameteriv;
- if(!disp->ColorTableParameteriv) {
- void ** procp = (void **) &disp->ColorTableParameteriv;
- snprintf(symboln, sizeof(symboln), "%sColorTableParameteriv", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sColorTableParameteriv",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ColorTableParameteriv) {
+ void **procp = (void **) &disp->ColorTableParameteriv;
- if(!disp->ColorTableParameteriv) {
- void ** procp = (void **) &disp->ColorTableParameteriv;
- snprintf(symboln, sizeof(symboln), "%sColorTableParameterivSGI", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sColorTableParameterivSGI",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->CopyColorTable) {
+ void **procp = (void **) &disp->CopyColorTable;
- if(!disp->CopyColorTable) {
- void ** procp = (void **) &disp->CopyColorTable;
snprintf(symboln, sizeof(symboln), "%sCopyColorTable", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->CopyColorTable) {
+ void **procp = (void **) &disp->CopyColorTable;
- if(!disp->CopyColorTable) {
- void ** procp = (void **) &disp->CopyColorTable;
- snprintf(symboln, sizeof(symboln), "%sCopyColorTableSGI", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sCopyColorTableSGI",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetColorTable) {
+ void **procp = (void **) &disp->GetColorTable;
- if(!disp->GetColorTable) {
- void ** procp = (void **) &disp->GetColorTable;
snprintf(symboln, sizeof(symboln), "%sGetColorTable", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetColorTable) {
+ void **procp = (void **) &disp->GetColorTable;
- if(!disp->GetColorTable) {
- void ** procp = (void **) &disp->GetColorTable;
snprintf(symboln, sizeof(symboln), "%sGetColorTableSGI", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetColorTable) {
+ void **procp = (void **) &disp->GetColorTable;
- if(!disp->GetColorTable) {
- void ** procp = (void **) &disp->GetColorTable;
snprintf(symboln, sizeof(symboln), "%sGetColorTableEXT", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetColorTableParameterfv) {
+ void **procp = (void **) &disp->GetColorTableParameterfv;
- if(!disp->GetColorTableParameterfv) {
- void ** procp = (void **) &disp->GetColorTableParameterfv;
- snprintf(symboln, sizeof(symboln), "%sGetColorTableParameterfv", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetColorTableParameterfv",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetColorTableParameterfv) {
+ void **procp = (void **) &disp->GetColorTableParameterfv;
- if(!disp->GetColorTableParameterfv) {
- void ** procp = (void **) &disp->GetColorTableParameterfv;
- snprintf(symboln, sizeof(symboln), "%sGetColorTableParameterfvSGI", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetColorTableParameterfvSGI",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetColorTableParameterfv) {
+ void **procp = (void **) &disp->GetColorTableParameterfv;
- if(!disp->GetColorTableParameterfv) {
- void ** procp = (void **) &disp->GetColorTableParameterfv;
- snprintf(symboln, sizeof(symboln), "%sGetColorTableParameterfvEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetColorTableParameterfvEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetColorTableParameteriv) {
+ void **procp = (void **) &disp->GetColorTableParameteriv;
- if(!disp->GetColorTableParameteriv) {
- void ** procp = (void **) &disp->GetColorTableParameteriv;
- snprintf(symboln, sizeof(symboln), "%sGetColorTableParameteriv", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetColorTableParameteriv",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetColorTableParameteriv) {
+ void **procp = (void **) &disp->GetColorTableParameteriv;
- if(!disp->GetColorTableParameteriv) {
- void ** procp = (void **) &disp->GetColorTableParameteriv;
- snprintf(symboln, sizeof(symboln), "%sGetColorTableParameterivSGI", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetColorTableParameterivSGI",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetColorTableParameteriv) {
+ void **procp = (void **) &disp->GetColorTableParameteriv;
- if(!disp->GetColorTableParameteriv) {
- void ** procp = (void **) &disp->GetColorTableParameteriv;
- snprintf(symboln, sizeof(symboln), "%sGetColorTableParameterivEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetColorTableParameterivEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ColorSubTable) {
+ void **procp = (void **) &disp->ColorSubTable;
- if(!disp->ColorSubTable) {
- void ** procp = (void **) &disp->ColorSubTable;
snprintf(symboln, sizeof(symboln), "%sColorSubTable", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ColorSubTable) {
+ void **procp = (void **) &disp->ColorSubTable;
- if(!disp->ColorSubTable) {
- void ** procp = (void **) &disp->ColorSubTable;
snprintf(symboln, sizeof(symboln), "%sColorSubTableEXT", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->CopyColorSubTable) {
+ void **procp = (void **) &disp->CopyColorSubTable;
- if(!disp->CopyColorSubTable) {
- void ** procp = (void **) &disp->CopyColorSubTable;
- snprintf(symboln, sizeof(symboln), "%sCopyColorSubTable", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sCopyColorSubTable",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->CopyColorSubTable) {
+ void **procp = (void **) &disp->CopyColorSubTable;
- if(!disp->CopyColorSubTable) {
- void ** procp = (void **) &disp->CopyColorSubTable;
- snprintf(symboln, sizeof(symboln), "%sCopyColorSubTableEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sCopyColorSubTableEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ConvolutionFilter1D) {
+ void **procp = (void **) &disp->ConvolutionFilter1D;
- if(!disp->ConvolutionFilter1D) {
- void ** procp = (void **) &disp->ConvolutionFilter1D;
- snprintf(symboln, sizeof(symboln), "%sConvolutionFilter1D", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sConvolutionFilter1D",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ConvolutionFilter1D) {
+ void **procp = (void **) &disp->ConvolutionFilter1D;
- if(!disp->ConvolutionFilter1D) {
- void ** procp = (void **) &disp->ConvolutionFilter1D;
- snprintf(symboln, sizeof(symboln), "%sConvolutionFilter1DEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sConvolutionFilter1DEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ConvolutionFilter2D) {
+ void **procp = (void **) &disp->ConvolutionFilter2D;
- if(!disp->ConvolutionFilter2D) {
- void ** procp = (void **) &disp->ConvolutionFilter2D;
- snprintf(symboln, sizeof(symboln), "%sConvolutionFilter2D", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sConvolutionFilter2D",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ConvolutionFilter2D) {
+ void **procp = (void **) &disp->ConvolutionFilter2D;
- if(!disp->ConvolutionFilter2D) {
- void ** procp = (void **) &disp->ConvolutionFilter2D;
- snprintf(symboln, sizeof(symboln), "%sConvolutionFilter2DEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sConvolutionFilter2DEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ConvolutionParameterf) {
+ void **procp = (void **) &disp->ConvolutionParameterf;
- if(!disp->ConvolutionParameterf) {
- void ** procp = (void **) &disp->ConvolutionParameterf;
- snprintf(symboln, sizeof(symboln), "%sConvolutionParameterf", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sConvolutionParameterf",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ConvolutionParameterf) {
+ void **procp = (void **) &disp->ConvolutionParameterf;
- if(!disp->ConvolutionParameterf) {
- void ** procp = (void **) &disp->ConvolutionParameterf;
- snprintf(symboln, sizeof(symboln), "%sConvolutionParameterfEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sConvolutionParameterfEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ConvolutionParameterfv) {
+ void **procp = (void **) &disp->ConvolutionParameterfv;
- if(!disp->ConvolutionParameterfv) {
- void ** procp = (void **) &disp->ConvolutionParameterfv;
- snprintf(symboln, sizeof(symboln), "%sConvolutionParameterfv", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sConvolutionParameterfv",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ConvolutionParameterfv) {
+ void **procp = (void **) &disp->ConvolutionParameterfv;
- if(!disp->ConvolutionParameterfv) {
- void ** procp = (void **) &disp->ConvolutionParameterfv;
- snprintf(symboln, sizeof(symboln), "%sConvolutionParameterfvEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sConvolutionParameterfvEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ConvolutionParameteri) {
+ void **procp = (void **) &disp->ConvolutionParameteri;
- if(!disp->ConvolutionParameteri) {
- void ** procp = (void **) &disp->ConvolutionParameteri;
- snprintf(symboln, sizeof(symboln), "%sConvolutionParameteri", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sConvolutionParameteri",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ConvolutionParameteri) {
+ void **procp = (void **) &disp->ConvolutionParameteri;
- if(!disp->ConvolutionParameteri) {
- void ** procp = (void **) &disp->ConvolutionParameteri;
- snprintf(symboln, sizeof(symboln), "%sConvolutionParameteriEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sConvolutionParameteriEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ConvolutionParameteriv) {
+ void **procp = (void **) &disp->ConvolutionParameteriv;
- if(!disp->ConvolutionParameteriv) {
- void ** procp = (void **) &disp->ConvolutionParameteriv;
- snprintf(symboln, sizeof(symboln), "%sConvolutionParameteriv", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sConvolutionParameteriv",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ConvolutionParameteriv) {
+ void **procp = (void **) &disp->ConvolutionParameteriv;
- if(!disp->ConvolutionParameteriv) {
- void ** procp = (void **) &disp->ConvolutionParameteriv;
- snprintf(symboln, sizeof(symboln), "%sConvolutionParameterivEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sConvolutionParameterivEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->CopyConvolutionFilter1D) {
+ void **procp = (void **) &disp->CopyConvolutionFilter1D;
- if(!disp->CopyConvolutionFilter1D) {
- void ** procp = (void **) &disp->CopyConvolutionFilter1D;
- snprintf(symboln, sizeof(symboln), "%sCopyConvolutionFilter1D", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sCopyConvolutionFilter1D",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->CopyConvolutionFilter1D) {
+ void **procp = (void **) &disp->CopyConvolutionFilter1D;
- if(!disp->CopyConvolutionFilter1D) {
- void ** procp = (void **) &disp->CopyConvolutionFilter1D;
- snprintf(symboln, sizeof(symboln), "%sCopyConvolutionFilter1DEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sCopyConvolutionFilter1DEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->CopyConvolutionFilter2D) {
+ void **procp = (void **) &disp->CopyConvolutionFilter2D;
- if(!disp->CopyConvolutionFilter2D) {
- void ** procp = (void **) &disp->CopyConvolutionFilter2D;
- snprintf(symboln, sizeof(symboln), "%sCopyConvolutionFilter2D", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sCopyConvolutionFilter2D",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->CopyConvolutionFilter2D) {
+ void **procp = (void **) &disp->CopyConvolutionFilter2D;
- if(!disp->CopyConvolutionFilter2D) {
- void ** procp = (void **) &disp->CopyConvolutionFilter2D;
- snprintf(symboln, sizeof(symboln), "%sCopyConvolutionFilter2DEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sCopyConvolutionFilter2DEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetConvolutionFilter) {
+ void **procp = (void **) &disp->GetConvolutionFilter;
- if(!disp->GetConvolutionFilter) {
- void ** procp = (void **) &disp->GetConvolutionFilter;
- snprintf(symboln, sizeof(symboln), "%sGetConvolutionFilter", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetConvolutionFilter",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetConvolutionFilter) {
+ void **procp = (void **) &disp->GetConvolutionFilter;
- if(!disp->GetConvolutionFilter) {
- void ** procp = (void **) &disp->GetConvolutionFilter;
- snprintf(symboln, sizeof(symboln), "%sGetConvolutionFilterEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetConvolutionFilterEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetConvolutionParameterfv) {
+ void **procp = (void **) &disp->GetConvolutionParameterfv;
- if(!disp->GetConvolutionParameterfv) {
- void ** procp = (void **) &disp->GetConvolutionParameterfv;
- snprintf(symboln, sizeof(symboln), "%sGetConvolutionParameterfv", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetConvolutionParameterfv",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetConvolutionParameterfv) {
+ void **procp = (void **) &disp->GetConvolutionParameterfv;
- if(!disp->GetConvolutionParameterfv) {
- void ** procp = (void **) &disp->GetConvolutionParameterfv;
- snprintf(symboln, sizeof(symboln), "%sGetConvolutionParameterfvEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetConvolutionParameterfvEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetConvolutionParameteriv) {
+ void **procp = (void **) &disp->GetConvolutionParameteriv;
- if(!disp->GetConvolutionParameteriv) {
- void ** procp = (void **) &disp->GetConvolutionParameteriv;
- snprintf(symboln, sizeof(symboln), "%sGetConvolutionParameteriv", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetConvolutionParameteriv",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetConvolutionParameteriv) {
+ void **procp = (void **) &disp->GetConvolutionParameteriv;
- if(!disp->GetConvolutionParameteriv) {
- void ** procp = (void **) &disp->GetConvolutionParameteriv;
- snprintf(symboln, sizeof(symboln), "%sGetConvolutionParameterivEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetConvolutionParameterivEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetSeparableFilter) {
+ void **procp = (void **) &disp->GetSeparableFilter;
- if(!disp->GetSeparableFilter) {
- void ** procp = (void **) &disp->GetSeparableFilter;
- snprintf(symboln, sizeof(symboln), "%sGetSeparableFilter", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetSeparableFilter",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetSeparableFilter) {
+ void **procp = (void **) &disp->GetSeparableFilter;
- if(!disp->GetSeparableFilter) {
- void ** procp = (void **) &disp->GetSeparableFilter;
- snprintf(symboln, sizeof(symboln), "%sGetSeparableFilterEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetSeparableFilterEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->SeparableFilter2D) {
+ void **procp = (void **) &disp->SeparableFilter2D;
- if(!disp->SeparableFilter2D) {
- void ** procp = (void **) &disp->SeparableFilter2D;
- snprintf(symboln, sizeof(symboln), "%sSeparableFilter2D", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sSeparableFilter2D",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->SeparableFilter2D) {
+ void **procp = (void **) &disp->SeparableFilter2D;
- if(!disp->SeparableFilter2D) {
- void ** procp = (void **) &disp->SeparableFilter2D;
- snprintf(symboln, sizeof(symboln), "%sSeparableFilter2DEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sSeparableFilter2DEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetHistogram) {
+ void **procp = (void **) &disp->GetHistogram;
- if(!disp->GetHistogram) {
- void ** procp = (void **) &disp->GetHistogram;
snprintf(symboln, sizeof(symboln), "%sGetHistogram", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetHistogram) {
+ void **procp = (void **) &disp->GetHistogram;
- if(!disp->GetHistogram) {
- void ** procp = (void **) &disp->GetHistogram;
snprintf(symboln, sizeof(symboln), "%sGetHistogramEXT", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetHistogramParameterfv) {
+ void **procp = (void **) &disp->GetHistogramParameterfv;
- if(!disp->GetHistogramParameterfv) {
- void ** procp = (void **) &disp->GetHistogramParameterfv;
- snprintf(symboln, sizeof(symboln), "%sGetHistogramParameterfv", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetHistogramParameterfv",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetHistogramParameterfv) {
+ void **procp = (void **) &disp->GetHistogramParameterfv;
- if(!disp->GetHistogramParameterfv) {
- void ** procp = (void **) &disp->GetHistogramParameterfv;
- snprintf(symboln, sizeof(symboln), "%sGetHistogramParameterfvEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetHistogramParameterfvEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetHistogramParameteriv) {
+ void **procp = (void **) &disp->GetHistogramParameteriv;
- if(!disp->GetHistogramParameteriv) {
- void ** procp = (void **) &disp->GetHistogramParameteriv;
- snprintf(symboln, sizeof(symboln), "%sGetHistogramParameteriv", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetHistogramParameteriv",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetHistogramParameteriv) {
+ void **procp = (void **) &disp->GetHistogramParameteriv;
- if(!disp->GetHistogramParameteriv) {
- void ** procp = (void **) &disp->GetHistogramParameteriv;
- snprintf(symboln, sizeof(symboln), "%sGetHistogramParameterivEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetHistogramParameterivEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetMinmax) {
+ void **procp = (void **) &disp->GetMinmax;
- if(!disp->GetMinmax) {
- void ** procp = (void **) &disp->GetMinmax;
snprintf(symboln, sizeof(symboln), "%sGetMinmax", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetMinmax) {
+ void **procp = (void **) &disp->GetMinmax;
- if(!disp->GetMinmax) {
- void ** procp = (void **) &disp->GetMinmax;
snprintf(symboln, sizeof(symboln), "%sGetMinmaxEXT", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetMinmaxParameterfv) {
+ void **procp = (void **) &disp->GetMinmaxParameterfv;
- if(!disp->GetMinmaxParameterfv) {
- void ** procp = (void **) &disp->GetMinmaxParameterfv;
- snprintf(symboln, sizeof(symboln), "%sGetMinmaxParameterfv", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetMinmaxParameterfv",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetMinmaxParameterfv) {
+ void **procp = (void **) &disp->GetMinmaxParameterfv;
- if(!disp->GetMinmaxParameterfv) {
- void ** procp = (void **) &disp->GetMinmaxParameterfv;
- snprintf(symboln, sizeof(symboln), "%sGetMinmaxParameterfvEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetMinmaxParameterfvEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetMinmaxParameteriv) {
+ void **procp = (void **) &disp->GetMinmaxParameteriv;
- if(!disp->GetMinmaxParameteriv) {
- void ** procp = (void **) &disp->GetMinmaxParameteriv;
- snprintf(symboln, sizeof(symboln), "%sGetMinmaxParameteriv", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetMinmaxParameteriv",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetMinmaxParameteriv) {
+ void **procp = (void **) &disp->GetMinmaxParameteriv;
- if(!disp->GetMinmaxParameteriv) {
- void ** procp = (void **) &disp->GetMinmaxParameteriv;
- snprintf(symboln, sizeof(symboln), "%sGetMinmaxParameterivEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetMinmaxParameterivEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Histogram) {
+ void **procp = (void **) &disp->Histogram;
- if(!disp->Histogram) {
- void ** procp = (void **) &disp->Histogram;
snprintf(symboln, sizeof(symboln), "%sHistogram", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Histogram) {
+ void **procp = (void **) &disp->Histogram;
- if(!disp->Histogram) {
- void ** procp = (void **) &disp->Histogram;
snprintf(symboln, sizeof(symboln), "%sHistogramEXT", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Minmax) {
+ void **procp = (void **) &disp->Minmax;
- if(!disp->Minmax) {
- void ** procp = (void **) &disp->Minmax;
snprintf(symboln, sizeof(symboln), "%sMinmax", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Minmax) {
+ void **procp = (void **) &disp->Minmax;
- if(!disp->Minmax) {
- void ** procp = (void **) &disp->Minmax;
snprintf(symboln, sizeof(symboln), "%sMinmaxEXT", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ResetHistogram) {
+ void **procp = (void **) &disp->ResetHistogram;
- if(!disp->ResetHistogram) {
- void ** procp = (void **) &disp->ResetHistogram;
snprintf(symboln, sizeof(symboln), "%sResetHistogram", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ResetHistogram) {
+ void **procp = (void **) &disp->ResetHistogram;
- if(!disp->ResetHistogram) {
- void ** procp = (void **) &disp->ResetHistogram;
- snprintf(symboln, sizeof(symboln), "%sResetHistogramEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sResetHistogramEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ResetMinmax) {
+ void **procp = (void **) &disp->ResetMinmax;
- if(!disp->ResetMinmax) {
- void ** procp = (void **) &disp->ResetMinmax;
snprintf(symboln, sizeof(symboln), "%sResetMinmax", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ResetMinmax) {
+ void **procp = (void **) &disp->ResetMinmax;
- if(!disp->ResetMinmax) {
- void ** procp = (void **) &disp->ResetMinmax;
snprintf(symboln, sizeof(symboln), "%sResetMinmaxEXT", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->TexImage3D) {
+ void **procp = (void **) &disp->TexImage3D;
- if(!disp->TexImage3D) {
- void ** procp = (void **) &disp->TexImage3D;
snprintf(symboln, sizeof(symboln), "%sTexImage3D", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->TexImage3D) {
+ void **procp = (void **) &disp->TexImage3D;
- if(!disp->TexImage3D) {
- void ** procp = (void **) &disp->TexImage3D;
snprintf(symboln, sizeof(symboln), "%sTexImage3DEXT", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->TexSubImage3D) {
+ void **procp = (void **) &disp->TexSubImage3D;
- if(!disp->TexSubImage3D) {
- void ** procp = (void **) &disp->TexSubImage3D;
snprintf(symboln, sizeof(symboln), "%sTexSubImage3D", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->TexSubImage3D) {
+ void **procp = (void **) &disp->TexSubImage3D;
- if(!disp->TexSubImage3D) {
- void ** procp = (void **) &disp->TexSubImage3D;
snprintf(symboln, sizeof(symboln), "%sTexSubImage3DEXT", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->CopyTexSubImage3D) {
+ void **procp = (void **) &disp->CopyTexSubImage3D;
- if(!disp->CopyTexSubImage3D) {
- void ** procp = (void **) &disp->CopyTexSubImage3D;
- snprintf(symboln, sizeof(symboln), "%sCopyTexSubImage3D", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sCopyTexSubImage3D",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->CopyTexSubImage3D) {
+ void **procp = (void **) &disp->CopyTexSubImage3D;
- if(!disp->CopyTexSubImage3D) {
- void ** procp = (void **) &disp->CopyTexSubImage3D;
- snprintf(symboln, sizeof(symboln), "%sCopyTexSubImage3DEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sCopyTexSubImage3DEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ActiveTextureARB) {
+ void **procp = (void **) &disp->ActiveTextureARB;
- if(!disp->ActiveTextureARB) {
- void ** procp = (void **) &disp->ActiveTextureARB;
snprintf(symboln, sizeof(symboln), "%sActiveTexture", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ActiveTextureARB) {
+ void **procp = (void **) &disp->ActiveTextureARB;
- if(!disp->ActiveTextureARB) {
- void ** procp = (void **) &disp->ActiveTextureARB;
snprintf(symboln, sizeof(symboln), "%sActiveTextureARB", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ClientActiveTextureARB) {
+ void **procp = (void **) &disp->ClientActiveTextureARB;
- if(!disp->ClientActiveTextureARB) {
- void ** procp = (void **) &disp->ClientActiveTextureARB;
- snprintf(symboln, sizeof(symboln), "%sClientActiveTexture", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sClientActiveTexture",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ClientActiveTextureARB) {
+ void **procp = (void **) &disp->ClientActiveTextureARB;
- if(!disp->ClientActiveTextureARB) {
- void ** procp = (void **) &disp->ClientActiveTextureARB;
- snprintf(symboln, sizeof(symboln), "%sClientActiveTextureARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sClientActiveTextureARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MultiTexCoord1dARB) {
+ void **procp = (void **) &disp->MultiTexCoord1dARB;
- if(!disp->MultiTexCoord1dARB) {
- void ** procp = (void **) &disp->MultiTexCoord1dARB;
snprintf(symboln, sizeof(symboln), "%sMultiTexCoord1d", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MultiTexCoord1dARB) {
+ void **procp = (void **) &disp->MultiTexCoord1dARB;
- if(!disp->MultiTexCoord1dARB) {
- void ** procp = (void **) &disp->MultiTexCoord1dARB;
- snprintf(symboln, sizeof(symboln), "%sMultiTexCoord1dARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord1dARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MultiTexCoord1dvARB) {
+ void **procp = (void **) &disp->MultiTexCoord1dvARB;
- if(!disp->MultiTexCoord1dvARB) {
- void ** procp = (void **) &disp->MultiTexCoord1dvARB;
snprintf(symboln, sizeof(symboln), "%sMultiTexCoord1dv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MultiTexCoord1dvARB) {
+ void **procp = (void **) &disp->MultiTexCoord1dvARB;
- if(!disp->MultiTexCoord1dvARB) {
- void ** procp = (void **) &disp->MultiTexCoord1dvARB;
- snprintf(symboln, sizeof(symboln), "%sMultiTexCoord1dvARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord1dvARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MultiTexCoord1fARB) {
+ void **procp = (void **) &disp->MultiTexCoord1fARB;
- if(!disp->MultiTexCoord1fARB) {
- void ** procp = (void **) &disp->MultiTexCoord1fARB;
snprintf(symboln, sizeof(symboln), "%sMultiTexCoord1f", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MultiTexCoord1fARB) {
+ void **procp = (void **) &disp->MultiTexCoord1fARB;
- if(!disp->MultiTexCoord1fARB) {
- void ** procp = (void **) &disp->MultiTexCoord1fARB;
- snprintf(symboln, sizeof(symboln), "%sMultiTexCoord1fARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord1fARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MultiTexCoord1fvARB) {
+ void **procp = (void **) &disp->MultiTexCoord1fvARB;
- if(!disp->MultiTexCoord1fvARB) {
- void ** procp = (void **) &disp->MultiTexCoord1fvARB;
snprintf(symboln, sizeof(symboln), "%sMultiTexCoord1fv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MultiTexCoord1fvARB) {
+ void **procp = (void **) &disp->MultiTexCoord1fvARB;
- if(!disp->MultiTexCoord1fvARB) {
- void ** procp = (void **) &disp->MultiTexCoord1fvARB;
- snprintf(symboln, sizeof(symboln), "%sMultiTexCoord1fvARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord1fvARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MultiTexCoord1iARB) {
+ void **procp = (void **) &disp->MultiTexCoord1iARB;
- if(!disp->MultiTexCoord1iARB) {
- void ** procp = (void **) &disp->MultiTexCoord1iARB;
snprintf(symboln, sizeof(symboln), "%sMultiTexCoord1i", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MultiTexCoord1iARB) {
+ void **procp = (void **) &disp->MultiTexCoord1iARB;
- if(!disp->MultiTexCoord1iARB) {
- void ** procp = (void **) &disp->MultiTexCoord1iARB;
- snprintf(symboln, sizeof(symboln), "%sMultiTexCoord1iARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord1iARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MultiTexCoord1ivARB) {
+ void **procp = (void **) &disp->MultiTexCoord1ivARB;
- if(!disp->MultiTexCoord1ivARB) {
- void ** procp = (void **) &disp->MultiTexCoord1ivARB;
snprintf(symboln, sizeof(symboln), "%sMultiTexCoord1iv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MultiTexCoord1ivARB) {
+ void **procp = (void **) &disp->MultiTexCoord1ivARB;
- if(!disp->MultiTexCoord1ivARB) {
- void ** procp = (void **) &disp->MultiTexCoord1ivARB;
- snprintf(symboln, sizeof(symboln), "%sMultiTexCoord1ivARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord1ivARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MultiTexCoord1sARB) {
+ void **procp = (void **) &disp->MultiTexCoord1sARB;
- if(!disp->MultiTexCoord1sARB) {
- void ** procp = (void **) &disp->MultiTexCoord1sARB;
snprintf(symboln, sizeof(symboln), "%sMultiTexCoord1s", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MultiTexCoord1sARB) {
+ void **procp = (void **) &disp->MultiTexCoord1sARB;
- if(!disp->MultiTexCoord1sARB) {
- void ** procp = (void **) &disp->MultiTexCoord1sARB;
- snprintf(symboln, sizeof(symboln), "%sMultiTexCoord1sARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord1sARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MultiTexCoord1svARB) {
+ void **procp = (void **) &disp->MultiTexCoord1svARB;
- if(!disp->MultiTexCoord1svARB) {
- void ** procp = (void **) &disp->MultiTexCoord1svARB;
snprintf(symboln, sizeof(symboln), "%sMultiTexCoord1sv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MultiTexCoord1svARB) {
+ void **procp = (void **) &disp->MultiTexCoord1svARB;
- if(!disp->MultiTexCoord1svARB) {
- void ** procp = (void **) &disp->MultiTexCoord1svARB;
- snprintf(symboln, sizeof(symboln), "%sMultiTexCoord1svARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord1svARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MultiTexCoord2dARB) {
+ void **procp = (void **) &disp->MultiTexCoord2dARB;
- if(!disp->MultiTexCoord2dARB) {
- void ** procp = (void **) &disp->MultiTexCoord2dARB;
snprintf(symboln, sizeof(symboln), "%sMultiTexCoord2d", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MultiTexCoord2dARB) {
+ void **procp = (void **) &disp->MultiTexCoord2dARB;
- if(!disp->MultiTexCoord2dARB) {
- void ** procp = (void **) &disp->MultiTexCoord2dARB;
- snprintf(symboln, sizeof(symboln), "%sMultiTexCoord2dARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord2dARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MultiTexCoord2dvARB) {
+ void **procp = (void **) &disp->MultiTexCoord2dvARB;
- if(!disp->MultiTexCoord2dvARB) {
- void ** procp = (void **) &disp->MultiTexCoord2dvARB;
snprintf(symboln, sizeof(symboln), "%sMultiTexCoord2dv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MultiTexCoord2dvARB) {
+ void **procp = (void **) &disp->MultiTexCoord2dvARB;
- if(!disp->MultiTexCoord2dvARB) {
- void ** procp = (void **) &disp->MultiTexCoord2dvARB;
- snprintf(symboln, sizeof(symboln), "%sMultiTexCoord2dvARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord2dvARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MultiTexCoord2fARB) {
+ void **procp = (void **) &disp->MultiTexCoord2fARB;
- if(!disp->MultiTexCoord2fARB) {
- void ** procp = (void **) &disp->MultiTexCoord2fARB;
snprintf(symboln, sizeof(symboln), "%sMultiTexCoord2f", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MultiTexCoord2fARB) {
+ void **procp = (void **) &disp->MultiTexCoord2fARB;
- if(!disp->MultiTexCoord2fARB) {
- void ** procp = (void **) &disp->MultiTexCoord2fARB;
- snprintf(symboln, sizeof(symboln), "%sMultiTexCoord2fARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord2fARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MultiTexCoord2fvARB) {
+ void **procp = (void **) &disp->MultiTexCoord2fvARB;
- if(!disp->MultiTexCoord2fvARB) {
- void ** procp = (void **) &disp->MultiTexCoord2fvARB;
snprintf(symboln, sizeof(symboln), "%sMultiTexCoord2fv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MultiTexCoord2fvARB) {
+ void **procp = (void **) &disp->MultiTexCoord2fvARB;
- if(!disp->MultiTexCoord2fvARB) {
- void ** procp = (void **) &disp->MultiTexCoord2fvARB;
- snprintf(symboln, sizeof(symboln), "%sMultiTexCoord2fvARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord2fvARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MultiTexCoord2iARB) {
+ void **procp = (void **) &disp->MultiTexCoord2iARB;
- if(!disp->MultiTexCoord2iARB) {
- void ** procp = (void **) &disp->MultiTexCoord2iARB;
snprintf(symboln, sizeof(symboln), "%sMultiTexCoord2i", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MultiTexCoord2iARB) {
+ void **procp = (void **) &disp->MultiTexCoord2iARB;
- if(!disp->MultiTexCoord2iARB) {
- void ** procp = (void **) &disp->MultiTexCoord2iARB;
- snprintf(symboln, sizeof(symboln), "%sMultiTexCoord2iARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord2iARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MultiTexCoord2ivARB) {
+ void **procp = (void **) &disp->MultiTexCoord2ivARB;
- if(!disp->MultiTexCoord2ivARB) {
- void ** procp = (void **) &disp->MultiTexCoord2ivARB;
snprintf(symboln, sizeof(symboln), "%sMultiTexCoord2iv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MultiTexCoord2ivARB) {
+ void **procp = (void **) &disp->MultiTexCoord2ivARB;
- if(!disp->MultiTexCoord2ivARB) {
- void ** procp = (void **) &disp->MultiTexCoord2ivARB;
- snprintf(symboln, sizeof(symboln), "%sMultiTexCoord2ivARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord2ivARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MultiTexCoord2sARB) {
+ void **procp = (void **) &disp->MultiTexCoord2sARB;
- if(!disp->MultiTexCoord2sARB) {
- void ** procp = (void **) &disp->MultiTexCoord2sARB;
snprintf(symboln, sizeof(symboln), "%sMultiTexCoord2s", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MultiTexCoord2sARB) {
+ void **procp = (void **) &disp->MultiTexCoord2sARB;
- if(!disp->MultiTexCoord2sARB) {
- void ** procp = (void **) &disp->MultiTexCoord2sARB;
- snprintf(symboln, sizeof(symboln), "%sMultiTexCoord2sARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord2sARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MultiTexCoord2svARB) {
+ void **procp = (void **) &disp->MultiTexCoord2svARB;
- if(!disp->MultiTexCoord2svARB) {
- void ** procp = (void **) &disp->MultiTexCoord2svARB;
snprintf(symboln, sizeof(symboln), "%sMultiTexCoord2sv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MultiTexCoord2svARB) {
+ void **procp = (void **) &disp->MultiTexCoord2svARB;
- if(!disp->MultiTexCoord2svARB) {
- void ** procp = (void **) &disp->MultiTexCoord2svARB;
- snprintf(symboln, sizeof(symboln), "%sMultiTexCoord2svARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord2svARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MultiTexCoord3dARB) {
+ void **procp = (void **) &disp->MultiTexCoord3dARB;
- if(!disp->MultiTexCoord3dARB) {
- void ** procp = (void **) &disp->MultiTexCoord3dARB;
snprintf(symboln, sizeof(symboln), "%sMultiTexCoord3d", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MultiTexCoord3dARB) {
+ void **procp = (void **) &disp->MultiTexCoord3dARB;
- if(!disp->MultiTexCoord3dARB) {
- void ** procp = (void **) &disp->MultiTexCoord3dARB;
- snprintf(symboln, sizeof(symboln), "%sMultiTexCoord3dARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord3dARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MultiTexCoord3dvARB) {
+ void **procp = (void **) &disp->MultiTexCoord3dvARB;
- if(!disp->MultiTexCoord3dvARB) {
- void ** procp = (void **) &disp->MultiTexCoord3dvARB;
snprintf(symboln, sizeof(symboln), "%sMultiTexCoord3dv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MultiTexCoord3dvARB) {
+ void **procp = (void **) &disp->MultiTexCoord3dvARB;
- if(!disp->MultiTexCoord3dvARB) {
- void ** procp = (void **) &disp->MultiTexCoord3dvARB;
- snprintf(symboln, sizeof(symboln), "%sMultiTexCoord3dvARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord3dvARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MultiTexCoord3fARB) {
+ void **procp = (void **) &disp->MultiTexCoord3fARB;
- if(!disp->MultiTexCoord3fARB) {
- void ** procp = (void **) &disp->MultiTexCoord3fARB;
snprintf(symboln, sizeof(symboln), "%sMultiTexCoord3f", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MultiTexCoord3fARB) {
+ void **procp = (void **) &disp->MultiTexCoord3fARB;
- if(!disp->MultiTexCoord3fARB) {
- void ** procp = (void **) &disp->MultiTexCoord3fARB;
- snprintf(symboln, sizeof(symboln), "%sMultiTexCoord3fARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord3fARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MultiTexCoord3fvARB) {
+ void **procp = (void **) &disp->MultiTexCoord3fvARB;
- if(!disp->MultiTexCoord3fvARB) {
- void ** procp = (void **) &disp->MultiTexCoord3fvARB;
snprintf(symboln, sizeof(symboln), "%sMultiTexCoord3fv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MultiTexCoord3fvARB) {
+ void **procp = (void **) &disp->MultiTexCoord3fvARB;
- if(!disp->MultiTexCoord3fvARB) {
- void ** procp = (void **) &disp->MultiTexCoord3fvARB;
- snprintf(symboln, sizeof(symboln), "%sMultiTexCoord3fvARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord3fvARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MultiTexCoord3iARB) {
+ void **procp = (void **) &disp->MultiTexCoord3iARB;
- if(!disp->MultiTexCoord3iARB) {
- void ** procp = (void **) &disp->MultiTexCoord3iARB;
snprintf(symboln, sizeof(symboln), "%sMultiTexCoord3i", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MultiTexCoord3iARB) {
+ void **procp = (void **) &disp->MultiTexCoord3iARB;
- if(!disp->MultiTexCoord3iARB) {
- void ** procp = (void **) &disp->MultiTexCoord3iARB;
- snprintf(symboln, sizeof(symboln), "%sMultiTexCoord3iARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord3iARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MultiTexCoord3ivARB) {
+ void **procp = (void **) &disp->MultiTexCoord3ivARB;
- if(!disp->MultiTexCoord3ivARB) {
- void ** procp = (void **) &disp->MultiTexCoord3ivARB;
snprintf(symboln, sizeof(symboln), "%sMultiTexCoord3iv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MultiTexCoord3ivARB) {
+ void **procp = (void **) &disp->MultiTexCoord3ivARB;
- if(!disp->MultiTexCoord3ivARB) {
- void ** procp = (void **) &disp->MultiTexCoord3ivARB;
- snprintf(symboln, sizeof(symboln), "%sMultiTexCoord3ivARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord3ivARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MultiTexCoord3sARB) {
+ void **procp = (void **) &disp->MultiTexCoord3sARB;
- if(!disp->MultiTexCoord3sARB) {
- void ** procp = (void **) &disp->MultiTexCoord3sARB;
snprintf(symboln, sizeof(symboln), "%sMultiTexCoord3s", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MultiTexCoord3sARB) {
+ void **procp = (void **) &disp->MultiTexCoord3sARB;
- if(!disp->MultiTexCoord3sARB) {
- void ** procp = (void **) &disp->MultiTexCoord3sARB;
- snprintf(symboln, sizeof(symboln), "%sMultiTexCoord3sARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord3sARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MultiTexCoord3svARB) {
+ void **procp = (void **) &disp->MultiTexCoord3svARB;
- if(!disp->MultiTexCoord3svARB) {
- void ** procp = (void **) &disp->MultiTexCoord3svARB;
snprintf(symboln, sizeof(symboln), "%sMultiTexCoord3sv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MultiTexCoord3svARB) {
+ void **procp = (void **) &disp->MultiTexCoord3svARB;
- if(!disp->MultiTexCoord3svARB) {
- void ** procp = (void **) &disp->MultiTexCoord3svARB;
- snprintf(symboln, sizeof(symboln), "%sMultiTexCoord3svARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord3svARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MultiTexCoord4dARB) {
+ void **procp = (void **) &disp->MultiTexCoord4dARB;
- if(!disp->MultiTexCoord4dARB) {
- void ** procp = (void **) &disp->MultiTexCoord4dARB;
snprintf(symboln, sizeof(symboln), "%sMultiTexCoord4d", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MultiTexCoord4dARB) {
+ void **procp = (void **) &disp->MultiTexCoord4dARB;
- if(!disp->MultiTexCoord4dARB) {
- void ** procp = (void **) &disp->MultiTexCoord4dARB;
- snprintf(symboln, sizeof(symboln), "%sMultiTexCoord4dARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord4dARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MultiTexCoord4dvARB) {
+ void **procp = (void **) &disp->MultiTexCoord4dvARB;
- if(!disp->MultiTexCoord4dvARB) {
- void ** procp = (void **) &disp->MultiTexCoord4dvARB;
snprintf(symboln, sizeof(symboln), "%sMultiTexCoord4dv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MultiTexCoord4dvARB) {
+ void **procp = (void **) &disp->MultiTexCoord4dvARB;
- if(!disp->MultiTexCoord4dvARB) {
- void ** procp = (void **) &disp->MultiTexCoord4dvARB;
- snprintf(symboln, sizeof(symboln), "%sMultiTexCoord4dvARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord4dvARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MultiTexCoord4fARB) {
+ void **procp = (void **) &disp->MultiTexCoord4fARB;
- if(!disp->MultiTexCoord4fARB) {
- void ** procp = (void **) &disp->MultiTexCoord4fARB;
snprintf(symboln, sizeof(symboln), "%sMultiTexCoord4f", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MultiTexCoord4fARB) {
+ void **procp = (void **) &disp->MultiTexCoord4fARB;
- if(!disp->MultiTexCoord4fARB) {
- void ** procp = (void **) &disp->MultiTexCoord4fARB;
- snprintf(symboln, sizeof(symboln), "%sMultiTexCoord4fARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord4fARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MultiTexCoord4fvARB) {
+ void **procp = (void **) &disp->MultiTexCoord4fvARB;
- if(!disp->MultiTexCoord4fvARB) {
- void ** procp = (void **) &disp->MultiTexCoord4fvARB;
snprintf(symboln, sizeof(symboln), "%sMultiTexCoord4fv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MultiTexCoord4fvARB) {
+ void **procp = (void **) &disp->MultiTexCoord4fvARB;
- if(!disp->MultiTexCoord4fvARB) {
- void ** procp = (void **) &disp->MultiTexCoord4fvARB;
- snprintf(symboln, sizeof(symboln), "%sMultiTexCoord4fvARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord4fvARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MultiTexCoord4iARB) {
+ void **procp = (void **) &disp->MultiTexCoord4iARB;
- if(!disp->MultiTexCoord4iARB) {
- void ** procp = (void **) &disp->MultiTexCoord4iARB;
snprintf(symboln, sizeof(symboln), "%sMultiTexCoord4i", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MultiTexCoord4iARB) {
+ void **procp = (void **) &disp->MultiTexCoord4iARB;
- if(!disp->MultiTexCoord4iARB) {
- void ** procp = (void **) &disp->MultiTexCoord4iARB;
- snprintf(symboln, sizeof(symboln), "%sMultiTexCoord4iARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord4iARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MultiTexCoord4ivARB) {
+ void **procp = (void **) &disp->MultiTexCoord4ivARB;
- if(!disp->MultiTexCoord4ivARB) {
- void ** procp = (void **) &disp->MultiTexCoord4ivARB;
snprintf(symboln, sizeof(symboln), "%sMultiTexCoord4iv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MultiTexCoord4ivARB) {
+ void **procp = (void **) &disp->MultiTexCoord4ivARB;
- if(!disp->MultiTexCoord4ivARB) {
- void ** procp = (void **) &disp->MultiTexCoord4ivARB;
- snprintf(symboln, sizeof(symboln), "%sMultiTexCoord4ivARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord4ivARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MultiTexCoord4sARB) {
+ void **procp = (void **) &disp->MultiTexCoord4sARB;
- if(!disp->MultiTexCoord4sARB) {
- void ** procp = (void **) &disp->MultiTexCoord4sARB;
snprintf(symboln, sizeof(symboln), "%sMultiTexCoord4s", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MultiTexCoord4sARB) {
+ void **procp = (void **) &disp->MultiTexCoord4sARB;
- if(!disp->MultiTexCoord4sARB) {
- void ** procp = (void **) &disp->MultiTexCoord4sARB;
- snprintf(symboln, sizeof(symboln), "%sMultiTexCoord4sARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord4sARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MultiTexCoord4svARB) {
+ void **procp = (void **) &disp->MultiTexCoord4svARB;
- if(!disp->MultiTexCoord4svARB) {
- void ** procp = (void **) &disp->MultiTexCoord4svARB;
snprintf(symboln, sizeof(symboln), "%sMultiTexCoord4sv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MultiTexCoord4svARB) {
+ void **procp = (void **) &disp->MultiTexCoord4svARB;
- if(!disp->MultiTexCoord4svARB) {
- void ** procp = (void **) &disp->MultiTexCoord4svARB;
- snprintf(symboln, sizeof(symboln), "%sMultiTexCoord4svARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoord4svARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->AttachShader) {
+ void **procp = (void **) &disp->AttachShader;
- if(!disp->AttachShader) {
- void ** procp = (void **) &disp->AttachShader;
snprintf(symboln, sizeof(symboln), "%sAttachShader", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->CreateProgram) {
+ void **procp = (void **) &disp->CreateProgram;
- if(!disp->CreateProgram) {
- void ** procp = (void **) &disp->CreateProgram;
snprintf(symboln, sizeof(symboln), "%sCreateProgram", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->CreateShader) {
+ void **procp = (void **) &disp->CreateShader;
- if(!disp->CreateShader) {
- void ** procp = (void **) &disp->CreateShader;
snprintf(symboln, sizeof(symboln), "%sCreateShader", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->DeleteProgram) {
+ void **procp = (void **) &disp->DeleteProgram;
- if(!disp->DeleteProgram) {
- void ** procp = (void **) &disp->DeleteProgram;
snprintf(symboln, sizeof(symboln), "%sDeleteProgram", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->DeleteShader) {
+ void **procp = (void **) &disp->DeleteShader;
- if(!disp->DeleteShader) {
- void ** procp = (void **) &disp->DeleteShader;
snprintf(symboln, sizeof(symboln), "%sDeleteShader", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->DetachShader) {
+ void **procp = (void **) &disp->DetachShader;
- if(!disp->DetachShader) {
- void ** procp = (void **) &disp->DetachShader;
snprintf(symboln, sizeof(symboln), "%sDetachShader", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetAttachedShaders) {
+ void **procp = (void **) &disp->GetAttachedShaders;
- if(!disp->GetAttachedShaders) {
- void ** procp = (void **) &disp->GetAttachedShaders;
- snprintf(symboln, sizeof(symboln), "%sGetAttachedShaders", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetAttachedShaders",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetProgramInfoLog) {
+ void **procp = (void **) &disp->GetProgramInfoLog;
- if(!disp->GetProgramInfoLog) {
- void ** procp = (void **) &disp->GetProgramInfoLog;
- snprintf(symboln, sizeof(symboln), "%sGetProgramInfoLog", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetProgramInfoLog",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetProgramiv) {
+ void **procp = (void **) &disp->GetProgramiv;
- if(!disp->GetProgramiv) {
- void ** procp = (void **) &disp->GetProgramiv;
snprintf(symboln, sizeof(symboln), "%sGetProgramiv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetShaderInfoLog) {
+ void **procp = (void **) &disp->GetShaderInfoLog;
- if(!disp->GetShaderInfoLog) {
- void ** procp = (void **) &disp->GetShaderInfoLog;
snprintf(symboln, sizeof(symboln), "%sGetShaderInfoLog", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetShaderiv) {
+ void **procp = (void **) &disp->GetShaderiv;
- if(!disp->GetShaderiv) {
- void ** procp = (void **) &disp->GetShaderiv;
snprintf(symboln, sizeof(symboln), "%sGetShaderiv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->IsProgram) {
+ void **procp = (void **) &disp->IsProgram;
- if(!disp->IsProgram) {
- void ** procp = (void **) &disp->IsProgram;
snprintf(symboln, sizeof(symboln), "%sIsProgram", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->IsShader) {
+ void **procp = (void **) &disp->IsShader;
- if(!disp->IsShader) {
- void ** procp = (void **) &disp->IsShader;
snprintf(symboln, sizeof(symboln), "%sIsShader", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->StencilFuncSeparate) {
+ void **procp = (void **) &disp->StencilFuncSeparate;
- if(!disp->StencilFuncSeparate) {
- void ** procp = (void **) &disp->StencilFuncSeparate;
- snprintf(symboln, sizeof(symboln), "%sStencilFuncSeparate", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sStencilFuncSeparate",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->StencilMaskSeparate) {
+ void **procp = (void **) &disp->StencilMaskSeparate;
- if(!disp->StencilMaskSeparate) {
- void ** procp = (void **) &disp->StencilMaskSeparate;
- snprintf(symboln, sizeof(symboln), "%sStencilMaskSeparate", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sStencilMaskSeparate",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->StencilOpSeparate) {
+ void **procp = (void **) &disp->StencilOpSeparate;
- if(!disp->StencilOpSeparate) {
- void ** procp = (void **) &disp->StencilOpSeparate;
- snprintf(symboln, sizeof(symboln), "%sStencilOpSeparate", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sStencilOpSeparate",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->StencilOpSeparate) {
+ void **procp = (void **) &disp->StencilOpSeparate;
- if(!disp->StencilOpSeparate) {
- void ** procp = (void **) &disp->StencilOpSeparate;
- snprintf(symboln, sizeof(symboln), "%sStencilOpSeparateATI", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sStencilOpSeparateATI",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->UniformMatrix2x3fv) {
+ void **procp = (void **) &disp->UniformMatrix2x3fv;
- if(!disp->UniformMatrix2x3fv) {
- void ** procp = (void **) &disp->UniformMatrix2x3fv;
- snprintf(symboln, sizeof(symboln), "%sUniformMatrix2x3fv", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sUniformMatrix2x3fv",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->UniformMatrix2x4fv) {
+ void **procp = (void **) &disp->UniformMatrix2x4fv;
- if(!disp->UniformMatrix2x4fv) {
- void ** procp = (void **) &disp->UniformMatrix2x4fv;
- snprintf(symboln, sizeof(symboln), "%sUniformMatrix2x4fv", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sUniformMatrix2x4fv",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->UniformMatrix3x2fv) {
+ void **procp = (void **) &disp->UniformMatrix3x2fv;
- if(!disp->UniformMatrix3x2fv) {
- void ** procp = (void **) &disp->UniformMatrix3x2fv;
- snprintf(symboln, sizeof(symboln), "%sUniformMatrix3x2fv", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sUniformMatrix3x2fv",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->UniformMatrix3x4fv) {
+ void **procp = (void **) &disp->UniformMatrix3x4fv;
- if(!disp->UniformMatrix3x4fv) {
- void ** procp = (void **) &disp->UniformMatrix3x4fv;
- snprintf(symboln, sizeof(symboln), "%sUniformMatrix3x4fv", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sUniformMatrix3x4fv",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->UniformMatrix4x2fv) {
+ void **procp = (void **) &disp->UniformMatrix4x2fv;
- if(!disp->UniformMatrix4x2fv) {
- void ** procp = (void **) &disp->UniformMatrix4x2fv;
- snprintf(symboln, sizeof(symboln), "%sUniformMatrix4x2fv", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sUniformMatrix4x2fv",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->UniformMatrix4x3fv) {
+ void **procp = (void **) &disp->UniformMatrix4x3fv;
- if(!disp->UniformMatrix4x3fv) {
- void ** procp = (void **) &disp->UniformMatrix4x3fv;
- snprintf(symboln, sizeof(symboln), "%sUniformMatrix4x3fv", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sUniformMatrix4x3fv",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ClampColor) {
+ void **procp = (void **) &disp->ClampColor;
- if(!disp->ClampColor) {
- void ** procp = (void **) &disp->ClampColor;
snprintf(symboln, sizeof(symboln), "%sClampColor", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ClearBufferfi) {
+ void **procp = (void **) &disp->ClearBufferfi;
- if(!disp->ClearBufferfi) {
- void ** procp = (void **) &disp->ClearBufferfi;
snprintf(symboln, sizeof(symboln), "%sClearBufferfi", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ClearBufferfv) {
+ void **procp = (void **) &disp->ClearBufferfv;
- if(!disp->ClearBufferfv) {
- void ** procp = (void **) &disp->ClearBufferfv;
snprintf(symboln, sizeof(symboln), "%sClearBufferfv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ClearBufferiv) {
+ void **procp = (void **) &disp->ClearBufferiv;
- if(!disp->ClearBufferiv) {
- void ** procp = (void **) &disp->ClearBufferiv;
snprintf(symboln, sizeof(symboln), "%sClearBufferiv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ClearBufferuiv) {
+ void **procp = (void **) &disp->ClearBufferuiv;
- if(!disp->ClearBufferuiv) {
- void ** procp = (void **) &disp->ClearBufferuiv;
snprintf(symboln, sizeof(symboln), "%sClearBufferuiv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetStringi) {
+ void **procp = (void **) &disp->GetStringi;
- if(!disp->GetStringi) {
- void ** procp = (void **) &disp->GetStringi;
snprintf(symboln, sizeof(symboln), "%sGetStringi", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->TexBuffer) {
+ void **procp = (void **) &disp->TexBuffer;
- if(!disp->TexBuffer) {
- void ** procp = (void **) &disp->TexBuffer;
snprintf(symboln, sizeof(symboln), "%sTexBuffer", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->FramebufferTexture) {
+ void **procp = (void **) &disp->FramebufferTexture;
- if(!disp->FramebufferTexture) {
- void ** procp = (void **) &disp->FramebufferTexture;
- snprintf(symboln, sizeof(symboln), "%sFramebufferTexture", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sFramebufferTexture",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetBufferParameteri64v) {
+ void **procp = (void **) &disp->GetBufferParameteri64v;
- if(!disp->GetBufferParameteri64v) {
- void ** procp = (void **) &disp->GetBufferParameteri64v;
- snprintf(symboln, sizeof(symboln), "%sGetBufferParameteri64v", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetBufferParameteri64v",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetInteger64i_v) {
+ void **procp = (void **) &disp->GetInteger64i_v;
- if(!disp->GetInteger64i_v) {
- void ** procp = (void **) &disp->GetInteger64i_v;
snprintf(symboln, sizeof(symboln), "%sGetInteger64i_v", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttribDivisor) {
+ void **procp = (void **) &disp->VertexAttribDivisor;
- if(!disp->VertexAttribDivisor) {
- void ** procp = (void **) &disp->VertexAttribDivisor;
- snprintf(symboln, sizeof(symboln), "%sVertexAttribDivisor", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribDivisor",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->LoadTransposeMatrixdARB) {
+ void **procp = (void **) &disp->LoadTransposeMatrixdARB;
- if(!disp->LoadTransposeMatrixdARB) {
- void ** procp = (void **) &disp->LoadTransposeMatrixdARB;
- snprintf(symboln, sizeof(symboln), "%sLoadTransposeMatrixd", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sLoadTransposeMatrixd",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->LoadTransposeMatrixdARB) {
+ void **procp = (void **) &disp->LoadTransposeMatrixdARB;
- if(!disp->LoadTransposeMatrixdARB) {
- void ** procp = (void **) &disp->LoadTransposeMatrixdARB;
- snprintf(symboln, sizeof(symboln), "%sLoadTransposeMatrixdARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sLoadTransposeMatrixdARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->LoadTransposeMatrixfARB) {
+ void **procp = (void **) &disp->LoadTransposeMatrixfARB;
- if(!disp->LoadTransposeMatrixfARB) {
- void ** procp = (void **) &disp->LoadTransposeMatrixfARB;
- snprintf(symboln, sizeof(symboln), "%sLoadTransposeMatrixf", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sLoadTransposeMatrixf",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->LoadTransposeMatrixfARB) {
+ void **procp = (void **) &disp->LoadTransposeMatrixfARB;
- if(!disp->LoadTransposeMatrixfARB) {
- void ** procp = (void **) &disp->LoadTransposeMatrixfARB;
- snprintf(symboln, sizeof(symboln), "%sLoadTransposeMatrixfARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sLoadTransposeMatrixfARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MultTransposeMatrixdARB) {
+ void **procp = (void **) &disp->MultTransposeMatrixdARB;
- if(!disp->MultTransposeMatrixdARB) {
- void ** procp = (void **) &disp->MultTransposeMatrixdARB;
- snprintf(symboln, sizeof(symboln), "%sMultTransposeMatrixd", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sMultTransposeMatrixd",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MultTransposeMatrixdARB) {
+ void **procp = (void **) &disp->MultTransposeMatrixdARB;
- if(!disp->MultTransposeMatrixdARB) {
- void ** procp = (void **) &disp->MultTransposeMatrixdARB;
- snprintf(symboln, sizeof(symboln), "%sMultTransposeMatrixdARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sMultTransposeMatrixdARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MultTransposeMatrixfARB) {
+ void **procp = (void **) &disp->MultTransposeMatrixfARB;
- if(!disp->MultTransposeMatrixfARB) {
- void ** procp = (void **) &disp->MultTransposeMatrixfARB;
- snprintf(symboln, sizeof(symboln), "%sMultTransposeMatrixf", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sMultTransposeMatrixf",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MultTransposeMatrixfARB) {
+ void **procp = (void **) &disp->MultTransposeMatrixfARB;
- if(!disp->MultTransposeMatrixfARB) {
- void ** procp = (void **) &disp->MultTransposeMatrixfARB;
- snprintf(symboln, sizeof(symboln), "%sMultTransposeMatrixfARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sMultTransposeMatrixfARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->SampleCoverageARB) {
+ void **procp = (void **) &disp->SampleCoverageARB;
- if(!disp->SampleCoverageARB) {
- void ** procp = (void **) &disp->SampleCoverageARB;
snprintf(symboln, sizeof(symboln), "%sSampleCoverage", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->SampleCoverageARB) {
+ void **procp = (void **) &disp->SampleCoverageARB;
- if(!disp->SampleCoverageARB) {
- void ** procp = (void **) &disp->SampleCoverageARB;
- snprintf(symboln, sizeof(symboln), "%sSampleCoverageARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sSampleCoverageARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->CompressedTexImage1DARB) {
+ void **procp = (void **) &disp->CompressedTexImage1DARB;
- if(!disp->CompressedTexImage1DARB) {
- void ** procp = (void **) &disp->CompressedTexImage1DARB;
- snprintf(symboln, sizeof(symboln), "%sCompressedTexImage1D", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sCompressedTexImage1D",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->CompressedTexImage1DARB) {
+ void **procp = (void **) &disp->CompressedTexImage1DARB;
- if(!disp->CompressedTexImage1DARB) {
- void ** procp = (void **) &disp->CompressedTexImage1DARB;
- snprintf(symboln, sizeof(symboln), "%sCompressedTexImage1DARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sCompressedTexImage1DARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->CompressedTexImage2DARB) {
+ void **procp = (void **) &disp->CompressedTexImage2DARB;
- if(!disp->CompressedTexImage2DARB) {
- void ** procp = (void **) &disp->CompressedTexImage2DARB;
- snprintf(symboln, sizeof(symboln), "%sCompressedTexImage2D", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sCompressedTexImage2D",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->CompressedTexImage2DARB) {
+ void **procp = (void **) &disp->CompressedTexImage2DARB;
- if(!disp->CompressedTexImage2DARB) {
- void ** procp = (void **) &disp->CompressedTexImage2DARB;
- snprintf(symboln, sizeof(symboln), "%sCompressedTexImage2DARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sCompressedTexImage2DARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->CompressedTexImage3DARB) {
+ void **procp = (void **) &disp->CompressedTexImage3DARB;
- if(!disp->CompressedTexImage3DARB) {
- void ** procp = (void **) &disp->CompressedTexImage3DARB;
- snprintf(symboln, sizeof(symboln), "%sCompressedTexImage3D", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sCompressedTexImage3D",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->CompressedTexImage3DARB) {
+ void **procp = (void **) &disp->CompressedTexImage3DARB;
- if(!disp->CompressedTexImage3DARB) {
- void ** procp = (void **) &disp->CompressedTexImage3DARB;
- snprintf(symboln, sizeof(symboln), "%sCompressedTexImage3DARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sCompressedTexImage3DARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->CompressedTexSubImage1DARB) {
+ void **procp = (void **) &disp->CompressedTexSubImage1DARB;
- if(!disp->CompressedTexSubImage1DARB) {
- void ** procp = (void **) &disp->CompressedTexSubImage1DARB;
- snprintf(symboln, sizeof(symboln), "%sCompressedTexSubImage1D", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sCompressedTexSubImage1D",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->CompressedTexSubImage1DARB) {
+ void **procp = (void **) &disp->CompressedTexSubImage1DARB;
- if(!disp->CompressedTexSubImage1DARB) {
- void ** procp = (void **) &disp->CompressedTexSubImage1DARB;
- snprintf(symboln, sizeof(symboln), "%sCompressedTexSubImage1DARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sCompressedTexSubImage1DARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->CompressedTexSubImage2DARB) {
+ void **procp = (void **) &disp->CompressedTexSubImage2DARB;
- if(!disp->CompressedTexSubImage2DARB) {
- void ** procp = (void **) &disp->CompressedTexSubImage2DARB;
- snprintf(symboln, sizeof(symboln), "%sCompressedTexSubImage2D", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sCompressedTexSubImage2D",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->CompressedTexSubImage2DARB) {
+ void **procp = (void **) &disp->CompressedTexSubImage2DARB;
- if(!disp->CompressedTexSubImage2DARB) {
- void ** procp = (void **) &disp->CompressedTexSubImage2DARB;
- snprintf(symboln, sizeof(symboln), "%sCompressedTexSubImage2DARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sCompressedTexSubImage2DARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->CompressedTexSubImage3DARB) {
+ void **procp = (void **) &disp->CompressedTexSubImage3DARB;
- if(!disp->CompressedTexSubImage3DARB) {
- void ** procp = (void **) &disp->CompressedTexSubImage3DARB;
- snprintf(symboln, sizeof(symboln), "%sCompressedTexSubImage3D", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sCompressedTexSubImage3D",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->CompressedTexSubImage3DARB) {
+ void **procp = (void **) &disp->CompressedTexSubImage3DARB;
- if(!disp->CompressedTexSubImage3DARB) {
- void ** procp = (void **) &disp->CompressedTexSubImage3DARB;
- snprintf(symboln, sizeof(symboln), "%sCompressedTexSubImage3DARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sCompressedTexSubImage3DARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetCompressedTexImageARB) {
+ void **procp = (void **) &disp->GetCompressedTexImageARB;
- if(!disp->GetCompressedTexImageARB) {
- void ** procp = (void **) &disp->GetCompressedTexImageARB;
- snprintf(symboln, sizeof(symboln), "%sGetCompressedTexImage", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetCompressedTexImage",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetCompressedTexImageARB) {
+ void **procp = (void **) &disp->GetCompressedTexImageARB;
- if(!disp->GetCompressedTexImageARB) {
- void ** procp = (void **) &disp->GetCompressedTexImageARB;
- snprintf(symboln, sizeof(symboln), "%sGetCompressedTexImageARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetCompressedTexImageARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->DisableVertexAttribArrayARB) {
+ void **procp = (void **) &disp->DisableVertexAttribArrayARB;
- if(!disp->DisableVertexAttribArrayARB) {
- void ** procp = (void **) &disp->DisableVertexAttribArrayARB;
- snprintf(symboln, sizeof(symboln), "%sDisableVertexAttribArray", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sDisableVertexAttribArray",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->DisableVertexAttribArrayARB) {
+ void **procp = (void **) &disp->DisableVertexAttribArrayARB;
- if(!disp->DisableVertexAttribArrayARB) {
- void ** procp = (void **) &disp->DisableVertexAttribArrayARB;
- snprintf(symboln, sizeof(symboln), "%sDisableVertexAttribArrayARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sDisableVertexAttribArrayARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->EnableVertexAttribArrayARB) {
+ void **procp = (void **) &disp->EnableVertexAttribArrayARB;
- if(!disp->EnableVertexAttribArrayARB) {
- void ** procp = (void **) &disp->EnableVertexAttribArrayARB;
- snprintf(symboln, sizeof(symboln), "%sEnableVertexAttribArray", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sEnableVertexAttribArray",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->EnableVertexAttribArrayARB) {
+ void **procp = (void **) &disp->EnableVertexAttribArrayARB;
- if(!disp->EnableVertexAttribArrayARB) {
- void ** procp = (void **) &disp->EnableVertexAttribArrayARB;
- snprintf(symboln, sizeof(symboln), "%sEnableVertexAttribArrayARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sEnableVertexAttribArrayARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetProgramEnvParameterdvARB) {
+ void **procp = (void **) &disp->GetProgramEnvParameterdvARB;
- if(!disp->GetProgramEnvParameterdvARB) {
- void ** procp = (void **) &disp->GetProgramEnvParameterdvARB;
- snprintf(symboln, sizeof(symboln), "%sGetProgramEnvParameterdvARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetProgramEnvParameterdvARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetProgramEnvParameterfvARB) {
+ void **procp = (void **) &disp->GetProgramEnvParameterfvARB;
- if(!disp->GetProgramEnvParameterfvARB) {
- void ** procp = (void **) &disp->GetProgramEnvParameterfvARB;
- snprintf(symboln, sizeof(symboln), "%sGetProgramEnvParameterfvARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetProgramEnvParameterfvARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetProgramLocalParameterdvARB) {
+ void **procp = (void **) &disp->GetProgramLocalParameterdvARB;
- if(!disp->GetProgramLocalParameterdvARB) {
- void ** procp = (void **) &disp->GetProgramLocalParameterdvARB;
- snprintf(symboln, sizeof(symboln), "%sGetProgramLocalParameterdvARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetProgramLocalParameterdvARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetProgramLocalParameterfvARB) {
+ void **procp = (void **) &disp->GetProgramLocalParameterfvARB;
- if(!disp->GetProgramLocalParameterfvARB) {
- void ** procp = (void **) &disp->GetProgramLocalParameterfvARB;
- snprintf(symboln, sizeof(symboln), "%sGetProgramLocalParameterfvARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetProgramLocalParameterfvARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetProgramStringARB) {
+ void **procp = (void **) &disp->GetProgramStringARB;
- if(!disp->GetProgramStringARB) {
- void ** procp = (void **) &disp->GetProgramStringARB;
- snprintf(symboln, sizeof(symboln), "%sGetProgramStringARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetProgramStringARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetProgramivARB) {
+ void **procp = (void **) &disp->GetProgramivARB;
- if(!disp->GetProgramivARB) {
- void ** procp = (void **) &disp->GetProgramivARB;
snprintf(symboln, sizeof(symboln), "%sGetProgramivARB", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetVertexAttribdvARB) {
+ void **procp = (void **) &disp->GetVertexAttribdvARB;
- if(!disp->GetVertexAttribdvARB) {
- void ** procp = (void **) &disp->GetVertexAttribdvARB;
- snprintf(symboln, sizeof(symboln), "%sGetVertexAttribdv", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetVertexAttribdv",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetVertexAttribdvARB) {
+ void **procp = (void **) &disp->GetVertexAttribdvARB;
- if(!disp->GetVertexAttribdvARB) {
- void ** procp = (void **) &disp->GetVertexAttribdvARB;
- snprintf(symboln, sizeof(symboln), "%sGetVertexAttribdvARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetVertexAttribdvARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetVertexAttribfvARB) {
+ void **procp = (void **) &disp->GetVertexAttribfvARB;
- if(!disp->GetVertexAttribfvARB) {
- void ** procp = (void **) &disp->GetVertexAttribfvARB;
- snprintf(symboln, sizeof(symboln), "%sGetVertexAttribfv", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetVertexAttribfv",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetVertexAttribfvARB) {
+ void **procp = (void **) &disp->GetVertexAttribfvARB;
- if(!disp->GetVertexAttribfvARB) {
- void ** procp = (void **) &disp->GetVertexAttribfvARB;
- snprintf(symboln, sizeof(symboln), "%sGetVertexAttribfvARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetVertexAttribfvARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetVertexAttribivARB) {
+ void **procp = (void **) &disp->GetVertexAttribivARB;
- if(!disp->GetVertexAttribivARB) {
- void ** procp = (void **) &disp->GetVertexAttribivARB;
- snprintf(symboln, sizeof(symboln), "%sGetVertexAttribiv", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetVertexAttribiv",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetVertexAttribivARB) {
+ void **procp = (void **) &disp->GetVertexAttribivARB;
- if(!disp->GetVertexAttribivARB) {
- void ** procp = (void **) &disp->GetVertexAttribivARB;
- snprintf(symboln, sizeof(symboln), "%sGetVertexAttribivARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetVertexAttribivARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ProgramEnvParameter4dARB) {
+ void **procp = (void **) &disp->ProgramEnvParameter4dARB;
- if(!disp->ProgramEnvParameter4dARB) {
- void ** procp = (void **) &disp->ProgramEnvParameter4dARB;
- snprintf(symboln, sizeof(symboln), "%sProgramEnvParameter4dARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sProgramEnvParameter4dARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ProgramEnvParameter4dARB) {
+ void **procp = (void **) &disp->ProgramEnvParameter4dARB;
- if(!disp->ProgramEnvParameter4dARB) {
- void ** procp = (void **) &disp->ProgramEnvParameter4dARB;
- snprintf(symboln, sizeof(symboln), "%sProgramParameter4dNV", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sProgramParameter4dNV",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ProgramEnvParameter4dvARB) {
+ void **procp = (void **) &disp->ProgramEnvParameter4dvARB;
- if(!disp->ProgramEnvParameter4dvARB) {
- void ** procp = (void **) &disp->ProgramEnvParameter4dvARB;
- snprintf(symboln, sizeof(symboln), "%sProgramEnvParameter4dvARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sProgramEnvParameter4dvARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ProgramEnvParameter4dvARB) {
+ void **procp = (void **) &disp->ProgramEnvParameter4dvARB;
- if(!disp->ProgramEnvParameter4dvARB) {
- void ** procp = (void **) &disp->ProgramEnvParameter4dvARB;
- snprintf(symboln, sizeof(symboln), "%sProgramParameter4dvNV", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sProgramParameter4dvNV",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ProgramEnvParameter4fARB) {
+ void **procp = (void **) &disp->ProgramEnvParameter4fARB;
- if(!disp->ProgramEnvParameter4fARB) {
- void ** procp = (void **) &disp->ProgramEnvParameter4fARB;
- snprintf(symboln, sizeof(symboln), "%sProgramEnvParameter4fARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sProgramEnvParameter4fARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ProgramEnvParameter4fARB) {
+ void **procp = (void **) &disp->ProgramEnvParameter4fARB;
- if(!disp->ProgramEnvParameter4fARB) {
- void ** procp = (void **) &disp->ProgramEnvParameter4fARB;
- snprintf(symboln, sizeof(symboln), "%sProgramParameter4fNV", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sProgramParameter4fNV",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ProgramEnvParameter4fvARB) {
+ void **procp = (void **) &disp->ProgramEnvParameter4fvARB;
- if(!disp->ProgramEnvParameter4fvARB) {
- void ** procp = (void **) &disp->ProgramEnvParameter4fvARB;
- snprintf(symboln, sizeof(symboln), "%sProgramEnvParameter4fvARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sProgramEnvParameter4fvARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ProgramEnvParameter4fvARB) {
+ void **procp = (void **) &disp->ProgramEnvParameter4fvARB;
- if(!disp->ProgramEnvParameter4fvARB) {
- void ** procp = (void **) &disp->ProgramEnvParameter4fvARB;
- snprintf(symboln, sizeof(symboln), "%sProgramParameter4fvNV", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sProgramParameter4fvNV",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ProgramLocalParameter4dARB) {
+ void **procp = (void **) &disp->ProgramLocalParameter4dARB;
- if(!disp->ProgramLocalParameter4dARB) {
- void ** procp = (void **) &disp->ProgramLocalParameter4dARB;
- snprintf(symboln, sizeof(symboln), "%sProgramLocalParameter4dARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sProgramLocalParameter4dARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ProgramLocalParameter4dvARB) {
+ void **procp = (void **) &disp->ProgramLocalParameter4dvARB;
- if(!disp->ProgramLocalParameter4dvARB) {
- void ** procp = (void **) &disp->ProgramLocalParameter4dvARB;
- snprintf(symboln, sizeof(symboln), "%sProgramLocalParameter4dvARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sProgramLocalParameter4dvARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ProgramLocalParameter4fARB) {
+ void **procp = (void **) &disp->ProgramLocalParameter4fARB;
- if(!disp->ProgramLocalParameter4fARB) {
- void ** procp = (void **) &disp->ProgramLocalParameter4fARB;
- snprintf(symboln, sizeof(symboln), "%sProgramLocalParameter4fARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sProgramLocalParameter4fARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ProgramLocalParameter4fvARB) {
+ void **procp = (void **) &disp->ProgramLocalParameter4fvARB;
- if(!disp->ProgramLocalParameter4fvARB) {
- void ** procp = (void **) &disp->ProgramLocalParameter4fvARB;
- snprintf(symboln, sizeof(symboln), "%sProgramLocalParameter4fvARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sProgramLocalParameter4fvARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ProgramStringARB) {
+ void **procp = (void **) &disp->ProgramStringARB;
- if(!disp->ProgramStringARB) {
- void ** procp = (void **) &disp->ProgramStringARB;
snprintf(symboln, sizeof(symboln), "%sProgramStringARB", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib1dARB) {
+ void **procp = (void **) &disp->VertexAttrib1dARB;
- if(!disp->VertexAttrib1dARB) {
- void ** procp = (void **) &disp->VertexAttrib1dARB;
snprintf(symboln, sizeof(symboln), "%sVertexAttrib1d", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib1dARB) {
+ void **procp = (void **) &disp->VertexAttrib1dARB;
- if(!disp->VertexAttrib1dARB) {
- void ** procp = (void **) &disp->VertexAttrib1dARB;
- snprintf(symboln, sizeof(symboln), "%sVertexAttrib1dARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib1dARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib1dvARB) {
+ void **procp = (void **) &disp->VertexAttrib1dvARB;
- if(!disp->VertexAttrib1dvARB) {
- void ** procp = (void **) &disp->VertexAttrib1dvARB;
snprintf(symboln, sizeof(symboln), "%sVertexAttrib1dv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib1dvARB) {
+ void **procp = (void **) &disp->VertexAttrib1dvARB;
- if(!disp->VertexAttrib1dvARB) {
- void ** procp = (void **) &disp->VertexAttrib1dvARB;
- snprintf(symboln, sizeof(symboln), "%sVertexAttrib1dvARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib1dvARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib1fARB) {
+ void **procp = (void **) &disp->VertexAttrib1fARB;
- if(!disp->VertexAttrib1fARB) {
- void ** procp = (void **) &disp->VertexAttrib1fARB;
snprintf(symboln, sizeof(symboln), "%sVertexAttrib1f", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib1fARB) {
+ void **procp = (void **) &disp->VertexAttrib1fARB;
- if(!disp->VertexAttrib1fARB) {
- void ** procp = (void **) &disp->VertexAttrib1fARB;
- snprintf(symboln, sizeof(symboln), "%sVertexAttrib1fARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib1fARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib1fvARB) {
+ void **procp = (void **) &disp->VertexAttrib1fvARB;
- if(!disp->VertexAttrib1fvARB) {
- void ** procp = (void **) &disp->VertexAttrib1fvARB;
snprintf(symboln, sizeof(symboln), "%sVertexAttrib1fv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib1fvARB) {
+ void **procp = (void **) &disp->VertexAttrib1fvARB;
- if(!disp->VertexAttrib1fvARB) {
- void ** procp = (void **) &disp->VertexAttrib1fvARB;
- snprintf(symboln, sizeof(symboln), "%sVertexAttrib1fvARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib1fvARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib1sARB) {
+ void **procp = (void **) &disp->VertexAttrib1sARB;
- if(!disp->VertexAttrib1sARB) {
- void ** procp = (void **) &disp->VertexAttrib1sARB;
snprintf(symboln, sizeof(symboln), "%sVertexAttrib1s", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib1sARB) {
+ void **procp = (void **) &disp->VertexAttrib1sARB;
- if(!disp->VertexAttrib1sARB) {
- void ** procp = (void **) &disp->VertexAttrib1sARB;
- snprintf(symboln, sizeof(symboln), "%sVertexAttrib1sARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib1sARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib1svARB) {
+ void **procp = (void **) &disp->VertexAttrib1svARB;
- if(!disp->VertexAttrib1svARB) {
- void ** procp = (void **) &disp->VertexAttrib1svARB;
snprintf(symboln, sizeof(symboln), "%sVertexAttrib1sv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib1svARB) {
+ void **procp = (void **) &disp->VertexAttrib1svARB;
- if(!disp->VertexAttrib1svARB) {
- void ** procp = (void **) &disp->VertexAttrib1svARB;
- snprintf(symboln, sizeof(symboln), "%sVertexAttrib1svARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib1svARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib2dARB) {
+ void **procp = (void **) &disp->VertexAttrib2dARB;
- if(!disp->VertexAttrib2dARB) {
- void ** procp = (void **) &disp->VertexAttrib2dARB;
snprintf(symboln, sizeof(symboln), "%sVertexAttrib2d", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib2dARB) {
+ void **procp = (void **) &disp->VertexAttrib2dARB;
- if(!disp->VertexAttrib2dARB) {
- void ** procp = (void **) &disp->VertexAttrib2dARB;
- snprintf(symboln, sizeof(symboln), "%sVertexAttrib2dARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib2dARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib2dvARB) {
+ void **procp = (void **) &disp->VertexAttrib2dvARB;
- if(!disp->VertexAttrib2dvARB) {
- void ** procp = (void **) &disp->VertexAttrib2dvARB;
snprintf(symboln, sizeof(symboln), "%sVertexAttrib2dv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib2dvARB) {
+ void **procp = (void **) &disp->VertexAttrib2dvARB;
- if(!disp->VertexAttrib2dvARB) {
- void ** procp = (void **) &disp->VertexAttrib2dvARB;
- snprintf(symboln, sizeof(symboln), "%sVertexAttrib2dvARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib2dvARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib2fARB) {
+ void **procp = (void **) &disp->VertexAttrib2fARB;
- if(!disp->VertexAttrib2fARB) {
- void ** procp = (void **) &disp->VertexAttrib2fARB;
snprintf(symboln, sizeof(symboln), "%sVertexAttrib2f", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib2fARB) {
+ void **procp = (void **) &disp->VertexAttrib2fARB;
- if(!disp->VertexAttrib2fARB) {
- void ** procp = (void **) &disp->VertexAttrib2fARB;
- snprintf(symboln, sizeof(symboln), "%sVertexAttrib2fARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib2fARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib2fvARB) {
+ void **procp = (void **) &disp->VertexAttrib2fvARB;
- if(!disp->VertexAttrib2fvARB) {
- void ** procp = (void **) &disp->VertexAttrib2fvARB;
snprintf(symboln, sizeof(symboln), "%sVertexAttrib2fv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib2fvARB) {
+ void **procp = (void **) &disp->VertexAttrib2fvARB;
- if(!disp->VertexAttrib2fvARB) {
- void ** procp = (void **) &disp->VertexAttrib2fvARB;
- snprintf(symboln, sizeof(symboln), "%sVertexAttrib2fvARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib2fvARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib2sARB) {
+ void **procp = (void **) &disp->VertexAttrib2sARB;
- if(!disp->VertexAttrib2sARB) {
- void ** procp = (void **) &disp->VertexAttrib2sARB;
snprintf(symboln, sizeof(symboln), "%sVertexAttrib2s", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib2sARB) {
+ void **procp = (void **) &disp->VertexAttrib2sARB;
- if(!disp->VertexAttrib2sARB) {
- void ** procp = (void **) &disp->VertexAttrib2sARB;
- snprintf(symboln, sizeof(symboln), "%sVertexAttrib2sARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib2sARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib2svARB) {
+ void **procp = (void **) &disp->VertexAttrib2svARB;
- if(!disp->VertexAttrib2svARB) {
- void ** procp = (void **) &disp->VertexAttrib2svARB;
snprintf(symboln, sizeof(symboln), "%sVertexAttrib2sv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib2svARB) {
+ void **procp = (void **) &disp->VertexAttrib2svARB;
- if(!disp->VertexAttrib2svARB) {
- void ** procp = (void **) &disp->VertexAttrib2svARB;
- snprintf(symboln, sizeof(symboln), "%sVertexAttrib2svARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib2svARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib3dARB) {
+ void **procp = (void **) &disp->VertexAttrib3dARB;
- if(!disp->VertexAttrib3dARB) {
- void ** procp = (void **) &disp->VertexAttrib3dARB;
snprintf(symboln, sizeof(symboln), "%sVertexAttrib3d", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib3dARB) {
+ void **procp = (void **) &disp->VertexAttrib3dARB;
- if(!disp->VertexAttrib3dARB) {
- void ** procp = (void **) &disp->VertexAttrib3dARB;
- snprintf(symboln, sizeof(symboln), "%sVertexAttrib3dARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib3dARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib3dvARB) {
+ void **procp = (void **) &disp->VertexAttrib3dvARB;
- if(!disp->VertexAttrib3dvARB) {
- void ** procp = (void **) &disp->VertexAttrib3dvARB;
snprintf(symboln, sizeof(symboln), "%sVertexAttrib3dv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib3dvARB) {
+ void **procp = (void **) &disp->VertexAttrib3dvARB;
- if(!disp->VertexAttrib3dvARB) {
- void ** procp = (void **) &disp->VertexAttrib3dvARB;
- snprintf(symboln, sizeof(symboln), "%sVertexAttrib3dvARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib3dvARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib3fARB) {
+ void **procp = (void **) &disp->VertexAttrib3fARB;
- if(!disp->VertexAttrib3fARB) {
- void ** procp = (void **) &disp->VertexAttrib3fARB;
snprintf(symboln, sizeof(symboln), "%sVertexAttrib3f", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib3fARB) {
+ void **procp = (void **) &disp->VertexAttrib3fARB;
- if(!disp->VertexAttrib3fARB) {
- void ** procp = (void **) &disp->VertexAttrib3fARB;
- snprintf(symboln, sizeof(symboln), "%sVertexAttrib3fARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib3fARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib3fvARB) {
+ void **procp = (void **) &disp->VertexAttrib3fvARB;
- if(!disp->VertexAttrib3fvARB) {
- void ** procp = (void **) &disp->VertexAttrib3fvARB;
snprintf(symboln, sizeof(symboln), "%sVertexAttrib3fv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib3fvARB) {
+ void **procp = (void **) &disp->VertexAttrib3fvARB;
- if(!disp->VertexAttrib3fvARB) {
- void ** procp = (void **) &disp->VertexAttrib3fvARB;
- snprintf(symboln, sizeof(symboln), "%sVertexAttrib3fvARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib3fvARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib3sARB) {
+ void **procp = (void **) &disp->VertexAttrib3sARB;
- if(!disp->VertexAttrib3sARB) {
- void ** procp = (void **) &disp->VertexAttrib3sARB;
snprintf(symboln, sizeof(symboln), "%sVertexAttrib3s", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib3sARB) {
+ void **procp = (void **) &disp->VertexAttrib3sARB;
- if(!disp->VertexAttrib3sARB) {
- void ** procp = (void **) &disp->VertexAttrib3sARB;
- snprintf(symboln, sizeof(symboln), "%sVertexAttrib3sARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib3sARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib3svARB) {
+ void **procp = (void **) &disp->VertexAttrib3svARB;
- if(!disp->VertexAttrib3svARB) {
- void ** procp = (void **) &disp->VertexAttrib3svARB;
snprintf(symboln, sizeof(symboln), "%sVertexAttrib3sv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib3svARB) {
+ void **procp = (void **) &disp->VertexAttrib3svARB;
- if(!disp->VertexAttrib3svARB) {
- void ** procp = (void **) &disp->VertexAttrib3svARB;
- snprintf(symboln, sizeof(symboln), "%sVertexAttrib3svARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib3svARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib4NbvARB) {
+ void **procp = (void **) &disp->VertexAttrib4NbvARB;
- if(!disp->VertexAttrib4NbvARB) {
- void ** procp = (void **) &disp->VertexAttrib4NbvARB;
snprintf(symboln, sizeof(symboln), "%sVertexAttrib4Nbv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib4NbvARB) {
+ void **procp = (void **) &disp->VertexAttrib4NbvARB;
- if(!disp->VertexAttrib4NbvARB) {
- void ** procp = (void **) &disp->VertexAttrib4NbvARB;
- snprintf(symboln, sizeof(symboln), "%sVertexAttrib4NbvARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib4NbvARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib4NivARB) {
+ void **procp = (void **) &disp->VertexAttrib4NivARB;
- if(!disp->VertexAttrib4NivARB) {
- void ** procp = (void **) &disp->VertexAttrib4NivARB;
snprintf(symboln, sizeof(symboln), "%sVertexAttrib4Niv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib4NivARB) {
+ void **procp = (void **) &disp->VertexAttrib4NivARB;
- if(!disp->VertexAttrib4NivARB) {
- void ** procp = (void **) &disp->VertexAttrib4NivARB;
- snprintf(symboln, sizeof(symboln), "%sVertexAttrib4NivARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib4NivARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib4NsvARB) {
+ void **procp = (void **) &disp->VertexAttrib4NsvARB;
- if(!disp->VertexAttrib4NsvARB) {
- void ** procp = (void **) &disp->VertexAttrib4NsvARB;
snprintf(symboln, sizeof(symboln), "%sVertexAttrib4Nsv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib4NsvARB) {
+ void **procp = (void **) &disp->VertexAttrib4NsvARB;
- if(!disp->VertexAttrib4NsvARB) {
- void ** procp = (void **) &disp->VertexAttrib4NsvARB;
- snprintf(symboln, sizeof(symboln), "%sVertexAttrib4NsvARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib4NsvARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib4NubARB) {
+ void **procp = (void **) &disp->VertexAttrib4NubARB;
- if(!disp->VertexAttrib4NubARB) {
- void ** procp = (void **) &disp->VertexAttrib4NubARB;
snprintf(symboln, sizeof(symboln), "%sVertexAttrib4Nub", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib4NubARB) {
+ void **procp = (void **) &disp->VertexAttrib4NubARB;
- if(!disp->VertexAttrib4NubARB) {
- void ** procp = (void **) &disp->VertexAttrib4NubARB;
- snprintf(symboln, sizeof(symboln), "%sVertexAttrib4NubARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib4NubARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib4NubvARB) {
+ void **procp = (void **) &disp->VertexAttrib4NubvARB;
- if(!disp->VertexAttrib4NubvARB) {
- void ** procp = (void **) &disp->VertexAttrib4NubvARB;
- snprintf(symboln, sizeof(symboln), "%sVertexAttrib4Nubv", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib4Nubv",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib4NubvARB) {
+ void **procp = (void **) &disp->VertexAttrib4NubvARB;
- if(!disp->VertexAttrib4NubvARB) {
- void ** procp = (void **) &disp->VertexAttrib4NubvARB;
- snprintf(symboln, sizeof(symboln), "%sVertexAttrib4NubvARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib4NubvARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib4NuivARB) {
+ void **procp = (void **) &disp->VertexAttrib4NuivARB;
- if(!disp->VertexAttrib4NuivARB) {
- void ** procp = (void **) &disp->VertexAttrib4NuivARB;
- snprintf(symboln, sizeof(symboln), "%sVertexAttrib4Nuiv", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib4Nuiv",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib4NuivARB) {
+ void **procp = (void **) &disp->VertexAttrib4NuivARB;
- if(!disp->VertexAttrib4NuivARB) {
- void ** procp = (void **) &disp->VertexAttrib4NuivARB;
- snprintf(symboln, sizeof(symboln), "%sVertexAttrib4NuivARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib4NuivARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib4NusvARB) {
+ void **procp = (void **) &disp->VertexAttrib4NusvARB;
- if(!disp->VertexAttrib4NusvARB) {
- void ** procp = (void **) &disp->VertexAttrib4NusvARB;
- snprintf(symboln, sizeof(symboln), "%sVertexAttrib4Nusv", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib4Nusv",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib4NusvARB) {
+ void **procp = (void **) &disp->VertexAttrib4NusvARB;
- if(!disp->VertexAttrib4NusvARB) {
- void ** procp = (void **) &disp->VertexAttrib4NusvARB;
- snprintf(symboln, sizeof(symboln), "%sVertexAttrib4NusvARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib4NusvARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib4bvARB) {
+ void **procp = (void **) &disp->VertexAttrib4bvARB;
- if(!disp->VertexAttrib4bvARB) {
- void ** procp = (void **) &disp->VertexAttrib4bvARB;
snprintf(symboln, sizeof(symboln), "%sVertexAttrib4bv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib4bvARB) {
+ void **procp = (void **) &disp->VertexAttrib4bvARB;
- if(!disp->VertexAttrib4bvARB) {
- void ** procp = (void **) &disp->VertexAttrib4bvARB;
- snprintf(symboln, sizeof(symboln), "%sVertexAttrib4bvARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib4bvARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib4dARB) {
+ void **procp = (void **) &disp->VertexAttrib4dARB;
- if(!disp->VertexAttrib4dARB) {
- void ** procp = (void **) &disp->VertexAttrib4dARB;
snprintf(symboln, sizeof(symboln), "%sVertexAttrib4d", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib4dARB) {
+ void **procp = (void **) &disp->VertexAttrib4dARB;
- if(!disp->VertexAttrib4dARB) {
- void ** procp = (void **) &disp->VertexAttrib4dARB;
- snprintf(symboln, sizeof(symboln), "%sVertexAttrib4dARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib4dARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib4dvARB) {
+ void **procp = (void **) &disp->VertexAttrib4dvARB;
- if(!disp->VertexAttrib4dvARB) {
- void ** procp = (void **) &disp->VertexAttrib4dvARB;
snprintf(symboln, sizeof(symboln), "%sVertexAttrib4dv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib4dvARB) {
+ void **procp = (void **) &disp->VertexAttrib4dvARB;
- if(!disp->VertexAttrib4dvARB) {
- void ** procp = (void **) &disp->VertexAttrib4dvARB;
- snprintf(symboln, sizeof(symboln), "%sVertexAttrib4dvARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib4dvARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib4fARB) {
+ void **procp = (void **) &disp->VertexAttrib4fARB;
- if(!disp->VertexAttrib4fARB) {
- void ** procp = (void **) &disp->VertexAttrib4fARB;
snprintf(symboln, sizeof(symboln), "%sVertexAttrib4f", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib4fARB) {
+ void **procp = (void **) &disp->VertexAttrib4fARB;
- if(!disp->VertexAttrib4fARB) {
- void ** procp = (void **) &disp->VertexAttrib4fARB;
- snprintf(symboln, sizeof(symboln), "%sVertexAttrib4fARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib4fARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib4fvARB) {
+ void **procp = (void **) &disp->VertexAttrib4fvARB;
- if(!disp->VertexAttrib4fvARB) {
- void ** procp = (void **) &disp->VertexAttrib4fvARB;
snprintf(symboln, sizeof(symboln), "%sVertexAttrib4fv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib4fvARB) {
+ void **procp = (void **) &disp->VertexAttrib4fvARB;
- if(!disp->VertexAttrib4fvARB) {
- void ** procp = (void **) &disp->VertexAttrib4fvARB;
- snprintf(symboln, sizeof(symboln), "%sVertexAttrib4fvARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib4fvARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib4ivARB) {
+ void **procp = (void **) &disp->VertexAttrib4ivARB;
- if(!disp->VertexAttrib4ivARB) {
- void ** procp = (void **) &disp->VertexAttrib4ivARB;
snprintf(symboln, sizeof(symboln), "%sVertexAttrib4iv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib4ivARB) {
+ void **procp = (void **) &disp->VertexAttrib4ivARB;
- if(!disp->VertexAttrib4ivARB) {
- void ** procp = (void **) &disp->VertexAttrib4ivARB;
- snprintf(symboln, sizeof(symboln), "%sVertexAttrib4ivARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib4ivARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib4sARB) {
+ void **procp = (void **) &disp->VertexAttrib4sARB;
- if(!disp->VertexAttrib4sARB) {
- void ** procp = (void **) &disp->VertexAttrib4sARB;
snprintf(symboln, sizeof(symboln), "%sVertexAttrib4s", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib4sARB) {
+ void **procp = (void **) &disp->VertexAttrib4sARB;
- if(!disp->VertexAttrib4sARB) {
- void ** procp = (void **) &disp->VertexAttrib4sARB;
- snprintf(symboln, sizeof(symboln), "%sVertexAttrib4sARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib4sARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib4svARB) {
+ void **procp = (void **) &disp->VertexAttrib4svARB;
- if(!disp->VertexAttrib4svARB) {
- void ** procp = (void **) &disp->VertexAttrib4svARB;
snprintf(symboln, sizeof(symboln), "%sVertexAttrib4sv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib4svARB) {
+ void **procp = (void **) &disp->VertexAttrib4svARB;
- if(!disp->VertexAttrib4svARB) {
- void ** procp = (void **) &disp->VertexAttrib4svARB;
- snprintf(symboln, sizeof(symboln), "%sVertexAttrib4svARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib4svARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib4ubvARB) {
+ void **procp = (void **) &disp->VertexAttrib4ubvARB;
- if(!disp->VertexAttrib4ubvARB) {
- void ** procp = (void **) &disp->VertexAttrib4ubvARB;
snprintf(symboln, sizeof(symboln), "%sVertexAttrib4ubv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib4ubvARB) {
+ void **procp = (void **) &disp->VertexAttrib4ubvARB;
- if(!disp->VertexAttrib4ubvARB) {
- void ** procp = (void **) &disp->VertexAttrib4ubvARB;
- snprintf(symboln, sizeof(symboln), "%sVertexAttrib4ubvARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib4ubvARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib4uivARB) {
+ void **procp = (void **) &disp->VertexAttrib4uivARB;
- if(!disp->VertexAttrib4uivARB) {
- void ** procp = (void **) &disp->VertexAttrib4uivARB;
snprintf(symboln, sizeof(symboln), "%sVertexAttrib4uiv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib4uivARB) {
+ void **procp = (void **) &disp->VertexAttrib4uivARB;
- if(!disp->VertexAttrib4uivARB) {
- void ** procp = (void **) &disp->VertexAttrib4uivARB;
- snprintf(symboln, sizeof(symboln), "%sVertexAttrib4uivARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib4uivARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib4usvARB) {
+ void **procp = (void **) &disp->VertexAttrib4usvARB;
- if(!disp->VertexAttrib4usvARB) {
- void ** procp = (void **) &disp->VertexAttrib4usvARB;
snprintf(symboln, sizeof(symboln), "%sVertexAttrib4usv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib4usvARB) {
+ void **procp = (void **) &disp->VertexAttrib4usvARB;
- if(!disp->VertexAttrib4usvARB) {
- void ** procp = (void **) &disp->VertexAttrib4usvARB;
- snprintf(symboln, sizeof(symboln), "%sVertexAttrib4usvARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib4usvARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttribPointerARB) {
+ void **procp = (void **) &disp->VertexAttribPointerARB;
- if(!disp->VertexAttribPointerARB) {
- void ** procp = (void **) &disp->VertexAttribPointerARB;
- snprintf(symboln, sizeof(symboln), "%sVertexAttribPointer", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribPointer",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttribPointerARB) {
+ void **procp = (void **) &disp->VertexAttribPointerARB;
- if(!disp->VertexAttribPointerARB) {
- void ** procp = (void **) &disp->VertexAttribPointerARB;
- snprintf(symboln, sizeof(symboln), "%sVertexAttribPointerARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribPointerARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->BindBufferARB) {
+ void **procp = (void **) &disp->BindBufferARB;
- if(!disp->BindBufferARB) {
- void ** procp = (void **) &disp->BindBufferARB;
snprintf(symboln, sizeof(symboln), "%sBindBuffer", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->BindBufferARB) {
+ void **procp = (void **) &disp->BindBufferARB;
- if(!disp->BindBufferARB) {
- void ** procp = (void **) &disp->BindBufferARB;
snprintf(symboln, sizeof(symboln), "%sBindBufferARB", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->BufferDataARB) {
+ void **procp = (void **) &disp->BufferDataARB;
- if(!disp->BufferDataARB) {
- void ** procp = (void **) &disp->BufferDataARB;
snprintf(symboln, sizeof(symboln), "%sBufferData", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->BufferDataARB) {
+ void **procp = (void **) &disp->BufferDataARB;
- if(!disp->BufferDataARB) {
- void ** procp = (void **) &disp->BufferDataARB;
snprintf(symboln, sizeof(symboln), "%sBufferDataARB", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->BufferSubDataARB) {
+ void **procp = (void **) &disp->BufferSubDataARB;
- if(!disp->BufferSubDataARB) {
- void ** procp = (void **) &disp->BufferSubDataARB;
snprintf(symboln, sizeof(symboln), "%sBufferSubData", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->BufferSubDataARB) {
+ void **procp = (void **) &disp->BufferSubDataARB;
- if(!disp->BufferSubDataARB) {
- void ** procp = (void **) &disp->BufferSubDataARB;
snprintf(symboln, sizeof(symboln), "%sBufferSubDataARB", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->DeleteBuffersARB) {
+ void **procp = (void **) &disp->DeleteBuffersARB;
- if(!disp->DeleteBuffersARB) {
- void ** procp = (void **) &disp->DeleteBuffersARB;
snprintf(symboln, sizeof(symboln), "%sDeleteBuffers", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->DeleteBuffersARB) {
+ void **procp = (void **) &disp->DeleteBuffersARB;
- if(!disp->DeleteBuffersARB) {
- void ** procp = (void **) &disp->DeleteBuffersARB;
snprintf(symboln, sizeof(symboln), "%sDeleteBuffersARB", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GenBuffersARB) {
+ void **procp = (void **) &disp->GenBuffersARB;
- if(!disp->GenBuffersARB) {
- void ** procp = (void **) &disp->GenBuffersARB;
snprintf(symboln, sizeof(symboln), "%sGenBuffers", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GenBuffersARB) {
+ void **procp = (void **) &disp->GenBuffersARB;
- if(!disp->GenBuffersARB) {
- void ** procp = (void **) &disp->GenBuffersARB;
snprintf(symboln, sizeof(symboln), "%sGenBuffersARB", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetBufferParameterivARB) {
+ void **procp = (void **) &disp->GetBufferParameterivARB;
- if(!disp->GetBufferParameterivARB) {
- void ** procp = (void **) &disp->GetBufferParameterivARB;
- snprintf(symboln, sizeof(symboln), "%sGetBufferParameteriv", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetBufferParameteriv",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetBufferParameterivARB) {
+ void **procp = (void **) &disp->GetBufferParameterivARB;
- if(!disp->GetBufferParameterivARB) {
- void ** procp = (void **) &disp->GetBufferParameterivARB;
- snprintf(symboln, sizeof(symboln), "%sGetBufferParameterivARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetBufferParameterivARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetBufferPointervARB) {
+ void **procp = (void **) &disp->GetBufferPointervARB;
- if(!disp->GetBufferPointervARB) {
- void ** procp = (void **) &disp->GetBufferPointervARB;
- snprintf(symboln, sizeof(symboln), "%sGetBufferPointerv", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetBufferPointerv",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetBufferPointervARB) {
+ void **procp = (void **) &disp->GetBufferPointervARB;
- if(!disp->GetBufferPointervARB) {
- void ** procp = (void **) &disp->GetBufferPointervARB;
- snprintf(symboln, sizeof(symboln), "%sGetBufferPointervARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetBufferPointervARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetBufferSubDataARB) {
+ void **procp = (void **) &disp->GetBufferSubDataARB;
- if(!disp->GetBufferSubDataARB) {
- void ** procp = (void **) &disp->GetBufferSubDataARB;
snprintf(symboln, sizeof(symboln), "%sGetBufferSubData", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetBufferSubDataARB) {
+ void **procp = (void **) &disp->GetBufferSubDataARB;
- if(!disp->GetBufferSubDataARB) {
- void ** procp = (void **) &disp->GetBufferSubDataARB;
- snprintf(symboln, sizeof(symboln), "%sGetBufferSubDataARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetBufferSubDataARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->IsBufferARB) {
+ void **procp = (void **) &disp->IsBufferARB;
- if(!disp->IsBufferARB) {
- void ** procp = (void **) &disp->IsBufferARB;
snprintf(symboln, sizeof(symboln), "%sIsBuffer", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->IsBufferARB) {
+ void **procp = (void **) &disp->IsBufferARB;
- if(!disp->IsBufferARB) {
- void ** procp = (void **) &disp->IsBufferARB;
snprintf(symboln, sizeof(symboln), "%sIsBufferARB", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MapBufferARB) {
+ void **procp = (void **) &disp->MapBufferARB;
- if(!disp->MapBufferARB) {
- void ** procp = (void **) &disp->MapBufferARB;
snprintf(symboln, sizeof(symboln), "%sMapBuffer", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MapBufferARB) {
+ void **procp = (void **) &disp->MapBufferARB;
- if(!disp->MapBufferARB) {
- void ** procp = (void **) &disp->MapBufferARB;
snprintf(symboln, sizeof(symboln), "%sMapBufferARB", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->UnmapBufferARB) {
+ void **procp = (void **) &disp->UnmapBufferARB;
- if(!disp->UnmapBufferARB) {
- void ** procp = (void **) &disp->UnmapBufferARB;
snprintf(symboln, sizeof(symboln), "%sUnmapBuffer", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->UnmapBufferARB) {
+ void **procp = (void **) &disp->UnmapBufferARB;
- if(!disp->UnmapBufferARB) {
- void ** procp = (void **) &disp->UnmapBufferARB;
snprintf(symboln, sizeof(symboln), "%sUnmapBufferARB", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->BeginQueryARB) {
+ void **procp = (void **) &disp->BeginQueryARB;
- if(!disp->BeginQueryARB) {
- void ** procp = (void **) &disp->BeginQueryARB;
snprintf(symboln, sizeof(symboln), "%sBeginQuery", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->BeginQueryARB) {
+ void **procp = (void **) &disp->BeginQueryARB;
- if(!disp->BeginQueryARB) {
- void ** procp = (void **) &disp->BeginQueryARB;
snprintf(symboln, sizeof(symboln), "%sBeginQueryARB", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->DeleteQueriesARB) {
+ void **procp = (void **) &disp->DeleteQueriesARB;
- if(!disp->DeleteQueriesARB) {
- void ** procp = (void **) &disp->DeleteQueriesARB;
snprintf(symboln, sizeof(symboln), "%sDeleteQueries", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->DeleteQueriesARB) {
+ void **procp = (void **) &disp->DeleteQueriesARB;
- if(!disp->DeleteQueriesARB) {
- void ** procp = (void **) &disp->DeleteQueriesARB;
snprintf(symboln, sizeof(symboln), "%sDeleteQueriesARB", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->EndQueryARB) {
+ void **procp = (void **) &disp->EndQueryARB;
- if(!disp->EndQueryARB) {
- void ** procp = (void **) &disp->EndQueryARB;
snprintf(symboln, sizeof(symboln), "%sEndQuery", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->EndQueryARB) {
+ void **procp = (void **) &disp->EndQueryARB;
- if(!disp->EndQueryARB) {
- void ** procp = (void **) &disp->EndQueryARB;
snprintf(symboln, sizeof(symboln), "%sEndQueryARB", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GenQueriesARB) {
+ void **procp = (void **) &disp->GenQueriesARB;
- if(!disp->GenQueriesARB) {
- void ** procp = (void **) &disp->GenQueriesARB;
snprintf(symboln, sizeof(symboln), "%sGenQueries", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GenQueriesARB) {
+ void **procp = (void **) &disp->GenQueriesARB;
- if(!disp->GenQueriesARB) {
- void ** procp = (void **) &disp->GenQueriesARB;
snprintf(symboln, sizeof(symboln), "%sGenQueriesARB", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetQueryObjectivARB) {
+ void **procp = (void **) &disp->GetQueryObjectivARB;
- if(!disp->GetQueryObjectivARB) {
- void ** procp = (void **) &disp->GetQueryObjectivARB;
snprintf(symboln, sizeof(symboln), "%sGetQueryObjectiv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetQueryObjectivARB) {
+ void **procp = (void **) &disp->GetQueryObjectivARB;
- if(!disp->GetQueryObjectivARB) {
- void ** procp = (void **) &disp->GetQueryObjectivARB;
- snprintf(symboln, sizeof(symboln), "%sGetQueryObjectivARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetQueryObjectivARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetQueryObjectuivARB) {
+ void **procp = (void **) &disp->GetQueryObjectuivARB;
- if(!disp->GetQueryObjectuivARB) {
- void ** procp = (void **) &disp->GetQueryObjectuivARB;
- snprintf(symboln, sizeof(symboln), "%sGetQueryObjectuiv", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetQueryObjectuiv",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetQueryObjectuivARB) {
+ void **procp = (void **) &disp->GetQueryObjectuivARB;
- if(!disp->GetQueryObjectuivARB) {
- void ** procp = (void **) &disp->GetQueryObjectuivARB;
- snprintf(symboln, sizeof(symboln), "%sGetQueryObjectuivARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetQueryObjectuivARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetQueryivARB) {
+ void **procp = (void **) &disp->GetQueryivARB;
- if(!disp->GetQueryivARB) {
- void ** procp = (void **) &disp->GetQueryivARB;
snprintf(symboln, sizeof(symboln), "%sGetQueryiv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetQueryivARB) {
+ void **procp = (void **) &disp->GetQueryivARB;
- if(!disp->GetQueryivARB) {
- void ** procp = (void **) &disp->GetQueryivARB;
snprintf(symboln, sizeof(symboln), "%sGetQueryivARB", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->IsQueryARB) {
+ void **procp = (void **) &disp->IsQueryARB;
- if(!disp->IsQueryARB) {
- void ** procp = (void **) &disp->IsQueryARB;
snprintf(symboln, sizeof(symboln), "%sIsQuery", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->IsQueryARB) {
+ void **procp = (void **) &disp->IsQueryARB;
- if(!disp->IsQueryARB) {
- void ** procp = (void **) &disp->IsQueryARB;
snprintf(symboln, sizeof(symboln), "%sIsQueryARB", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->AttachObjectARB) {
+ void **procp = (void **) &disp->AttachObjectARB;
- if(!disp->AttachObjectARB) {
- void ** procp = (void **) &disp->AttachObjectARB;
snprintf(symboln, sizeof(symboln), "%sAttachObjectARB", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->CompileShaderARB) {
+ void **procp = (void **) &disp->CompileShaderARB;
- if(!disp->CompileShaderARB) {
- void ** procp = (void **) &disp->CompileShaderARB;
snprintf(symboln, sizeof(symboln), "%sCompileShader", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->CompileShaderARB) {
+ void **procp = (void **) &disp->CompileShaderARB;
- if(!disp->CompileShaderARB) {
- void ** procp = (void **) &disp->CompileShaderARB;
snprintf(symboln, sizeof(symboln), "%sCompileShaderARB", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->CreateProgramObjectARB) {
+ void **procp = (void **) &disp->CreateProgramObjectARB;
- if(!disp->CreateProgramObjectARB) {
- void ** procp = (void **) &disp->CreateProgramObjectARB;
- snprintf(symboln, sizeof(symboln), "%sCreateProgramObjectARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sCreateProgramObjectARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->CreateShaderObjectARB) {
+ void **procp = (void **) &disp->CreateShaderObjectARB;
- if(!disp->CreateShaderObjectARB) {
- void ** procp = (void **) &disp->CreateShaderObjectARB;
- snprintf(symboln, sizeof(symboln), "%sCreateShaderObjectARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sCreateShaderObjectARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->DeleteObjectARB) {
+ void **procp = (void **) &disp->DeleteObjectARB;
- if(!disp->DeleteObjectARB) {
- void ** procp = (void **) &disp->DeleteObjectARB;
snprintf(symboln, sizeof(symboln), "%sDeleteObjectARB", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->DetachObjectARB) {
+ void **procp = (void **) &disp->DetachObjectARB;
- if(!disp->DetachObjectARB) {
- void ** procp = (void **) &disp->DetachObjectARB;
snprintf(symboln, sizeof(symboln), "%sDetachObjectARB", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetActiveUniformARB) {
+ void **procp = (void **) &disp->GetActiveUniformARB;
- if(!disp->GetActiveUniformARB) {
- void ** procp = (void **) &disp->GetActiveUniformARB;
snprintf(symboln, sizeof(symboln), "%sGetActiveUniform", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetActiveUniformARB) {
+ void **procp = (void **) &disp->GetActiveUniformARB;
- if(!disp->GetActiveUniformARB) {
- void ** procp = (void **) &disp->GetActiveUniformARB;
- snprintf(symboln, sizeof(symboln), "%sGetActiveUniformARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetActiveUniformARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetAttachedObjectsARB) {
+ void **procp = (void **) &disp->GetAttachedObjectsARB;
- if(!disp->GetAttachedObjectsARB) {
- void ** procp = (void **) &disp->GetAttachedObjectsARB;
- snprintf(symboln, sizeof(symboln), "%sGetAttachedObjectsARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetAttachedObjectsARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetHandleARB) {
+ void **procp = (void **) &disp->GetHandleARB;
- if(!disp->GetHandleARB) {
- void ** procp = (void **) &disp->GetHandleARB;
snprintf(symboln, sizeof(symboln), "%sGetHandleARB", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetInfoLogARB) {
+ void **procp = (void **) &disp->GetInfoLogARB;
- if(!disp->GetInfoLogARB) {
- void ** procp = (void **) &disp->GetInfoLogARB;
snprintf(symboln, sizeof(symboln), "%sGetInfoLogARB", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetObjectParameterfvARB) {
+ void **procp = (void **) &disp->GetObjectParameterfvARB;
- if(!disp->GetObjectParameterfvARB) {
- void ** procp = (void **) &disp->GetObjectParameterfvARB;
- snprintf(symboln, sizeof(symboln), "%sGetObjectParameterfvARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetObjectParameterfvARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetObjectParameterivARB) {
+ void **procp = (void **) &disp->GetObjectParameterivARB;
- if(!disp->GetObjectParameterivARB) {
- void ** procp = (void **) &disp->GetObjectParameterivARB;
- snprintf(symboln, sizeof(symboln), "%sGetObjectParameterivARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetObjectParameterivARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetShaderSourceARB) {
+ void **procp = (void **) &disp->GetShaderSourceARB;
- if(!disp->GetShaderSourceARB) {
- void ** procp = (void **) &disp->GetShaderSourceARB;
snprintf(symboln, sizeof(symboln), "%sGetShaderSource", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetShaderSourceARB) {
+ void **procp = (void **) &disp->GetShaderSourceARB;
- if(!disp->GetShaderSourceARB) {
- void ** procp = (void **) &disp->GetShaderSourceARB;
- snprintf(symboln, sizeof(symboln), "%sGetShaderSourceARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetShaderSourceARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetUniformLocationARB) {
+ void **procp = (void **) &disp->GetUniformLocationARB;
- if(!disp->GetUniformLocationARB) {
- void ** procp = (void **) &disp->GetUniformLocationARB;
- snprintf(symboln, sizeof(symboln), "%sGetUniformLocation", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetUniformLocation",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetUniformLocationARB) {
+ void **procp = (void **) &disp->GetUniformLocationARB;
- if(!disp->GetUniformLocationARB) {
- void ** procp = (void **) &disp->GetUniformLocationARB;
- snprintf(symboln, sizeof(symboln), "%sGetUniformLocationARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetUniformLocationARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetUniformfvARB) {
+ void **procp = (void **) &disp->GetUniformfvARB;
- if(!disp->GetUniformfvARB) {
- void ** procp = (void **) &disp->GetUniformfvARB;
snprintf(symboln, sizeof(symboln), "%sGetUniformfv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetUniformfvARB) {
+ void **procp = (void **) &disp->GetUniformfvARB;
- if(!disp->GetUniformfvARB) {
- void ** procp = (void **) &disp->GetUniformfvARB;
snprintf(symboln, sizeof(symboln), "%sGetUniformfvARB", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetUniformivARB) {
+ void **procp = (void **) &disp->GetUniformivARB;
- if(!disp->GetUniformivARB) {
- void ** procp = (void **) &disp->GetUniformivARB;
snprintf(symboln, sizeof(symboln), "%sGetUniformiv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetUniformivARB) {
+ void **procp = (void **) &disp->GetUniformivARB;
- if(!disp->GetUniformivARB) {
- void ** procp = (void **) &disp->GetUniformivARB;
snprintf(symboln, sizeof(symboln), "%sGetUniformivARB", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->LinkProgramARB) {
+ void **procp = (void **) &disp->LinkProgramARB;
- if(!disp->LinkProgramARB) {
- void ** procp = (void **) &disp->LinkProgramARB;
snprintf(symboln, sizeof(symboln), "%sLinkProgram", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->LinkProgramARB) {
+ void **procp = (void **) &disp->LinkProgramARB;
- if(!disp->LinkProgramARB) {
- void ** procp = (void **) &disp->LinkProgramARB;
snprintf(symboln, sizeof(symboln), "%sLinkProgramARB", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ShaderSourceARB) {
+ void **procp = (void **) &disp->ShaderSourceARB;
- if(!disp->ShaderSourceARB) {
- void ** procp = (void **) &disp->ShaderSourceARB;
snprintf(symboln, sizeof(symboln), "%sShaderSource", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ShaderSourceARB) {
+ void **procp = (void **) &disp->ShaderSourceARB;
- if(!disp->ShaderSourceARB) {
- void ** procp = (void **) &disp->ShaderSourceARB;
snprintf(symboln, sizeof(symboln), "%sShaderSourceARB", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Uniform1fARB) {
+ void **procp = (void **) &disp->Uniform1fARB;
- if(!disp->Uniform1fARB) {
- void ** procp = (void **) &disp->Uniform1fARB;
snprintf(symboln, sizeof(symboln), "%sUniform1f", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Uniform1fARB) {
+ void **procp = (void **) &disp->Uniform1fARB;
- if(!disp->Uniform1fARB) {
- void ** procp = (void **) &disp->Uniform1fARB;
snprintf(symboln, sizeof(symboln), "%sUniform1fARB", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Uniform1fvARB) {
+ void **procp = (void **) &disp->Uniform1fvARB;
- if(!disp->Uniform1fvARB) {
- void ** procp = (void **) &disp->Uniform1fvARB;
snprintf(symboln, sizeof(symboln), "%sUniform1fv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Uniform1fvARB) {
+ void **procp = (void **) &disp->Uniform1fvARB;
- if(!disp->Uniform1fvARB) {
- void ** procp = (void **) &disp->Uniform1fvARB;
snprintf(symboln, sizeof(symboln), "%sUniform1fvARB", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Uniform1iARB) {
+ void **procp = (void **) &disp->Uniform1iARB;
- if(!disp->Uniform1iARB) {
- void ** procp = (void **) &disp->Uniform1iARB;
snprintf(symboln, sizeof(symboln), "%sUniform1i", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Uniform1iARB) {
+ void **procp = (void **) &disp->Uniform1iARB;
- if(!disp->Uniform1iARB) {
- void ** procp = (void **) &disp->Uniform1iARB;
snprintf(symboln, sizeof(symboln), "%sUniform1iARB", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Uniform1ivARB) {
+ void **procp = (void **) &disp->Uniform1ivARB;
- if(!disp->Uniform1ivARB) {
- void ** procp = (void **) &disp->Uniform1ivARB;
snprintf(symboln, sizeof(symboln), "%sUniform1iv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Uniform1ivARB) {
+ void **procp = (void **) &disp->Uniform1ivARB;
- if(!disp->Uniform1ivARB) {
- void ** procp = (void **) &disp->Uniform1ivARB;
snprintf(symboln, sizeof(symboln), "%sUniform1ivARB", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Uniform2fARB) {
+ void **procp = (void **) &disp->Uniform2fARB;
- if(!disp->Uniform2fARB) {
- void ** procp = (void **) &disp->Uniform2fARB;
snprintf(symboln, sizeof(symboln), "%sUniform2f", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Uniform2fARB) {
+ void **procp = (void **) &disp->Uniform2fARB;
- if(!disp->Uniform2fARB) {
- void ** procp = (void **) &disp->Uniform2fARB;
snprintf(symboln, sizeof(symboln), "%sUniform2fARB", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Uniform2fvARB) {
+ void **procp = (void **) &disp->Uniform2fvARB;
- if(!disp->Uniform2fvARB) {
- void ** procp = (void **) &disp->Uniform2fvARB;
snprintf(symboln, sizeof(symboln), "%sUniform2fv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Uniform2fvARB) {
+ void **procp = (void **) &disp->Uniform2fvARB;
- if(!disp->Uniform2fvARB) {
- void ** procp = (void **) &disp->Uniform2fvARB;
snprintf(symboln, sizeof(symboln), "%sUniform2fvARB", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Uniform2iARB) {
+ void **procp = (void **) &disp->Uniform2iARB;
- if(!disp->Uniform2iARB) {
- void ** procp = (void **) &disp->Uniform2iARB;
snprintf(symboln, sizeof(symboln), "%sUniform2i", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Uniform2iARB) {
+ void **procp = (void **) &disp->Uniform2iARB;
- if(!disp->Uniform2iARB) {
- void ** procp = (void **) &disp->Uniform2iARB;
snprintf(symboln, sizeof(symboln), "%sUniform2iARB", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Uniform2ivARB) {
+ void **procp = (void **) &disp->Uniform2ivARB;
- if(!disp->Uniform2ivARB) {
- void ** procp = (void **) &disp->Uniform2ivARB;
snprintf(symboln, sizeof(symboln), "%sUniform2iv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Uniform2ivARB) {
+ void **procp = (void **) &disp->Uniform2ivARB;
- if(!disp->Uniform2ivARB) {
- void ** procp = (void **) &disp->Uniform2ivARB;
snprintf(symboln, sizeof(symboln), "%sUniform2ivARB", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Uniform3fARB) {
+ void **procp = (void **) &disp->Uniform3fARB;
- if(!disp->Uniform3fARB) {
- void ** procp = (void **) &disp->Uniform3fARB;
snprintf(symboln, sizeof(symboln), "%sUniform3f", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Uniform3fARB) {
+ void **procp = (void **) &disp->Uniform3fARB;
- if(!disp->Uniform3fARB) {
- void ** procp = (void **) &disp->Uniform3fARB;
snprintf(symboln, sizeof(symboln), "%sUniform3fARB", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Uniform3fvARB) {
+ void **procp = (void **) &disp->Uniform3fvARB;
- if(!disp->Uniform3fvARB) {
- void ** procp = (void **) &disp->Uniform3fvARB;
snprintf(symboln, sizeof(symboln), "%sUniform3fv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Uniform3fvARB) {
+ void **procp = (void **) &disp->Uniform3fvARB;
- if(!disp->Uniform3fvARB) {
- void ** procp = (void **) &disp->Uniform3fvARB;
snprintf(symboln, sizeof(symboln), "%sUniform3fvARB", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Uniform3iARB) {
+ void **procp = (void **) &disp->Uniform3iARB;
- if(!disp->Uniform3iARB) {
- void ** procp = (void **) &disp->Uniform3iARB;
snprintf(symboln, sizeof(symboln), "%sUniform3i", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Uniform3iARB) {
+ void **procp = (void **) &disp->Uniform3iARB;
- if(!disp->Uniform3iARB) {
- void ** procp = (void **) &disp->Uniform3iARB;
snprintf(symboln, sizeof(symboln), "%sUniform3iARB", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Uniform3ivARB) {
+ void **procp = (void **) &disp->Uniform3ivARB;
- if(!disp->Uniform3ivARB) {
- void ** procp = (void **) &disp->Uniform3ivARB;
snprintf(symboln, sizeof(symboln), "%sUniform3iv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Uniform3ivARB) {
+ void **procp = (void **) &disp->Uniform3ivARB;
- if(!disp->Uniform3ivARB) {
- void ** procp = (void **) &disp->Uniform3ivARB;
snprintf(symboln, sizeof(symboln), "%sUniform3ivARB", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Uniform4fARB) {
+ void **procp = (void **) &disp->Uniform4fARB;
- if(!disp->Uniform4fARB) {
- void ** procp = (void **) &disp->Uniform4fARB;
snprintf(symboln, sizeof(symboln), "%sUniform4f", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Uniform4fARB) {
+ void **procp = (void **) &disp->Uniform4fARB;
- if(!disp->Uniform4fARB) {
- void ** procp = (void **) &disp->Uniform4fARB;
snprintf(symboln, sizeof(symboln), "%sUniform4fARB", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Uniform4fvARB) {
+ void **procp = (void **) &disp->Uniform4fvARB;
- if(!disp->Uniform4fvARB) {
- void ** procp = (void **) &disp->Uniform4fvARB;
snprintf(symboln, sizeof(symboln), "%sUniform4fv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Uniform4fvARB) {
+ void **procp = (void **) &disp->Uniform4fvARB;
- if(!disp->Uniform4fvARB) {
- void ** procp = (void **) &disp->Uniform4fvARB;
snprintf(symboln, sizeof(symboln), "%sUniform4fvARB", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Uniform4iARB) {
+ void **procp = (void **) &disp->Uniform4iARB;
- if(!disp->Uniform4iARB) {
- void ** procp = (void **) &disp->Uniform4iARB;
snprintf(symboln, sizeof(symboln), "%sUniform4i", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Uniform4iARB) {
+ void **procp = (void **) &disp->Uniform4iARB;
- if(!disp->Uniform4iARB) {
- void ** procp = (void **) &disp->Uniform4iARB;
snprintf(symboln, sizeof(symboln), "%sUniform4iARB", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Uniform4ivARB) {
+ void **procp = (void **) &disp->Uniform4ivARB;
- if(!disp->Uniform4ivARB) {
- void ** procp = (void **) &disp->Uniform4ivARB;
snprintf(symboln, sizeof(symboln), "%sUniform4iv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Uniform4ivARB) {
+ void **procp = (void **) &disp->Uniform4ivARB;
- if(!disp->Uniform4ivARB) {
- void ** procp = (void **) &disp->Uniform4ivARB;
snprintf(symboln, sizeof(symboln), "%sUniform4ivARB", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->UniformMatrix2fvARB) {
+ void **procp = (void **) &disp->UniformMatrix2fvARB;
- if(!disp->UniformMatrix2fvARB) {
- void ** procp = (void **) &disp->UniformMatrix2fvARB;
snprintf(symboln, sizeof(symboln), "%sUniformMatrix2fv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->UniformMatrix2fvARB) {
+ void **procp = (void **) &disp->UniformMatrix2fvARB;
- if(!disp->UniformMatrix2fvARB) {
- void ** procp = (void **) &disp->UniformMatrix2fvARB;
- snprintf(symboln, sizeof(symboln), "%sUniformMatrix2fvARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sUniformMatrix2fvARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->UniformMatrix3fvARB) {
+ void **procp = (void **) &disp->UniformMatrix3fvARB;
- if(!disp->UniformMatrix3fvARB) {
- void ** procp = (void **) &disp->UniformMatrix3fvARB;
snprintf(symboln, sizeof(symboln), "%sUniformMatrix3fv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->UniformMatrix3fvARB) {
+ void **procp = (void **) &disp->UniformMatrix3fvARB;
- if(!disp->UniformMatrix3fvARB) {
- void ** procp = (void **) &disp->UniformMatrix3fvARB;
- snprintf(symboln, sizeof(symboln), "%sUniformMatrix3fvARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sUniformMatrix3fvARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->UniformMatrix4fvARB) {
+ void **procp = (void **) &disp->UniformMatrix4fvARB;
- if(!disp->UniformMatrix4fvARB) {
- void ** procp = (void **) &disp->UniformMatrix4fvARB;
snprintf(symboln, sizeof(symboln), "%sUniformMatrix4fv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->UniformMatrix4fvARB) {
+ void **procp = (void **) &disp->UniformMatrix4fvARB;
- if(!disp->UniformMatrix4fvARB) {
- void ** procp = (void **) &disp->UniformMatrix4fvARB;
- snprintf(symboln, sizeof(symboln), "%sUniformMatrix4fvARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sUniformMatrix4fvARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->UseProgramObjectARB) {
+ void **procp = (void **) &disp->UseProgramObjectARB;
- if(!disp->UseProgramObjectARB) {
- void ** procp = (void **) &disp->UseProgramObjectARB;
snprintf(symboln, sizeof(symboln), "%sUseProgram", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->UseProgramObjectARB) {
+ void **procp = (void **) &disp->UseProgramObjectARB;
- if(!disp->UseProgramObjectARB) {
- void ** procp = (void **) &disp->UseProgramObjectARB;
- snprintf(symboln, sizeof(symboln), "%sUseProgramObjectARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sUseProgramObjectARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ValidateProgramARB) {
+ void **procp = (void **) &disp->ValidateProgramARB;
- if(!disp->ValidateProgramARB) {
- void ** procp = (void **) &disp->ValidateProgramARB;
snprintf(symboln, sizeof(symboln), "%sValidateProgram", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ValidateProgramARB) {
+ void **procp = (void **) &disp->ValidateProgramARB;
- if(!disp->ValidateProgramARB) {
- void ** procp = (void **) &disp->ValidateProgramARB;
- snprintf(symboln, sizeof(symboln), "%sValidateProgramARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sValidateProgramARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->BindAttribLocationARB) {
+ void **procp = (void **) &disp->BindAttribLocationARB;
- if(!disp->BindAttribLocationARB) {
- void ** procp = (void **) &disp->BindAttribLocationARB;
- snprintf(symboln, sizeof(symboln), "%sBindAttribLocation", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sBindAttribLocation",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->BindAttribLocationARB) {
+ void **procp = (void **) &disp->BindAttribLocationARB;
- if(!disp->BindAttribLocationARB) {
- void ** procp = (void **) &disp->BindAttribLocationARB;
- snprintf(symboln, sizeof(symboln), "%sBindAttribLocationARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sBindAttribLocationARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetActiveAttribARB) {
+ void **procp = (void **) &disp->GetActiveAttribARB;
- if(!disp->GetActiveAttribARB) {
- void ** procp = (void **) &disp->GetActiveAttribARB;
snprintf(symboln, sizeof(symboln), "%sGetActiveAttrib", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetActiveAttribARB) {
+ void **procp = (void **) &disp->GetActiveAttribARB;
- if(!disp->GetActiveAttribARB) {
- void ** procp = (void **) &disp->GetActiveAttribARB;
- snprintf(symboln, sizeof(symboln), "%sGetActiveAttribARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetActiveAttribARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetAttribLocationARB) {
+ void **procp = (void **) &disp->GetAttribLocationARB;
- if(!disp->GetAttribLocationARB) {
- void ** procp = (void **) &disp->GetAttribLocationARB;
- snprintf(symboln, sizeof(symboln), "%sGetAttribLocation", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetAttribLocation",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetAttribLocationARB) {
+ void **procp = (void **) &disp->GetAttribLocationARB;
- if(!disp->GetAttribLocationARB) {
- void ** procp = (void **) &disp->GetAttribLocationARB;
- snprintf(symboln, sizeof(symboln), "%sGetAttribLocationARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetAttribLocationARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->DrawBuffersARB) {
+ void **procp = (void **) &disp->DrawBuffersARB;
- if(!disp->DrawBuffersARB) {
- void ** procp = (void **) &disp->DrawBuffersARB;
snprintf(symboln, sizeof(symboln), "%sDrawBuffers", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->DrawBuffersARB) {
+ void **procp = (void **) &disp->DrawBuffersARB;
- if(!disp->DrawBuffersARB) {
- void ** procp = (void **) &disp->DrawBuffersARB;
snprintf(symboln, sizeof(symboln), "%sDrawBuffersARB", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->DrawBuffersARB) {
+ void **procp = (void **) &disp->DrawBuffersARB;
- if(!disp->DrawBuffersARB) {
- void ** procp = (void **) &disp->DrawBuffersARB;
snprintf(symboln, sizeof(symboln), "%sDrawBuffersATI", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->DrawBuffersARB) {
+ void **procp = (void **) &disp->DrawBuffersARB;
- if(!disp->DrawBuffersARB) {
- void ** procp = (void **) &disp->DrawBuffersARB;
snprintf(symboln, sizeof(symboln), "%sDrawBuffersNV", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ClampColorARB) {
+ void **procp = (void **) &disp->ClampColorARB;
- if(!disp->ClampColorARB) {
- void ** procp = (void **) &disp->ClampColorARB;
snprintf(symboln, sizeof(symboln), "%sClampColorARB", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->DrawArraysInstancedARB) {
+ void **procp = (void **) &disp->DrawArraysInstancedARB;
- if(!disp->DrawArraysInstancedARB) {
- void ** procp = (void **) &disp->DrawArraysInstancedARB;
- snprintf(symboln, sizeof(symboln), "%sDrawArraysInstancedARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sDrawArraysInstancedARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->DrawArraysInstancedARB) {
+ void **procp = (void **) &disp->DrawArraysInstancedARB;
- if(!disp->DrawArraysInstancedARB) {
- void ** procp = (void **) &disp->DrawArraysInstancedARB;
- snprintf(symboln, sizeof(symboln), "%sDrawArraysInstancedEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sDrawArraysInstancedEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->DrawArraysInstancedARB) {
+ void **procp = (void **) &disp->DrawArraysInstancedARB;
- if(!disp->DrawArraysInstancedARB) {
- void ** procp = (void **) &disp->DrawArraysInstancedARB;
- snprintf(symboln, sizeof(symboln), "%sDrawArraysInstanced", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sDrawArraysInstanced",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->DrawElementsInstancedARB) {
+ void **procp = (void **) &disp->DrawElementsInstancedARB;
- if(!disp->DrawElementsInstancedARB) {
- void ** procp = (void **) &disp->DrawElementsInstancedARB;
- snprintf(symboln, sizeof(symboln), "%sDrawElementsInstancedARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sDrawElementsInstancedARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->DrawElementsInstancedARB) {
+ void **procp = (void **) &disp->DrawElementsInstancedARB;
- if(!disp->DrawElementsInstancedARB) {
- void ** procp = (void **) &disp->DrawElementsInstancedARB;
- snprintf(symboln, sizeof(symboln), "%sDrawElementsInstancedEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sDrawElementsInstancedEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->DrawElementsInstancedARB) {
+ void **procp = (void **) &disp->DrawElementsInstancedARB;
- if(!disp->DrawElementsInstancedARB) {
- void ** procp = (void **) &disp->DrawElementsInstancedARB;
- snprintf(symboln, sizeof(symboln), "%sDrawElementsInstanced", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sDrawElementsInstanced",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->RenderbufferStorageMultisample) {
+ void **procp = (void **) &disp->RenderbufferStorageMultisample;
- if(!disp->RenderbufferStorageMultisample) {
- void ** procp = (void **) &disp->RenderbufferStorageMultisample;
- snprintf(symboln, sizeof(symboln), "%sRenderbufferStorageMultisample", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sRenderbufferStorageMultisample",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->RenderbufferStorageMultisample) {
+ void **procp = (void **) &disp->RenderbufferStorageMultisample;
- if(!disp->RenderbufferStorageMultisample) {
- void ** procp = (void **) &disp->RenderbufferStorageMultisample;
- snprintf(symboln, sizeof(symboln), "%sRenderbufferStorageMultisampleEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln),
+ "%sRenderbufferStorageMultisampleEXT", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->FramebufferTextureARB) {
+ void **procp = (void **) &disp->FramebufferTextureARB;
- if(!disp->FramebufferTextureARB) {
- void ** procp = (void **) &disp->FramebufferTextureARB;
- snprintf(symboln, sizeof(symboln), "%sFramebufferTextureARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sFramebufferTextureARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->FramebufferTextureFaceARB) {
+ void **procp = (void **) &disp->FramebufferTextureFaceARB;
- if(!disp->FramebufferTextureFaceARB) {
- void ** procp = (void **) &disp->FramebufferTextureFaceARB;
- snprintf(symboln, sizeof(symboln), "%sFramebufferTextureFaceARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sFramebufferTextureFaceARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ProgramParameteriARB) {
+ void **procp = (void **) &disp->ProgramParameteriARB;
- if(!disp->ProgramParameteriARB) {
- void ** procp = (void **) &disp->ProgramParameteriARB;
- snprintf(symboln, sizeof(symboln), "%sProgramParameteriARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sProgramParameteriARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttribDivisorARB) {
+ void **procp = (void **) &disp->VertexAttribDivisorARB;
- if(!disp->VertexAttribDivisorARB) {
- void ** procp = (void **) &disp->VertexAttribDivisorARB;
- snprintf(symboln, sizeof(symboln), "%sVertexAttribDivisorARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribDivisorARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->FlushMappedBufferRange) {
+ void **procp = (void **) &disp->FlushMappedBufferRange;
- if(!disp->FlushMappedBufferRange) {
- void ** procp = (void **) &disp->FlushMappedBufferRange;
- snprintf(symboln, sizeof(symboln), "%sFlushMappedBufferRange", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sFlushMappedBufferRange",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MapBufferRange) {
+ void **procp = (void **) &disp->MapBufferRange;
- if(!disp->MapBufferRange) {
- void ** procp = (void **) &disp->MapBufferRange;
snprintf(symboln, sizeof(symboln), "%sMapBufferRange", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->TexBufferARB) {
+ void **procp = (void **) &disp->TexBufferARB;
- if(!disp->TexBufferARB) {
- void ** procp = (void **) &disp->TexBufferARB;
snprintf(symboln, sizeof(symboln), "%sTexBufferARB", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->BindVertexArray) {
+ void **procp = (void **) &disp->BindVertexArray;
- if(!disp->BindVertexArray) {
- void ** procp = (void **) &disp->BindVertexArray;
snprintf(symboln, sizeof(symboln), "%sBindVertexArray", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GenVertexArrays) {
+ void **procp = (void **) &disp->GenVertexArrays;
- if(!disp->GenVertexArrays) {
- void ** procp = (void **) &disp->GenVertexArrays;
snprintf(symboln, sizeof(symboln), "%sGenVertexArrays", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->CopyBufferSubData) {
+ void **procp = (void **) &disp->CopyBufferSubData;
- if(!disp->CopyBufferSubData) {
- void ** procp = (void **) &disp->CopyBufferSubData;
- snprintf(symboln, sizeof(symboln), "%sCopyBufferSubData", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sCopyBufferSubData",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ClientWaitSync) {
+ void **procp = (void **) &disp->ClientWaitSync;
- if(!disp->ClientWaitSync) {
- void ** procp = (void **) &disp->ClientWaitSync;
snprintf(symboln, sizeof(symboln), "%sClientWaitSync", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->DeleteSync) {
+ void **procp = (void **) &disp->DeleteSync;
- if(!disp->DeleteSync) {
- void ** procp = (void **) &disp->DeleteSync;
snprintf(symboln, sizeof(symboln), "%sDeleteSync", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->FenceSync) {
+ void **procp = (void **) &disp->FenceSync;
- if(!disp->FenceSync) {
- void ** procp = (void **) &disp->FenceSync;
snprintf(symboln, sizeof(symboln), "%sFenceSync", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetInteger64v) {
+ void **procp = (void **) &disp->GetInteger64v;
- if(!disp->GetInteger64v) {
- void ** procp = (void **) &disp->GetInteger64v;
snprintf(symboln, sizeof(symboln), "%sGetInteger64v", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetSynciv) {
+ void **procp = (void **) &disp->GetSynciv;
- if(!disp->GetSynciv) {
- void ** procp = (void **) &disp->GetSynciv;
snprintf(symboln, sizeof(symboln), "%sGetSynciv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->IsSync) {
+ void **procp = (void **) &disp->IsSync;
- if(!disp->IsSync) {
- void ** procp = (void **) &disp->IsSync;
snprintf(symboln, sizeof(symboln), "%sIsSync", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->WaitSync) {
+ void **procp = (void **) &disp->WaitSync;
- if(!disp->WaitSync) {
- void ** procp = (void **) &disp->WaitSync;
snprintf(symboln, sizeof(symboln), "%sWaitSync", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->DrawElementsBaseVertex) {
+ void **procp = (void **) &disp->DrawElementsBaseVertex;
- if(!disp->DrawElementsBaseVertex) {
- void ** procp = (void **) &disp->DrawElementsBaseVertex;
- snprintf(symboln, sizeof(symboln), "%sDrawElementsBaseVertex", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sDrawElementsBaseVertex",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->DrawElementsInstancedBaseVertex) {
+ void **procp = (void **) &disp->DrawElementsInstancedBaseVertex;
- if(!disp->DrawElementsInstancedBaseVertex) {
- void ** procp = (void **) &disp->DrawElementsInstancedBaseVertex;
- snprintf(symboln, sizeof(symboln), "%sDrawElementsInstancedBaseVertex", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sDrawElementsInstancedBaseVertex",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->DrawRangeElementsBaseVertex) {
+ void **procp = (void **) &disp->DrawRangeElementsBaseVertex;
- if(!disp->DrawRangeElementsBaseVertex) {
- void ** procp = (void **) &disp->DrawRangeElementsBaseVertex;
- snprintf(symboln, sizeof(symboln), "%sDrawRangeElementsBaseVertex", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sDrawRangeElementsBaseVertex",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MultiDrawElementsBaseVertex) {
+ void **procp = (void **) &disp->MultiDrawElementsBaseVertex;
- if(!disp->MultiDrawElementsBaseVertex) {
- void ** procp = (void **) &disp->MultiDrawElementsBaseVertex;
- snprintf(symboln, sizeof(symboln), "%sMultiDrawElementsBaseVertex", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sMultiDrawElementsBaseVertex",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->BlendEquationSeparateiARB) {
+ void **procp = (void **) &disp->BlendEquationSeparateiARB;
- if(!disp->BlendEquationSeparateiARB) {
- void ** procp = (void **) &disp->BlendEquationSeparateiARB;
- snprintf(symboln, sizeof(symboln), "%sBlendEquationSeparateiARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sBlendEquationSeparateiARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->BlendEquationSeparateiARB) {
+ void **procp = (void **) &disp->BlendEquationSeparateiARB;
- if(!disp->BlendEquationSeparateiARB) {
- void ** procp = (void **) &disp->BlendEquationSeparateiARB;
- snprintf(symboln, sizeof(symboln), "%sBlendEquationSeparateIndexedAMD", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sBlendEquationSeparateIndexedAMD",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->BlendEquationiARB) {
+ void **procp = (void **) &disp->BlendEquationiARB;
- if(!disp->BlendEquationiARB) {
- void ** procp = (void **) &disp->BlendEquationiARB;
- snprintf(symboln, sizeof(symboln), "%sBlendEquationiARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sBlendEquationiARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->BlendEquationiARB) {
+ void **procp = (void **) &disp->BlendEquationiARB;
- if(!disp->BlendEquationiARB) {
- void ** procp = (void **) &disp->BlendEquationiARB;
- snprintf(symboln, sizeof(symboln), "%sBlendEquationIndexedAMD", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sBlendEquationIndexedAMD",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->BlendFuncSeparateiARB) {
+ void **procp = (void **) &disp->BlendFuncSeparateiARB;
- if(!disp->BlendFuncSeparateiARB) {
- void ** procp = (void **) &disp->BlendFuncSeparateiARB;
- snprintf(symboln, sizeof(symboln), "%sBlendFuncSeparateiARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sBlendFuncSeparateiARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->BlendFuncSeparateiARB) {
+ void **procp = (void **) &disp->BlendFuncSeparateiARB;
- if(!disp->BlendFuncSeparateiARB) {
- void ** procp = (void **) &disp->BlendFuncSeparateiARB;
- snprintf(symboln, sizeof(symboln), "%sBlendFuncSeparateIndexedAMD", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sBlendFuncSeparateIndexedAMD",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->BlendFunciARB) {
+ void **procp = (void **) &disp->BlendFunciARB;
- if(!disp->BlendFunciARB) {
- void ** procp = (void **) &disp->BlendFunciARB;
snprintf(symboln, sizeof(symboln), "%sBlendFunciARB", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->BlendFunciARB) {
+ void **procp = (void **) &disp->BlendFunciARB;
- if(!disp->BlendFunciARB) {
- void ** procp = (void **) &disp->BlendFunciARB;
- snprintf(symboln, sizeof(symboln), "%sBlendFuncIndexedAMD", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sBlendFuncIndexedAMD",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->BindSampler) {
+ void **procp = (void **) &disp->BindSampler;
- if(!disp->BindSampler) {
- void ** procp = (void **) &disp->BindSampler;
snprintf(symboln, sizeof(symboln), "%sBindSampler", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->DeleteSamplers) {
+ void **procp = (void **) &disp->DeleteSamplers;
- if(!disp->DeleteSamplers) {
- void ** procp = (void **) &disp->DeleteSamplers;
snprintf(symboln, sizeof(symboln), "%sDeleteSamplers", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GenSamplers) {
+ void **procp = (void **) &disp->GenSamplers;
- if(!disp->GenSamplers) {
- void ** procp = (void **) &disp->GenSamplers;
snprintf(symboln, sizeof(symboln), "%sGenSamplers", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetSamplerParameterIiv) {
+ void **procp = (void **) &disp->GetSamplerParameterIiv;
- if(!disp->GetSamplerParameterIiv) {
- void ** procp = (void **) &disp->GetSamplerParameterIiv;
- snprintf(symboln, sizeof(symboln), "%sGetSamplerParameterIiv", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetSamplerParameterIiv",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetSamplerParameterIuiv) {
+ void **procp = (void **) &disp->GetSamplerParameterIuiv;
- if(!disp->GetSamplerParameterIuiv) {
- void ** procp = (void **) &disp->GetSamplerParameterIuiv;
- snprintf(symboln, sizeof(symboln), "%sGetSamplerParameterIuiv", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetSamplerParameterIuiv",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetSamplerParameterfv) {
+ void **procp = (void **) &disp->GetSamplerParameterfv;
- if(!disp->GetSamplerParameterfv) {
- void ** procp = (void **) &disp->GetSamplerParameterfv;
- snprintf(symboln, sizeof(symboln), "%sGetSamplerParameterfv", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetSamplerParameterfv",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetSamplerParameteriv) {
+ void **procp = (void **) &disp->GetSamplerParameteriv;
- if(!disp->GetSamplerParameteriv) {
- void ** procp = (void **) &disp->GetSamplerParameteriv;
- snprintf(symboln, sizeof(symboln), "%sGetSamplerParameteriv", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetSamplerParameteriv",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->IsSampler) {
+ void **procp = (void **) &disp->IsSampler;
- if(!disp->IsSampler) {
- void ** procp = (void **) &disp->IsSampler;
snprintf(symboln, sizeof(symboln), "%sIsSampler", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->SamplerParameterIiv) {
+ void **procp = (void **) &disp->SamplerParameterIiv;
- if(!disp->SamplerParameterIiv) {
- void ** procp = (void **) &disp->SamplerParameterIiv;
- snprintf(symboln, sizeof(symboln), "%sSamplerParameterIiv", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sSamplerParameterIiv",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->SamplerParameterIuiv) {
+ void **procp = (void **) &disp->SamplerParameterIuiv;
- if(!disp->SamplerParameterIuiv) {
- void ** procp = (void **) &disp->SamplerParameterIuiv;
- snprintf(symboln, sizeof(symboln), "%sSamplerParameterIuiv", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sSamplerParameterIuiv",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->SamplerParameterf) {
+ void **procp = (void **) &disp->SamplerParameterf;
- if(!disp->SamplerParameterf) {
- void ** procp = (void **) &disp->SamplerParameterf;
- snprintf(symboln, sizeof(symboln), "%sSamplerParameterf", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sSamplerParameterf",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->SamplerParameterfv) {
+ void **procp = (void **) &disp->SamplerParameterfv;
- if(!disp->SamplerParameterfv) {
- void ** procp = (void **) &disp->SamplerParameterfv;
- snprintf(symboln, sizeof(symboln), "%sSamplerParameterfv", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sSamplerParameterfv",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->SamplerParameteri) {
+ void **procp = (void **) &disp->SamplerParameteri;
- if(!disp->SamplerParameteri) {
- void ** procp = (void **) &disp->SamplerParameteri;
- snprintf(symboln, sizeof(symboln), "%sSamplerParameteri", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sSamplerParameteri",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->SamplerParameteriv) {
+ void **procp = (void **) &disp->SamplerParameteriv;
- if(!disp->SamplerParameteriv) {
- void ** procp = (void **) &disp->SamplerParameteriv;
- snprintf(symboln, sizeof(symboln), "%sSamplerParameteriv", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sSamplerParameteriv",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ColorP3ui) {
+ void **procp = (void **) &disp->ColorP3ui;
- if(!disp->ColorP3ui) {
- void ** procp = (void **) &disp->ColorP3ui;
snprintf(symboln, sizeof(symboln), "%sColorP3ui", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ColorP3uiv) {
+ void **procp = (void **) &disp->ColorP3uiv;
- if(!disp->ColorP3uiv) {
- void ** procp = (void **) &disp->ColorP3uiv;
snprintf(symboln, sizeof(symboln), "%sColorP3uiv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ColorP4ui) {
+ void **procp = (void **) &disp->ColorP4ui;
- if(!disp->ColorP4ui) {
- void ** procp = (void **) &disp->ColorP4ui;
snprintf(symboln, sizeof(symboln), "%sColorP4ui", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ColorP4uiv) {
+ void **procp = (void **) &disp->ColorP4uiv;
- if(!disp->ColorP4uiv) {
- void ** procp = (void **) &disp->ColorP4uiv;
snprintf(symboln, sizeof(symboln), "%sColorP4uiv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MultiTexCoordP1ui) {
+ void **procp = (void **) &disp->MultiTexCoordP1ui;
- if(!disp->MultiTexCoordP1ui) {
- void ** procp = (void **) &disp->MultiTexCoordP1ui;
- snprintf(symboln, sizeof(symboln), "%sMultiTexCoordP1ui", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoordP1ui",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MultiTexCoordP1uiv) {
+ void **procp = (void **) &disp->MultiTexCoordP1uiv;
- if(!disp->MultiTexCoordP1uiv) {
- void ** procp = (void **) &disp->MultiTexCoordP1uiv;
- snprintf(symboln, sizeof(symboln), "%sMultiTexCoordP1uiv", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoordP1uiv",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MultiTexCoordP2ui) {
+ void **procp = (void **) &disp->MultiTexCoordP2ui;
- if(!disp->MultiTexCoordP2ui) {
- void ** procp = (void **) &disp->MultiTexCoordP2ui;
- snprintf(symboln, sizeof(symboln), "%sMultiTexCoordP2ui", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoordP2ui",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MultiTexCoordP2uiv) {
+ void **procp = (void **) &disp->MultiTexCoordP2uiv;
- if(!disp->MultiTexCoordP2uiv) {
- void ** procp = (void **) &disp->MultiTexCoordP2uiv;
- snprintf(symboln, sizeof(symboln), "%sMultiTexCoordP2uiv", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoordP2uiv",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MultiTexCoordP3ui) {
+ void **procp = (void **) &disp->MultiTexCoordP3ui;
- if(!disp->MultiTexCoordP3ui) {
- void ** procp = (void **) &disp->MultiTexCoordP3ui;
- snprintf(symboln, sizeof(symboln), "%sMultiTexCoordP3ui", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoordP3ui",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MultiTexCoordP3uiv) {
+ void **procp = (void **) &disp->MultiTexCoordP3uiv;
- if(!disp->MultiTexCoordP3uiv) {
- void ** procp = (void **) &disp->MultiTexCoordP3uiv;
- snprintf(symboln, sizeof(symboln), "%sMultiTexCoordP3uiv", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoordP3uiv",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MultiTexCoordP4ui) {
+ void **procp = (void **) &disp->MultiTexCoordP4ui;
- if(!disp->MultiTexCoordP4ui) {
- void ** procp = (void **) &disp->MultiTexCoordP4ui;
- snprintf(symboln, sizeof(symboln), "%sMultiTexCoordP4ui", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoordP4ui",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MultiTexCoordP4uiv) {
+ void **procp = (void **) &disp->MultiTexCoordP4uiv;
- if(!disp->MultiTexCoordP4uiv) {
- void ** procp = (void **) &disp->MultiTexCoordP4uiv;
- snprintf(symboln, sizeof(symboln), "%sMultiTexCoordP4uiv", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sMultiTexCoordP4uiv",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->NormalP3ui) {
+ void **procp = (void **) &disp->NormalP3ui;
- if(!disp->NormalP3ui) {
- void ** procp = (void **) &disp->NormalP3ui;
snprintf(symboln, sizeof(symboln), "%sNormalP3ui", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->NormalP3uiv) {
+ void **procp = (void **) &disp->NormalP3uiv;
- if(!disp->NormalP3uiv) {
- void ** procp = (void **) &disp->NormalP3uiv;
snprintf(symboln, sizeof(symboln), "%sNormalP3uiv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->SecondaryColorP3ui) {
+ void **procp = (void **) &disp->SecondaryColorP3ui;
- if(!disp->SecondaryColorP3ui) {
- void ** procp = (void **) &disp->SecondaryColorP3ui;
- snprintf(symboln, sizeof(symboln), "%sSecondaryColorP3ui", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sSecondaryColorP3ui",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->SecondaryColorP3uiv) {
+ void **procp = (void **) &disp->SecondaryColorP3uiv;
- if(!disp->SecondaryColorP3uiv) {
- void ** procp = (void **) &disp->SecondaryColorP3uiv;
- snprintf(symboln, sizeof(symboln), "%sSecondaryColorP3uiv", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sSecondaryColorP3uiv",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->TexCoordP1ui) {
+ void **procp = (void **) &disp->TexCoordP1ui;
- if(!disp->TexCoordP1ui) {
- void ** procp = (void **) &disp->TexCoordP1ui;
snprintf(symboln, sizeof(symboln), "%sTexCoordP1ui", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->TexCoordP1uiv) {
+ void **procp = (void **) &disp->TexCoordP1uiv;
- if(!disp->TexCoordP1uiv) {
- void ** procp = (void **) &disp->TexCoordP1uiv;
snprintf(symboln, sizeof(symboln), "%sTexCoordP1uiv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->TexCoordP2ui) {
+ void **procp = (void **) &disp->TexCoordP2ui;
- if(!disp->TexCoordP2ui) {
- void ** procp = (void **) &disp->TexCoordP2ui;
snprintf(symboln, sizeof(symboln), "%sTexCoordP2ui", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->TexCoordP2uiv) {
+ void **procp = (void **) &disp->TexCoordP2uiv;
- if(!disp->TexCoordP2uiv) {
- void ** procp = (void **) &disp->TexCoordP2uiv;
snprintf(symboln, sizeof(symboln), "%sTexCoordP2uiv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->TexCoordP3ui) {
+ void **procp = (void **) &disp->TexCoordP3ui;
- if(!disp->TexCoordP3ui) {
- void ** procp = (void **) &disp->TexCoordP3ui;
snprintf(symboln, sizeof(symboln), "%sTexCoordP3ui", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->TexCoordP3uiv) {
+ void **procp = (void **) &disp->TexCoordP3uiv;
- if(!disp->TexCoordP3uiv) {
- void ** procp = (void **) &disp->TexCoordP3uiv;
snprintf(symboln, sizeof(symboln), "%sTexCoordP3uiv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->TexCoordP4ui) {
+ void **procp = (void **) &disp->TexCoordP4ui;
- if(!disp->TexCoordP4ui) {
- void ** procp = (void **) &disp->TexCoordP4ui;
snprintf(symboln, sizeof(symboln), "%sTexCoordP4ui", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->TexCoordP4uiv) {
+ void **procp = (void **) &disp->TexCoordP4uiv;
- if(!disp->TexCoordP4uiv) {
- void ** procp = (void **) &disp->TexCoordP4uiv;
snprintf(symboln, sizeof(symboln), "%sTexCoordP4uiv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttribP1ui) {
+ void **procp = (void **) &disp->VertexAttribP1ui;
- if(!disp->VertexAttribP1ui) {
- void ** procp = (void **) &disp->VertexAttribP1ui;
snprintf(symboln, sizeof(symboln), "%sVertexAttribP1ui", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttribP1uiv) {
+ void **procp = (void **) &disp->VertexAttribP1uiv;
- if(!disp->VertexAttribP1uiv) {
- void ** procp = (void **) &disp->VertexAttribP1uiv;
- snprintf(symboln, sizeof(symboln), "%sVertexAttribP1uiv", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribP1uiv",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttribP2ui) {
+ void **procp = (void **) &disp->VertexAttribP2ui;
- if(!disp->VertexAttribP2ui) {
- void ** procp = (void **) &disp->VertexAttribP2ui;
snprintf(symboln, sizeof(symboln), "%sVertexAttribP2ui", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttribP2uiv) {
+ void **procp = (void **) &disp->VertexAttribP2uiv;
- if(!disp->VertexAttribP2uiv) {
- void ** procp = (void **) &disp->VertexAttribP2uiv;
- snprintf(symboln, sizeof(symboln), "%sVertexAttribP2uiv", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribP2uiv",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttribP3ui) {
+ void **procp = (void **) &disp->VertexAttribP3ui;
- if(!disp->VertexAttribP3ui) {
- void ** procp = (void **) &disp->VertexAttribP3ui;
snprintf(symboln, sizeof(symboln), "%sVertexAttribP3ui", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttribP3uiv) {
+ void **procp = (void **) &disp->VertexAttribP3uiv;
- if(!disp->VertexAttribP3uiv) {
- void ** procp = (void **) &disp->VertexAttribP3uiv;
- snprintf(symboln, sizeof(symboln), "%sVertexAttribP3uiv", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribP3uiv",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttribP4ui) {
+ void **procp = (void **) &disp->VertexAttribP4ui;
- if(!disp->VertexAttribP4ui) {
- void ** procp = (void **) &disp->VertexAttribP4ui;
snprintf(symboln, sizeof(symboln), "%sVertexAttribP4ui", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttribP4uiv) {
+ void **procp = (void **) &disp->VertexAttribP4uiv;
- if(!disp->VertexAttribP4uiv) {
- void ** procp = (void **) &disp->VertexAttribP4uiv;
- snprintf(symboln, sizeof(symboln), "%sVertexAttribP4uiv", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribP4uiv",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexP2ui) {
+ void **procp = (void **) &disp->VertexP2ui;
- if(!disp->VertexP2ui) {
- void ** procp = (void **) &disp->VertexP2ui;
snprintf(symboln, sizeof(symboln), "%sVertexP2ui", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexP2uiv) {
+ void **procp = (void **) &disp->VertexP2uiv;
- if(!disp->VertexP2uiv) {
- void ** procp = (void **) &disp->VertexP2uiv;
snprintf(symboln, sizeof(symboln), "%sVertexP2uiv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexP3ui) {
+ void **procp = (void **) &disp->VertexP3ui;
- if(!disp->VertexP3ui) {
- void ** procp = (void **) &disp->VertexP3ui;
snprintf(symboln, sizeof(symboln), "%sVertexP3ui", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexP3uiv) {
+ void **procp = (void **) &disp->VertexP3uiv;
- if(!disp->VertexP3uiv) {
- void ** procp = (void **) &disp->VertexP3uiv;
snprintf(symboln, sizeof(symboln), "%sVertexP3uiv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexP4ui) {
+ void **procp = (void **) &disp->VertexP4ui;
- if(!disp->VertexP4ui) {
- void ** procp = (void **) &disp->VertexP4ui;
snprintf(symboln, sizeof(symboln), "%sVertexP4ui", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexP4uiv) {
+ void **procp = (void **) &disp->VertexP4uiv;
- if(!disp->VertexP4uiv) {
- void ** procp = (void **) &disp->VertexP4uiv;
snprintf(symboln, sizeof(symboln), "%sVertexP4uiv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->BindTransformFeedback) {
+ void **procp = (void **) &disp->BindTransformFeedback;
- if(!disp->BindTransformFeedback) {
- void ** procp = (void **) &disp->BindTransformFeedback;
- snprintf(symboln, sizeof(symboln), "%sBindTransformFeedback", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sBindTransformFeedback",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->DeleteTransformFeedbacks) {
+ void **procp = (void **) &disp->DeleteTransformFeedbacks;
- if(!disp->DeleteTransformFeedbacks) {
- void ** procp = (void **) &disp->DeleteTransformFeedbacks;
- snprintf(symboln, sizeof(symboln), "%sDeleteTransformFeedbacks", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sDeleteTransformFeedbacks",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->DrawTransformFeedback) {
+ void **procp = (void **) &disp->DrawTransformFeedback;
- if(!disp->DrawTransformFeedback) {
- void ** procp = (void **) &disp->DrawTransformFeedback;
- snprintf(symboln, sizeof(symboln), "%sDrawTransformFeedback", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sDrawTransformFeedback",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GenTransformFeedbacks) {
+ void **procp = (void **) &disp->GenTransformFeedbacks;
- if(!disp->GenTransformFeedbacks) {
- void ** procp = (void **) &disp->GenTransformFeedbacks;
- snprintf(symboln, sizeof(symboln), "%sGenTransformFeedbacks", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGenTransformFeedbacks",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->IsTransformFeedback) {
+ void **procp = (void **) &disp->IsTransformFeedback;
- if(!disp->IsTransformFeedback) {
- void ** procp = (void **) &disp->IsTransformFeedback;
- snprintf(symboln, sizeof(symboln), "%sIsTransformFeedback", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sIsTransformFeedback",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->PauseTransformFeedback) {
+ void **procp = (void **) &disp->PauseTransformFeedback;
- if(!disp->PauseTransformFeedback) {
- void ** procp = (void **) &disp->PauseTransformFeedback;
- snprintf(symboln, sizeof(symboln), "%sPauseTransformFeedback", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sPauseTransformFeedback",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ResumeTransformFeedback) {
+ void **procp = (void **) &disp->ResumeTransformFeedback;
- if(!disp->ResumeTransformFeedback) {
- void ** procp = (void **) &disp->ResumeTransformFeedback;
- snprintf(symboln, sizeof(symboln), "%sResumeTransformFeedback", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sResumeTransformFeedback",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ClearDepthf) {
+ void **procp = (void **) &disp->ClearDepthf;
- if(!disp->ClearDepthf) {
- void ** procp = (void **) &disp->ClearDepthf;
snprintf(symboln, sizeof(symboln), "%sClearDepthf", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->DepthRangef) {
+ void **procp = (void **) &disp->DepthRangef;
- if(!disp->DepthRangef) {
- void ** procp = (void **) &disp->DepthRangef;
snprintf(symboln, sizeof(symboln), "%sDepthRangef", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetShaderPrecisionFormat) {
+ void **procp = (void **) &disp->GetShaderPrecisionFormat;
- if(!disp->GetShaderPrecisionFormat) {
- void ** procp = (void **) &disp->GetShaderPrecisionFormat;
- snprintf(symboln, sizeof(symboln), "%sGetShaderPrecisionFormat", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetShaderPrecisionFormat",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ReleaseShaderCompiler) {
+ void **procp = (void **) &disp->ReleaseShaderCompiler;
- if(!disp->ReleaseShaderCompiler) {
- void ** procp = (void **) &disp->ReleaseShaderCompiler;
- snprintf(symboln, sizeof(symboln), "%sReleaseShaderCompiler", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sReleaseShaderCompiler",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ShaderBinary) {
+ void **procp = (void **) &disp->ShaderBinary;
- if(!disp->ShaderBinary) {
- void ** procp = (void **) &disp->ShaderBinary;
snprintf(symboln, sizeof(symboln), "%sShaderBinary", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetGraphicsResetStatusARB) {
+ void **procp = (void **) &disp->GetGraphicsResetStatusARB;
- if(!disp->GetGraphicsResetStatusARB) {
- void ** procp = (void **) &disp->GetGraphicsResetStatusARB;
- snprintf(symboln, sizeof(symboln), "%sGetGraphicsResetStatusARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetGraphicsResetStatusARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetnColorTableARB) {
+ void **procp = (void **) &disp->GetnColorTableARB;
- if(!disp->GetnColorTableARB) {
- void ** procp = (void **) &disp->GetnColorTableARB;
- snprintf(symboln, sizeof(symboln), "%sGetnColorTableARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetnColorTableARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetnCompressedTexImageARB) {
+ void **procp = (void **) &disp->GetnCompressedTexImageARB;
- if(!disp->GetnCompressedTexImageARB) {
- void ** procp = (void **) &disp->GetnCompressedTexImageARB;
- snprintf(symboln, sizeof(symboln), "%sGetnCompressedTexImageARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetnCompressedTexImageARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetnConvolutionFilterARB) {
+ void **procp = (void **) &disp->GetnConvolutionFilterARB;
- if(!disp->GetnConvolutionFilterARB) {
- void ** procp = (void **) &disp->GetnConvolutionFilterARB;
- snprintf(symboln, sizeof(symboln), "%sGetnConvolutionFilterARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetnConvolutionFilterARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetnHistogramARB) {
+ void **procp = (void **) &disp->GetnHistogramARB;
- if(!disp->GetnHistogramARB) {
- void ** procp = (void **) &disp->GetnHistogramARB;
snprintf(symboln, sizeof(symboln), "%sGetnHistogramARB", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetnMapdvARB) {
+ void **procp = (void **) &disp->GetnMapdvARB;
- if(!disp->GetnMapdvARB) {
- void ** procp = (void **) &disp->GetnMapdvARB;
snprintf(symboln, sizeof(symboln), "%sGetnMapdvARB", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetnMapfvARB) {
+ void **procp = (void **) &disp->GetnMapfvARB;
- if(!disp->GetnMapfvARB) {
- void ** procp = (void **) &disp->GetnMapfvARB;
snprintf(symboln, sizeof(symboln), "%sGetnMapfvARB", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetnMapivARB) {
+ void **procp = (void **) &disp->GetnMapivARB;
- if(!disp->GetnMapivARB) {
- void ** procp = (void **) &disp->GetnMapivARB;
snprintf(symboln, sizeof(symboln), "%sGetnMapivARB", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetnMinmaxARB) {
+ void **procp = (void **) &disp->GetnMinmaxARB;
- if(!disp->GetnMinmaxARB) {
- void ** procp = (void **) &disp->GetnMinmaxARB;
snprintf(symboln, sizeof(symboln), "%sGetnMinmaxARB", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetnPixelMapfvARB) {
+ void **procp = (void **) &disp->GetnPixelMapfvARB;
- if(!disp->GetnPixelMapfvARB) {
- void ** procp = (void **) &disp->GetnPixelMapfvARB;
- snprintf(symboln, sizeof(symboln), "%sGetnPixelMapfvARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetnPixelMapfvARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetnPixelMapuivARB) {
+ void **procp = (void **) &disp->GetnPixelMapuivARB;
- if(!disp->GetnPixelMapuivARB) {
- void ** procp = (void **) &disp->GetnPixelMapuivARB;
- snprintf(symboln, sizeof(symboln), "%sGetnPixelMapuivARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetnPixelMapuivARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetnPixelMapusvARB) {
+ void **procp = (void **) &disp->GetnPixelMapusvARB;
- if(!disp->GetnPixelMapusvARB) {
- void ** procp = (void **) &disp->GetnPixelMapusvARB;
- snprintf(symboln, sizeof(symboln), "%sGetnPixelMapusvARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetnPixelMapusvARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetnPolygonStippleARB) {
+ void **procp = (void **) &disp->GetnPolygonStippleARB;
- if(!disp->GetnPolygonStippleARB) {
- void ** procp = (void **) &disp->GetnPolygonStippleARB;
- snprintf(symboln, sizeof(symboln), "%sGetnPolygonStippleARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetnPolygonStippleARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetnSeparableFilterARB) {
+ void **procp = (void **) &disp->GetnSeparableFilterARB;
- if(!disp->GetnSeparableFilterARB) {
- void ** procp = (void **) &disp->GetnSeparableFilterARB;
- snprintf(symboln, sizeof(symboln), "%sGetnSeparableFilterARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetnSeparableFilterARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetnTexImageARB) {
+ void **procp = (void **) &disp->GetnTexImageARB;
- if(!disp->GetnTexImageARB) {
- void ** procp = (void **) &disp->GetnTexImageARB;
snprintf(symboln, sizeof(symboln), "%sGetnTexImageARB", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetnUniformdvARB) {
+ void **procp = (void **) &disp->GetnUniformdvARB;
- if(!disp->GetnUniformdvARB) {
- void ** procp = (void **) &disp->GetnUniformdvARB;
snprintf(symboln, sizeof(symboln), "%sGetnUniformdvARB", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetnUniformfvARB) {
+ void **procp = (void **) &disp->GetnUniformfvARB;
- if(!disp->GetnUniformfvARB) {
- void ** procp = (void **) &disp->GetnUniformfvARB;
snprintf(symboln, sizeof(symboln), "%sGetnUniformfvARB", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetnUniformivARB) {
+ void **procp = (void **) &disp->GetnUniformivARB;
- if(!disp->GetnUniformivARB) {
- void ** procp = (void **) &disp->GetnUniformivARB;
snprintf(symboln, sizeof(symboln), "%sGetnUniformivARB", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetnUniformuivARB) {
+ void **procp = (void **) &disp->GetnUniformuivARB;
- if(!disp->GetnUniformuivARB) {
- void ** procp = (void **) &disp->GetnUniformuivARB;
- snprintf(symboln, sizeof(symboln), "%sGetnUniformuivARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetnUniformuivARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ReadnPixelsARB) {
+ void **procp = (void **) &disp->ReadnPixelsARB;
- if(!disp->ReadnPixelsARB) {
- void ** procp = (void **) &disp->ReadnPixelsARB;
snprintf(symboln, sizeof(symboln), "%sReadnPixelsARB", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->TexStorage1D) {
+ void **procp = (void **) &disp->TexStorage1D;
- if(!disp->TexStorage1D) {
- void ** procp = (void **) &disp->TexStorage1D;
snprintf(symboln, sizeof(symboln), "%sTexStorage1D", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->TexStorage2D) {
+ void **procp = (void **) &disp->TexStorage2D;
- if(!disp->TexStorage2D) {
- void ** procp = (void **) &disp->TexStorage2D;
snprintf(symboln, sizeof(symboln), "%sTexStorage2D", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->TexStorage3D) {
+ void **procp = (void **) &disp->TexStorage3D;
- if(!disp->TexStorage3D) {
- void ** procp = (void **) &disp->TexStorage3D;
snprintf(symboln, sizeof(symboln), "%sTexStorage3D", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->TextureStorage1DEXT) {
+ void **procp = (void **) &disp->TextureStorage1DEXT;
- if(!disp->TextureStorage1DEXT) {
- void ** procp = (void **) &disp->TextureStorage1DEXT;
- snprintf(symboln, sizeof(symboln), "%sTextureStorage1DEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sTextureStorage1DEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->TextureStorage2DEXT) {
+ void **procp = (void **) &disp->TextureStorage2DEXT;
- if(!disp->TextureStorage2DEXT) {
- void ** procp = (void **) &disp->TextureStorage2DEXT;
- snprintf(symboln, sizeof(symboln), "%sTextureStorage2DEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sTextureStorage2DEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->TextureStorage3DEXT) {
+ void **procp = (void **) &disp->TextureStorage3DEXT;
- if(!disp->TextureStorage3DEXT) {
- void ** procp = (void **) &disp->TextureStorage3DEXT;
- snprintf(symboln, sizeof(symboln), "%sTextureStorage3DEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sTextureStorage3DEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->PolygonOffsetEXT) {
+ void **procp = (void **) &disp->PolygonOffsetEXT;
- if(!disp->PolygonOffsetEXT) {
- void ** procp = (void **) &disp->PolygonOffsetEXT;
snprintf(symboln, sizeof(symboln), "%sPolygonOffsetEXT", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetPixelTexGenParameterfvSGIS) {
+ void **procp = (void **) &disp->GetPixelTexGenParameterfvSGIS;
- if(!disp->GetPixelTexGenParameterfvSGIS) {
- void ** procp = (void **) &disp->GetPixelTexGenParameterfvSGIS;
- snprintf(symboln, sizeof(symboln), "%sGetPixelTexGenParameterfvSGIS", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetPixelTexGenParameterfvSGIS",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetPixelTexGenParameterivSGIS) {
+ void **procp = (void **) &disp->GetPixelTexGenParameterivSGIS;
- if(!disp->GetPixelTexGenParameterivSGIS) {
- void ** procp = (void **) &disp->GetPixelTexGenParameterivSGIS;
- snprintf(symboln, sizeof(symboln), "%sGetPixelTexGenParameterivSGIS", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetPixelTexGenParameterivSGIS",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->PixelTexGenParameterfSGIS) {
+ void **procp = (void **) &disp->PixelTexGenParameterfSGIS;
- if(!disp->PixelTexGenParameterfSGIS) {
- void ** procp = (void **) &disp->PixelTexGenParameterfSGIS;
- snprintf(symboln, sizeof(symboln), "%sPixelTexGenParameterfSGIS", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sPixelTexGenParameterfSGIS",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->PixelTexGenParameterfvSGIS) {
+ void **procp = (void **) &disp->PixelTexGenParameterfvSGIS;
- if(!disp->PixelTexGenParameterfvSGIS) {
- void ** procp = (void **) &disp->PixelTexGenParameterfvSGIS;
- snprintf(symboln, sizeof(symboln), "%sPixelTexGenParameterfvSGIS", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sPixelTexGenParameterfvSGIS",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->PixelTexGenParameteriSGIS) {
+ void **procp = (void **) &disp->PixelTexGenParameteriSGIS;
- if(!disp->PixelTexGenParameteriSGIS) {
- void ** procp = (void **) &disp->PixelTexGenParameteriSGIS;
- snprintf(symboln, sizeof(symboln), "%sPixelTexGenParameteriSGIS", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sPixelTexGenParameteriSGIS",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->PixelTexGenParameterivSGIS) {
+ void **procp = (void **) &disp->PixelTexGenParameterivSGIS;
- if(!disp->PixelTexGenParameterivSGIS) {
- void ** procp = (void **) &disp->PixelTexGenParameterivSGIS;
- snprintf(symboln, sizeof(symboln), "%sPixelTexGenParameterivSGIS", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sPixelTexGenParameterivSGIS",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->SampleMaskSGIS) {
+ void **procp = (void **) &disp->SampleMaskSGIS;
- if(!disp->SampleMaskSGIS) {
- void ** procp = (void **) &disp->SampleMaskSGIS;
snprintf(symboln, sizeof(symboln), "%sSampleMaskSGIS", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->SampleMaskSGIS) {
+ void **procp = (void **) &disp->SampleMaskSGIS;
- if(!disp->SampleMaskSGIS) {
- void ** procp = (void **) &disp->SampleMaskSGIS;
snprintf(symboln, sizeof(symboln), "%sSampleMaskEXT", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->SamplePatternSGIS) {
+ void **procp = (void **) &disp->SamplePatternSGIS;
- if(!disp->SamplePatternSGIS) {
- void ** procp = (void **) &disp->SamplePatternSGIS;
- snprintf(symboln, sizeof(symboln), "%sSamplePatternSGIS", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sSamplePatternSGIS",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->SamplePatternSGIS) {
+ void **procp = (void **) &disp->SamplePatternSGIS;
- if(!disp->SamplePatternSGIS) {
- void ** procp = (void **) &disp->SamplePatternSGIS;
snprintf(symboln, sizeof(symboln), "%sSamplePatternEXT", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ColorPointerEXT) {
+ void **procp = (void **) &disp->ColorPointerEXT;
- if(!disp->ColorPointerEXT) {
- void ** procp = (void **) &disp->ColorPointerEXT;
snprintf(symboln, sizeof(symboln), "%sColorPointerEXT", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->EdgeFlagPointerEXT) {
+ void **procp = (void **) &disp->EdgeFlagPointerEXT;
- if(!disp->EdgeFlagPointerEXT) {
- void ** procp = (void **) &disp->EdgeFlagPointerEXT;
- snprintf(symboln, sizeof(symboln), "%sEdgeFlagPointerEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sEdgeFlagPointerEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->IndexPointerEXT) {
+ void **procp = (void **) &disp->IndexPointerEXT;
- if(!disp->IndexPointerEXT) {
- void ** procp = (void **) &disp->IndexPointerEXT;
snprintf(symboln, sizeof(symboln), "%sIndexPointerEXT", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->NormalPointerEXT) {
+ void **procp = (void **) &disp->NormalPointerEXT;
- if(!disp->NormalPointerEXT) {
- void ** procp = (void **) &disp->NormalPointerEXT;
snprintf(symboln, sizeof(symboln), "%sNormalPointerEXT", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->TexCoordPointerEXT) {
+ void **procp = (void **) &disp->TexCoordPointerEXT;
- if(!disp->TexCoordPointerEXT) {
- void ** procp = (void **) &disp->TexCoordPointerEXT;
- snprintf(symboln, sizeof(symboln), "%sTexCoordPointerEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sTexCoordPointerEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexPointerEXT) {
+ void **procp = (void **) &disp->VertexPointerEXT;
- if(!disp->VertexPointerEXT) {
- void ** procp = (void **) &disp->VertexPointerEXT;
snprintf(symboln, sizeof(symboln), "%sVertexPointerEXT", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->PointParameterfEXT) {
+ void **procp = (void **) &disp->PointParameterfEXT;
- if(!disp->PointParameterfEXT) {
- void ** procp = (void **) &disp->PointParameterfEXT;
snprintf(symboln, sizeof(symboln), "%sPointParameterf", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->PointParameterfEXT) {
+ void **procp = (void **) &disp->PointParameterfEXT;
- if(!disp->PointParameterfEXT) {
- void ** procp = (void **) &disp->PointParameterfEXT;
- snprintf(symboln, sizeof(symboln), "%sPointParameterfARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sPointParameterfARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->PointParameterfEXT) {
+ void **procp = (void **) &disp->PointParameterfEXT;
- if(!disp->PointParameterfEXT) {
- void ** procp = (void **) &disp->PointParameterfEXT;
- snprintf(symboln, sizeof(symboln), "%sPointParameterfEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sPointParameterfEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->PointParameterfEXT) {
+ void **procp = (void **) &disp->PointParameterfEXT;
- if(!disp->PointParameterfEXT) {
- void ** procp = (void **) &disp->PointParameterfEXT;
- snprintf(symboln, sizeof(symboln), "%sPointParameterfSGIS", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sPointParameterfSGIS",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->PointParameterfvEXT) {
+ void **procp = (void **) &disp->PointParameterfvEXT;
- if(!disp->PointParameterfvEXT) {
- void ** procp = (void **) &disp->PointParameterfvEXT;
snprintf(symboln, sizeof(symboln), "%sPointParameterfv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->PointParameterfvEXT) {
+ void **procp = (void **) &disp->PointParameterfvEXT;
- if(!disp->PointParameterfvEXT) {
- void ** procp = (void **) &disp->PointParameterfvEXT;
- snprintf(symboln, sizeof(symboln), "%sPointParameterfvARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sPointParameterfvARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->PointParameterfvEXT) {
+ void **procp = (void **) &disp->PointParameterfvEXT;
- if(!disp->PointParameterfvEXT) {
- void ** procp = (void **) &disp->PointParameterfvEXT;
- snprintf(symboln, sizeof(symboln), "%sPointParameterfvEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sPointParameterfvEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->PointParameterfvEXT) {
+ void **procp = (void **) &disp->PointParameterfvEXT;
- if(!disp->PointParameterfvEXT) {
- void ** procp = (void **) &disp->PointParameterfvEXT;
- snprintf(symboln, sizeof(symboln), "%sPointParameterfvSGIS", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sPointParameterfvSGIS",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->LockArraysEXT) {
+ void **procp = (void **) &disp->LockArraysEXT;
- if(!disp->LockArraysEXT) {
- void ** procp = (void **) &disp->LockArraysEXT;
snprintf(symboln, sizeof(symboln), "%sLockArraysEXT", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->UnlockArraysEXT) {
+ void **procp = (void **) &disp->UnlockArraysEXT;
- if(!disp->UnlockArraysEXT) {
- void ** procp = (void **) &disp->UnlockArraysEXT;
snprintf(symboln, sizeof(symboln), "%sUnlockArraysEXT", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->SecondaryColor3bEXT) {
+ void **procp = (void **) &disp->SecondaryColor3bEXT;
- if(!disp->SecondaryColor3bEXT) {
- void ** procp = (void **) &disp->SecondaryColor3bEXT;
snprintf(symboln, sizeof(symboln), "%sSecondaryColor3b", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->SecondaryColor3bEXT) {
+ void **procp = (void **) &disp->SecondaryColor3bEXT;
- if(!disp->SecondaryColor3bEXT) {
- void ** procp = (void **) &disp->SecondaryColor3bEXT;
- snprintf(symboln, sizeof(symboln), "%sSecondaryColor3bEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sSecondaryColor3bEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->SecondaryColor3bvEXT) {
+ void **procp = (void **) &disp->SecondaryColor3bvEXT;
- if(!disp->SecondaryColor3bvEXT) {
- void ** procp = (void **) &disp->SecondaryColor3bvEXT;
- snprintf(symboln, sizeof(symboln), "%sSecondaryColor3bv", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sSecondaryColor3bv",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->SecondaryColor3bvEXT) {
+ void **procp = (void **) &disp->SecondaryColor3bvEXT;
- if(!disp->SecondaryColor3bvEXT) {
- void ** procp = (void **) &disp->SecondaryColor3bvEXT;
- snprintf(symboln, sizeof(symboln), "%sSecondaryColor3bvEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sSecondaryColor3bvEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->SecondaryColor3dEXT) {
+ void **procp = (void **) &disp->SecondaryColor3dEXT;
- if(!disp->SecondaryColor3dEXT) {
- void ** procp = (void **) &disp->SecondaryColor3dEXT;
snprintf(symboln, sizeof(symboln), "%sSecondaryColor3d", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->SecondaryColor3dEXT) {
+ void **procp = (void **) &disp->SecondaryColor3dEXT;
- if(!disp->SecondaryColor3dEXT) {
- void ** procp = (void **) &disp->SecondaryColor3dEXT;
- snprintf(symboln, sizeof(symboln), "%sSecondaryColor3dEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sSecondaryColor3dEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->SecondaryColor3dvEXT) {
+ void **procp = (void **) &disp->SecondaryColor3dvEXT;
- if(!disp->SecondaryColor3dvEXT) {
- void ** procp = (void **) &disp->SecondaryColor3dvEXT;
- snprintf(symboln, sizeof(symboln), "%sSecondaryColor3dv", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sSecondaryColor3dv",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->SecondaryColor3dvEXT) {
+ void **procp = (void **) &disp->SecondaryColor3dvEXT;
- if(!disp->SecondaryColor3dvEXT) {
- void ** procp = (void **) &disp->SecondaryColor3dvEXT;
- snprintf(symboln, sizeof(symboln), "%sSecondaryColor3dvEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sSecondaryColor3dvEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->SecondaryColor3fEXT) {
+ void **procp = (void **) &disp->SecondaryColor3fEXT;
- if(!disp->SecondaryColor3fEXT) {
- void ** procp = (void **) &disp->SecondaryColor3fEXT;
snprintf(symboln, sizeof(symboln), "%sSecondaryColor3f", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->SecondaryColor3fEXT) {
+ void **procp = (void **) &disp->SecondaryColor3fEXT;
- if(!disp->SecondaryColor3fEXT) {
- void ** procp = (void **) &disp->SecondaryColor3fEXT;
- snprintf(symboln, sizeof(symboln), "%sSecondaryColor3fEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sSecondaryColor3fEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->SecondaryColor3fvEXT) {
+ void **procp = (void **) &disp->SecondaryColor3fvEXT;
- if(!disp->SecondaryColor3fvEXT) {
- void ** procp = (void **) &disp->SecondaryColor3fvEXT;
- snprintf(symboln, sizeof(symboln), "%sSecondaryColor3fv", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sSecondaryColor3fv",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->SecondaryColor3fvEXT) {
+ void **procp = (void **) &disp->SecondaryColor3fvEXT;
- if(!disp->SecondaryColor3fvEXT) {
- void ** procp = (void **) &disp->SecondaryColor3fvEXT;
- snprintf(symboln, sizeof(symboln), "%sSecondaryColor3fvEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sSecondaryColor3fvEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->SecondaryColor3iEXT) {
+ void **procp = (void **) &disp->SecondaryColor3iEXT;
- if(!disp->SecondaryColor3iEXT) {
- void ** procp = (void **) &disp->SecondaryColor3iEXT;
snprintf(symboln, sizeof(symboln), "%sSecondaryColor3i", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->SecondaryColor3iEXT) {
+ void **procp = (void **) &disp->SecondaryColor3iEXT;
- if(!disp->SecondaryColor3iEXT) {
- void ** procp = (void **) &disp->SecondaryColor3iEXT;
- snprintf(symboln, sizeof(symboln), "%sSecondaryColor3iEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sSecondaryColor3iEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->SecondaryColor3ivEXT) {
+ void **procp = (void **) &disp->SecondaryColor3ivEXT;
- if(!disp->SecondaryColor3ivEXT) {
- void ** procp = (void **) &disp->SecondaryColor3ivEXT;
- snprintf(symboln, sizeof(symboln), "%sSecondaryColor3iv", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sSecondaryColor3iv",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->SecondaryColor3ivEXT) {
+ void **procp = (void **) &disp->SecondaryColor3ivEXT;
- if(!disp->SecondaryColor3ivEXT) {
- void ** procp = (void **) &disp->SecondaryColor3ivEXT;
- snprintf(symboln, sizeof(symboln), "%sSecondaryColor3ivEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sSecondaryColor3ivEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->SecondaryColor3sEXT) {
+ void **procp = (void **) &disp->SecondaryColor3sEXT;
- if(!disp->SecondaryColor3sEXT) {
- void ** procp = (void **) &disp->SecondaryColor3sEXT;
snprintf(symboln, sizeof(symboln), "%sSecondaryColor3s", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->SecondaryColor3sEXT) {
+ void **procp = (void **) &disp->SecondaryColor3sEXT;
- if(!disp->SecondaryColor3sEXT) {
- void ** procp = (void **) &disp->SecondaryColor3sEXT;
- snprintf(symboln, sizeof(symboln), "%sSecondaryColor3sEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sSecondaryColor3sEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->SecondaryColor3svEXT) {
+ void **procp = (void **) &disp->SecondaryColor3svEXT;
- if(!disp->SecondaryColor3svEXT) {
- void ** procp = (void **) &disp->SecondaryColor3svEXT;
- snprintf(symboln, sizeof(symboln), "%sSecondaryColor3sv", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sSecondaryColor3sv",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->SecondaryColor3svEXT) {
+ void **procp = (void **) &disp->SecondaryColor3svEXT;
- if(!disp->SecondaryColor3svEXT) {
- void ** procp = (void **) &disp->SecondaryColor3svEXT;
- snprintf(symboln, sizeof(symboln), "%sSecondaryColor3svEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sSecondaryColor3svEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->SecondaryColor3ubEXT) {
+ void **procp = (void **) &disp->SecondaryColor3ubEXT;
- if(!disp->SecondaryColor3ubEXT) {
- void ** procp = (void **) &disp->SecondaryColor3ubEXT;
- snprintf(symboln, sizeof(symboln), "%sSecondaryColor3ub", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sSecondaryColor3ub",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->SecondaryColor3ubEXT) {
+ void **procp = (void **) &disp->SecondaryColor3ubEXT;
- if(!disp->SecondaryColor3ubEXT) {
- void ** procp = (void **) &disp->SecondaryColor3ubEXT;
- snprintf(symboln, sizeof(symboln), "%sSecondaryColor3ubEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sSecondaryColor3ubEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->SecondaryColor3ubvEXT) {
+ void **procp = (void **) &disp->SecondaryColor3ubvEXT;
- if(!disp->SecondaryColor3ubvEXT) {
- void ** procp = (void **) &disp->SecondaryColor3ubvEXT;
- snprintf(symboln, sizeof(symboln), "%sSecondaryColor3ubv", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sSecondaryColor3ubv",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->SecondaryColor3ubvEXT) {
+ void **procp = (void **) &disp->SecondaryColor3ubvEXT;
- if(!disp->SecondaryColor3ubvEXT) {
- void ** procp = (void **) &disp->SecondaryColor3ubvEXT;
- snprintf(symboln, sizeof(symboln), "%sSecondaryColor3ubvEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sSecondaryColor3ubvEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->SecondaryColor3uiEXT) {
+ void **procp = (void **) &disp->SecondaryColor3uiEXT;
- if(!disp->SecondaryColor3uiEXT) {
- void ** procp = (void **) &disp->SecondaryColor3uiEXT;
- snprintf(symboln, sizeof(symboln), "%sSecondaryColor3ui", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sSecondaryColor3ui",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->SecondaryColor3uiEXT) {
+ void **procp = (void **) &disp->SecondaryColor3uiEXT;
- if(!disp->SecondaryColor3uiEXT) {
- void ** procp = (void **) &disp->SecondaryColor3uiEXT;
- snprintf(symboln, sizeof(symboln), "%sSecondaryColor3uiEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sSecondaryColor3uiEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->SecondaryColor3uivEXT) {
+ void **procp = (void **) &disp->SecondaryColor3uivEXT;
- if(!disp->SecondaryColor3uivEXT) {
- void ** procp = (void **) &disp->SecondaryColor3uivEXT;
- snprintf(symboln, sizeof(symboln), "%sSecondaryColor3uiv", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sSecondaryColor3uiv",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->SecondaryColor3uivEXT) {
+ void **procp = (void **) &disp->SecondaryColor3uivEXT;
- if(!disp->SecondaryColor3uivEXT) {
- void ** procp = (void **) &disp->SecondaryColor3uivEXT;
- snprintf(symboln, sizeof(symboln), "%sSecondaryColor3uivEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sSecondaryColor3uivEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->SecondaryColor3usEXT) {
+ void **procp = (void **) &disp->SecondaryColor3usEXT;
- if(!disp->SecondaryColor3usEXT) {
- void ** procp = (void **) &disp->SecondaryColor3usEXT;
- snprintf(symboln, sizeof(symboln), "%sSecondaryColor3us", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sSecondaryColor3us",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->SecondaryColor3usEXT) {
+ void **procp = (void **) &disp->SecondaryColor3usEXT;
- if(!disp->SecondaryColor3usEXT) {
- void ** procp = (void **) &disp->SecondaryColor3usEXT;
- snprintf(symboln, sizeof(symboln), "%sSecondaryColor3usEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sSecondaryColor3usEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->SecondaryColor3usvEXT) {
+ void **procp = (void **) &disp->SecondaryColor3usvEXT;
- if(!disp->SecondaryColor3usvEXT) {
- void ** procp = (void **) &disp->SecondaryColor3usvEXT;
- snprintf(symboln, sizeof(symboln), "%sSecondaryColor3usv", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sSecondaryColor3usv",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->SecondaryColor3usvEXT) {
+ void **procp = (void **) &disp->SecondaryColor3usvEXT;
- if(!disp->SecondaryColor3usvEXT) {
- void ** procp = (void **) &disp->SecondaryColor3usvEXT;
- snprintf(symboln, sizeof(symboln), "%sSecondaryColor3usvEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sSecondaryColor3usvEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->SecondaryColorPointerEXT) {
+ void **procp = (void **) &disp->SecondaryColorPointerEXT;
- if(!disp->SecondaryColorPointerEXT) {
- void ** procp = (void **) &disp->SecondaryColorPointerEXT;
- snprintf(symboln, sizeof(symboln), "%sSecondaryColorPointer", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sSecondaryColorPointer",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->SecondaryColorPointerEXT) {
+ void **procp = (void **) &disp->SecondaryColorPointerEXT;
- if(!disp->SecondaryColorPointerEXT) {
- void ** procp = (void **) &disp->SecondaryColorPointerEXT;
- snprintf(symboln, sizeof(symboln), "%sSecondaryColorPointerEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sSecondaryColorPointerEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MultiDrawArraysEXT) {
+ void **procp = (void **) &disp->MultiDrawArraysEXT;
- if(!disp->MultiDrawArraysEXT) {
- void ** procp = (void **) &disp->MultiDrawArraysEXT;
snprintf(symboln, sizeof(symboln), "%sMultiDrawArrays", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MultiDrawArraysEXT) {
+ void **procp = (void **) &disp->MultiDrawArraysEXT;
- if(!disp->MultiDrawArraysEXT) {
- void ** procp = (void **) &disp->MultiDrawArraysEXT;
- snprintf(symboln, sizeof(symboln), "%sMultiDrawArraysEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sMultiDrawArraysEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MultiDrawElementsEXT) {
+ void **procp = (void **) &disp->MultiDrawElementsEXT;
- if(!disp->MultiDrawElementsEXT) {
- void ** procp = (void **) &disp->MultiDrawElementsEXT;
- snprintf(symboln, sizeof(symboln), "%sMultiDrawElements", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sMultiDrawElements",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MultiDrawElementsEXT) {
+ void **procp = (void **) &disp->MultiDrawElementsEXT;
- if(!disp->MultiDrawElementsEXT) {
- void ** procp = (void **) &disp->MultiDrawElementsEXT;
- snprintf(symboln, sizeof(symboln), "%sMultiDrawElementsEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sMultiDrawElementsEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->FogCoordPointerEXT) {
+ void **procp = (void **) &disp->FogCoordPointerEXT;
- if(!disp->FogCoordPointerEXT) {
- void ** procp = (void **) &disp->FogCoordPointerEXT;
snprintf(symboln, sizeof(symboln), "%sFogCoordPointer", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->FogCoordPointerEXT) {
+ void **procp = (void **) &disp->FogCoordPointerEXT;
- if(!disp->FogCoordPointerEXT) {
- void ** procp = (void **) &disp->FogCoordPointerEXT;
- snprintf(symboln, sizeof(symboln), "%sFogCoordPointerEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sFogCoordPointerEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->FogCoorddEXT) {
+ void **procp = (void **) &disp->FogCoorddEXT;
- if(!disp->FogCoorddEXT) {
- void ** procp = (void **) &disp->FogCoorddEXT;
snprintf(symboln, sizeof(symboln), "%sFogCoordd", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->FogCoorddEXT) {
+ void **procp = (void **) &disp->FogCoorddEXT;
- if(!disp->FogCoorddEXT) {
- void ** procp = (void **) &disp->FogCoorddEXT;
snprintf(symboln, sizeof(symboln), "%sFogCoorddEXT", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->FogCoorddvEXT) {
+ void **procp = (void **) &disp->FogCoorddvEXT;
- if(!disp->FogCoorddvEXT) {
- void ** procp = (void **) &disp->FogCoorddvEXT;
snprintf(symboln, sizeof(symboln), "%sFogCoorddv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->FogCoorddvEXT) {
+ void **procp = (void **) &disp->FogCoorddvEXT;
- if(!disp->FogCoorddvEXT) {
- void ** procp = (void **) &disp->FogCoorddvEXT;
snprintf(symboln, sizeof(symboln), "%sFogCoorddvEXT", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->FogCoordfEXT) {
+ void **procp = (void **) &disp->FogCoordfEXT;
- if(!disp->FogCoordfEXT) {
- void ** procp = (void **) &disp->FogCoordfEXT;
snprintf(symboln, sizeof(symboln), "%sFogCoordf", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->FogCoordfEXT) {
+ void **procp = (void **) &disp->FogCoordfEXT;
- if(!disp->FogCoordfEXT) {
- void ** procp = (void **) &disp->FogCoordfEXT;
snprintf(symboln, sizeof(symboln), "%sFogCoordfEXT", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->FogCoordfvEXT) {
+ void **procp = (void **) &disp->FogCoordfvEXT;
- if(!disp->FogCoordfvEXT) {
- void ** procp = (void **) &disp->FogCoordfvEXT;
snprintf(symboln, sizeof(symboln), "%sFogCoordfv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->FogCoordfvEXT) {
+ void **procp = (void **) &disp->FogCoordfvEXT;
- if(!disp->FogCoordfvEXT) {
- void ** procp = (void **) &disp->FogCoordfvEXT;
snprintf(symboln, sizeof(symboln), "%sFogCoordfvEXT", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->PixelTexGenSGIX) {
+ void **procp = (void **) &disp->PixelTexGenSGIX;
- if(!disp->PixelTexGenSGIX) {
- void ** procp = (void **) &disp->PixelTexGenSGIX;
snprintf(symboln, sizeof(symboln), "%sPixelTexGenSGIX", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->BlendFuncSeparateEXT) {
+ void **procp = (void **) &disp->BlendFuncSeparateEXT;
- if(!disp->BlendFuncSeparateEXT) {
- void ** procp = (void **) &disp->BlendFuncSeparateEXT;
- snprintf(symboln, sizeof(symboln), "%sBlendFuncSeparate", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sBlendFuncSeparate",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->BlendFuncSeparateEXT) {
+ void **procp = (void **) &disp->BlendFuncSeparateEXT;
- if(!disp->BlendFuncSeparateEXT) {
- void ** procp = (void **) &disp->BlendFuncSeparateEXT;
- snprintf(symboln, sizeof(symboln), "%sBlendFuncSeparateEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sBlendFuncSeparateEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->BlendFuncSeparateEXT) {
+ void **procp = (void **) &disp->BlendFuncSeparateEXT;
- if(!disp->BlendFuncSeparateEXT) {
- void ** procp = (void **) &disp->BlendFuncSeparateEXT;
- snprintf(symboln, sizeof(symboln), "%sBlendFuncSeparateINGR", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sBlendFuncSeparateINGR",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->FlushVertexArrayRangeNV) {
+ void **procp = (void **) &disp->FlushVertexArrayRangeNV;
- if(!disp->FlushVertexArrayRangeNV) {
- void ** procp = (void **) &disp->FlushVertexArrayRangeNV;
- snprintf(symboln, sizeof(symboln), "%sFlushVertexArrayRangeNV", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sFlushVertexArrayRangeNV",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexArrayRangeNV) {
+ void **procp = (void **) &disp->VertexArrayRangeNV;
- if(!disp->VertexArrayRangeNV) {
- void ** procp = (void **) &disp->VertexArrayRangeNV;
- snprintf(symboln, sizeof(symboln), "%sVertexArrayRangeNV", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexArrayRangeNV",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->CombinerInputNV) {
+ void **procp = (void **) &disp->CombinerInputNV;
- if(!disp->CombinerInputNV) {
- void ** procp = (void **) &disp->CombinerInputNV;
snprintf(symboln, sizeof(symboln), "%sCombinerInputNV", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->CombinerOutputNV) {
+ void **procp = (void **) &disp->CombinerOutputNV;
- if(!disp->CombinerOutputNV) {
- void ** procp = (void **) &disp->CombinerOutputNV;
snprintf(symboln, sizeof(symboln), "%sCombinerOutputNV", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->CombinerParameterfNV) {
+ void **procp = (void **) &disp->CombinerParameterfNV;
- if(!disp->CombinerParameterfNV) {
- void ** procp = (void **) &disp->CombinerParameterfNV;
- snprintf(symboln, sizeof(symboln), "%sCombinerParameterfNV", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sCombinerParameterfNV",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->CombinerParameterfvNV) {
+ void **procp = (void **) &disp->CombinerParameterfvNV;
- if(!disp->CombinerParameterfvNV) {
- void ** procp = (void **) &disp->CombinerParameterfvNV;
- snprintf(symboln, sizeof(symboln), "%sCombinerParameterfvNV", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sCombinerParameterfvNV",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->CombinerParameteriNV) {
+ void **procp = (void **) &disp->CombinerParameteriNV;
- if(!disp->CombinerParameteriNV) {
- void ** procp = (void **) &disp->CombinerParameteriNV;
- snprintf(symboln, sizeof(symboln), "%sCombinerParameteriNV", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sCombinerParameteriNV",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->CombinerParameterivNV) {
+ void **procp = (void **) &disp->CombinerParameterivNV;
- if(!disp->CombinerParameterivNV) {
- void ** procp = (void **) &disp->CombinerParameterivNV;
- snprintf(symboln, sizeof(symboln), "%sCombinerParameterivNV", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sCombinerParameterivNV",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->FinalCombinerInputNV) {
+ void **procp = (void **) &disp->FinalCombinerInputNV;
- if(!disp->FinalCombinerInputNV) {
- void ** procp = (void **) &disp->FinalCombinerInputNV;
- snprintf(symboln, sizeof(symboln), "%sFinalCombinerInputNV", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sFinalCombinerInputNV",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetCombinerInputParameterfvNV) {
+ void **procp = (void **) &disp->GetCombinerInputParameterfvNV;
- if(!disp->GetCombinerInputParameterfvNV) {
- void ** procp = (void **) &disp->GetCombinerInputParameterfvNV;
- snprintf(symboln, sizeof(symboln), "%sGetCombinerInputParameterfvNV", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetCombinerInputParameterfvNV",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetCombinerInputParameterivNV) {
+ void **procp = (void **) &disp->GetCombinerInputParameterivNV;
- if(!disp->GetCombinerInputParameterivNV) {
- void ** procp = (void **) &disp->GetCombinerInputParameterivNV;
- snprintf(symboln, sizeof(symboln), "%sGetCombinerInputParameterivNV", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetCombinerInputParameterivNV",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetCombinerOutputParameterfvNV) {
+ void **procp = (void **) &disp->GetCombinerOutputParameterfvNV;
- if(!disp->GetCombinerOutputParameterfvNV) {
- void ** procp = (void **) &disp->GetCombinerOutputParameterfvNV;
- snprintf(symboln, sizeof(symboln), "%sGetCombinerOutputParameterfvNV", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetCombinerOutputParameterfvNV",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetCombinerOutputParameterivNV) {
+ void **procp = (void **) &disp->GetCombinerOutputParameterivNV;
- if(!disp->GetCombinerOutputParameterivNV) {
- void ** procp = (void **) &disp->GetCombinerOutputParameterivNV;
- snprintf(symboln, sizeof(symboln), "%sGetCombinerOutputParameterivNV", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetCombinerOutputParameterivNV",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetFinalCombinerInputParameterfvNV) {
+ void **procp = (void **) &disp->GetFinalCombinerInputParameterfvNV;
- if(!disp->GetFinalCombinerInputParameterfvNV) {
- void ** procp = (void **) &disp->GetFinalCombinerInputParameterfvNV;
- snprintf(symboln, sizeof(symboln), "%sGetFinalCombinerInputParameterfvNV", symbol_prefix);
+ snprintf(symboln, sizeof(symboln),
+ "%sGetFinalCombinerInputParameterfvNV", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetFinalCombinerInputParameterivNV) {
+ void **procp = (void **) &disp->GetFinalCombinerInputParameterivNV;
- if(!disp->GetFinalCombinerInputParameterivNV) {
- void ** procp = (void **) &disp->GetFinalCombinerInputParameterivNV;
- snprintf(symboln, sizeof(symboln), "%sGetFinalCombinerInputParameterivNV", symbol_prefix);
+ snprintf(symboln, sizeof(symboln),
+ "%sGetFinalCombinerInputParameterivNV", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ResizeBuffersMESA) {
+ void **procp = (void **) &disp->ResizeBuffersMESA;
- if(!disp->ResizeBuffersMESA) {
- void ** procp = (void **) &disp->ResizeBuffersMESA;
- snprintf(symboln, sizeof(symboln), "%sResizeBuffersMESA", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sResizeBuffersMESA",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->WindowPos2dMESA) {
+ void **procp = (void **) &disp->WindowPos2dMESA;
- if(!disp->WindowPos2dMESA) {
- void ** procp = (void **) &disp->WindowPos2dMESA;
snprintf(symboln, sizeof(symboln), "%sWindowPos2d", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->WindowPos2dMESA) {
+ void **procp = (void **) &disp->WindowPos2dMESA;
- if(!disp->WindowPos2dMESA) {
- void ** procp = (void **) &disp->WindowPos2dMESA;
snprintf(symboln, sizeof(symboln), "%sWindowPos2dARB", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->WindowPos2dMESA) {
+ void **procp = (void **) &disp->WindowPos2dMESA;
- if(!disp->WindowPos2dMESA) {
- void ** procp = (void **) &disp->WindowPos2dMESA;
snprintf(symboln, sizeof(symboln), "%sWindowPos2dMESA", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->WindowPos2dvMESA) {
+ void **procp = (void **) &disp->WindowPos2dvMESA;
- if(!disp->WindowPos2dvMESA) {
- void ** procp = (void **) &disp->WindowPos2dvMESA;
snprintf(symboln, sizeof(symboln), "%sWindowPos2dv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->WindowPos2dvMESA) {
+ void **procp = (void **) &disp->WindowPos2dvMESA;
- if(!disp->WindowPos2dvMESA) {
- void ** procp = (void **) &disp->WindowPos2dvMESA;
snprintf(symboln, sizeof(symboln), "%sWindowPos2dvARB", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->WindowPos2dvMESA) {
+ void **procp = (void **) &disp->WindowPos2dvMESA;
- if(!disp->WindowPos2dvMESA) {
- void ** procp = (void **) &disp->WindowPos2dvMESA;
snprintf(symboln, sizeof(symboln), "%sWindowPos2dvMESA", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->WindowPos2fMESA) {
+ void **procp = (void **) &disp->WindowPos2fMESA;
- if(!disp->WindowPos2fMESA) {
- void ** procp = (void **) &disp->WindowPos2fMESA;
snprintf(symboln, sizeof(symboln), "%sWindowPos2f", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->WindowPos2fMESA) {
+ void **procp = (void **) &disp->WindowPos2fMESA;
- if(!disp->WindowPos2fMESA) {
- void ** procp = (void **) &disp->WindowPos2fMESA;
snprintf(symboln, sizeof(symboln), "%sWindowPos2fARB", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->WindowPos2fMESA) {
+ void **procp = (void **) &disp->WindowPos2fMESA;
- if(!disp->WindowPos2fMESA) {
- void ** procp = (void **) &disp->WindowPos2fMESA;
snprintf(symboln, sizeof(symboln), "%sWindowPos2fMESA", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->WindowPos2fvMESA) {
+ void **procp = (void **) &disp->WindowPos2fvMESA;
- if(!disp->WindowPos2fvMESA) {
- void ** procp = (void **) &disp->WindowPos2fvMESA;
snprintf(symboln, sizeof(symboln), "%sWindowPos2fv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->WindowPos2fvMESA) {
+ void **procp = (void **) &disp->WindowPos2fvMESA;
- if(!disp->WindowPos2fvMESA) {
- void ** procp = (void **) &disp->WindowPos2fvMESA;
snprintf(symboln, sizeof(symboln), "%sWindowPos2fvARB", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->WindowPos2fvMESA) {
+ void **procp = (void **) &disp->WindowPos2fvMESA;
- if(!disp->WindowPos2fvMESA) {
- void ** procp = (void **) &disp->WindowPos2fvMESA;
snprintf(symboln, sizeof(symboln), "%sWindowPos2fvMESA", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->WindowPos2iMESA) {
+ void **procp = (void **) &disp->WindowPos2iMESA;
- if(!disp->WindowPos2iMESA) {
- void ** procp = (void **) &disp->WindowPos2iMESA;
snprintf(symboln, sizeof(symboln), "%sWindowPos2i", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->WindowPos2iMESA) {
+ void **procp = (void **) &disp->WindowPos2iMESA;
- if(!disp->WindowPos2iMESA) {
- void ** procp = (void **) &disp->WindowPos2iMESA;
snprintf(symboln, sizeof(symboln), "%sWindowPos2iARB", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->WindowPos2iMESA) {
+ void **procp = (void **) &disp->WindowPos2iMESA;
- if(!disp->WindowPos2iMESA) {
- void ** procp = (void **) &disp->WindowPos2iMESA;
snprintf(symboln, sizeof(symboln), "%sWindowPos2iMESA", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->WindowPos2ivMESA) {
+ void **procp = (void **) &disp->WindowPos2ivMESA;
- if(!disp->WindowPos2ivMESA) {
- void ** procp = (void **) &disp->WindowPos2ivMESA;
snprintf(symboln, sizeof(symboln), "%sWindowPos2iv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->WindowPos2ivMESA) {
+ void **procp = (void **) &disp->WindowPos2ivMESA;
- if(!disp->WindowPos2ivMESA) {
- void ** procp = (void **) &disp->WindowPos2ivMESA;
snprintf(symboln, sizeof(symboln), "%sWindowPos2ivARB", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->WindowPos2ivMESA) {
+ void **procp = (void **) &disp->WindowPos2ivMESA;
- if(!disp->WindowPos2ivMESA) {
- void ** procp = (void **) &disp->WindowPos2ivMESA;
snprintf(symboln, sizeof(symboln), "%sWindowPos2ivMESA", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->WindowPos2sMESA) {
+ void **procp = (void **) &disp->WindowPos2sMESA;
- if(!disp->WindowPos2sMESA) {
- void ** procp = (void **) &disp->WindowPos2sMESA;
snprintf(symboln, sizeof(symboln), "%sWindowPos2s", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->WindowPos2sMESA) {
+ void **procp = (void **) &disp->WindowPos2sMESA;
- if(!disp->WindowPos2sMESA) {
- void ** procp = (void **) &disp->WindowPos2sMESA;
snprintf(symboln, sizeof(symboln), "%sWindowPos2sARB", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->WindowPos2sMESA) {
+ void **procp = (void **) &disp->WindowPos2sMESA;
- if(!disp->WindowPos2sMESA) {
- void ** procp = (void **) &disp->WindowPos2sMESA;
snprintf(symboln, sizeof(symboln), "%sWindowPos2sMESA", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->WindowPos2svMESA) {
+ void **procp = (void **) &disp->WindowPos2svMESA;
- if(!disp->WindowPos2svMESA) {
- void ** procp = (void **) &disp->WindowPos2svMESA;
snprintf(symboln, sizeof(symboln), "%sWindowPos2sv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->WindowPos2svMESA) {
+ void **procp = (void **) &disp->WindowPos2svMESA;
- if(!disp->WindowPos2svMESA) {
- void ** procp = (void **) &disp->WindowPos2svMESA;
snprintf(symboln, sizeof(symboln), "%sWindowPos2svARB", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->WindowPos2svMESA) {
+ void **procp = (void **) &disp->WindowPos2svMESA;
- if(!disp->WindowPos2svMESA) {
- void ** procp = (void **) &disp->WindowPos2svMESA;
snprintf(symboln, sizeof(symboln), "%sWindowPos2svMESA", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->WindowPos3dMESA) {
+ void **procp = (void **) &disp->WindowPos3dMESA;
- if(!disp->WindowPos3dMESA) {
- void ** procp = (void **) &disp->WindowPos3dMESA;
snprintf(symboln, sizeof(symboln), "%sWindowPos3d", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->WindowPos3dMESA) {
+ void **procp = (void **) &disp->WindowPos3dMESA;
- if(!disp->WindowPos3dMESA) {
- void ** procp = (void **) &disp->WindowPos3dMESA;
snprintf(symboln, sizeof(symboln), "%sWindowPos3dARB", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->WindowPos3dMESA) {
+ void **procp = (void **) &disp->WindowPos3dMESA;
- if(!disp->WindowPos3dMESA) {
- void ** procp = (void **) &disp->WindowPos3dMESA;
snprintf(symboln, sizeof(symboln), "%sWindowPos3dMESA", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->WindowPos3dvMESA) {
+ void **procp = (void **) &disp->WindowPos3dvMESA;
- if(!disp->WindowPos3dvMESA) {
- void ** procp = (void **) &disp->WindowPos3dvMESA;
snprintf(symboln, sizeof(symboln), "%sWindowPos3dv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->WindowPos3dvMESA) {
+ void **procp = (void **) &disp->WindowPos3dvMESA;
- if(!disp->WindowPos3dvMESA) {
- void ** procp = (void **) &disp->WindowPos3dvMESA;
snprintf(symboln, sizeof(symboln), "%sWindowPos3dvARB", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->WindowPos3dvMESA) {
+ void **procp = (void **) &disp->WindowPos3dvMESA;
- if(!disp->WindowPos3dvMESA) {
- void ** procp = (void **) &disp->WindowPos3dvMESA;
snprintf(symboln, sizeof(symboln), "%sWindowPos3dvMESA", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->WindowPos3fMESA) {
+ void **procp = (void **) &disp->WindowPos3fMESA;
- if(!disp->WindowPos3fMESA) {
- void ** procp = (void **) &disp->WindowPos3fMESA;
snprintf(symboln, sizeof(symboln), "%sWindowPos3f", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->WindowPos3fMESA) {
+ void **procp = (void **) &disp->WindowPos3fMESA;
- if(!disp->WindowPos3fMESA) {
- void ** procp = (void **) &disp->WindowPos3fMESA;
snprintf(symboln, sizeof(symboln), "%sWindowPos3fARB", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->WindowPos3fMESA) {
+ void **procp = (void **) &disp->WindowPos3fMESA;
- if(!disp->WindowPos3fMESA) {
- void ** procp = (void **) &disp->WindowPos3fMESA;
snprintf(symboln, sizeof(symboln), "%sWindowPos3fMESA", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->WindowPos3fvMESA) {
+ void **procp = (void **) &disp->WindowPos3fvMESA;
- if(!disp->WindowPos3fvMESA) {
- void ** procp = (void **) &disp->WindowPos3fvMESA;
snprintf(symboln, sizeof(symboln), "%sWindowPos3fv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->WindowPos3fvMESA) {
+ void **procp = (void **) &disp->WindowPos3fvMESA;
- if(!disp->WindowPos3fvMESA) {
- void ** procp = (void **) &disp->WindowPos3fvMESA;
snprintf(symboln, sizeof(symboln), "%sWindowPos3fvARB", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->WindowPos3fvMESA) {
+ void **procp = (void **) &disp->WindowPos3fvMESA;
- if(!disp->WindowPos3fvMESA) {
- void ** procp = (void **) &disp->WindowPos3fvMESA;
snprintf(symboln, sizeof(symboln), "%sWindowPos3fvMESA", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->WindowPos3iMESA) {
+ void **procp = (void **) &disp->WindowPos3iMESA;
- if(!disp->WindowPos3iMESA) {
- void ** procp = (void **) &disp->WindowPos3iMESA;
snprintf(symboln, sizeof(symboln), "%sWindowPos3i", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->WindowPos3iMESA) {
+ void **procp = (void **) &disp->WindowPos3iMESA;
- if(!disp->WindowPos3iMESA) {
- void ** procp = (void **) &disp->WindowPos3iMESA;
snprintf(symboln, sizeof(symboln), "%sWindowPos3iARB", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->WindowPos3iMESA) {
+ void **procp = (void **) &disp->WindowPos3iMESA;
- if(!disp->WindowPos3iMESA) {
- void ** procp = (void **) &disp->WindowPos3iMESA;
snprintf(symboln, sizeof(symboln), "%sWindowPos3iMESA", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->WindowPos3ivMESA) {
+ void **procp = (void **) &disp->WindowPos3ivMESA;
- if(!disp->WindowPos3ivMESA) {
- void ** procp = (void **) &disp->WindowPos3ivMESA;
snprintf(symboln, sizeof(symboln), "%sWindowPos3iv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->WindowPos3ivMESA) {
+ void **procp = (void **) &disp->WindowPos3ivMESA;
- if(!disp->WindowPos3ivMESA) {
- void ** procp = (void **) &disp->WindowPos3ivMESA;
snprintf(symboln, sizeof(symboln), "%sWindowPos3ivARB", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->WindowPos3ivMESA) {
+ void **procp = (void **) &disp->WindowPos3ivMESA;
- if(!disp->WindowPos3ivMESA) {
- void ** procp = (void **) &disp->WindowPos3ivMESA;
snprintf(symboln, sizeof(symboln), "%sWindowPos3ivMESA", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->WindowPos3sMESA) {
+ void **procp = (void **) &disp->WindowPos3sMESA;
- if(!disp->WindowPos3sMESA) {
- void ** procp = (void **) &disp->WindowPos3sMESA;
snprintf(symboln, sizeof(symboln), "%sWindowPos3s", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->WindowPos3sMESA) {
+ void **procp = (void **) &disp->WindowPos3sMESA;
- if(!disp->WindowPos3sMESA) {
- void ** procp = (void **) &disp->WindowPos3sMESA;
snprintf(symboln, sizeof(symboln), "%sWindowPos3sARB", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->WindowPos3sMESA) {
+ void **procp = (void **) &disp->WindowPos3sMESA;
- if(!disp->WindowPos3sMESA) {
- void ** procp = (void **) &disp->WindowPos3sMESA;
snprintf(symboln, sizeof(symboln), "%sWindowPos3sMESA", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->WindowPos3svMESA) {
+ void **procp = (void **) &disp->WindowPos3svMESA;
- if(!disp->WindowPos3svMESA) {
- void ** procp = (void **) &disp->WindowPos3svMESA;
snprintf(symboln, sizeof(symboln), "%sWindowPos3sv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->WindowPos3svMESA) {
+ void **procp = (void **) &disp->WindowPos3svMESA;
- if(!disp->WindowPos3svMESA) {
- void ** procp = (void **) &disp->WindowPos3svMESA;
snprintf(symboln, sizeof(symboln), "%sWindowPos3svARB", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->WindowPos3svMESA) {
+ void **procp = (void **) &disp->WindowPos3svMESA;
- if(!disp->WindowPos3svMESA) {
- void ** procp = (void **) &disp->WindowPos3svMESA;
snprintf(symboln, sizeof(symboln), "%sWindowPos3svMESA", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->WindowPos4dMESA) {
+ void **procp = (void **) &disp->WindowPos4dMESA;
- if(!disp->WindowPos4dMESA) {
- void ** procp = (void **) &disp->WindowPos4dMESA;
snprintf(symboln, sizeof(symboln), "%sWindowPos4dMESA", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->WindowPos4dvMESA) {
+ void **procp = (void **) &disp->WindowPos4dvMESA;
- if(!disp->WindowPos4dvMESA) {
- void ** procp = (void **) &disp->WindowPos4dvMESA;
snprintf(symboln, sizeof(symboln), "%sWindowPos4dvMESA", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->WindowPos4fMESA) {
+ void **procp = (void **) &disp->WindowPos4fMESA;
- if(!disp->WindowPos4fMESA) {
- void ** procp = (void **) &disp->WindowPos4fMESA;
snprintf(symboln, sizeof(symboln), "%sWindowPos4fMESA", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->WindowPos4fvMESA) {
+ void **procp = (void **) &disp->WindowPos4fvMESA;
- if(!disp->WindowPos4fvMESA) {
- void ** procp = (void **) &disp->WindowPos4fvMESA;
snprintf(symboln, sizeof(symboln), "%sWindowPos4fvMESA", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->WindowPos4iMESA) {
+ void **procp = (void **) &disp->WindowPos4iMESA;
- if(!disp->WindowPos4iMESA) {
- void ** procp = (void **) &disp->WindowPos4iMESA;
snprintf(symboln, sizeof(symboln), "%sWindowPos4iMESA", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->WindowPos4ivMESA) {
+ void **procp = (void **) &disp->WindowPos4ivMESA;
- if(!disp->WindowPos4ivMESA) {
- void ** procp = (void **) &disp->WindowPos4ivMESA;
snprintf(symboln, sizeof(symboln), "%sWindowPos4ivMESA", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->WindowPos4sMESA) {
+ void **procp = (void **) &disp->WindowPos4sMESA;
- if(!disp->WindowPos4sMESA) {
- void ** procp = (void **) &disp->WindowPos4sMESA;
snprintf(symboln, sizeof(symboln), "%sWindowPos4sMESA", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->WindowPos4svMESA) {
+ void **procp = (void **) &disp->WindowPos4svMESA;
- if(!disp->WindowPos4svMESA) {
- void ** procp = (void **) &disp->WindowPos4svMESA;
snprintf(symboln, sizeof(symboln), "%sWindowPos4svMESA", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MultiModeDrawArraysIBM) {
+ void **procp = (void **) &disp->MultiModeDrawArraysIBM;
- if(!disp->MultiModeDrawArraysIBM) {
- void ** procp = (void **) &disp->MultiModeDrawArraysIBM;
- snprintf(symboln, sizeof(symboln), "%sMultiModeDrawArraysIBM", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sMultiModeDrawArraysIBM",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->MultiModeDrawElementsIBM) {
+ void **procp = (void **) &disp->MultiModeDrawElementsIBM;
- if(!disp->MultiModeDrawElementsIBM) {
- void ** procp = (void **) &disp->MultiModeDrawElementsIBM;
- snprintf(symboln, sizeof(symboln), "%sMultiModeDrawElementsIBM", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sMultiModeDrawElementsIBM",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->DeleteFencesNV) {
+ void **procp = (void **) &disp->DeleteFencesNV;
- if(!disp->DeleteFencesNV) {
- void ** procp = (void **) &disp->DeleteFencesNV;
snprintf(symboln, sizeof(symboln), "%sDeleteFencesNV", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->FinishFenceNV) {
+ void **procp = (void **) &disp->FinishFenceNV;
- if(!disp->FinishFenceNV) {
- void ** procp = (void **) &disp->FinishFenceNV;
snprintf(symboln, sizeof(symboln), "%sFinishFenceNV", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GenFencesNV) {
+ void **procp = (void **) &disp->GenFencesNV;
- if(!disp->GenFencesNV) {
- void ** procp = (void **) &disp->GenFencesNV;
snprintf(symboln, sizeof(symboln), "%sGenFencesNV", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetFenceivNV) {
+ void **procp = (void **) &disp->GetFenceivNV;
- if(!disp->GetFenceivNV) {
- void ** procp = (void **) &disp->GetFenceivNV;
snprintf(symboln, sizeof(symboln), "%sGetFenceivNV", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->IsFenceNV) {
+ void **procp = (void **) &disp->IsFenceNV;
- if(!disp->IsFenceNV) {
- void ** procp = (void **) &disp->IsFenceNV;
snprintf(symboln, sizeof(symboln), "%sIsFenceNV", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->SetFenceNV) {
+ void **procp = (void **) &disp->SetFenceNV;
- if(!disp->SetFenceNV) {
- void ** procp = (void **) &disp->SetFenceNV;
snprintf(symboln, sizeof(symboln), "%sSetFenceNV", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->TestFenceNV) {
+ void **procp = (void **) &disp->TestFenceNV;
- if(!disp->TestFenceNV) {
- void ** procp = (void **) &disp->TestFenceNV;
snprintf(symboln, sizeof(symboln), "%sTestFenceNV", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->AreProgramsResidentNV) {
+ void **procp = (void **) &disp->AreProgramsResidentNV;
- if(!disp->AreProgramsResidentNV) {
- void ** procp = (void **) &disp->AreProgramsResidentNV;
- snprintf(symboln, sizeof(symboln), "%sAreProgramsResidentNV", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sAreProgramsResidentNV",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->BindProgramNV) {
+ void **procp = (void **) &disp->BindProgramNV;
- if(!disp->BindProgramNV) {
- void ** procp = (void **) &disp->BindProgramNV;
snprintf(symboln, sizeof(symboln), "%sBindProgramARB", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->BindProgramNV) {
+ void **procp = (void **) &disp->BindProgramNV;
- if(!disp->BindProgramNV) {
- void ** procp = (void **) &disp->BindProgramNV;
snprintf(symboln, sizeof(symboln), "%sBindProgramNV", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->DeleteProgramsNV) {
+ void **procp = (void **) &disp->DeleteProgramsNV;
- if(!disp->DeleteProgramsNV) {
- void ** procp = (void **) &disp->DeleteProgramsNV;
- snprintf(symboln, sizeof(symboln), "%sDeleteProgramsARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sDeleteProgramsARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->DeleteProgramsNV) {
+ void **procp = (void **) &disp->DeleteProgramsNV;
- if(!disp->DeleteProgramsNV) {
- void ** procp = (void **) &disp->DeleteProgramsNV;
snprintf(symboln, sizeof(symboln), "%sDeleteProgramsNV", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ExecuteProgramNV) {
+ void **procp = (void **) &disp->ExecuteProgramNV;
- if(!disp->ExecuteProgramNV) {
- void ** procp = (void **) &disp->ExecuteProgramNV;
snprintf(symboln, sizeof(symboln), "%sExecuteProgramNV", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GenProgramsNV) {
+ void **procp = (void **) &disp->GenProgramsNV;
- if(!disp->GenProgramsNV) {
- void ** procp = (void **) &disp->GenProgramsNV;
snprintf(symboln, sizeof(symboln), "%sGenProgramsARB", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GenProgramsNV) {
+ void **procp = (void **) &disp->GenProgramsNV;
- if(!disp->GenProgramsNV) {
- void ** procp = (void **) &disp->GenProgramsNV;
snprintf(symboln, sizeof(symboln), "%sGenProgramsNV", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetProgramParameterdvNV) {
+ void **procp = (void **) &disp->GetProgramParameterdvNV;
- if(!disp->GetProgramParameterdvNV) {
- void ** procp = (void **) &disp->GetProgramParameterdvNV;
- snprintf(symboln, sizeof(symboln), "%sGetProgramParameterdvNV", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetProgramParameterdvNV",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetProgramParameterfvNV) {
+ void **procp = (void **) &disp->GetProgramParameterfvNV;
- if(!disp->GetProgramParameterfvNV) {
- void ** procp = (void **) &disp->GetProgramParameterfvNV;
- snprintf(symboln, sizeof(symboln), "%sGetProgramParameterfvNV", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetProgramParameterfvNV",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetProgramStringNV) {
+ void **procp = (void **) &disp->GetProgramStringNV;
- if(!disp->GetProgramStringNV) {
- void ** procp = (void **) &disp->GetProgramStringNV;
- snprintf(symboln, sizeof(symboln), "%sGetProgramStringNV", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetProgramStringNV",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetProgramivNV) {
+ void **procp = (void **) &disp->GetProgramivNV;
- if(!disp->GetProgramivNV) {
- void ** procp = (void **) &disp->GetProgramivNV;
snprintf(symboln, sizeof(symboln), "%sGetProgramivNV", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetTrackMatrixivNV) {
+ void **procp = (void **) &disp->GetTrackMatrixivNV;
- if(!disp->GetTrackMatrixivNV) {
- void ** procp = (void **) &disp->GetTrackMatrixivNV;
- snprintf(symboln, sizeof(symboln), "%sGetTrackMatrixivNV", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetTrackMatrixivNV",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetVertexAttribPointervNV) {
+ void **procp = (void **) &disp->GetVertexAttribPointervNV;
- if(!disp->GetVertexAttribPointervNV) {
- void ** procp = (void **) &disp->GetVertexAttribPointervNV;
- snprintf(symboln, sizeof(symboln), "%sGetVertexAttribPointerv", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetVertexAttribPointerv",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetVertexAttribPointervNV) {
+ void **procp = (void **) &disp->GetVertexAttribPointervNV;
- if(!disp->GetVertexAttribPointervNV) {
- void ** procp = (void **) &disp->GetVertexAttribPointervNV;
- snprintf(symboln, sizeof(symboln), "%sGetVertexAttribPointervARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetVertexAttribPointervARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetVertexAttribPointervNV) {
+ void **procp = (void **) &disp->GetVertexAttribPointervNV;
- if(!disp->GetVertexAttribPointervNV) {
- void ** procp = (void **) &disp->GetVertexAttribPointervNV;
- snprintf(symboln, sizeof(symboln), "%sGetVertexAttribPointervNV", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetVertexAttribPointervNV",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetVertexAttribdvNV) {
+ void **procp = (void **) &disp->GetVertexAttribdvNV;
- if(!disp->GetVertexAttribdvNV) {
- void ** procp = (void **) &disp->GetVertexAttribdvNV;
- snprintf(symboln, sizeof(symboln), "%sGetVertexAttribdvNV", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetVertexAttribdvNV",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetVertexAttribfvNV) {
+ void **procp = (void **) &disp->GetVertexAttribfvNV;
- if(!disp->GetVertexAttribfvNV) {
- void ** procp = (void **) &disp->GetVertexAttribfvNV;
- snprintf(symboln, sizeof(symboln), "%sGetVertexAttribfvNV", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetVertexAttribfvNV",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetVertexAttribivNV) {
+ void **procp = (void **) &disp->GetVertexAttribivNV;
- if(!disp->GetVertexAttribivNV) {
- void ** procp = (void **) &disp->GetVertexAttribivNV;
- snprintf(symboln, sizeof(symboln), "%sGetVertexAttribivNV", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetVertexAttribivNV",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->IsProgramNV) {
+ void **procp = (void **) &disp->IsProgramNV;
- if(!disp->IsProgramNV) {
- void ** procp = (void **) &disp->IsProgramNV;
snprintf(symboln, sizeof(symboln), "%sIsProgramARB", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->IsProgramNV) {
+ void **procp = (void **) &disp->IsProgramNV;
- if(!disp->IsProgramNV) {
- void ** procp = (void **) &disp->IsProgramNV;
snprintf(symboln, sizeof(symboln), "%sIsProgramNV", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->LoadProgramNV) {
+ void **procp = (void **) &disp->LoadProgramNV;
- if(!disp->LoadProgramNV) {
- void ** procp = (void **) &disp->LoadProgramNV;
snprintf(symboln, sizeof(symboln), "%sLoadProgramNV", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ProgramParameters4dvNV) {
+ void **procp = (void **) &disp->ProgramParameters4dvNV;
- if(!disp->ProgramParameters4dvNV) {
- void ** procp = (void **) &disp->ProgramParameters4dvNV;
- snprintf(symboln, sizeof(symboln), "%sProgramParameters4dvNV", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sProgramParameters4dvNV",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ProgramParameters4fvNV) {
+ void **procp = (void **) &disp->ProgramParameters4fvNV;
- if(!disp->ProgramParameters4fvNV) {
- void ** procp = (void **) &disp->ProgramParameters4fvNV;
- snprintf(symboln, sizeof(symboln), "%sProgramParameters4fvNV", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sProgramParameters4fvNV",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->RequestResidentProgramsNV) {
+ void **procp = (void **) &disp->RequestResidentProgramsNV;
- if(!disp->RequestResidentProgramsNV) {
- void ** procp = (void **) &disp->RequestResidentProgramsNV;
- snprintf(symboln, sizeof(symboln), "%sRequestResidentProgramsNV", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sRequestResidentProgramsNV",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->TrackMatrixNV) {
+ void **procp = (void **) &disp->TrackMatrixNV;
- if(!disp->TrackMatrixNV) {
- void ** procp = (void **) &disp->TrackMatrixNV;
snprintf(symboln, sizeof(symboln), "%sTrackMatrixNV", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib1dNV) {
+ void **procp = (void **) &disp->VertexAttrib1dNV;
- if(!disp->VertexAttrib1dNV) {
- void ** procp = (void **) &disp->VertexAttrib1dNV;
snprintf(symboln, sizeof(symboln), "%sVertexAttrib1dNV", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib1dvNV) {
+ void **procp = (void **) &disp->VertexAttrib1dvNV;
- if(!disp->VertexAttrib1dvNV) {
- void ** procp = (void **) &disp->VertexAttrib1dvNV;
- snprintf(symboln, sizeof(symboln), "%sVertexAttrib1dvNV", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib1dvNV",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib1fNV) {
+ void **procp = (void **) &disp->VertexAttrib1fNV;
- if(!disp->VertexAttrib1fNV) {
- void ** procp = (void **) &disp->VertexAttrib1fNV;
snprintf(symboln, sizeof(symboln), "%sVertexAttrib1fNV", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib1fvNV) {
+ void **procp = (void **) &disp->VertexAttrib1fvNV;
- if(!disp->VertexAttrib1fvNV) {
- void ** procp = (void **) &disp->VertexAttrib1fvNV;
- snprintf(symboln, sizeof(symboln), "%sVertexAttrib1fvNV", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib1fvNV",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib1sNV) {
+ void **procp = (void **) &disp->VertexAttrib1sNV;
- if(!disp->VertexAttrib1sNV) {
- void ** procp = (void **) &disp->VertexAttrib1sNV;
snprintf(symboln, sizeof(symboln), "%sVertexAttrib1sNV", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib1svNV) {
+ void **procp = (void **) &disp->VertexAttrib1svNV;
- if(!disp->VertexAttrib1svNV) {
- void ** procp = (void **) &disp->VertexAttrib1svNV;
- snprintf(symboln, sizeof(symboln), "%sVertexAttrib1svNV", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib1svNV",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib2dNV) {
+ void **procp = (void **) &disp->VertexAttrib2dNV;
- if(!disp->VertexAttrib2dNV) {
- void ** procp = (void **) &disp->VertexAttrib2dNV;
snprintf(symboln, sizeof(symboln), "%sVertexAttrib2dNV", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib2dvNV) {
+ void **procp = (void **) &disp->VertexAttrib2dvNV;
- if(!disp->VertexAttrib2dvNV) {
- void ** procp = (void **) &disp->VertexAttrib2dvNV;
- snprintf(symboln, sizeof(symboln), "%sVertexAttrib2dvNV", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib2dvNV",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib2fNV) {
+ void **procp = (void **) &disp->VertexAttrib2fNV;
- if(!disp->VertexAttrib2fNV) {
- void ** procp = (void **) &disp->VertexAttrib2fNV;
snprintf(symboln, sizeof(symboln), "%sVertexAttrib2fNV", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib2fvNV) {
+ void **procp = (void **) &disp->VertexAttrib2fvNV;
- if(!disp->VertexAttrib2fvNV) {
- void ** procp = (void **) &disp->VertexAttrib2fvNV;
- snprintf(symboln, sizeof(symboln), "%sVertexAttrib2fvNV", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib2fvNV",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib2sNV) {
+ void **procp = (void **) &disp->VertexAttrib2sNV;
- if(!disp->VertexAttrib2sNV) {
- void ** procp = (void **) &disp->VertexAttrib2sNV;
snprintf(symboln, sizeof(symboln), "%sVertexAttrib2sNV", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib2svNV) {
+ void **procp = (void **) &disp->VertexAttrib2svNV;
- if(!disp->VertexAttrib2svNV) {
- void ** procp = (void **) &disp->VertexAttrib2svNV;
- snprintf(symboln, sizeof(symboln), "%sVertexAttrib2svNV", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib2svNV",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib3dNV) {
+ void **procp = (void **) &disp->VertexAttrib3dNV;
- if(!disp->VertexAttrib3dNV) {
- void ** procp = (void **) &disp->VertexAttrib3dNV;
snprintf(symboln, sizeof(symboln), "%sVertexAttrib3dNV", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib3dvNV) {
+ void **procp = (void **) &disp->VertexAttrib3dvNV;
- if(!disp->VertexAttrib3dvNV) {
- void ** procp = (void **) &disp->VertexAttrib3dvNV;
- snprintf(symboln, sizeof(symboln), "%sVertexAttrib3dvNV", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib3dvNV",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib3fNV) {
+ void **procp = (void **) &disp->VertexAttrib3fNV;
- if(!disp->VertexAttrib3fNV) {
- void ** procp = (void **) &disp->VertexAttrib3fNV;
snprintf(symboln, sizeof(symboln), "%sVertexAttrib3fNV", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib3fvNV) {
+ void **procp = (void **) &disp->VertexAttrib3fvNV;
- if(!disp->VertexAttrib3fvNV) {
- void ** procp = (void **) &disp->VertexAttrib3fvNV;
- snprintf(symboln, sizeof(symboln), "%sVertexAttrib3fvNV", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib3fvNV",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib3sNV) {
+ void **procp = (void **) &disp->VertexAttrib3sNV;
- if(!disp->VertexAttrib3sNV) {
- void ** procp = (void **) &disp->VertexAttrib3sNV;
snprintf(symboln, sizeof(symboln), "%sVertexAttrib3sNV", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib3svNV) {
+ void **procp = (void **) &disp->VertexAttrib3svNV;
- if(!disp->VertexAttrib3svNV) {
- void ** procp = (void **) &disp->VertexAttrib3svNV;
- snprintf(symboln, sizeof(symboln), "%sVertexAttrib3svNV", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib3svNV",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib4dNV) {
+ void **procp = (void **) &disp->VertexAttrib4dNV;
- if(!disp->VertexAttrib4dNV) {
- void ** procp = (void **) &disp->VertexAttrib4dNV;
snprintf(symboln, sizeof(symboln), "%sVertexAttrib4dNV", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib4dvNV) {
+ void **procp = (void **) &disp->VertexAttrib4dvNV;
- if(!disp->VertexAttrib4dvNV) {
- void ** procp = (void **) &disp->VertexAttrib4dvNV;
- snprintf(symboln, sizeof(symboln), "%sVertexAttrib4dvNV", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib4dvNV",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib4fNV) {
+ void **procp = (void **) &disp->VertexAttrib4fNV;
- if(!disp->VertexAttrib4fNV) {
- void ** procp = (void **) &disp->VertexAttrib4fNV;
snprintf(symboln, sizeof(symboln), "%sVertexAttrib4fNV", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib4fvNV) {
+ void **procp = (void **) &disp->VertexAttrib4fvNV;
- if(!disp->VertexAttrib4fvNV) {
- void ** procp = (void **) &disp->VertexAttrib4fvNV;
- snprintf(symboln, sizeof(symboln), "%sVertexAttrib4fvNV", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib4fvNV",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib4sNV) {
+ void **procp = (void **) &disp->VertexAttrib4sNV;
- if(!disp->VertexAttrib4sNV) {
- void ** procp = (void **) &disp->VertexAttrib4sNV;
snprintf(symboln, sizeof(symboln), "%sVertexAttrib4sNV", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib4svNV) {
+ void **procp = (void **) &disp->VertexAttrib4svNV;
- if(!disp->VertexAttrib4svNV) {
- void ** procp = (void **) &disp->VertexAttrib4svNV;
- snprintf(symboln, sizeof(symboln), "%sVertexAttrib4svNV", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib4svNV",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib4ubNV) {
+ void **procp = (void **) &disp->VertexAttrib4ubNV;
- if(!disp->VertexAttrib4ubNV) {
- void ** procp = (void **) &disp->VertexAttrib4ubNV;
- snprintf(symboln, sizeof(symboln), "%sVertexAttrib4ubNV", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib4ubNV",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttrib4ubvNV) {
+ void **procp = (void **) &disp->VertexAttrib4ubvNV;
- if(!disp->VertexAttrib4ubvNV) {
- void ** procp = (void **) &disp->VertexAttrib4ubvNV;
- snprintf(symboln, sizeof(symboln), "%sVertexAttrib4ubvNV", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttrib4ubvNV",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttribPointerNV) {
+ void **procp = (void **) &disp->VertexAttribPointerNV;
- if(!disp->VertexAttribPointerNV) {
- void ** procp = (void **) &disp->VertexAttribPointerNV;
- snprintf(symboln, sizeof(symboln), "%sVertexAttribPointerNV", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribPointerNV",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttribs1dvNV) {
+ void **procp = (void **) &disp->VertexAttribs1dvNV;
- if(!disp->VertexAttribs1dvNV) {
- void ** procp = (void **) &disp->VertexAttribs1dvNV;
- snprintf(symboln, sizeof(symboln), "%sVertexAttribs1dvNV", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribs1dvNV",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttribs1fvNV) {
+ void **procp = (void **) &disp->VertexAttribs1fvNV;
- if(!disp->VertexAttribs1fvNV) {
- void ** procp = (void **) &disp->VertexAttribs1fvNV;
- snprintf(symboln, sizeof(symboln), "%sVertexAttribs1fvNV", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribs1fvNV",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttribs1svNV) {
+ void **procp = (void **) &disp->VertexAttribs1svNV;
- if(!disp->VertexAttribs1svNV) {
- void ** procp = (void **) &disp->VertexAttribs1svNV;
- snprintf(symboln, sizeof(symboln), "%sVertexAttribs1svNV", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribs1svNV",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttribs2dvNV) {
+ void **procp = (void **) &disp->VertexAttribs2dvNV;
- if(!disp->VertexAttribs2dvNV) {
- void ** procp = (void **) &disp->VertexAttribs2dvNV;
- snprintf(symboln, sizeof(symboln), "%sVertexAttribs2dvNV", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribs2dvNV",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttribs2fvNV) {
+ void **procp = (void **) &disp->VertexAttribs2fvNV;
- if(!disp->VertexAttribs2fvNV) {
- void ** procp = (void **) &disp->VertexAttribs2fvNV;
- snprintf(symboln, sizeof(symboln), "%sVertexAttribs2fvNV", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribs2fvNV",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttribs2svNV) {
+ void **procp = (void **) &disp->VertexAttribs2svNV;
- if(!disp->VertexAttribs2svNV) {
- void ** procp = (void **) &disp->VertexAttribs2svNV;
- snprintf(symboln, sizeof(symboln), "%sVertexAttribs2svNV", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribs2svNV",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttribs3dvNV) {
+ void **procp = (void **) &disp->VertexAttribs3dvNV;
- if(!disp->VertexAttribs3dvNV) {
- void ** procp = (void **) &disp->VertexAttribs3dvNV;
- snprintf(symboln, sizeof(symboln), "%sVertexAttribs3dvNV", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribs3dvNV",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttribs3fvNV) {
+ void **procp = (void **) &disp->VertexAttribs3fvNV;
- if(!disp->VertexAttribs3fvNV) {
- void ** procp = (void **) &disp->VertexAttribs3fvNV;
- snprintf(symboln, sizeof(symboln), "%sVertexAttribs3fvNV", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribs3fvNV",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttribs3svNV) {
+ void **procp = (void **) &disp->VertexAttribs3svNV;
- if(!disp->VertexAttribs3svNV) {
- void ** procp = (void **) &disp->VertexAttribs3svNV;
- snprintf(symboln, sizeof(symboln), "%sVertexAttribs3svNV", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribs3svNV",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttribs4dvNV) {
+ void **procp = (void **) &disp->VertexAttribs4dvNV;
- if(!disp->VertexAttribs4dvNV) {
- void ** procp = (void **) &disp->VertexAttribs4dvNV;
- snprintf(symboln, sizeof(symboln), "%sVertexAttribs4dvNV", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribs4dvNV",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttribs4fvNV) {
+ void **procp = (void **) &disp->VertexAttribs4fvNV;
- if(!disp->VertexAttribs4fvNV) {
- void ** procp = (void **) &disp->VertexAttribs4fvNV;
- snprintf(symboln, sizeof(symboln), "%sVertexAttribs4fvNV", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribs4fvNV",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttribs4svNV) {
+ void **procp = (void **) &disp->VertexAttribs4svNV;
- if(!disp->VertexAttribs4svNV) {
- void ** procp = (void **) &disp->VertexAttribs4svNV;
- snprintf(symboln, sizeof(symboln), "%sVertexAttribs4svNV", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribs4svNV",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttribs4ubvNV) {
+ void **procp = (void **) &disp->VertexAttribs4ubvNV;
- if(!disp->VertexAttribs4ubvNV) {
- void ** procp = (void **) &disp->VertexAttribs4ubvNV;
- snprintf(symboln, sizeof(symboln), "%sVertexAttribs4ubvNV", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribs4ubvNV",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetTexBumpParameterfvATI) {
+ void **procp = (void **) &disp->GetTexBumpParameterfvATI;
- if(!disp->GetTexBumpParameterfvATI) {
- void ** procp = (void **) &disp->GetTexBumpParameterfvATI;
- snprintf(symboln, sizeof(symboln), "%sGetTexBumpParameterfvATI", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetTexBumpParameterfvATI",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetTexBumpParameterivATI) {
+ void **procp = (void **) &disp->GetTexBumpParameterivATI;
- if(!disp->GetTexBumpParameterivATI) {
- void ** procp = (void **) &disp->GetTexBumpParameterivATI;
- snprintf(symboln, sizeof(symboln), "%sGetTexBumpParameterivATI", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetTexBumpParameterivATI",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->TexBumpParameterfvATI) {
+ void **procp = (void **) &disp->TexBumpParameterfvATI;
- if(!disp->TexBumpParameterfvATI) {
- void ** procp = (void **) &disp->TexBumpParameterfvATI;
- snprintf(symboln, sizeof(symboln), "%sTexBumpParameterfvATI", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sTexBumpParameterfvATI",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->TexBumpParameterivATI) {
+ void **procp = (void **) &disp->TexBumpParameterivATI;
- if(!disp->TexBumpParameterivATI) {
- void ** procp = (void **) &disp->TexBumpParameterivATI;
- snprintf(symboln, sizeof(symboln), "%sTexBumpParameterivATI", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sTexBumpParameterivATI",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->AlphaFragmentOp1ATI) {
+ void **procp = (void **) &disp->AlphaFragmentOp1ATI;
- if(!disp->AlphaFragmentOp1ATI) {
- void ** procp = (void **) &disp->AlphaFragmentOp1ATI;
- snprintf(symboln, sizeof(symboln), "%sAlphaFragmentOp1ATI", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sAlphaFragmentOp1ATI",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->AlphaFragmentOp2ATI) {
+ void **procp = (void **) &disp->AlphaFragmentOp2ATI;
- if(!disp->AlphaFragmentOp2ATI) {
- void ** procp = (void **) &disp->AlphaFragmentOp2ATI;
- snprintf(symboln, sizeof(symboln), "%sAlphaFragmentOp2ATI", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sAlphaFragmentOp2ATI",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->AlphaFragmentOp3ATI) {
+ void **procp = (void **) &disp->AlphaFragmentOp3ATI;
- if(!disp->AlphaFragmentOp3ATI) {
- void ** procp = (void **) &disp->AlphaFragmentOp3ATI;
- snprintf(symboln, sizeof(symboln), "%sAlphaFragmentOp3ATI", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sAlphaFragmentOp3ATI",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->BeginFragmentShaderATI) {
+ void **procp = (void **) &disp->BeginFragmentShaderATI;
- if(!disp->BeginFragmentShaderATI) {
- void ** procp = (void **) &disp->BeginFragmentShaderATI;
- snprintf(symboln, sizeof(symboln), "%sBeginFragmentShaderATI", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sBeginFragmentShaderATI",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->BindFragmentShaderATI) {
+ void **procp = (void **) &disp->BindFragmentShaderATI;
- if(!disp->BindFragmentShaderATI) {
- void ** procp = (void **) &disp->BindFragmentShaderATI;
- snprintf(symboln, sizeof(symboln), "%sBindFragmentShaderATI", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sBindFragmentShaderATI",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ColorFragmentOp1ATI) {
+ void **procp = (void **) &disp->ColorFragmentOp1ATI;
- if(!disp->ColorFragmentOp1ATI) {
- void ** procp = (void **) &disp->ColorFragmentOp1ATI;
- snprintf(symboln, sizeof(symboln), "%sColorFragmentOp1ATI", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sColorFragmentOp1ATI",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ColorFragmentOp2ATI) {
+ void **procp = (void **) &disp->ColorFragmentOp2ATI;
- if(!disp->ColorFragmentOp2ATI) {
- void ** procp = (void **) &disp->ColorFragmentOp2ATI;
- snprintf(symboln, sizeof(symboln), "%sColorFragmentOp2ATI", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sColorFragmentOp2ATI",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ColorFragmentOp3ATI) {
+ void **procp = (void **) &disp->ColorFragmentOp3ATI;
- if(!disp->ColorFragmentOp3ATI) {
- void ** procp = (void **) &disp->ColorFragmentOp3ATI;
- snprintf(symboln, sizeof(symboln), "%sColorFragmentOp3ATI", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sColorFragmentOp3ATI",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->DeleteFragmentShaderATI) {
+ void **procp = (void **) &disp->DeleteFragmentShaderATI;
- if(!disp->DeleteFragmentShaderATI) {
- void ** procp = (void **) &disp->DeleteFragmentShaderATI;
- snprintf(symboln, sizeof(symboln), "%sDeleteFragmentShaderATI", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sDeleteFragmentShaderATI",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->EndFragmentShaderATI) {
+ void **procp = (void **) &disp->EndFragmentShaderATI;
- if(!disp->EndFragmentShaderATI) {
- void ** procp = (void **) &disp->EndFragmentShaderATI;
- snprintf(symboln, sizeof(symboln), "%sEndFragmentShaderATI", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sEndFragmentShaderATI",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GenFragmentShadersATI) {
+ void **procp = (void **) &disp->GenFragmentShadersATI;
- if(!disp->GenFragmentShadersATI) {
- void ** procp = (void **) &disp->GenFragmentShadersATI;
- snprintf(symboln, sizeof(symboln), "%sGenFragmentShadersATI", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGenFragmentShadersATI",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->PassTexCoordATI) {
+ void **procp = (void **) &disp->PassTexCoordATI;
- if(!disp->PassTexCoordATI) {
- void ** procp = (void **) &disp->PassTexCoordATI;
snprintf(symboln, sizeof(symboln), "%sPassTexCoordATI", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->SampleMapATI) {
+ void **procp = (void **) &disp->SampleMapATI;
- if(!disp->SampleMapATI) {
- void ** procp = (void **) &disp->SampleMapATI;
snprintf(symboln, sizeof(symboln), "%sSampleMapATI", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->SetFragmentShaderConstantATI) {
+ void **procp = (void **) &disp->SetFragmentShaderConstantATI;
- if(!disp->SetFragmentShaderConstantATI) {
- void ** procp = (void **) &disp->SetFragmentShaderConstantATI;
- snprintf(symboln, sizeof(symboln), "%sSetFragmentShaderConstantATI", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sSetFragmentShaderConstantATI",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->PointParameteriNV) {
+ void **procp = (void **) &disp->PointParameteriNV;
- if(!disp->PointParameteriNV) {
- void ** procp = (void **) &disp->PointParameteriNV;
snprintf(symboln, sizeof(symboln), "%sPointParameteri", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->PointParameteriNV) {
+ void **procp = (void **) &disp->PointParameteriNV;
- if(!disp->PointParameteriNV) {
- void ** procp = (void **) &disp->PointParameteriNV;
- snprintf(symboln, sizeof(symboln), "%sPointParameteriNV", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sPointParameteriNV",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->PointParameterivNV) {
+ void **procp = (void **) &disp->PointParameterivNV;
- if(!disp->PointParameterivNV) {
- void ** procp = (void **) &disp->PointParameterivNV;
snprintf(symboln, sizeof(symboln), "%sPointParameteriv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->PointParameterivNV) {
+ void **procp = (void **) &disp->PointParameterivNV;
- if(!disp->PointParameterivNV) {
- void ** procp = (void **) &disp->PointParameterivNV;
- snprintf(symboln, sizeof(symboln), "%sPointParameterivNV", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sPointParameterivNV",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ActiveStencilFaceEXT) {
+ void **procp = (void **) &disp->ActiveStencilFaceEXT;
- if(!disp->ActiveStencilFaceEXT) {
- void ** procp = (void **) &disp->ActiveStencilFaceEXT;
- snprintf(symboln, sizeof(symboln), "%sActiveStencilFaceEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sActiveStencilFaceEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->BindVertexArrayAPPLE) {
+ void **procp = (void **) &disp->BindVertexArrayAPPLE;
- if(!disp->BindVertexArrayAPPLE) {
- void ** procp = (void **) &disp->BindVertexArrayAPPLE;
- snprintf(symboln, sizeof(symboln), "%sBindVertexArrayAPPLE", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sBindVertexArrayAPPLE",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->DeleteVertexArraysAPPLE) {
+ void **procp = (void **) &disp->DeleteVertexArraysAPPLE;
- if(!disp->DeleteVertexArraysAPPLE) {
- void ** procp = (void **) &disp->DeleteVertexArraysAPPLE;
- snprintf(symboln, sizeof(symboln), "%sDeleteVertexArrays", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sDeleteVertexArrays",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->DeleteVertexArraysAPPLE) {
+ void **procp = (void **) &disp->DeleteVertexArraysAPPLE;
- if(!disp->DeleteVertexArraysAPPLE) {
- void ** procp = (void **) &disp->DeleteVertexArraysAPPLE;
- snprintf(symboln, sizeof(symboln), "%sDeleteVertexArraysAPPLE", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sDeleteVertexArraysAPPLE",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GenVertexArraysAPPLE) {
+ void **procp = (void **) &disp->GenVertexArraysAPPLE;
- if(!disp->GenVertexArraysAPPLE) {
- void ** procp = (void **) &disp->GenVertexArraysAPPLE;
- snprintf(symboln, sizeof(symboln), "%sGenVertexArraysAPPLE", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGenVertexArraysAPPLE",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->IsVertexArrayAPPLE) {
+ void **procp = (void **) &disp->IsVertexArrayAPPLE;
- if(!disp->IsVertexArrayAPPLE) {
- void ** procp = (void **) &disp->IsVertexArrayAPPLE;
snprintf(symboln, sizeof(symboln), "%sIsVertexArray", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->IsVertexArrayAPPLE) {
+ void **procp = (void **) &disp->IsVertexArrayAPPLE;
- if(!disp->IsVertexArrayAPPLE) {
- void ** procp = (void **) &disp->IsVertexArrayAPPLE;
- snprintf(symboln, sizeof(symboln), "%sIsVertexArrayAPPLE", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sIsVertexArrayAPPLE",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetProgramNamedParameterdvNV) {
+ void **procp = (void **) &disp->GetProgramNamedParameterdvNV;
- if(!disp->GetProgramNamedParameterdvNV) {
- void ** procp = (void **) &disp->GetProgramNamedParameterdvNV;
- snprintf(symboln, sizeof(symboln), "%sGetProgramNamedParameterdvNV", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetProgramNamedParameterdvNV",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetProgramNamedParameterfvNV) {
+ void **procp = (void **) &disp->GetProgramNamedParameterfvNV;
- if(!disp->GetProgramNamedParameterfvNV) {
- void ** procp = (void **) &disp->GetProgramNamedParameterfvNV;
- snprintf(symboln, sizeof(symboln), "%sGetProgramNamedParameterfvNV", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetProgramNamedParameterfvNV",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ProgramNamedParameter4dNV) {
+ void **procp = (void **) &disp->ProgramNamedParameter4dNV;
- if(!disp->ProgramNamedParameter4dNV) {
- void ** procp = (void **) &disp->ProgramNamedParameter4dNV;
- snprintf(symboln, sizeof(symboln), "%sProgramNamedParameter4dNV", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sProgramNamedParameter4dNV",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ProgramNamedParameter4dvNV) {
+ void **procp = (void **) &disp->ProgramNamedParameter4dvNV;
- if(!disp->ProgramNamedParameter4dvNV) {
- void ** procp = (void **) &disp->ProgramNamedParameter4dvNV;
- snprintf(symboln, sizeof(symboln), "%sProgramNamedParameter4dvNV", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sProgramNamedParameter4dvNV",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ProgramNamedParameter4fNV) {
+ void **procp = (void **) &disp->ProgramNamedParameter4fNV;
- if(!disp->ProgramNamedParameter4fNV) {
- void ** procp = (void **) &disp->ProgramNamedParameter4fNV;
- snprintf(symboln, sizeof(symboln), "%sProgramNamedParameter4fNV", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sProgramNamedParameter4fNV",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ProgramNamedParameter4fvNV) {
+ void **procp = (void **) &disp->ProgramNamedParameter4fvNV;
- if(!disp->ProgramNamedParameter4fvNV) {
- void ** procp = (void **) &disp->ProgramNamedParameter4fvNV;
- snprintf(symboln, sizeof(symboln), "%sProgramNamedParameter4fvNV", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sProgramNamedParameter4fvNV",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->PrimitiveRestartIndexNV) {
+ void **procp = (void **) &disp->PrimitiveRestartIndexNV;
- if(!disp->PrimitiveRestartIndexNV) {
- void ** procp = (void **) &disp->PrimitiveRestartIndexNV;
- snprintf(symboln, sizeof(symboln), "%sPrimitiveRestartIndexNV", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sPrimitiveRestartIndexNV",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->PrimitiveRestartIndexNV) {
+ void **procp = (void **) &disp->PrimitiveRestartIndexNV;
- if(!disp->PrimitiveRestartIndexNV) {
- void ** procp = (void **) &disp->PrimitiveRestartIndexNV;
- snprintf(symboln, sizeof(symboln), "%sPrimitiveRestartIndex", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sPrimitiveRestartIndex",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->PrimitiveRestartNV) {
+ void **procp = (void **) &disp->PrimitiveRestartNV;
- if(!disp->PrimitiveRestartNV) {
- void ** procp = (void **) &disp->PrimitiveRestartNV;
- snprintf(symboln, sizeof(symboln), "%sPrimitiveRestartNV", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sPrimitiveRestartNV",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->DepthBoundsEXT) {
+ void **procp = (void **) &disp->DepthBoundsEXT;
- if(!disp->DepthBoundsEXT) {
- void ** procp = (void **) &disp->DepthBoundsEXT;
snprintf(symboln, sizeof(symboln), "%sDepthBoundsEXT", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->BlendEquationSeparateEXT) {
+ void **procp = (void **) &disp->BlendEquationSeparateEXT;
- if(!disp->BlendEquationSeparateEXT) {
- void ** procp = (void **) &disp->BlendEquationSeparateEXT;
- snprintf(symboln, sizeof(symboln), "%sBlendEquationSeparate", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sBlendEquationSeparate",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->BlendEquationSeparateEXT) {
+ void **procp = (void **) &disp->BlendEquationSeparateEXT;
- if(!disp->BlendEquationSeparateEXT) {
- void ** procp = (void **) &disp->BlendEquationSeparateEXT;
- snprintf(symboln, sizeof(symboln), "%sBlendEquationSeparateEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sBlendEquationSeparateEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->BlendEquationSeparateEXT) {
+ void **procp = (void **) &disp->BlendEquationSeparateEXT;
- if(!disp->BlendEquationSeparateEXT) {
- void ** procp = (void **) &disp->BlendEquationSeparateEXT;
- snprintf(symboln, sizeof(symboln), "%sBlendEquationSeparateATI", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sBlendEquationSeparateATI",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->BindFramebufferEXT) {
+ void **procp = (void **) &disp->BindFramebufferEXT;
- if(!disp->BindFramebufferEXT) {
- void ** procp = (void **) &disp->BindFramebufferEXT;
snprintf(symboln, sizeof(symboln), "%sBindFramebuffer", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->BindFramebufferEXT) {
+ void **procp = (void **) &disp->BindFramebufferEXT;
- if(!disp->BindFramebufferEXT) {
- void ** procp = (void **) &disp->BindFramebufferEXT;
- snprintf(symboln, sizeof(symboln), "%sBindFramebufferEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sBindFramebufferEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->BindRenderbufferEXT) {
+ void **procp = (void **) &disp->BindRenderbufferEXT;
- if(!disp->BindRenderbufferEXT) {
- void ** procp = (void **) &disp->BindRenderbufferEXT;
snprintf(symboln, sizeof(symboln), "%sBindRenderbuffer", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->BindRenderbufferEXT) {
+ void **procp = (void **) &disp->BindRenderbufferEXT;
- if(!disp->BindRenderbufferEXT) {
- void ** procp = (void **) &disp->BindRenderbufferEXT;
- snprintf(symboln, sizeof(symboln), "%sBindRenderbufferEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sBindRenderbufferEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->CheckFramebufferStatusEXT) {
+ void **procp = (void **) &disp->CheckFramebufferStatusEXT;
- if(!disp->CheckFramebufferStatusEXT) {
- void ** procp = (void **) &disp->CheckFramebufferStatusEXT;
- snprintf(symboln, sizeof(symboln), "%sCheckFramebufferStatus", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sCheckFramebufferStatus",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->CheckFramebufferStatusEXT) {
+ void **procp = (void **) &disp->CheckFramebufferStatusEXT;
- if(!disp->CheckFramebufferStatusEXT) {
- void ** procp = (void **) &disp->CheckFramebufferStatusEXT;
- snprintf(symboln, sizeof(symboln), "%sCheckFramebufferStatusEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sCheckFramebufferStatusEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->DeleteFramebuffersEXT) {
+ void **procp = (void **) &disp->DeleteFramebuffersEXT;
- if(!disp->DeleteFramebuffersEXT) {
- void ** procp = (void **) &disp->DeleteFramebuffersEXT;
- snprintf(symboln, sizeof(symboln), "%sDeleteFramebuffers", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sDeleteFramebuffers",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->DeleteFramebuffersEXT) {
+ void **procp = (void **) &disp->DeleteFramebuffersEXT;
- if(!disp->DeleteFramebuffersEXT) {
- void ** procp = (void **) &disp->DeleteFramebuffersEXT;
- snprintf(symboln, sizeof(symboln), "%sDeleteFramebuffersEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sDeleteFramebuffersEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->DeleteRenderbuffersEXT) {
+ void **procp = (void **) &disp->DeleteRenderbuffersEXT;
- if(!disp->DeleteRenderbuffersEXT) {
- void ** procp = (void **) &disp->DeleteRenderbuffersEXT;
- snprintf(symboln, sizeof(symboln), "%sDeleteRenderbuffers", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sDeleteRenderbuffers",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->DeleteRenderbuffersEXT) {
+ void **procp = (void **) &disp->DeleteRenderbuffersEXT;
- if(!disp->DeleteRenderbuffersEXT) {
- void ** procp = (void **) &disp->DeleteRenderbuffersEXT;
- snprintf(symboln, sizeof(symboln), "%sDeleteRenderbuffersEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sDeleteRenderbuffersEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->FramebufferRenderbufferEXT) {
+ void **procp = (void **) &disp->FramebufferRenderbufferEXT;
- if(!disp->FramebufferRenderbufferEXT) {
- void ** procp = (void **) &disp->FramebufferRenderbufferEXT;
- snprintf(symboln, sizeof(symboln), "%sFramebufferRenderbuffer", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sFramebufferRenderbuffer",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->FramebufferRenderbufferEXT) {
+ void **procp = (void **) &disp->FramebufferRenderbufferEXT;
- if(!disp->FramebufferRenderbufferEXT) {
- void ** procp = (void **) &disp->FramebufferRenderbufferEXT;
- snprintf(symboln, sizeof(symboln), "%sFramebufferRenderbufferEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sFramebufferRenderbufferEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->FramebufferTexture1DEXT) {
+ void **procp = (void **) &disp->FramebufferTexture1DEXT;
- if(!disp->FramebufferTexture1DEXT) {
- void ** procp = (void **) &disp->FramebufferTexture1DEXT;
- snprintf(symboln, sizeof(symboln), "%sFramebufferTexture1D", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sFramebufferTexture1D",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->FramebufferTexture1DEXT) {
+ void **procp = (void **) &disp->FramebufferTexture1DEXT;
- if(!disp->FramebufferTexture1DEXT) {
- void ** procp = (void **) &disp->FramebufferTexture1DEXT;
- snprintf(symboln, sizeof(symboln), "%sFramebufferTexture1DEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sFramebufferTexture1DEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->FramebufferTexture2DEXT) {
+ void **procp = (void **) &disp->FramebufferTexture2DEXT;
- if(!disp->FramebufferTexture2DEXT) {
- void ** procp = (void **) &disp->FramebufferTexture2DEXT;
- snprintf(symboln, sizeof(symboln), "%sFramebufferTexture2D", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sFramebufferTexture2D",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->FramebufferTexture2DEXT) {
+ void **procp = (void **) &disp->FramebufferTexture2DEXT;
- if(!disp->FramebufferTexture2DEXT) {
- void ** procp = (void **) &disp->FramebufferTexture2DEXT;
- snprintf(symboln, sizeof(symboln), "%sFramebufferTexture2DEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sFramebufferTexture2DEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->FramebufferTexture3DEXT) {
+ void **procp = (void **) &disp->FramebufferTexture3DEXT;
- if(!disp->FramebufferTexture3DEXT) {
- void ** procp = (void **) &disp->FramebufferTexture3DEXT;
- snprintf(symboln, sizeof(symboln), "%sFramebufferTexture3D", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sFramebufferTexture3D",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->FramebufferTexture3DEXT) {
+ void **procp = (void **) &disp->FramebufferTexture3DEXT;
- if(!disp->FramebufferTexture3DEXT) {
- void ** procp = (void **) &disp->FramebufferTexture3DEXT;
- snprintf(symboln, sizeof(symboln), "%sFramebufferTexture3DEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sFramebufferTexture3DEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GenFramebuffersEXT) {
+ void **procp = (void **) &disp->GenFramebuffersEXT;
- if(!disp->GenFramebuffersEXT) {
- void ** procp = (void **) &disp->GenFramebuffersEXT;
snprintf(symboln, sizeof(symboln), "%sGenFramebuffers", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GenFramebuffersEXT) {
+ void **procp = (void **) &disp->GenFramebuffersEXT;
- if(!disp->GenFramebuffersEXT) {
- void ** procp = (void **) &disp->GenFramebuffersEXT;
- snprintf(symboln, sizeof(symboln), "%sGenFramebuffersEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGenFramebuffersEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GenRenderbuffersEXT) {
+ void **procp = (void **) &disp->GenRenderbuffersEXT;
- if(!disp->GenRenderbuffersEXT) {
- void ** procp = (void **) &disp->GenRenderbuffersEXT;
snprintf(symboln, sizeof(symboln), "%sGenRenderbuffers", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GenRenderbuffersEXT) {
+ void **procp = (void **) &disp->GenRenderbuffersEXT;
- if(!disp->GenRenderbuffersEXT) {
- void ** procp = (void **) &disp->GenRenderbuffersEXT;
- snprintf(symboln, sizeof(symboln), "%sGenRenderbuffersEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGenRenderbuffersEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GenerateMipmapEXT) {
+ void **procp = (void **) &disp->GenerateMipmapEXT;
- if(!disp->GenerateMipmapEXT) {
- void ** procp = (void **) &disp->GenerateMipmapEXT;
snprintf(symboln, sizeof(symboln), "%sGenerateMipmap", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GenerateMipmapEXT) {
+ void **procp = (void **) &disp->GenerateMipmapEXT;
- if(!disp->GenerateMipmapEXT) {
- void ** procp = (void **) &disp->GenerateMipmapEXT;
- snprintf(symboln, sizeof(symboln), "%sGenerateMipmapEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGenerateMipmapEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetFramebufferAttachmentParameterivEXT) {
+ void **procp = (void **) &disp->GetFramebufferAttachmentParameterivEXT;
- if(!disp->GetFramebufferAttachmentParameterivEXT) {
- void ** procp = (void **) &disp->GetFramebufferAttachmentParameterivEXT;
- snprintf(symboln, sizeof(symboln), "%sGetFramebufferAttachmentParameteriv", symbol_prefix);
+ snprintf(symboln, sizeof(symboln),
+ "%sGetFramebufferAttachmentParameteriv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetFramebufferAttachmentParameterivEXT) {
+ void **procp = (void **) &disp->GetFramebufferAttachmentParameterivEXT;
- if(!disp->GetFramebufferAttachmentParameterivEXT) {
- void ** procp = (void **) &disp->GetFramebufferAttachmentParameterivEXT;
- snprintf(symboln, sizeof(symboln), "%sGetFramebufferAttachmentParameterivEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln),
+ "%sGetFramebufferAttachmentParameterivEXT", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetRenderbufferParameterivEXT) {
+ void **procp = (void **) &disp->GetRenderbufferParameterivEXT;
- if(!disp->GetRenderbufferParameterivEXT) {
- void ** procp = (void **) &disp->GetRenderbufferParameterivEXT;
- snprintf(symboln, sizeof(symboln), "%sGetRenderbufferParameteriv", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetRenderbufferParameteriv",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetRenderbufferParameterivEXT) {
+ void **procp = (void **) &disp->GetRenderbufferParameterivEXT;
- if(!disp->GetRenderbufferParameterivEXT) {
- void ** procp = (void **) &disp->GetRenderbufferParameterivEXT;
- snprintf(symboln, sizeof(symboln), "%sGetRenderbufferParameterivEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetRenderbufferParameterivEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->IsFramebufferEXT) {
+ void **procp = (void **) &disp->IsFramebufferEXT;
- if(!disp->IsFramebufferEXT) {
- void ** procp = (void **) &disp->IsFramebufferEXT;
snprintf(symboln, sizeof(symboln), "%sIsFramebuffer", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->IsFramebufferEXT) {
+ void **procp = (void **) &disp->IsFramebufferEXT;
- if(!disp->IsFramebufferEXT) {
- void ** procp = (void **) &disp->IsFramebufferEXT;
snprintf(symboln, sizeof(symboln), "%sIsFramebufferEXT", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->IsRenderbufferEXT) {
+ void **procp = (void **) &disp->IsRenderbufferEXT;
- if(!disp->IsRenderbufferEXT) {
- void ** procp = (void **) &disp->IsRenderbufferEXT;
snprintf(symboln, sizeof(symboln), "%sIsRenderbuffer", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->IsRenderbufferEXT) {
+ void **procp = (void **) &disp->IsRenderbufferEXT;
- if(!disp->IsRenderbufferEXT) {
- void ** procp = (void **) &disp->IsRenderbufferEXT;
- snprintf(symboln, sizeof(symboln), "%sIsRenderbufferEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sIsRenderbufferEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->RenderbufferStorageEXT) {
+ void **procp = (void **) &disp->RenderbufferStorageEXT;
- if(!disp->RenderbufferStorageEXT) {
- void ** procp = (void **) &disp->RenderbufferStorageEXT;
- snprintf(symboln, sizeof(symboln), "%sRenderbufferStorage", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sRenderbufferStorage",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->RenderbufferStorageEXT) {
+ void **procp = (void **) &disp->RenderbufferStorageEXT;
- if(!disp->RenderbufferStorageEXT) {
- void ** procp = (void **) &disp->RenderbufferStorageEXT;
- snprintf(symboln, sizeof(symboln), "%sRenderbufferStorageEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sRenderbufferStorageEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->BlitFramebufferEXT) {
+ void **procp = (void **) &disp->BlitFramebufferEXT;
- if(!disp->BlitFramebufferEXT) {
- void ** procp = (void **) &disp->BlitFramebufferEXT;
snprintf(symboln, sizeof(symboln), "%sBlitFramebuffer", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->BlitFramebufferEXT) {
+ void **procp = (void **) &disp->BlitFramebufferEXT;
- if(!disp->BlitFramebufferEXT) {
- void ** procp = (void **) &disp->BlitFramebufferEXT;
- snprintf(symboln, sizeof(symboln), "%sBlitFramebufferEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sBlitFramebufferEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->BufferParameteriAPPLE) {
+ void **procp = (void **) &disp->BufferParameteriAPPLE;
- if(!disp->BufferParameteriAPPLE) {
- void ** procp = (void **) &disp->BufferParameteriAPPLE;
- snprintf(symboln, sizeof(symboln), "%sBufferParameteriAPPLE", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sBufferParameteriAPPLE",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->FlushMappedBufferRangeAPPLE) {
+ void **procp = (void **) &disp->FlushMappedBufferRangeAPPLE;
- if(!disp->FlushMappedBufferRangeAPPLE) {
- void ** procp = (void **) &disp->FlushMappedBufferRangeAPPLE;
- snprintf(symboln, sizeof(symboln), "%sFlushMappedBufferRangeAPPLE", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sFlushMappedBufferRangeAPPLE",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->BindFragDataLocationEXT) {
+ void **procp = (void **) &disp->BindFragDataLocationEXT;
- if(!disp->BindFragDataLocationEXT) {
- void ** procp = (void **) &disp->BindFragDataLocationEXT;
- snprintf(symboln, sizeof(symboln), "%sBindFragDataLocationEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sBindFragDataLocationEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->BindFragDataLocationEXT) {
+ void **procp = (void **) &disp->BindFragDataLocationEXT;
- if(!disp->BindFragDataLocationEXT) {
- void ** procp = (void **) &disp->BindFragDataLocationEXT;
- snprintf(symboln, sizeof(symboln), "%sBindFragDataLocation", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sBindFragDataLocation",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetFragDataLocationEXT) {
+ void **procp = (void **) &disp->GetFragDataLocationEXT;
- if(!disp->GetFragDataLocationEXT) {
- void ** procp = (void **) &disp->GetFragDataLocationEXT;
- snprintf(symboln, sizeof(symboln), "%sGetFragDataLocationEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetFragDataLocationEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetFragDataLocationEXT) {
+ void **procp = (void **) &disp->GetFragDataLocationEXT;
- if(!disp->GetFragDataLocationEXT) {
- void ** procp = (void **) &disp->GetFragDataLocationEXT;
- snprintf(symboln, sizeof(symboln), "%sGetFragDataLocation", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetFragDataLocation",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetUniformuivEXT) {
+ void **procp = (void **) &disp->GetUniformuivEXT;
- if(!disp->GetUniformuivEXT) {
- void ** procp = (void **) &disp->GetUniformuivEXT;
snprintf(symboln, sizeof(symboln), "%sGetUniformuivEXT", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetUniformuivEXT) {
+ void **procp = (void **) &disp->GetUniformuivEXT;
- if(!disp->GetUniformuivEXT) {
- void ** procp = (void **) &disp->GetUniformuivEXT;
snprintf(symboln, sizeof(symboln), "%sGetUniformuiv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetVertexAttribIivEXT) {
+ void **procp = (void **) &disp->GetVertexAttribIivEXT;
- if(!disp->GetVertexAttribIivEXT) {
- void ** procp = (void **) &disp->GetVertexAttribIivEXT;
- snprintf(symboln, sizeof(symboln), "%sGetVertexAttribIivEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetVertexAttribIivEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetVertexAttribIivEXT) {
+ void **procp = (void **) &disp->GetVertexAttribIivEXT;
- if(!disp->GetVertexAttribIivEXT) {
- void ** procp = (void **) &disp->GetVertexAttribIivEXT;
- snprintf(symboln, sizeof(symboln), "%sGetVertexAttribIiv", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetVertexAttribIiv",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetVertexAttribIuivEXT) {
+ void **procp = (void **) &disp->GetVertexAttribIuivEXT;
- if(!disp->GetVertexAttribIuivEXT) {
- void ** procp = (void **) &disp->GetVertexAttribIuivEXT;
- snprintf(symboln, sizeof(symboln), "%sGetVertexAttribIuivEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetVertexAttribIuivEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetVertexAttribIuivEXT) {
+ void **procp = (void **) &disp->GetVertexAttribIuivEXT;
- if(!disp->GetVertexAttribIuivEXT) {
- void ** procp = (void **) &disp->GetVertexAttribIuivEXT;
- snprintf(symboln, sizeof(symboln), "%sGetVertexAttribIuiv", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetVertexAttribIuiv",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Uniform1uiEXT) {
+ void **procp = (void **) &disp->Uniform1uiEXT;
- if(!disp->Uniform1uiEXT) {
- void ** procp = (void **) &disp->Uniform1uiEXT;
snprintf(symboln, sizeof(symboln), "%sUniform1uiEXT", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Uniform1uiEXT) {
+ void **procp = (void **) &disp->Uniform1uiEXT;
- if(!disp->Uniform1uiEXT) {
- void ** procp = (void **) &disp->Uniform1uiEXT;
snprintf(symboln, sizeof(symboln), "%sUniform1ui", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Uniform1uivEXT) {
+ void **procp = (void **) &disp->Uniform1uivEXT;
- if(!disp->Uniform1uivEXT) {
- void ** procp = (void **) &disp->Uniform1uivEXT;
snprintf(symboln, sizeof(symboln), "%sUniform1uivEXT", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Uniform1uivEXT) {
+ void **procp = (void **) &disp->Uniform1uivEXT;
- if(!disp->Uniform1uivEXT) {
- void ** procp = (void **) &disp->Uniform1uivEXT;
snprintf(symboln, sizeof(symboln), "%sUniform1uiv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Uniform2uiEXT) {
+ void **procp = (void **) &disp->Uniform2uiEXT;
- if(!disp->Uniform2uiEXT) {
- void ** procp = (void **) &disp->Uniform2uiEXT;
snprintf(symboln, sizeof(symboln), "%sUniform2uiEXT", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Uniform2uiEXT) {
+ void **procp = (void **) &disp->Uniform2uiEXT;
- if(!disp->Uniform2uiEXT) {
- void ** procp = (void **) &disp->Uniform2uiEXT;
snprintf(symboln, sizeof(symboln), "%sUniform2ui", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Uniform2uivEXT) {
+ void **procp = (void **) &disp->Uniform2uivEXT;
- if(!disp->Uniform2uivEXT) {
- void ** procp = (void **) &disp->Uniform2uivEXT;
snprintf(symboln, sizeof(symboln), "%sUniform2uivEXT", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Uniform2uivEXT) {
+ void **procp = (void **) &disp->Uniform2uivEXT;
- if(!disp->Uniform2uivEXT) {
- void ** procp = (void **) &disp->Uniform2uivEXT;
snprintf(symboln, sizeof(symboln), "%sUniform2uiv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Uniform3uiEXT) {
+ void **procp = (void **) &disp->Uniform3uiEXT;
- if(!disp->Uniform3uiEXT) {
- void ** procp = (void **) &disp->Uniform3uiEXT;
snprintf(symboln, sizeof(symboln), "%sUniform3uiEXT", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Uniform3uiEXT) {
+ void **procp = (void **) &disp->Uniform3uiEXT;
- if(!disp->Uniform3uiEXT) {
- void ** procp = (void **) &disp->Uniform3uiEXT;
snprintf(symboln, sizeof(symboln), "%sUniform3ui", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Uniform3uivEXT) {
+ void **procp = (void **) &disp->Uniform3uivEXT;
- if(!disp->Uniform3uivEXT) {
- void ** procp = (void **) &disp->Uniform3uivEXT;
snprintf(symboln, sizeof(symboln), "%sUniform3uivEXT", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Uniform3uivEXT) {
+ void **procp = (void **) &disp->Uniform3uivEXT;
- if(!disp->Uniform3uivEXT) {
- void ** procp = (void **) &disp->Uniform3uivEXT;
snprintf(symboln, sizeof(symboln), "%sUniform3uiv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Uniform4uiEXT) {
+ void **procp = (void **) &disp->Uniform4uiEXT;
- if(!disp->Uniform4uiEXT) {
- void ** procp = (void **) &disp->Uniform4uiEXT;
snprintf(symboln, sizeof(symboln), "%sUniform4uiEXT", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Uniform4uiEXT) {
+ void **procp = (void **) &disp->Uniform4uiEXT;
- if(!disp->Uniform4uiEXT) {
- void ** procp = (void **) &disp->Uniform4uiEXT;
snprintf(symboln, sizeof(symboln), "%sUniform4ui", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Uniform4uivEXT) {
+ void **procp = (void **) &disp->Uniform4uivEXT;
- if(!disp->Uniform4uivEXT) {
- void ** procp = (void **) &disp->Uniform4uivEXT;
snprintf(symboln, sizeof(symboln), "%sUniform4uivEXT", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->Uniform4uivEXT) {
+ void **procp = (void **) &disp->Uniform4uivEXT;
- if(!disp->Uniform4uivEXT) {
- void ** procp = (void **) &disp->Uniform4uivEXT;
snprintf(symboln, sizeof(symboln), "%sUniform4uiv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttribI1iEXT) {
+ void **procp = (void **) &disp->VertexAttribI1iEXT;
- if(!disp->VertexAttribI1iEXT) {
- void ** procp = (void **) &disp->VertexAttribI1iEXT;
- snprintf(symboln, sizeof(symboln), "%sVertexAttribI1iEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribI1iEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttribI1iEXT) {
+ void **procp = (void **) &disp->VertexAttribI1iEXT;
- if(!disp->VertexAttribI1iEXT) {
- void ** procp = (void **) &disp->VertexAttribI1iEXT;
snprintf(symboln, sizeof(symboln), "%sVertexAttribI1i", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttribI1ivEXT) {
+ void **procp = (void **) &disp->VertexAttribI1ivEXT;
- if(!disp->VertexAttribI1ivEXT) {
- void ** procp = (void **) &disp->VertexAttribI1ivEXT;
- snprintf(symboln, sizeof(symboln), "%sVertexAttribI1ivEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribI1ivEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttribI1ivEXT) {
+ void **procp = (void **) &disp->VertexAttribI1ivEXT;
- if(!disp->VertexAttribI1ivEXT) {
- void ** procp = (void **) &disp->VertexAttribI1ivEXT;
snprintf(symboln, sizeof(symboln), "%sVertexAttribI1iv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttribI1uiEXT) {
+ void **procp = (void **) &disp->VertexAttribI1uiEXT;
- if(!disp->VertexAttribI1uiEXT) {
- void ** procp = (void **) &disp->VertexAttribI1uiEXT;
- snprintf(symboln, sizeof(symboln), "%sVertexAttribI1uiEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribI1uiEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttribI1uiEXT) {
+ void **procp = (void **) &disp->VertexAttribI1uiEXT;
- if(!disp->VertexAttribI1uiEXT) {
- void ** procp = (void **) &disp->VertexAttribI1uiEXT;
snprintf(symboln, sizeof(symboln), "%sVertexAttribI1ui", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttribI1uivEXT) {
+ void **procp = (void **) &disp->VertexAttribI1uivEXT;
- if(!disp->VertexAttribI1uivEXT) {
- void ** procp = (void **) &disp->VertexAttribI1uivEXT;
- snprintf(symboln, sizeof(symboln), "%sVertexAttribI1uivEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribI1uivEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttribI1uivEXT) {
+ void **procp = (void **) &disp->VertexAttribI1uivEXT;
- if(!disp->VertexAttribI1uivEXT) {
- void ** procp = (void **) &disp->VertexAttribI1uivEXT;
- snprintf(symboln, sizeof(symboln), "%sVertexAttribI1uiv", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribI1uiv",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttribI2iEXT) {
+ void **procp = (void **) &disp->VertexAttribI2iEXT;
- if(!disp->VertexAttribI2iEXT) {
- void ** procp = (void **) &disp->VertexAttribI2iEXT;
- snprintf(symboln, sizeof(symboln), "%sVertexAttribI2iEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribI2iEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttribI2iEXT) {
+ void **procp = (void **) &disp->VertexAttribI2iEXT;
- if(!disp->VertexAttribI2iEXT) {
- void ** procp = (void **) &disp->VertexAttribI2iEXT;
snprintf(symboln, sizeof(symboln), "%sVertexAttribI2i", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttribI2ivEXT) {
+ void **procp = (void **) &disp->VertexAttribI2ivEXT;
- if(!disp->VertexAttribI2ivEXT) {
- void ** procp = (void **) &disp->VertexAttribI2ivEXT;
- snprintf(symboln, sizeof(symboln), "%sVertexAttribI2ivEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribI2ivEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttribI2ivEXT) {
+ void **procp = (void **) &disp->VertexAttribI2ivEXT;
- if(!disp->VertexAttribI2ivEXT) {
- void ** procp = (void **) &disp->VertexAttribI2ivEXT;
snprintf(symboln, sizeof(symboln), "%sVertexAttribI2iv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttribI2uiEXT) {
+ void **procp = (void **) &disp->VertexAttribI2uiEXT;
- if(!disp->VertexAttribI2uiEXT) {
- void ** procp = (void **) &disp->VertexAttribI2uiEXT;
- snprintf(symboln, sizeof(symboln), "%sVertexAttribI2uiEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribI2uiEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttribI2uiEXT) {
+ void **procp = (void **) &disp->VertexAttribI2uiEXT;
- if(!disp->VertexAttribI2uiEXT) {
- void ** procp = (void **) &disp->VertexAttribI2uiEXT;
snprintf(symboln, sizeof(symboln), "%sVertexAttribI2ui", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttribI2uivEXT) {
+ void **procp = (void **) &disp->VertexAttribI2uivEXT;
- if(!disp->VertexAttribI2uivEXT) {
- void ** procp = (void **) &disp->VertexAttribI2uivEXT;
- snprintf(symboln, sizeof(symboln), "%sVertexAttribI2uivEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribI2uivEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttribI2uivEXT) {
+ void **procp = (void **) &disp->VertexAttribI2uivEXT;
- if(!disp->VertexAttribI2uivEXT) {
- void ** procp = (void **) &disp->VertexAttribI2uivEXT;
- snprintf(symboln, sizeof(symboln), "%sVertexAttribI2uiv", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribI2uiv",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttribI3iEXT) {
+ void **procp = (void **) &disp->VertexAttribI3iEXT;
- if(!disp->VertexAttribI3iEXT) {
- void ** procp = (void **) &disp->VertexAttribI3iEXT;
- snprintf(symboln, sizeof(symboln), "%sVertexAttribI3iEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribI3iEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttribI3iEXT) {
+ void **procp = (void **) &disp->VertexAttribI3iEXT;
- if(!disp->VertexAttribI3iEXT) {
- void ** procp = (void **) &disp->VertexAttribI3iEXT;
snprintf(symboln, sizeof(symboln), "%sVertexAttribI3i", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttribI3ivEXT) {
+ void **procp = (void **) &disp->VertexAttribI3ivEXT;
- if(!disp->VertexAttribI3ivEXT) {
- void ** procp = (void **) &disp->VertexAttribI3ivEXT;
- snprintf(symboln, sizeof(symboln), "%sVertexAttribI3ivEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribI3ivEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttribI3ivEXT) {
+ void **procp = (void **) &disp->VertexAttribI3ivEXT;
- if(!disp->VertexAttribI3ivEXT) {
- void ** procp = (void **) &disp->VertexAttribI3ivEXT;
snprintf(symboln, sizeof(symboln), "%sVertexAttribI3iv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttribI3uiEXT) {
+ void **procp = (void **) &disp->VertexAttribI3uiEXT;
- if(!disp->VertexAttribI3uiEXT) {
- void ** procp = (void **) &disp->VertexAttribI3uiEXT;
- snprintf(symboln, sizeof(symboln), "%sVertexAttribI3uiEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribI3uiEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttribI3uiEXT) {
+ void **procp = (void **) &disp->VertexAttribI3uiEXT;
- if(!disp->VertexAttribI3uiEXT) {
- void ** procp = (void **) &disp->VertexAttribI3uiEXT;
snprintf(symboln, sizeof(symboln), "%sVertexAttribI3ui", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttribI3uivEXT) {
+ void **procp = (void **) &disp->VertexAttribI3uivEXT;
- if(!disp->VertexAttribI3uivEXT) {
- void ** procp = (void **) &disp->VertexAttribI3uivEXT;
- snprintf(symboln, sizeof(symboln), "%sVertexAttribI3uivEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribI3uivEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttribI3uivEXT) {
+ void **procp = (void **) &disp->VertexAttribI3uivEXT;
- if(!disp->VertexAttribI3uivEXT) {
- void ** procp = (void **) &disp->VertexAttribI3uivEXT;
- snprintf(symboln, sizeof(symboln), "%sVertexAttribI3uiv", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribI3uiv",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttribI4bvEXT) {
+ void **procp = (void **) &disp->VertexAttribI4bvEXT;
- if(!disp->VertexAttribI4bvEXT) {
- void ** procp = (void **) &disp->VertexAttribI4bvEXT;
- snprintf(symboln, sizeof(symboln), "%sVertexAttribI4bvEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribI4bvEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttribI4bvEXT) {
+ void **procp = (void **) &disp->VertexAttribI4bvEXT;
- if(!disp->VertexAttribI4bvEXT) {
- void ** procp = (void **) &disp->VertexAttribI4bvEXT;
snprintf(symboln, sizeof(symboln), "%sVertexAttribI4bv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttribI4iEXT) {
+ void **procp = (void **) &disp->VertexAttribI4iEXT;
- if(!disp->VertexAttribI4iEXT) {
- void ** procp = (void **) &disp->VertexAttribI4iEXT;
- snprintf(symboln, sizeof(symboln), "%sVertexAttribI4iEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribI4iEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttribI4iEXT) {
+ void **procp = (void **) &disp->VertexAttribI4iEXT;
- if(!disp->VertexAttribI4iEXT) {
- void ** procp = (void **) &disp->VertexAttribI4iEXT;
snprintf(symboln, sizeof(symboln), "%sVertexAttribI4i", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttribI4ivEXT) {
+ void **procp = (void **) &disp->VertexAttribI4ivEXT;
- if(!disp->VertexAttribI4ivEXT) {
- void ** procp = (void **) &disp->VertexAttribI4ivEXT;
- snprintf(symboln, sizeof(symboln), "%sVertexAttribI4ivEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribI4ivEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttribI4ivEXT) {
+ void **procp = (void **) &disp->VertexAttribI4ivEXT;
- if(!disp->VertexAttribI4ivEXT) {
- void ** procp = (void **) &disp->VertexAttribI4ivEXT;
snprintf(symboln, sizeof(symboln), "%sVertexAttribI4iv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttribI4svEXT) {
+ void **procp = (void **) &disp->VertexAttribI4svEXT;
- if(!disp->VertexAttribI4svEXT) {
- void ** procp = (void **) &disp->VertexAttribI4svEXT;
- snprintf(symboln, sizeof(symboln), "%sVertexAttribI4svEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribI4svEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttribI4svEXT) {
+ void **procp = (void **) &disp->VertexAttribI4svEXT;
- if(!disp->VertexAttribI4svEXT) {
- void ** procp = (void **) &disp->VertexAttribI4svEXT;
snprintf(symboln, sizeof(symboln), "%sVertexAttribI4sv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttribI4ubvEXT) {
+ void **procp = (void **) &disp->VertexAttribI4ubvEXT;
- if(!disp->VertexAttribI4ubvEXT) {
- void ** procp = (void **) &disp->VertexAttribI4ubvEXT;
- snprintf(symboln, sizeof(symboln), "%sVertexAttribI4ubvEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribI4ubvEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttribI4ubvEXT) {
+ void **procp = (void **) &disp->VertexAttribI4ubvEXT;
- if(!disp->VertexAttribI4ubvEXT) {
- void ** procp = (void **) &disp->VertexAttribI4ubvEXT;
- snprintf(symboln, sizeof(symboln), "%sVertexAttribI4ubv", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribI4ubv",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttribI4uiEXT) {
+ void **procp = (void **) &disp->VertexAttribI4uiEXT;
- if(!disp->VertexAttribI4uiEXT) {
- void ** procp = (void **) &disp->VertexAttribI4uiEXT;
- snprintf(symboln, sizeof(symboln), "%sVertexAttribI4uiEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribI4uiEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttribI4uiEXT) {
+ void **procp = (void **) &disp->VertexAttribI4uiEXT;
- if(!disp->VertexAttribI4uiEXT) {
- void ** procp = (void **) &disp->VertexAttribI4uiEXT;
snprintf(symboln, sizeof(symboln), "%sVertexAttribI4ui", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttribI4uivEXT) {
+ void **procp = (void **) &disp->VertexAttribI4uivEXT;
- if(!disp->VertexAttribI4uivEXT) {
- void ** procp = (void **) &disp->VertexAttribI4uivEXT;
- snprintf(symboln, sizeof(symboln), "%sVertexAttribI4uivEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribI4uivEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttribI4uivEXT) {
+ void **procp = (void **) &disp->VertexAttribI4uivEXT;
- if(!disp->VertexAttribI4uivEXT) {
- void ** procp = (void **) &disp->VertexAttribI4uivEXT;
- snprintf(symboln, sizeof(symboln), "%sVertexAttribI4uiv", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribI4uiv",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttribI4usvEXT) {
+ void **procp = (void **) &disp->VertexAttribI4usvEXT;
- if(!disp->VertexAttribI4usvEXT) {
- void ** procp = (void **) &disp->VertexAttribI4usvEXT;
- snprintf(symboln, sizeof(symboln), "%sVertexAttribI4usvEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribI4usvEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttribI4usvEXT) {
+ void **procp = (void **) &disp->VertexAttribI4usvEXT;
- if(!disp->VertexAttribI4usvEXT) {
- void ** procp = (void **) &disp->VertexAttribI4usvEXT;
- snprintf(symboln, sizeof(symboln), "%sVertexAttribI4usv", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribI4usv",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttribIPointerEXT) {
+ void **procp = (void **) &disp->VertexAttribIPointerEXT;
- if(!disp->VertexAttribIPointerEXT) {
- void ** procp = (void **) &disp->VertexAttribIPointerEXT;
- snprintf(symboln, sizeof(symboln), "%sVertexAttribIPointerEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribIPointerEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->VertexAttribIPointerEXT) {
+ void **procp = (void **) &disp->VertexAttribIPointerEXT;
- if(!disp->VertexAttribIPointerEXT) {
- void ** procp = (void **) &disp->VertexAttribIPointerEXT;
- snprintf(symboln, sizeof(symboln), "%sVertexAttribIPointer", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sVertexAttribIPointer",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->FramebufferTextureLayerEXT) {
+ void **procp = (void **) &disp->FramebufferTextureLayerEXT;
- if(!disp->FramebufferTextureLayerEXT) {
- void ** procp = (void **) &disp->FramebufferTextureLayerEXT;
- snprintf(symboln, sizeof(symboln), "%sFramebufferTextureLayer", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sFramebufferTextureLayer",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->FramebufferTextureLayerEXT) {
+ void **procp = (void **) &disp->FramebufferTextureLayerEXT;
- if(!disp->FramebufferTextureLayerEXT) {
- void ** procp = (void **) &disp->FramebufferTextureLayerEXT;
- snprintf(symboln, sizeof(symboln), "%sFramebufferTextureLayerARB", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sFramebufferTextureLayerARB",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->FramebufferTextureLayerEXT) {
+ void **procp = (void **) &disp->FramebufferTextureLayerEXT;
- if(!disp->FramebufferTextureLayerEXT) {
- void ** procp = (void **) &disp->FramebufferTextureLayerEXT;
- snprintf(symboln, sizeof(symboln), "%sFramebufferTextureLayerEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sFramebufferTextureLayerEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ColorMaskIndexedEXT) {
+ void **procp = (void **) &disp->ColorMaskIndexedEXT;
- if(!disp->ColorMaskIndexedEXT) {
- void ** procp = (void **) &disp->ColorMaskIndexedEXT;
- snprintf(symboln, sizeof(symboln), "%sColorMaskIndexedEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sColorMaskIndexedEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ColorMaskIndexedEXT) {
+ void **procp = (void **) &disp->ColorMaskIndexedEXT;
- if(!disp->ColorMaskIndexedEXT) {
- void ** procp = (void **) &disp->ColorMaskIndexedEXT;
snprintf(symboln, sizeof(symboln), "%sColorMaski", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->DisableIndexedEXT) {
+ void **procp = (void **) &disp->DisableIndexedEXT;
- if(!disp->DisableIndexedEXT) {
- void ** procp = (void **) &disp->DisableIndexedEXT;
- snprintf(symboln, sizeof(symboln), "%sDisableIndexedEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sDisableIndexedEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->DisableIndexedEXT) {
+ void **procp = (void **) &disp->DisableIndexedEXT;
- if(!disp->DisableIndexedEXT) {
- void ** procp = (void **) &disp->DisableIndexedEXT;
snprintf(symboln, sizeof(symboln), "%sDisablei", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->EnableIndexedEXT) {
+ void **procp = (void **) &disp->EnableIndexedEXT;
- if(!disp->EnableIndexedEXT) {
- void ** procp = (void **) &disp->EnableIndexedEXT;
snprintf(symboln, sizeof(symboln), "%sEnableIndexedEXT", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->EnableIndexedEXT) {
+ void **procp = (void **) &disp->EnableIndexedEXT;
- if(!disp->EnableIndexedEXT) {
- void ** procp = (void **) &disp->EnableIndexedEXT;
snprintf(symboln, sizeof(symboln), "%sEnablei", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetBooleanIndexedvEXT) {
+ void **procp = (void **) &disp->GetBooleanIndexedvEXT;
- if(!disp->GetBooleanIndexedvEXT) {
- void ** procp = (void **) &disp->GetBooleanIndexedvEXT;
- snprintf(symboln, sizeof(symboln), "%sGetBooleanIndexedvEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetBooleanIndexedvEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetBooleanIndexedvEXT) {
+ void **procp = (void **) &disp->GetBooleanIndexedvEXT;
- if(!disp->GetBooleanIndexedvEXT) {
- void ** procp = (void **) &disp->GetBooleanIndexedvEXT;
snprintf(symboln, sizeof(symboln), "%sGetBooleani_v", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetIntegerIndexedvEXT) {
+ void **procp = (void **) &disp->GetIntegerIndexedvEXT;
- if(!disp->GetIntegerIndexedvEXT) {
- void ** procp = (void **) &disp->GetIntegerIndexedvEXT;
- snprintf(symboln, sizeof(symboln), "%sGetIntegerIndexedvEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetIntegerIndexedvEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetIntegerIndexedvEXT) {
+ void **procp = (void **) &disp->GetIntegerIndexedvEXT;
- if(!disp->GetIntegerIndexedvEXT) {
- void ** procp = (void **) &disp->GetIntegerIndexedvEXT;
snprintf(symboln, sizeof(symboln), "%sGetIntegeri_v", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->IsEnabledIndexedEXT) {
+ void **procp = (void **) &disp->IsEnabledIndexedEXT;
- if(!disp->IsEnabledIndexedEXT) {
- void ** procp = (void **) &disp->IsEnabledIndexedEXT;
- snprintf(symboln, sizeof(symboln), "%sIsEnabledIndexedEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sIsEnabledIndexedEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->IsEnabledIndexedEXT) {
+ void **procp = (void **) &disp->IsEnabledIndexedEXT;
- if(!disp->IsEnabledIndexedEXT) {
- void ** procp = (void **) &disp->IsEnabledIndexedEXT;
snprintf(symboln, sizeof(symboln), "%sIsEnabledi", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ClearColorIiEXT) {
+ void **procp = (void **) &disp->ClearColorIiEXT;
- if(!disp->ClearColorIiEXT) {
- void ** procp = (void **) &disp->ClearColorIiEXT;
snprintf(symboln, sizeof(symboln), "%sClearColorIiEXT", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ClearColorIuiEXT) {
+ void **procp = (void **) &disp->ClearColorIuiEXT;
- if(!disp->ClearColorIuiEXT) {
- void ** procp = (void **) &disp->ClearColorIuiEXT;
snprintf(symboln, sizeof(symboln), "%sClearColorIuiEXT", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetTexParameterIivEXT) {
+ void **procp = (void **) &disp->GetTexParameterIivEXT;
- if(!disp->GetTexParameterIivEXT) {
- void ** procp = (void **) &disp->GetTexParameterIivEXT;
- snprintf(symboln, sizeof(symboln), "%sGetTexParameterIivEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetTexParameterIivEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetTexParameterIivEXT) {
+ void **procp = (void **) &disp->GetTexParameterIivEXT;
- if(!disp->GetTexParameterIivEXT) {
- void ** procp = (void **) &disp->GetTexParameterIivEXT;
- snprintf(symboln, sizeof(symboln), "%sGetTexParameterIiv", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetTexParameterIiv",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetTexParameterIuivEXT) {
+ void **procp = (void **) &disp->GetTexParameterIuivEXT;
- if(!disp->GetTexParameterIuivEXT) {
- void ** procp = (void **) &disp->GetTexParameterIuivEXT;
- snprintf(symboln, sizeof(symboln), "%sGetTexParameterIuivEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetTexParameterIuivEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetTexParameterIuivEXT) {
+ void **procp = (void **) &disp->GetTexParameterIuivEXT;
- if(!disp->GetTexParameterIuivEXT) {
- void ** procp = (void **) &disp->GetTexParameterIuivEXT;
- snprintf(symboln, sizeof(symboln), "%sGetTexParameterIuiv", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetTexParameterIuiv",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->TexParameterIivEXT) {
+ void **procp = (void **) &disp->TexParameterIivEXT;
- if(!disp->TexParameterIivEXT) {
- void ** procp = (void **) &disp->TexParameterIivEXT;
- snprintf(symboln, sizeof(symboln), "%sTexParameterIivEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sTexParameterIivEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->TexParameterIivEXT) {
+ void **procp = (void **) &disp->TexParameterIivEXT;
- if(!disp->TexParameterIivEXT) {
- void ** procp = (void **) &disp->TexParameterIivEXT;
snprintf(symboln, sizeof(symboln), "%sTexParameterIiv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->TexParameterIuivEXT) {
+ void **procp = (void **) &disp->TexParameterIuivEXT;
- if(!disp->TexParameterIuivEXT) {
- void ** procp = (void **) &disp->TexParameterIuivEXT;
- snprintf(symboln, sizeof(symboln), "%sTexParameterIuivEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sTexParameterIuivEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->TexParameterIuivEXT) {
+ void **procp = (void **) &disp->TexParameterIuivEXT;
- if(!disp->TexParameterIuivEXT) {
- void ** procp = (void **) &disp->TexParameterIuivEXT;
snprintf(symboln, sizeof(symboln), "%sTexParameterIuiv", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->BeginConditionalRenderNV) {
+ void **procp = (void **) &disp->BeginConditionalRenderNV;
- if(!disp->BeginConditionalRenderNV) {
- void ** procp = (void **) &disp->BeginConditionalRenderNV;
- snprintf(symboln, sizeof(symboln), "%sBeginConditionalRenderNV", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sBeginConditionalRenderNV",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->BeginConditionalRenderNV) {
+ void **procp = (void **) &disp->BeginConditionalRenderNV;
- if(!disp->BeginConditionalRenderNV) {
- void ** procp = (void **) &disp->BeginConditionalRenderNV;
- snprintf(symboln, sizeof(symboln), "%sBeginConditionalRender", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sBeginConditionalRender",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->EndConditionalRenderNV) {
+ void **procp = (void **) &disp->EndConditionalRenderNV;
- if(!disp->EndConditionalRenderNV) {
- void ** procp = (void **) &disp->EndConditionalRenderNV;
- snprintf(symboln, sizeof(symboln), "%sEndConditionalRenderNV", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sEndConditionalRenderNV",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->EndConditionalRenderNV) {
+ void **procp = (void **) &disp->EndConditionalRenderNV;
- if(!disp->EndConditionalRenderNV) {
- void ** procp = (void **) &disp->EndConditionalRenderNV;
- snprintf(symboln, sizeof(symboln), "%sEndConditionalRender", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sEndConditionalRender",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->BeginTransformFeedbackEXT) {
+ void **procp = (void **) &disp->BeginTransformFeedbackEXT;
- if(!disp->BeginTransformFeedbackEXT) {
- void ** procp = (void **) &disp->BeginTransformFeedbackEXT;
- snprintf(symboln, sizeof(symboln), "%sBeginTransformFeedbackEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sBeginTransformFeedbackEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->BeginTransformFeedbackEXT) {
+ void **procp = (void **) &disp->BeginTransformFeedbackEXT;
- if(!disp->BeginTransformFeedbackEXT) {
- void ** procp = (void **) &disp->BeginTransformFeedbackEXT;
- snprintf(symboln, sizeof(symboln), "%sBeginTransformFeedback", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sBeginTransformFeedback",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->BindBufferBaseEXT) {
+ void **procp = (void **) &disp->BindBufferBaseEXT;
- if(!disp->BindBufferBaseEXT) {
- void ** procp = (void **) &disp->BindBufferBaseEXT;
- snprintf(symboln, sizeof(symboln), "%sBindBufferBaseEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sBindBufferBaseEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->BindBufferBaseEXT) {
+ void **procp = (void **) &disp->BindBufferBaseEXT;
- if(!disp->BindBufferBaseEXT) {
- void ** procp = (void **) &disp->BindBufferBaseEXT;
snprintf(symboln, sizeof(symboln), "%sBindBufferBase", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->BindBufferOffsetEXT) {
+ void **procp = (void **) &disp->BindBufferOffsetEXT;
- if(!disp->BindBufferOffsetEXT) {
- void ** procp = (void **) &disp->BindBufferOffsetEXT;
- snprintf(symboln, sizeof(symboln), "%sBindBufferOffsetEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sBindBufferOffsetEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->BindBufferRangeEXT) {
+ void **procp = (void **) &disp->BindBufferRangeEXT;
- if(!disp->BindBufferRangeEXT) {
- void ** procp = (void **) &disp->BindBufferRangeEXT;
- snprintf(symboln, sizeof(symboln), "%sBindBufferRangeEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sBindBufferRangeEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->BindBufferRangeEXT) {
+ void **procp = (void **) &disp->BindBufferRangeEXT;
- if(!disp->BindBufferRangeEXT) {
- void ** procp = (void **) &disp->BindBufferRangeEXT;
snprintf(symboln, sizeof(symboln), "%sBindBufferRange", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->EndTransformFeedbackEXT) {
+ void **procp = (void **) &disp->EndTransformFeedbackEXT;
- if(!disp->EndTransformFeedbackEXT) {
- void ** procp = (void **) &disp->EndTransformFeedbackEXT;
- snprintf(symboln, sizeof(symboln), "%sEndTransformFeedbackEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sEndTransformFeedbackEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->EndTransformFeedbackEXT) {
+ void **procp = (void **) &disp->EndTransformFeedbackEXT;
- if(!disp->EndTransformFeedbackEXT) {
- void ** procp = (void **) &disp->EndTransformFeedbackEXT;
- snprintf(symboln, sizeof(symboln), "%sEndTransformFeedback", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sEndTransformFeedback",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetTransformFeedbackVaryingEXT) {
+ void **procp = (void **) &disp->GetTransformFeedbackVaryingEXT;
- if(!disp->GetTransformFeedbackVaryingEXT) {
- void ** procp = (void **) &disp->GetTransformFeedbackVaryingEXT;
- snprintf(symboln, sizeof(symboln), "%sGetTransformFeedbackVaryingEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetTransformFeedbackVaryingEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetTransformFeedbackVaryingEXT) {
+ void **procp = (void **) &disp->GetTransformFeedbackVaryingEXT;
- if(!disp->GetTransformFeedbackVaryingEXT) {
- void ** procp = (void **) &disp->GetTransformFeedbackVaryingEXT;
- snprintf(symboln, sizeof(symboln), "%sGetTransformFeedbackVarying", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetTransformFeedbackVarying",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->TransformFeedbackVaryingsEXT) {
+ void **procp = (void **) &disp->TransformFeedbackVaryingsEXT;
- if(!disp->TransformFeedbackVaryingsEXT) {
- void ** procp = (void **) &disp->TransformFeedbackVaryingsEXT;
- snprintf(symboln, sizeof(symboln), "%sTransformFeedbackVaryingsEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sTransformFeedbackVaryingsEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->TransformFeedbackVaryingsEXT) {
+ void **procp = (void **) &disp->TransformFeedbackVaryingsEXT;
- if(!disp->TransformFeedbackVaryingsEXT) {
- void ** procp = (void **) &disp->TransformFeedbackVaryingsEXT;
- snprintf(symboln, sizeof(symboln), "%sTransformFeedbackVaryings", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sTransformFeedbackVaryings",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ProvokingVertexEXT) {
+ void **procp = (void **) &disp->ProvokingVertexEXT;
- if(!disp->ProvokingVertexEXT) {
- void ** procp = (void **) &disp->ProvokingVertexEXT;
- snprintf(symboln, sizeof(symboln), "%sProvokingVertexEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sProvokingVertexEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ProvokingVertexEXT) {
+ void **procp = (void **) &disp->ProvokingVertexEXT;
- if(!disp->ProvokingVertexEXT) {
- void ** procp = (void **) &disp->ProvokingVertexEXT;
snprintf(symboln, sizeof(symboln), "%sProvokingVertex", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetTexParameterPointervAPPLE) {
+ void **procp = (void **) &disp->GetTexParameterPointervAPPLE;
- if(!disp->GetTexParameterPointervAPPLE) {
- void ** procp = (void **) &disp->GetTexParameterPointervAPPLE;
- snprintf(symboln, sizeof(symboln), "%sGetTexParameterPointervAPPLE", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetTexParameterPointervAPPLE",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->TextureRangeAPPLE) {
+ void **procp = (void **) &disp->TextureRangeAPPLE;
- if(!disp->TextureRangeAPPLE) {
- void ** procp = (void **) &disp->TextureRangeAPPLE;
- snprintf(symboln, sizeof(symboln), "%sTextureRangeAPPLE", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sTextureRangeAPPLE",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetObjectParameterivAPPLE) {
+ void **procp = (void **) &disp->GetObjectParameterivAPPLE;
- if(!disp->GetObjectParameterivAPPLE) {
- void ** procp = (void **) &disp->GetObjectParameterivAPPLE;
- snprintf(symboln, sizeof(symboln), "%sGetObjectParameterivAPPLE", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetObjectParameterivAPPLE",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ObjectPurgeableAPPLE) {
+ void **procp = (void **) &disp->ObjectPurgeableAPPLE;
- if(!disp->ObjectPurgeableAPPLE) {
- void ** procp = (void **) &disp->ObjectPurgeableAPPLE;
- snprintf(symboln, sizeof(symboln), "%sObjectPurgeableAPPLE", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sObjectPurgeableAPPLE",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ObjectUnpurgeableAPPLE) {
+ void **procp = (void **) &disp->ObjectUnpurgeableAPPLE;
- if(!disp->ObjectUnpurgeableAPPLE) {
- void ** procp = (void **) &disp->ObjectUnpurgeableAPPLE;
- snprintf(symboln, sizeof(symboln), "%sObjectUnpurgeableAPPLE", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sObjectUnpurgeableAPPLE",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ActiveProgramEXT) {
+ void **procp = (void **) &disp->ActiveProgramEXT;
- if(!disp->ActiveProgramEXT) {
- void ** procp = (void **) &disp->ActiveProgramEXT;
snprintf(symboln, sizeof(symboln), "%sActiveProgramEXT", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->CreateShaderProgramEXT) {
+ void **procp = (void **) &disp->CreateShaderProgramEXT;
- if(!disp->CreateShaderProgramEXT) {
- void ** procp = (void **) &disp->CreateShaderProgramEXT;
- snprintf(symboln, sizeof(symboln), "%sCreateShaderProgramEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sCreateShaderProgramEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->UseShaderProgramEXT) {
+ void **procp = (void **) &disp->UseShaderProgramEXT;
- if(!disp->UseShaderProgramEXT) {
- void ** procp = (void **) &disp->UseShaderProgramEXT;
- snprintf(symboln, sizeof(symboln), "%sUseShaderProgramEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sUseShaderProgramEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->TextureBarrierNV) {
+ void **procp = (void **) &disp->TextureBarrierNV;
- if(!disp->TextureBarrierNV) {
- void ** procp = (void **) &disp->TextureBarrierNV;
snprintf(symboln, sizeof(symboln), "%sTextureBarrierNV", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->StencilFuncSeparateATI) {
+ void **procp = (void **) &disp->StencilFuncSeparateATI;
- if(!disp->StencilFuncSeparateATI) {
- void ** procp = (void **) &disp->StencilFuncSeparateATI;
- snprintf(symboln, sizeof(symboln), "%sStencilFuncSeparateATI", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sStencilFuncSeparateATI",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ProgramEnvParameters4fvEXT) {
+ void **procp = (void **) &disp->ProgramEnvParameters4fvEXT;
- if(!disp->ProgramEnvParameters4fvEXT) {
- void ** procp = (void **) &disp->ProgramEnvParameters4fvEXT;
- snprintf(symboln, sizeof(symboln), "%sProgramEnvParameters4fvEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sProgramEnvParameters4fvEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->ProgramLocalParameters4fvEXT) {
+ void **procp = (void **) &disp->ProgramLocalParameters4fvEXT;
- if(!disp->ProgramLocalParameters4fvEXT) {
- void ** procp = (void **) &disp->ProgramLocalParameters4fvEXT;
- snprintf(symboln, sizeof(symboln), "%sProgramLocalParameters4fvEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sProgramLocalParameters4fvEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetQueryObjecti64vEXT) {
+ void **procp = (void **) &disp->GetQueryObjecti64vEXT;
- if(!disp->GetQueryObjecti64vEXT) {
- void ** procp = (void **) &disp->GetQueryObjecti64vEXT;
- snprintf(symboln, sizeof(symboln), "%sGetQueryObjecti64vEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetQueryObjecti64vEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->GetQueryObjectui64vEXT) {
+ void **procp = (void **) &disp->GetQueryObjectui64vEXT;
- if(!disp->GetQueryObjectui64vEXT) {
- void ** procp = (void **) &disp->GetQueryObjectui64vEXT;
- snprintf(symboln, sizeof(symboln), "%sGetQueryObjectui64vEXT", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sGetQueryObjectui64vEXT",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->EGLImageTargetRenderbufferStorageOES) {
+ void **procp = (void **) &disp->EGLImageTargetRenderbufferStorageOES;
- if(!disp->EGLImageTargetRenderbufferStorageOES) {
- void ** procp = (void **) &disp->EGLImageTargetRenderbufferStorageOES;
- snprintf(symboln, sizeof(symboln), "%sEGLImageTargetRenderbufferStorageOES", symbol_prefix);
+ snprintf(symboln, sizeof(symboln),
+ "%sEGLImageTargetRenderbufferStorageOES", symbol_prefix);
*procp = dlsym(handle, symboln);
}
+ if (!disp->EGLImageTargetTexture2DOES) {
+ void **procp = (void **) &disp->EGLImageTargetTexture2DOES;
- if(!disp->EGLImageTargetTexture2DOES) {
- void ** procp = (void **) &disp->EGLImageTargetTexture2DOES;
- snprintf(symboln, sizeof(symboln), "%sEGLImageTargetTexture2DOES", symbol_prefix);
+ snprintf(symboln, sizeof(symboln), "%sEGLImageTargetTexture2DOES",
+ symbol_prefix);
*procp = dlsym(handle, symboln);
}
-
__glapi_gentable_set_remaining_noop(disp);
return disp;
}
-
diff --git a/glx/glapitable.h b/glx/glapitable.h
index e5c5449a9..f7e7c6c97 100644
--- a/glx/glapitable.h
+++ b/glx/glapitable.h
@@ -27,992 +27,990 @@
*/
#if !defined( _GLAPI_TABLE_H_ )
-# define _GLAPI_TABLE_H_
+#define _GLAPI_TABLE_H_
#ifndef GLAPIENTRYP
-# ifndef GLAPIENTRY
-# define GLAPIENTRY
-# endif
-
-# define GLAPIENTRYP GLAPIENTRY *
+#ifndef GLAPIENTRY
+#define GLAPIENTRY
#endif
+#define GLAPIENTRYP GLAPIENTRY *
+#endif
-struct _glapi_table
-{
- void (GLAPIENTRYP NewList)(GLuint list, GLenum mode); /* 0 */
- void (GLAPIENTRYP EndList)(void); /* 1 */
- void (GLAPIENTRYP CallList)(GLuint list); /* 2 */
- void (GLAPIENTRYP CallLists)(GLsizei n, GLenum type, const GLvoid * lists); /* 3 */
- void (GLAPIENTRYP DeleteLists)(GLuint list, GLsizei range); /* 4 */
- GLuint (GLAPIENTRYP GenLists)(GLsizei range); /* 5 */
- void (GLAPIENTRYP ListBase)(GLuint base); /* 6 */
- void (GLAPIENTRYP Begin)(GLenum mode); /* 7 */
- void (GLAPIENTRYP Bitmap)(GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte * bitmap); /* 8 */
- void (GLAPIENTRYP Color3b)(GLbyte red, GLbyte green, GLbyte blue); /* 9 */
- void (GLAPIENTRYP Color3bv)(const GLbyte * v); /* 10 */
- void (GLAPIENTRYP Color3d)(GLdouble red, GLdouble green, GLdouble blue); /* 11 */
- void (GLAPIENTRYP Color3dv)(const GLdouble * v); /* 12 */
- void (GLAPIENTRYP Color3f)(GLfloat red, GLfloat green, GLfloat blue); /* 13 */
- void (GLAPIENTRYP Color3fv)(const GLfloat * v); /* 14 */
- void (GLAPIENTRYP Color3i)(GLint red, GLint green, GLint blue); /* 15 */
- void (GLAPIENTRYP Color3iv)(const GLint * v); /* 16 */
- void (GLAPIENTRYP Color3s)(GLshort red, GLshort green, GLshort blue); /* 17 */
- void (GLAPIENTRYP Color3sv)(const GLshort * v); /* 18 */
- void (GLAPIENTRYP Color3ub)(GLubyte red, GLubyte green, GLubyte blue); /* 19 */
- void (GLAPIENTRYP Color3ubv)(const GLubyte * v); /* 20 */
- void (GLAPIENTRYP Color3ui)(GLuint red, GLuint green, GLuint blue); /* 21 */
- void (GLAPIENTRYP Color3uiv)(const GLuint * v); /* 22 */
- void (GLAPIENTRYP Color3us)(GLushort red, GLushort green, GLushort blue); /* 23 */
- void (GLAPIENTRYP Color3usv)(const GLushort * v); /* 24 */
- void (GLAPIENTRYP Color4b)(GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha); /* 25 */
- void (GLAPIENTRYP Color4bv)(const GLbyte * v); /* 26 */
- void (GLAPIENTRYP Color4d)(GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha); /* 27 */
- void (GLAPIENTRYP Color4dv)(const GLdouble * v); /* 28 */
- void (GLAPIENTRYP Color4f)(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); /* 29 */
- void (GLAPIENTRYP Color4fv)(const GLfloat * v); /* 30 */
- void (GLAPIENTRYP Color4i)(GLint red, GLint green, GLint blue, GLint alpha); /* 31 */
- void (GLAPIENTRYP Color4iv)(const GLint * v); /* 32 */
- void (GLAPIENTRYP Color4s)(GLshort red, GLshort green, GLshort blue, GLshort alpha); /* 33 */
- void (GLAPIENTRYP Color4sv)(const GLshort * v); /* 34 */
- void (GLAPIENTRYP Color4ub)(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha); /* 35 */
- void (GLAPIENTRYP Color4ubv)(const GLubyte * v); /* 36 */
- void (GLAPIENTRYP Color4ui)(GLuint red, GLuint green, GLuint blue, GLuint alpha); /* 37 */
- void (GLAPIENTRYP Color4uiv)(const GLuint * v); /* 38 */
- void (GLAPIENTRYP Color4us)(GLushort red, GLushort green, GLushort blue, GLushort alpha); /* 39 */
- void (GLAPIENTRYP Color4usv)(const GLushort * v); /* 40 */
- void (GLAPIENTRYP EdgeFlag)(GLboolean flag); /* 41 */
- void (GLAPIENTRYP EdgeFlagv)(const GLboolean * flag); /* 42 */
- void (GLAPIENTRYP End)(void); /* 43 */
- void (GLAPIENTRYP Indexd)(GLdouble c); /* 44 */
- void (GLAPIENTRYP Indexdv)(const GLdouble * c); /* 45 */
- void (GLAPIENTRYP Indexf)(GLfloat c); /* 46 */
- void (GLAPIENTRYP Indexfv)(const GLfloat * c); /* 47 */
- void (GLAPIENTRYP Indexi)(GLint c); /* 48 */
- void (GLAPIENTRYP Indexiv)(const GLint * c); /* 49 */
- void (GLAPIENTRYP Indexs)(GLshort c); /* 50 */
- void (GLAPIENTRYP Indexsv)(const GLshort * c); /* 51 */
- void (GLAPIENTRYP Normal3b)(GLbyte nx, GLbyte ny, GLbyte nz); /* 52 */
- void (GLAPIENTRYP Normal3bv)(const GLbyte * v); /* 53 */
- void (GLAPIENTRYP Normal3d)(GLdouble nx, GLdouble ny, GLdouble nz); /* 54 */
- void (GLAPIENTRYP Normal3dv)(const GLdouble * v); /* 55 */
- void (GLAPIENTRYP Normal3f)(GLfloat nx, GLfloat ny, GLfloat nz); /* 56 */
- void (GLAPIENTRYP Normal3fv)(const GLfloat * v); /* 57 */
- void (GLAPIENTRYP Normal3i)(GLint nx, GLint ny, GLint nz); /* 58 */
- void (GLAPIENTRYP Normal3iv)(const GLint * v); /* 59 */
- void (GLAPIENTRYP Normal3s)(GLshort nx, GLshort ny, GLshort nz); /* 60 */
- void (GLAPIENTRYP Normal3sv)(const GLshort * v); /* 61 */
- void (GLAPIENTRYP RasterPos2d)(GLdouble x, GLdouble y); /* 62 */
- void (GLAPIENTRYP RasterPos2dv)(const GLdouble * v); /* 63 */
- void (GLAPIENTRYP RasterPos2f)(GLfloat x, GLfloat y); /* 64 */
- void (GLAPIENTRYP RasterPos2fv)(const GLfloat * v); /* 65 */
- void (GLAPIENTRYP RasterPos2i)(GLint x, GLint y); /* 66 */
- void (GLAPIENTRYP RasterPos2iv)(const GLint * v); /* 67 */
- void (GLAPIENTRYP RasterPos2s)(GLshort x, GLshort y); /* 68 */
- void (GLAPIENTRYP RasterPos2sv)(const GLshort * v); /* 69 */
- void (GLAPIENTRYP RasterPos3d)(GLdouble x, GLdouble y, GLdouble z); /* 70 */
- void (GLAPIENTRYP RasterPos3dv)(const GLdouble * v); /* 71 */
- void (GLAPIENTRYP RasterPos3f)(GLfloat x, GLfloat y, GLfloat z); /* 72 */
- void (GLAPIENTRYP RasterPos3fv)(const GLfloat * v); /* 73 */
- void (GLAPIENTRYP RasterPos3i)(GLint x, GLint y, GLint z); /* 74 */
- void (GLAPIENTRYP RasterPos3iv)(const GLint * v); /* 75 */
- void (GLAPIENTRYP RasterPos3s)(GLshort x, GLshort y, GLshort z); /* 76 */
- void (GLAPIENTRYP RasterPos3sv)(const GLshort * v); /* 77 */
- void (GLAPIENTRYP RasterPos4d)(GLdouble x, GLdouble y, GLdouble z, GLdouble w); /* 78 */
- void (GLAPIENTRYP RasterPos4dv)(const GLdouble * v); /* 79 */
- void (GLAPIENTRYP RasterPos4f)(GLfloat x, GLfloat y, GLfloat z, GLfloat w); /* 80 */
- void (GLAPIENTRYP RasterPos4fv)(const GLfloat * v); /* 81 */
- void (GLAPIENTRYP RasterPos4i)(GLint x, GLint y, GLint z, GLint w); /* 82 */
- void (GLAPIENTRYP RasterPos4iv)(const GLint * v); /* 83 */
- void (GLAPIENTRYP RasterPos4s)(GLshort x, GLshort y, GLshort z, GLshort w); /* 84 */
- void (GLAPIENTRYP RasterPos4sv)(const GLshort * v); /* 85 */
- void (GLAPIENTRYP Rectd)(GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2); /* 86 */
- void (GLAPIENTRYP Rectdv)(const GLdouble * v1, const GLdouble * v2); /* 87 */
- void (GLAPIENTRYP Rectf)(GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2); /* 88 */
- void (GLAPIENTRYP Rectfv)(const GLfloat * v1, const GLfloat * v2); /* 89 */
- void (GLAPIENTRYP Recti)(GLint x1, GLint y1, GLint x2, GLint y2); /* 90 */
- void (GLAPIENTRYP Rectiv)(const GLint * v1, const GLint * v2); /* 91 */
- void (GLAPIENTRYP Rects)(GLshort x1, GLshort y1, GLshort x2, GLshort y2); /* 92 */
- void (GLAPIENTRYP Rectsv)(const GLshort * v1, const GLshort * v2); /* 93 */
- void (GLAPIENTRYP TexCoord1d)(GLdouble s); /* 94 */
- void (GLAPIENTRYP TexCoord1dv)(const GLdouble * v); /* 95 */
- void (GLAPIENTRYP TexCoord1f)(GLfloat s); /* 96 */
- void (GLAPIENTRYP TexCoord1fv)(const GLfloat * v); /* 97 */
- void (GLAPIENTRYP TexCoord1i)(GLint s); /* 98 */
- void (GLAPIENTRYP TexCoord1iv)(const GLint * v); /* 99 */
- void (GLAPIENTRYP TexCoord1s)(GLshort s); /* 100 */
- void (GLAPIENTRYP TexCoord1sv)(const GLshort * v); /* 101 */
- void (GLAPIENTRYP TexCoord2d)(GLdouble s, GLdouble t); /* 102 */
- void (GLAPIENTRYP TexCoord2dv)(const GLdouble * v); /* 103 */
- void (GLAPIENTRYP TexCoord2f)(GLfloat s, GLfloat t); /* 104 */
- void (GLAPIENTRYP TexCoord2fv)(const GLfloat * v); /* 105 */
- void (GLAPIENTRYP TexCoord2i)(GLint s, GLint t); /* 106 */
- void (GLAPIENTRYP TexCoord2iv)(const GLint * v); /* 107 */
- void (GLAPIENTRYP TexCoord2s)(GLshort s, GLshort t); /* 108 */
- void (GLAPIENTRYP TexCoord2sv)(const GLshort * v); /* 109 */
- void (GLAPIENTRYP TexCoord3d)(GLdouble s, GLdouble t, GLdouble r); /* 110 */
- void (GLAPIENTRYP TexCoord3dv)(const GLdouble * v); /* 111 */
- void (GLAPIENTRYP TexCoord3f)(GLfloat s, GLfloat t, GLfloat r); /* 112 */
- void (GLAPIENTRYP TexCoord3fv)(const GLfloat * v); /* 113 */
- void (GLAPIENTRYP TexCoord3i)(GLint s, GLint t, GLint r); /* 114 */
- void (GLAPIENTRYP TexCoord3iv)(const GLint * v); /* 115 */
- void (GLAPIENTRYP TexCoord3s)(GLshort s, GLshort t, GLshort r); /* 116 */
- void (GLAPIENTRYP TexCoord3sv)(const GLshort * v); /* 117 */
- void (GLAPIENTRYP TexCoord4d)(GLdouble s, GLdouble t, GLdouble r, GLdouble q); /* 118 */
- void (GLAPIENTRYP TexCoord4dv)(const GLdouble * v); /* 119 */
- void (GLAPIENTRYP TexCoord4f)(GLfloat s, GLfloat t, GLfloat r, GLfloat q); /* 120 */
- void (GLAPIENTRYP TexCoord4fv)(const GLfloat * v); /* 121 */
- void (GLAPIENTRYP TexCoord4i)(GLint s, GLint t, GLint r, GLint q); /* 122 */
- void (GLAPIENTRYP TexCoord4iv)(const GLint * v); /* 123 */
- void (GLAPIENTRYP TexCoord4s)(GLshort s, GLshort t, GLshort r, GLshort q); /* 124 */
- void (GLAPIENTRYP TexCoord4sv)(const GLshort * v); /* 125 */
- void (GLAPIENTRYP Vertex2d)(GLdouble x, GLdouble y); /* 126 */
- void (GLAPIENTRYP Vertex2dv)(const GLdouble * v); /* 127 */
- void (GLAPIENTRYP Vertex2f)(GLfloat x, GLfloat y); /* 128 */
- void (GLAPIENTRYP Vertex2fv)(const GLfloat * v); /* 129 */
- void (GLAPIENTRYP Vertex2i)(GLint x, GLint y); /* 130 */
- void (GLAPIENTRYP Vertex2iv)(const GLint * v); /* 131 */
- void (GLAPIENTRYP Vertex2s)(GLshort x, GLshort y); /* 132 */
- void (GLAPIENTRYP Vertex2sv)(const GLshort * v); /* 133 */
- void (GLAPIENTRYP Vertex3d)(GLdouble x, GLdouble y, GLdouble z); /* 134 */
- void (GLAPIENTRYP Vertex3dv)(const GLdouble * v); /* 135 */
- void (GLAPIENTRYP Vertex3f)(GLfloat x, GLfloat y, GLfloat z); /* 136 */
- void (GLAPIENTRYP Vertex3fv)(const GLfloat * v); /* 137 */
- void (GLAPIENTRYP Vertex3i)(GLint x, GLint y, GLint z); /* 138 */
- void (GLAPIENTRYP Vertex3iv)(const GLint * v); /* 139 */
- void (GLAPIENTRYP Vertex3s)(GLshort x, GLshort y, GLshort z); /* 140 */
- void (GLAPIENTRYP Vertex3sv)(const GLshort * v); /* 141 */
- void (GLAPIENTRYP Vertex4d)(GLdouble x, GLdouble y, GLdouble z, GLdouble w); /* 142 */
- void (GLAPIENTRYP Vertex4dv)(const GLdouble * v); /* 143 */
- void (GLAPIENTRYP Vertex4f)(GLfloat x, GLfloat y, GLfloat z, GLfloat w); /* 144 */
- void (GLAPIENTRYP Vertex4fv)(const GLfloat * v); /* 145 */
- void (GLAPIENTRYP Vertex4i)(GLint x, GLint y, GLint z, GLint w); /* 146 */
- void (GLAPIENTRYP Vertex4iv)(const GLint * v); /* 147 */
- void (GLAPIENTRYP Vertex4s)(GLshort x, GLshort y, GLshort z, GLshort w); /* 148 */
- void (GLAPIENTRYP Vertex4sv)(const GLshort * v); /* 149 */
- void (GLAPIENTRYP ClipPlane)(GLenum plane, const GLdouble * equation); /* 150 */
- void (GLAPIENTRYP ColorMaterial)(GLenum face, GLenum mode); /* 151 */
- void (GLAPIENTRYP CullFace)(GLenum mode); /* 152 */
- void (GLAPIENTRYP Fogf)(GLenum pname, GLfloat param); /* 153 */
- void (GLAPIENTRYP Fogfv)(GLenum pname, const GLfloat * params); /* 154 */
- void (GLAPIENTRYP Fogi)(GLenum pname, GLint param); /* 155 */
- void (GLAPIENTRYP Fogiv)(GLenum pname, const GLint * params); /* 156 */
- void (GLAPIENTRYP FrontFace)(GLenum mode); /* 157 */
- void (GLAPIENTRYP Hint)(GLenum target, GLenum mode); /* 158 */
- void (GLAPIENTRYP Lightf)(GLenum light, GLenum pname, GLfloat param); /* 159 */
- void (GLAPIENTRYP Lightfv)(GLenum light, GLenum pname, const GLfloat * params); /* 160 */
- void (GLAPIENTRYP Lighti)(GLenum light, GLenum pname, GLint param); /* 161 */
- void (GLAPIENTRYP Lightiv)(GLenum light, GLenum pname, const GLint * params); /* 162 */
- void (GLAPIENTRYP LightModelf)(GLenum pname, GLfloat param); /* 163 */
- void (GLAPIENTRYP LightModelfv)(GLenum pname, const GLfloat * params); /* 164 */
- void (GLAPIENTRYP LightModeli)(GLenum pname, GLint param); /* 165 */
- void (GLAPIENTRYP LightModeliv)(GLenum pname, const GLint * params); /* 166 */
- void (GLAPIENTRYP LineStipple)(GLint factor, GLushort pattern); /* 167 */
- void (GLAPIENTRYP LineWidth)(GLfloat width); /* 168 */
- void (GLAPIENTRYP Materialf)(GLenum face, GLenum pname, GLfloat param); /* 169 */
- void (GLAPIENTRYP Materialfv)(GLenum face, GLenum pname, const GLfloat * params); /* 170 */
- void (GLAPIENTRYP Materiali)(GLenum face, GLenum pname, GLint param); /* 171 */
- void (GLAPIENTRYP Materialiv)(GLenum face, GLenum pname, const GLint * params); /* 172 */
- void (GLAPIENTRYP PointSize)(GLfloat size); /* 173 */
- void (GLAPIENTRYP PolygonMode)(GLenum face, GLenum mode); /* 174 */
- void (GLAPIENTRYP PolygonStipple)(const GLubyte * mask); /* 175 */
- void (GLAPIENTRYP Scissor)(GLint x, GLint y, GLsizei width, GLsizei height); /* 176 */
- void (GLAPIENTRYP ShadeModel)(GLenum mode); /* 177 */
- void (GLAPIENTRYP TexParameterf)(GLenum target, GLenum pname, GLfloat param); /* 178 */
- void (GLAPIENTRYP TexParameterfv)(GLenum target, GLenum pname, const GLfloat * params); /* 179 */
- void (GLAPIENTRYP TexParameteri)(GLenum target, GLenum pname, GLint param); /* 180 */
- void (GLAPIENTRYP TexParameteriv)(GLenum target, GLenum pname, const GLint * params); /* 181 */
- void (GLAPIENTRYP TexImage1D)(GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid * pixels); /* 182 */
- void (GLAPIENTRYP TexImage2D)(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid * pixels); /* 183 */
- void (GLAPIENTRYP TexEnvf)(GLenum target, GLenum pname, GLfloat param); /* 184 */
- void (GLAPIENTRYP TexEnvfv)(GLenum target, GLenum pname, const GLfloat * params); /* 185 */
- void (GLAPIENTRYP TexEnvi)(GLenum target, GLenum pname, GLint param); /* 186 */
- void (GLAPIENTRYP TexEnviv)(GLenum target, GLenum pname, const GLint * params); /* 187 */
- void (GLAPIENTRYP TexGend)(GLenum coord, GLenum pname, GLdouble param); /* 188 */
- void (GLAPIENTRYP TexGendv)(GLenum coord, GLenum pname, const GLdouble * params); /* 189 */
- void (GLAPIENTRYP TexGenf)(GLenum coord, GLenum pname, GLfloat param); /* 190 */
- void (GLAPIENTRYP TexGenfv)(GLenum coord, GLenum pname, const GLfloat * params); /* 191 */
- void (GLAPIENTRYP TexGeni)(GLenum coord, GLenum pname, GLint param); /* 192 */
- void (GLAPIENTRYP TexGeniv)(GLenum coord, GLenum pname, const GLint * params); /* 193 */
- void (GLAPIENTRYP FeedbackBuffer)(GLsizei size, GLenum type, GLfloat * buffer); /* 194 */
- void (GLAPIENTRYP SelectBuffer)(GLsizei size, GLuint * buffer); /* 195 */
- GLint (GLAPIENTRYP RenderMode)(GLenum mode); /* 196 */
- void (GLAPIENTRYP InitNames)(void); /* 197 */
- void (GLAPIENTRYP LoadName)(GLuint name); /* 198 */
- void (GLAPIENTRYP PassThrough)(GLfloat token); /* 199 */
- void (GLAPIENTRYP PopName)(void); /* 200 */
- void (GLAPIENTRYP PushName)(GLuint name); /* 201 */
- void (GLAPIENTRYP DrawBuffer)(GLenum mode); /* 202 */
- void (GLAPIENTRYP Clear)(GLbitfield mask); /* 203 */
- void (GLAPIENTRYP ClearAccum)(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); /* 204 */
- void (GLAPIENTRYP ClearIndex)(GLfloat c); /* 205 */
- void (GLAPIENTRYP ClearColor)(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); /* 206 */
- void (GLAPIENTRYP ClearStencil)(GLint s); /* 207 */
- void (GLAPIENTRYP ClearDepth)(GLclampd depth); /* 208 */
- void (GLAPIENTRYP StencilMask)(GLuint mask); /* 209 */
- void (GLAPIENTRYP ColorMask)(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); /* 210 */
- void (GLAPIENTRYP DepthMask)(GLboolean flag); /* 211 */
- void (GLAPIENTRYP IndexMask)(GLuint mask); /* 212 */
- void (GLAPIENTRYP Accum)(GLenum op, GLfloat value); /* 213 */
- void (GLAPIENTRYP Disable)(GLenum cap); /* 214 */
- void (GLAPIENTRYP Enable)(GLenum cap); /* 215 */
- void (GLAPIENTRYP Finish)(void); /* 216 */
- void (GLAPIENTRYP Flush)(void); /* 217 */
- void (GLAPIENTRYP PopAttrib)(void); /* 218 */
- void (GLAPIENTRYP PushAttrib)(GLbitfield mask); /* 219 */
- void (GLAPIENTRYP Map1d)(GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble * points); /* 220 */
- void (GLAPIENTRYP Map1f)(GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat * points); /* 221 */
- void (GLAPIENTRYP Map2d)(GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble * points); /* 222 */
- void (GLAPIENTRYP Map2f)(GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat * points); /* 223 */
- void (GLAPIENTRYP MapGrid1d)(GLint un, GLdouble u1, GLdouble u2); /* 224 */
- void (GLAPIENTRYP MapGrid1f)(GLint un, GLfloat u1, GLfloat u2); /* 225 */
- void (GLAPIENTRYP MapGrid2d)(GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2); /* 226 */
- void (GLAPIENTRYP MapGrid2f)(GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2); /* 227 */
- void (GLAPIENTRYP EvalCoord1d)(GLdouble u); /* 228 */
- void (GLAPIENTRYP EvalCoord1dv)(const GLdouble * u); /* 229 */
- void (GLAPIENTRYP EvalCoord1f)(GLfloat u); /* 230 */
- void (GLAPIENTRYP EvalCoord1fv)(const GLfloat * u); /* 231 */
- void (GLAPIENTRYP EvalCoord2d)(GLdouble u, GLdouble v); /* 232 */
- void (GLAPIENTRYP EvalCoord2dv)(const GLdouble * u); /* 233 */
- void (GLAPIENTRYP EvalCoord2f)(GLfloat u, GLfloat v); /* 234 */
- void (GLAPIENTRYP EvalCoord2fv)(const GLfloat * u); /* 235 */
- void (GLAPIENTRYP EvalMesh1)(GLenum mode, GLint i1, GLint i2); /* 236 */
- void (GLAPIENTRYP EvalPoint1)(GLint i); /* 237 */
- void (GLAPIENTRYP EvalMesh2)(GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2); /* 238 */
- void (GLAPIENTRYP EvalPoint2)(GLint i, GLint j); /* 239 */
- void (GLAPIENTRYP AlphaFunc)(GLenum func, GLclampf ref); /* 240 */
- void (GLAPIENTRYP BlendFunc)(GLenum sfactor, GLenum dfactor); /* 241 */
- void (GLAPIENTRYP LogicOp)(GLenum opcode); /* 242 */
- void (GLAPIENTRYP StencilFunc)(GLenum func, GLint ref, GLuint mask); /* 243 */
- void (GLAPIENTRYP StencilOp)(GLenum fail, GLenum zfail, GLenum zpass); /* 244 */
- void (GLAPIENTRYP DepthFunc)(GLenum func); /* 245 */
- void (GLAPIENTRYP PixelZoom)(GLfloat xfactor, GLfloat yfactor); /* 246 */
- void (GLAPIENTRYP PixelTransferf)(GLenum pname, GLfloat param); /* 247 */
- void (GLAPIENTRYP PixelTransferi)(GLenum pname, GLint param); /* 248 */
- void (GLAPIENTRYP PixelStoref)(GLenum pname, GLfloat param); /* 249 */
- void (GLAPIENTRYP PixelStorei)(GLenum pname, GLint param); /* 250 */
- void (GLAPIENTRYP PixelMapfv)(GLenum map, GLsizei mapsize, const GLfloat * values); /* 251 */
- void (GLAPIENTRYP PixelMapuiv)(GLenum map, GLsizei mapsize, const GLuint * values); /* 252 */
- void (GLAPIENTRYP PixelMapusv)(GLenum map, GLsizei mapsize, const GLushort * values); /* 253 */
- void (GLAPIENTRYP ReadBuffer)(GLenum mode); /* 254 */
- void (GLAPIENTRYP CopyPixels)(GLint x, GLint y, GLsizei width, GLsizei height, GLenum type); /* 255 */
- void (GLAPIENTRYP ReadPixels)(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid * pixels); /* 256 */
- void (GLAPIENTRYP DrawPixels)(GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid * pixels); /* 257 */
- void (GLAPIENTRYP GetBooleanv)(GLenum pname, GLboolean * params); /* 258 */
- void (GLAPIENTRYP GetClipPlane)(GLenum plane, GLdouble * equation); /* 259 */
- void (GLAPIENTRYP GetDoublev)(GLenum pname, GLdouble * params); /* 260 */
- GLenum (GLAPIENTRYP GetError)(void); /* 261 */
- void (GLAPIENTRYP GetFloatv)(GLenum pname, GLfloat * params); /* 262 */
- void (GLAPIENTRYP GetIntegerv)(GLenum pname, GLint * params); /* 263 */
- void (GLAPIENTRYP GetLightfv)(GLenum light, GLenum pname, GLfloat * params); /* 264 */
- void (GLAPIENTRYP GetLightiv)(GLenum light, GLenum pname, GLint * params); /* 265 */
- void (GLAPIENTRYP GetMapdv)(GLenum target, GLenum query, GLdouble * v); /* 266 */
- void (GLAPIENTRYP GetMapfv)(GLenum target, GLenum query, GLfloat * v); /* 267 */
- void (GLAPIENTRYP GetMapiv)(GLenum target, GLenum query, GLint * v); /* 268 */
- void (GLAPIENTRYP GetMaterialfv)(GLenum face, GLenum pname, GLfloat * params); /* 269 */
- void (GLAPIENTRYP GetMaterialiv)(GLenum face, GLenum pname, GLint * params); /* 270 */
- void (GLAPIENTRYP GetPixelMapfv)(GLenum map, GLfloat * values); /* 271 */
- void (GLAPIENTRYP GetPixelMapuiv)(GLenum map, GLuint * values); /* 272 */
- void (GLAPIENTRYP GetPixelMapusv)(GLenum map, GLushort * values); /* 273 */
- void (GLAPIENTRYP GetPolygonStipple)(GLubyte * mask); /* 274 */
- const GLubyte * (GLAPIENTRYP GetString)(GLenum name); /* 275 */
- void (GLAPIENTRYP GetTexEnvfv)(GLenum target, GLenum pname, GLfloat * params); /* 276 */
- void (GLAPIENTRYP GetTexEnviv)(GLenum target, GLenum pname, GLint * params); /* 277 */
- void (GLAPIENTRYP GetTexGendv)(GLenum coord, GLenum pname, GLdouble * params); /* 278 */
- void (GLAPIENTRYP GetTexGenfv)(GLenum coord, GLenum pname, GLfloat * params); /* 279 */
- void (GLAPIENTRYP GetTexGeniv)(GLenum coord, GLenum pname, GLint * params); /* 280 */
- void (GLAPIENTRYP GetTexImage)(GLenum target, GLint level, GLenum format, GLenum type, GLvoid * pixels); /* 281 */
- void (GLAPIENTRYP GetTexParameterfv)(GLenum target, GLenum pname, GLfloat * params); /* 282 */
- void (GLAPIENTRYP GetTexParameteriv)(GLenum target, GLenum pname, GLint * params); /* 283 */
- void (GLAPIENTRYP GetTexLevelParameterfv)(GLenum target, GLint level, GLenum pname, GLfloat * params); /* 284 */
- void (GLAPIENTRYP GetTexLevelParameteriv)(GLenum target, GLint level, GLenum pname, GLint * params); /* 285 */
- GLboolean (GLAPIENTRYP IsEnabled)(GLenum cap); /* 286 */
- GLboolean (GLAPIENTRYP IsList)(GLuint list); /* 287 */
- void (GLAPIENTRYP DepthRange)(GLclampd zNear, GLclampd zFar); /* 288 */
- void (GLAPIENTRYP Frustum)(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); /* 289 */
- void (GLAPIENTRYP LoadIdentity)(void); /* 290 */
- void (GLAPIENTRYP LoadMatrixf)(const GLfloat * m); /* 291 */
- void (GLAPIENTRYP LoadMatrixd)(const GLdouble * m); /* 292 */
- void (GLAPIENTRYP MatrixMode)(GLenum mode); /* 293 */
- void (GLAPIENTRYP MultMatrixf)(const GLfloat * m); /* 294 */
- void (GLAPIENTRYP MultMatrixd)(const GLdouble * m); /* 295 */
- void (GLAPIENTRYP Ortho)(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); /* 296 */
- void (GLAPIENTRYP PopMatrix)(void); /* 297 */
- void (GLAPIENTRYP PushMatrix)(void); /* 298 */
- void (GLAPIENTRYP Rotated)(GLdouble angle, GLdouble x, GLdouble y, GLdouble z); /* 299 */
- void (GLAPIENTRYP Rotatef)(GLfloat angle, GLfloat x, GLfloat y, GLfloat z); /* 300 */
- void (GLAPIENTRYP Scaled)(GLdouble x, GLdouble y, GLdouble z); /* 301 */
- void (GLAPIENTRYP Scalef)(GLfloat x, GLfloat y, GLfloat z); /* 302 */
- void (GLAPIENTRYP Translated)(GLdouble x, GLdouble y, GLdouble z); /* 303 */
- void (GLAPIENTRYP Translatef)(GLfloat x, GLfloat y, GLfloat z); /* 304 */
- void (GLAPIENTRYP Viewport)(GLint x, GLint y, GLsizei width, GLsizei height); /* 305 */
- void (GLAPIENTRYP ArrayElement)(GLint i); /* 306 */
- void (GLAPIENTRYP BindTexture)(GLenum target, GLuint texture); /* 307 */
- void (GLAPIENTRYP ColorPointer)(GLint size, GLenum type, GLsizei stride, const GLvoid * pointer); /* 308 */
- void (GLAPIENTRYP DisableClientState)(GLenum array); /* 309 */
- void (GLAPIENTRYP DrawArrays)(GLenum mode, GLint first, GLsizei count); /* 310 */
- void (GLAPIENTRYP DrawElements)(GLenum mode, GLsizei count, GLenum type, const GLvoid * indices); /* 311 */
- void (GLAPIENTRYP EdgeFlagPointer)(GLsizei stride, const GLvoid * pointer); /* 312 */
- void (GLAPIENTRYP EnableClientState)(GLenum array); /* 313 */
- void (GLAPIENTRYP IndexPointer)(GLenum type, GLsizei stride, const GLvoid * pointer); /* 314 */
- void (GLAPIENTRYP Indexub)(GLubyte c); /* 315 */
- void (GLAPIENTRYP Indexubv)(const GLubyte * c); /* 316 */
- void (GLAPIENTRYP InterleavedArrays)(GLenum format, GLsizei stride, const GLvoid * pointer); /* 317 */
- void (GLAPIENTRYP NormalPointer)(GLenum type, GLsizei stride, const GLvoid * pointer); /* 318 */
- void (GLAPIENTRYP PolygonOffset)(GLfloat factor, GLfloat units); /* 319 */
- void (GLAPIENTRYP TexCoordPointer)(GLint size, GLenum type, GLsizei stride, const GLvoid * pointer); /* 320 */
- void (GLAPIENTRYP VertexPointer)(GLint size, GLenum type, GLsizei stride, const GLvoid * pointer); /* 321 */
- GLboolean (GLAPIENTRYP AreTexturesResident)(GLsizei n, const GLuint * textures, GLboolean * residences); /* 322 */
- void (GLAPIENTRYP CopyTexImage1D)(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border); /* 323 */
- void (GLAPIENTRYP CopyTexImage2D)(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); /* 324 */
- void (GLAPIENTRYP CopyTexSubImage1D)(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); /* 325 */
- void (GLAPIENTRYP CopyTexSubImage2D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); /* 326 */
- void (GLAPIENTRYP DeleteTextures)(GLsizei n, const GLuint * textures); /* 327 */
- void (GLAPIENTRYP GenTextures)(GLsizei n, GLuint * textures); /* 328 */
- void (GLAPIENTRYP GetPointerv)(GLenum pname, GLvoid ** params); /* 329 */
- GLboolean (GLAPIENTRYP IsTexture)(GLuint texture); /* 330 */
- void (GLAPIENTRYP PrioritizeTextures)(GLsizei n, const GLuint * textures, const GLclampf * priorities); /* 331 */
- void (GLAPIENTRYP TexSubImage1D)(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid * pixels); /* 332 */
- void (GLAPIENTRYP TexSubImage2D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid * pixels); /* 333 */
- void (GLAPIENTRYP PopClientAttrib)(void); /* 334 */
- void (GLAPIENTRYP PushClientAttrib)(GLbitfield mask); /* 335 */
- void (GLAPIENTRYP BlendColor)(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); /* 336 */
- void (GLAPIENTRYP BlendEquation)(GLenum mode); /* 337 */
- void (GLAPIENTRYP DrawRangeElements)(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid * indices); /* 338 */
- void (GLAPIENTRYP ColorTable)(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid * table); /* 339 */
- void (GLAPIENTRYP ColorTableParameterfv)(GLenum target, GLenum pname, const GLfloat * params); /* 340 */
- void (GLAPIENTRYP ColorTableParameteriv)(GLenum target, GLenum pname, const GLint * params); /* 341 */
- void (GLAPIENTRYP CopyColorTable)(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); /* 342 */
- void (GLAPIENTRYP GetColorTable)(GLenum target, GLenum format, GLenum type, GLvoid * table); /* 343 */
- void (GLAPIENTRYP GetColorTableParameterfv)(GLenum target, GLenum pname, GLfloat * params); /* 344 */
- void (GLAPIENTRYP GetColorTableParameteriv)(GLenum target, GLenum pname, GLint * params); /* 345 */
- void (GLAPIENTRYP ColorSubTable)(GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid * data); /* 346 */
- void (GLAPIENTRYP CopyColorSubTable)(GLenum target, GLsizei start, GLint x, GLint y, GLsizei width); /* 347 */
- void (GLAPIENTRYP ConvolutionFilter1D)(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid * image); /* 348 */
- void (GLAPIENTRYP ConvolutionFilter2D)(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid * image); /* 349 */
- void (GLAPIENTRYP ConvolutionParameterf)(GLenum target, GLenum pname, GLfloat params); /* 350 */
- void (GLAPIENTRYP ConvolutionParameterfv)(GLenum target, GLenum pname, const GLfloat * params); /* 351 */
- void (GLAPIENTRYP ConvolutionParameteri)(GLenum target, GLenum pname, GLint params); /* 352 */
- void (GLAPIENTRYP ConvolutionParameteriv)(GLenum target, GLenum pname, const GLint * params); /* 353 */
- void (GLAPIENTRYP CopyConvolutionFilter1D)(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); /* 354 */
- void (GLAPIENTRYP CopyConvolutionFilter2D)(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height); /* 355 */
- void (GLAPIENTRYP GetConvolutionFilter)(GLenum target, GLenum format, GLenum type, GLvoid * image); /* 356 */
- void (GLAPIENTRYP GetConvolutionParameterfv)(GLenum target, GLenum pname, GLfloat * params); /* 357 */
- void (GLAPIENTRYP GetConvolutionParameteriv)(GLenum target, GLenum pname, GLint * params); /* 358 */
- void (GLAPIENTRYP GetSeparableFilter)(GLenum target, GLenum format, GLenum type, GLvoid * row, GLvoid * column, GLvoid * span); /* 359 */
- void (GLAPIENTRYP SeparableFilter2D)(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid * row, const GLvoid * column); /* 360 */
- void (GLAPIENTRYP GetHistogram)(GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid * values); /* 361 */
- void (GLAPIENTRYP GetHistogramParameterfv)(GLenum target, GLenum pname, GLfloat * params); /* 362 */
- void (GLAPIENTRYP GetHistogramParameteriv)(GLenum target, GLenum pname, GLint * params); /* 363 */
- void (GLAPIENTRYP GetMinmax)(GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid * values); /* 364 */
- void (GLAPIENTRYP GetMinmaxParameterfv)(GLenum target, GLenum pname, GLfloat * params); /* 365 */
- void (GLAPIENTRYP GetMinmaxParameteriv)(GLenum target, GLenum pname, GLint * params); /* 366 */
- void (GLAPIENTRYP Histogram)(GLenum target, GLsizei width, GLenum internalformat, GLboolean sink); /* 367 */
- void (GLAPIENTRYP Minmax)(GLenum target, GLenum internalformat, GLboolean sink); /* 368 */
- void (GLAPIENTRYP ResetHistogram)(GLenum target); /* 369 */
- void (GLAPIENTRYP ResetMinmax)(GLenum target); /* 370 */
- void (GLAPIENTRYP TexImage3D)(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid * pixels); /* 371 */
- void (GLAPIENTRYP TexSubImage3D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid * pixels); /* 372 */
- void (GLAPIENTRYP CopyTexSubImage3D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); /* 373 */
- void (GLAPIENTRYP ActiveTextureARB)(GLenum texture); /* 374 */
- void (GLAPIENTRYP ClientActiveTextureARB)(GLenum texture); /* 375 */
- void (GLAPIENTRYP MultiTexCoord1dARB)(GLenum target, GLdouble s); /* 376 */
- void (GLAPIENTRYP MultiTexCoord1dvARB)(GLenum target, const GLdouble * v); /* 377 */
- void (GLAPIENTRYP MultiTexCoord1fARB)(GLenum target, GLfloat s); /* 378 */
- void (GLAPIENTRYP MultiTexCoord1fvARB)(GLenum target, const GLfloat * v); /* 379 */
- void (GLAPIENTRYP MultiTexCoord1iARB)(GLenum target, GLint s); /* 380 */
- void (GLAPIENTRYP MultiTexCoord1ivARB)(GLenum target, const GLint * v); /* 381 */
- void (GLAPIENTRYP MultiTexCoord1sARB)(GLenum target, GLshort s); /* 382 */
- void (GLAPIENTRYP MultiTexCoord1svARB)(GLenum target, const GLshort * v); /* 383 */
- void (GLAPIENTRYP MultiTexCoord2dARB)(GLenum target, GLdouble s, GLdouble t); /* 384 */
- void (GLAPIENTRYP MultiTexCoord2dvARB)(GLenum target, const GLdouble * v); /* 385 */
- void (GLAPIENTRYP MultiTexCoord2fARB)(GLenum target, GLfloat s, GLfloat t); /* 386 */
- void (GLAPIENTRYP MultiTexCoord2fvARB)(GLenum target, const GLfloat * v); /* 387 */
- void (GLAPIENTRYP MultiTexCoord2iARB)(GLenum target, GLint s, GLint t); /* 388 */
- void (GLAPIENTRYP MultiTexCoord2ivARB)(GLenum target, const GLint * v); /* 389 */
- void (GLAPIENTRYP MultiTexCoord2sARB)(GLenum target, GLshort s, GLshort t); /* 390 */
- void (GLAPIENTRYP MultiTexCoord2svARB)(GLenum target, const GLshort * v); /* 391 */
- void (GLAPIENTRYP MultiTexCoord3dARB)(GLenum target, GLdouble s, GLdouble t, GLdouble r); /* 392 */
- void (GLAPIENTRYP MultiTexCoord3dvARB)(GLenum target, const GLdouble * v); /* 393 */
- void (GLAPIENTRYP MultiTexCoord3fARB)(GLenum target, GLfloat s, GLfloat t, GLfloat r); /* 394 */
- void (GLAPIENTRYP MultiTexCoord3fvARB)(GLenum target, const GLfloat * v); /* 395 */
- void (GLAPIENTRYP MultiTexCoord3iARB)(GLenum target, GLint s, GLint t, GLint r); /* 396 */
- void (GLAPIENTRYP MultiTexCoord3ivARB)(GLenum target, const GLint * v); /* 397 */
- void (GLAPIENTRYP MultiTexCoord3sARB)(GLenum target, GLshort s, GLshort t, GLshort r); /* 398 */
- void (GLAPIENTRYP MultiTexCoord3svARB)(GLenum target, const GLshort * v); /* 399 */
- void (GLAPIENTRYP MultiTexCoord4dARB)(GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q); /* 400 */
- void (GLAPIENTRYP MultiTexCoord4dvARB)(GLenum target, const GLdouble * v); /* 401 */
- void (GLAPIENTRYP MultiTexCoord4fARB)(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); /* 402 */
- void (GLAPIENTRYP MultiTexCoord4fvARB)(GLenum target, const GLfloat * v); /* 403 */
- void (GLAPIENTRYP MultiTexCoord4iARB)(GLenum target, GLint s, GLint t, GLint r, GLint q); /* 404 */
- void (GLAPIENTRYP MultiTexCoord4ivARB)(GLenum target, const GLint * v); /* 405 */
- void (GLAPIENTRYP MultiTexCoord4sARB)(GLenum target, GLshort s, GLshort t, GLshort r, GLshort q); /* 406 */
- void (GLAPIENTRYP MultiTexCoord4svARB)(GLenum target, const GLshort * v); /* 407 */
- void (GLAPIENTRYP AttachShader)(GLuint program, GLuint shader); /* 408 */
- GLuint (GLAPIENTRYP CreateProgram)(void); /* 409 */
- GLuint (GLAPIENTRYP CreateShader)(GLenum type); /* 410 */
- void (GLAPIENTRYP DeleteProgram)(GLuint program); /* 411 */
- void (GLAPIENTRYP DeleteShader)(GLuint program); /* 412 */
- void (GLAPIENTRYP DetachShader)(GLuint program, GLuint shader); /* 413 */
- void (GLAPIENTRYP GetAttachedShaders)(GLuint program, GLsizei maxCount, GLsizei * count, GLuint * obj); /* 414 */
- void (GLAPIENTRYP GetProgramInfoLog)(GLuint program, GLsizei bufSize, GLsizei * length, GLchar * infoLog); /* 415 */
- void (GLAPIENTRYP GetProgramiv)(GLuint program, GLenum pname, GLint * params); /* 416 */
- void (GLAPIENTRYP GetShaderInfoLog)(GLuint shader, GLsizei bufSize, GLsizei * length, GLchar * infoLog); /* 417 */
- void (GLAPIENTRYP GetShaderiv)(GLuint shader, GLenum pname, GLint * params); /* 418 */
- GLboolean (GLAPIENTRYP IsProgram)(GLuint program); /* 419 */
- GLboolean (GLAPIENTRYP IsShader)(GLuint shader); /* 420 */
- void (GLAPIENTRYP StencilFuncSeparate)(GLenum face, GLenum func, GLint ref, GLuint mask); /* 421 */
- void (GLAPIENTRYP StencilMaskSeparate)(GLenum face, GLuint mask); /* 422 */
- void (GLAPIENTRYP StencilOpSeparate)(GLenum face, GLenum sfail, GLenum zfail, GLenum zpass); /* 423 */
- void (GLAPIENTRYP UniformMatrix2x3fv)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); /* 424 */
- void (GLAPIENTRYP UniformMatrix2x4fv)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); /* 425 */
- void (GLAPIENTRYP UniformMatrix3x2fv)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); /* 426 */
- void (GLAPIENTRYP UniformMatrix3x4fv)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); /* 427 */
- void (GLAPIENTRYP UniformMatrix4x2fv)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); /* 428 */
- void (GLAPIENTRYP UniformMatrix4x3fv)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); /* 429 */
- void (GLAPIENTRYP ClampColor)(GLenum target, GLenum clamp); /* 430 */
- void (GLAPIENTRYP ClearBufferfi)(GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil); /* 431 */
- void (GLAPIENTRYP ClearBufferfv)(GLenum buffer, GLint drawbuffer, const GLfloat * value); /* 432 */
- void (GLAPIENTRYP ClearBufferiv)(GLenum buffer, GLint drawbuffer, const GLint * value); /* 433 */
- void (GLAPIENTRYP ClearBufferuiv)(GLenum buffer, GLint drawbuffer, const GLuint * value); /* 434 */
- const GLubyte * (GLAPIENTRYP GetStringi)(GLenum name, GLuint index); /* 435 */
- void (GLAPIENTRYP TexBuffer)(GLenum target, GLenum internalFormat, GLuint buffer); /* 436 */
- void (GLAPIENTRYP FramebufferTexture)(GLenum target, GLenum attachment, GLuint texture, GLint level); /* 437 */
- void (GLAPIENTRYP GetBufferParameteri64v)(GLenum target, GLenum pname, GLint64 * params); /* 438 */
- void (GLAPIENTRYP GetInteger64i_v)(GLenum cap, GLuint index, GLint64 * data); /* 439 */
- void (GLAPIENTRYP VertexAttribDivisor)(GLuint index, GLuint divisor); /* 440 */
- void (GLAPIENTRYP LoadTransposeMatrixdARB)(const GLdouble * m); /* 441 */
- void (GLAPIENTRYP LoadTransposeMatrixfARB)(const GLfloat * m); /* 442 */
- void (GLAPIENTRYP MultTransposeMatrixdARB)(const GLdouble * m); /* 443 */
- void (GLAPIENTRYP MultTransposeMatrixfARB)(const GLfloat * m); /* 444 */
- void (GLAPIENTRYP SampleCoverageARB)(GLclampf value, GLboolean invert); /* 445 */
- void (GLAPIENTRYP CompressedTexImage1DARB)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid * data); /* 446 */
- void (GLAPIENTRYP CompressedTexImage2DARB)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid * data); /* 447 */
- void (GLAPIENTRYP CompressedTexImage3DARB)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid * data); /* 448 */
- void (GLAPIENTRYP CompressedTexSubImage1DARB)(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid * data); /* 449 */
- void (GLAPIENTRYP CompressedTexSubImage2DARB)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid * data); /* 450 */
- void (GLAPIENTRYP CompressedTexSubImage3DARB)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid * data); /* 451 */
- void (GLAPIENTRYP GetCompressedTexImageARB)(GLenum target, GLint level, GLvoid * img); /* 452 */
- void (GLAPIENTRYP DisableVertexAttribArrayARB)(GLuint index); /* 453 */
- void (GLAPIENTRYP EnableVertexAttribArrayARB)(GLuint index); /* 454 */
- void (GLAPIENTRYP GetProgramEnvParameterdvARB)(GLenum target, GLuint index, GLdouble * params); /* 455 */
- void (GLAPIENTRYP GetProgramEnvParameterfvARB)(GLenum target, GLuint index, GLfloat * params); /* 456 */
- void (GLAPIENTRYP GetProgramLocalParameterdvARB)(GLenum target, GLuint index, GLdouble * params); /* 457 */
- void (GLAPIENTRYP GetProgramLocalParameterfvARB)(GLenum target, GLuint index, GLfloat * params); /* 458 */
- void (GLAPIENTRYP GetProgramStringARB)(GLenum target, GLenum pname, GLvoid * string); /* 459 */
- void (GLAPIENTRYP GetProgramivARB)(GLenum target, GLenum pname, GLint * params); /* 460 */
- void (GLAPIENTRYP GetVertexAttribdvARB)(GLuint index, GLenum pname, GLdouble * params); /* 461 */
- void (GLAPIENTRYP GetVertexAttribfvARB)(GLuint index, GLenum pname, GLfloat * params); /* 462 */
- void (GLAPIENTRYP GetVertexAttribivARB)(GLuint index, GLenum pname, GLint * params); /* 463 */
- void (GLAPIENTRYP ProgramEnvParameter4dARB)(GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); /* 464 */
- void (GLAPIENTRYP ProgramEnvParameter4dvARB)(GLenum target, GLuint index, const GLdouble * params); /* 465 */
- void (GLAPIENTRYP ProgramEnvParameter4fARB)(GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); /* 466 */
- void (GLAPIENTRYP ProgramEnvParameter4fvARB)(GLenum target, GLuint index, const GLfloat * params); /* 467 */
- void (GLAPIENTRYP ProgramLocalParameter4dARB)(GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); /* 468 */
- void (GLAPIENTRYP ProgramLocalParameter4dvARB)(GLenum target, GLuint index, const GLdouble * params); /* 469 */
- void (GLAPIENTRYP ProgramLocalParameter4fARB)(GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); /* 470 */
- void (GLAPIENTRYP ProgramLocalParameter4fvARB)(GLenum target, GLuint index, const GLfloat * params); /* 471 */
- void (GLAPIENTRYP ProgramStringARB)(GLenum target, GLenum format, GLsizei len, const GLvoid * string); /* 472 */
- void (GLAPIENTRYP VertexAttrib1dARB)(GLuint index, GLdouble x); /* 473 */
- void (GLAPIENTRYP VertexAttrib1dvARB)(GLuint index, const GLdouble * v); /* 474 */
- void (GLAPIENTRYP VertexAttrib1fARB)(GLuint index, GLfloat x); /* 475 */
- void (GLAPIENTRYP VertexAttrib1fvARB)(GLuint index, const GLfloat * v); /* 476 */
- void (GLAPIENTRYP VertexAttrib1sARB)(GLuint index, GLshort x); /* 477 */
- void (GLAPIENTRYP VertexAttrib1svARB)(GLuint index, const GLshort * v); /* 478 */
- void (GLAPIENTRYP VertexAttrib2dARB)(GLuint index, GLdouble x, GLdouble y); /* 479 */
- void (GLAPIENTRYP VertexAttrib2dvARB)(GLuint index, const GLdouble * v); /* 480 */
- void (GLAPIENTRYP VertexAttrib2fARB)(GLuint index, GLfloat x, GLfloat y); /* 481 */
- void (GLAPIENTRYP VertexAttrib2fvARB)(GLuint index, const GLfloat * v); /* 482 */
- void (GLAPIENTRYP VertexAttrib2sARB)(GLuint index, GLshort x, GLshort y); /* 483 */
- void (GLAPIENTRYP VertexAttrib2svARB)(GLuint index, const GLshort * v); /* 484 */
- void (GLAPIENTRYP VertexAttrib3dARB)(GLuint index, GLdouble x, GLdouble y, GLdouble z); /* 485 */
- void (GLAPIENTRYP VertexAttrib3dvARB)(GLuint index, const GLdouble * v); /* 486 */
- void (GLAPIENTRYP VertexAttrib3fARB)(GLuint index, GLfloat x, GLfloat y, GLfloat z); /* 487 */
- void (GLAPIENTRYP VertexAttrib3fvARB)(GLuint index, const GLfloat * v); /* 488 */
- void (GLAPIENTRYP VertexAttrib3sARB)(GLuint index, GLshort x, GLshort y, GLshort z); /* 489 */
- void (GLAPIENTRYP VertexAttrib3svARB)(GLuint index, const GLshort * v); /* 490 */
- void (GLAPIENTRYP VertexAttrib4NbvARB)(GLuint index, const GLbyte * v); /* 491 */
- void (GLAPIENTRYP VertexAttrib4NivARB)(GLuint index, const GLint * v); /* 492 */
- void (GLAPIENTRYP VertexAttrib4NsvARB)(GLuint index, const GLshort * v); /* 493 */
- void (GLAPIENTRYP VertexAttrib4NubARB)(GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w); /* 494 */
- void (GLAPIENTRYP VertexAttrib4NubvARB)(GLuint index, const GLubyte * v); /* 495 */
- void (GLAPIENTRYP VertexAttrib4NuivARB)(GLuint index, const GLuint * v); /* 496 */
- void (GLAPIENTRYP VertexAttrib4NusvARB)(GLuint index, const GLushort * v); /* 497 */
- void (GLAPIENTRYP VertexAttrib4bvARB)(GLuint index, const GLbyte * v); /* 498 */
- void (GLAPIENTRYP VertexAttrib4dARB)(GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); /* 499 */
- void (GLAPIENTRYP VertexAttrib4dvARB)(GLuint index, const GLdouble * v); /* 500 */
- void (GLAPIENTRYP VertexAttrib4fARB)(GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); /* 501 */
- void (GLAPIENTRYP VertexAttrib4fvARB)(GLuint index, const GLfloat * v); /* 502 */
- void (GLAPIENTRYP VertexAttrib4ivARB)(GLuint index, const GLint * v); /* 503 */
- void (GLAPIENTRYP VertexAttrib4sARB)(GLuint index, GLshort x, GLshort y, GLshort z, GLshort w); /* 504 */
- void (GLAPIENTRYP VertexAttrib4svARB)(GLuint index, const GLshort * v); /* 505 */
- void (GLAPIENTRYP VertexAttrib4ubvARB)(GLuint index, const GLubyte * v); /* 506 */
- void (GLAPIENTRYP VertexAttrib4uivARB)(GLuint index, const GLuint * v); /* 507 */
- void (GLAPIENTRYP VertexAttrib4usvARB)(GLuint index, const GLushort * v); /* 508 */
- void (GLAPIENTRYP VertexAttribPointerARB)(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid * pointer); /* 509 */
- void (GLAPIENTRYP BindBufferARB)(GLenum target, GLuint buffer); /* 510 */
- void (GLAPIENTRYP BufferDataARB)(GLenum target, GLsizeiptrARB size, const GLvoid * data, GLenum usage); /* 511 */
- void (GLAPIENTRYP BufferSubDataARB)(GLenum target, GLintptrARB offset, GLsizeiptrARB size, const GLvoid * data); /* 512 */
- void (GLAPIENTRYP DeleteBuffersARB)(GLsizei n, const GLuint * buffer); /* 513 */
- void (GLAPIENTRYP GenBuffersARB)(GLsizei n, GLuint * buffer); /* 514 */
- void (GLAPIENTRYP GetBufferParameterivARB)(GLenum target, GLenum pname, GLint * params); /* 515 */
- void (GLAPIENTRYP GetBufferPointervARB)(GLenum target, GLenum pname, GLvoid ** params); /* 516 */
- void (GLAPIENTRYP GetBufferSubDataARB)(GLenum target, GLintptrARB offset, GLsizeiptrARB size, GLvoid * data); /* 517 */
- GLboolean (GLAPIENTRYP IsBufferARB)(GLuint buffer); /* 518 */
- GLvoid * (GLAPIENTRYP MapBufferARB)(GLenum target, GLenum access); /* 519 */
- GLboolean (GLAPIENTRYP UnmapBufferARB)(GLenum target); /* 520 */
- void (GLAPIENTRYP BeginQueryARB)(GLenum target, GLuint id); /* 521 */
- void (GLAPIENTRYP DeleteQueriesARB)(GLsizei n, const GLuint * ids); /* 522 */
- void (GLAPIENTRYP EndQueryARB)(GLenum target); /* 523 */
- void (GLAPIENTRYP GenQueriesARB)(GLsizei n, GLuint * ids); /* 524 */
- void (GLAPIENTRYP GetQueryObjectivARB)(GLuint id, GLenum pname, GLint * params); /* 525 */
- void (GLAPIENTRYP GetQueryObjectuivARB)(GLuint id, GLenum pname, GLuint * params); /* 526 */
- void (GLAPIENTRYP GetQueryivARB)(GLenum target, GLenum pname, GLint * params); /* 527 */
- GLboolean (GLAPIENTRYP IsQueryARB)(GLuint id); /* 528 */
- void (GLAPIENTRYP AttachObjectARB)(GLhandleARB containerObj, GLhandleARB obj); /* 529 */
- void (GLAPIENTRYP CompileShaderARB)(GLhandleARB shader); /* 530 */
- GLhandleARB (GLAPIENTRYP CreateProgramObjectARB)(void); /* 531 */
- GLhandleARB (GLAPIENTRYP CreateShaderObjectARB)(GLenum shaderType); /* 532 */
- void (GLAPIENTRYP DeleteObjectARB)(GLhandleARB obj); /* 533 */
- void (GLAPIENTRYP DetachObjectARB)(GLhandleARB containerObj, GLhandleARB attachedObj); /* 534 */
- void (GLAPIENTRYP GetActiveUniformARB)(GLhandleARB program, GLuint index, GLsizei bufSize, GLsizei * length, GLint * size, GLenum * type, GLcharARB * name); /* 535 */
- void (GLAPIENTRYP GetAttachedObjectsARB)(GLhandleARB containerObj, GLsizei maxLength, GLsizei * length, GLhandleARB * infoLog); /* 536 */
- GLhandleARB (GLAPIENTRYP GetHandleARB)(GLenum pname); /* 537 */
- void (GLAPIENTRYP GetInfoLogARB)(GLhandleARB obj, GLsizei maxLength, GLsizei * length, GLcharARB * infoLog); /* 538 */
- void (GLAPIENTRYP GetObjectParameterfvARB)(GLhandleARB obj, GLenum pname, GLfloat * params); /* 539 */
- void (GLAPIENTRYP GetObjectParameterivARB)(GLhandleARB obj, GLenum pname, GLint * params); /* 540 */
- void (GLAPIENTRYP GetShaderSourceARB)(GLhandleARB shader, GLsizei bufSize, GLsizei * length, GLcharARB * source); /* 541 */
- GLint (GLAPIENTRYP GetUniformLocationARB)(GLhandleARB program, const GLcharARB * name); /* 542 */
- void (GLAPIENTRYP GetUniformfvARB)(GLhandleARB program, GLint location, GLfloat * params); /* 543 */
- void (GLAPIENTRYP GetUniformivARB)(GLhandleARB program, GLint location, GLint * params); /* 544 */
- void (GLAPIENTRYP LinkProgramARB)(GLhandleARB program); /* 545 */
- void (GLAPIENTRYP ShaderSourceARB)(GLhandleARB shader, GLsizei count, const GLcharARB ** string, const GLint * length); /* 546 */
- void (GLAPIENTRYP Uniform1fARB)(GLint location, GLfloat v0); /* 547 */
- void (GLAPIENTRYP Uniform1fvARB)(GLint location, GLsizei count, const GLfloat * value); /* 548 */
- void (GLAPIENTRYP Uniform1iARB)(GLint location, GLint v0); /* 549 */
- void (GLAPIENTRYP Uniform1ivARB)(GLint location, GLsizei count, const GLint * value); /* 550 */
- void (GLAPIENTRYP Uniform2fARB)(GLint location, GLfloat v0, GLfloat v1); /* 551 */
- void (GLAPIENTRYP Uniform2fvARB)(GLint location, GLsizei count, const GLfloat * value); /* 552 */
- void (GLAPIENTRYP Uniform2iARB)(GLint location, GLint v0, GLint v1); /* 553 */
- void (GLAPIENTRYP Uniform2ivARB)(GLint location, GLsizei count, const GLint * value); /* 554 */
- void (GLAPIENTRYP Uniform3fARB)(GLint location, GLfloat v0, GLfloat v1, GLfloat v2); /* 555 */
- void (GLAPIENTRYP Uniform3fvARB)(GLint location, GLsizei count, const GLfloat * value); /* 556 */
- void (GLAPIENTRYP Uniform3iARB)(GLint location, GLint v0, GLint v1, GLint v2); /* 557 */
- void (GLAPIENTRYP Uniform3ivARB)(GLint location, GLsizei count, const GLint * value); /* 558 */
- void (GLAPIENTRYP Uniform4fARB)(GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); /* 559 */
- void (GLAPIENTRYP Uniform4fvARB)(GLint location, GLsizei count, const GLfloat * value); /* 560 */
- void (GLAPIENTRYP Uniform4iARB)(GLint location, GLint v0, GLint v1, GLint v2, GLint v3); /* 561 */
- void (GLAPIENTRYP Uniform4ivARB)(GLint location, GLsizei count, const GLint * value); /* 562 */
- void (GLAPIENTRYP UniformMatrix2fvARB)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); /* 563 */
- void (GLAPIENTRYP UniformMatrix3fvARB)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); /* 564 */
- void (GLAPIENTRYP UniformMatrix4fvARB)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); /* 565 */
- void (GLAPIENTRYP UseProgramObjectARB)(GLhandleARB program); /* 566 */
- void (GLAPIENTRYP ValidateProgramARB)(GLhandleARB program); /* 567 */
- void (GLAPIENTRYP BindAttribLocationARB)(GLhandleARB program, GLuint index, const GLcharARB * name); /* 568 */
- void (GLAPIENTRYP GetActiveAttribARB)(GLhandleARB program, GLuint index, GLsizei bufSize, GLsizei * length, GLint * size, GLenum * type, GLcharARB * name); /* 569 */
- GLint (GLAPIENTRYP GetAttribLocationARB)(GLhandleARB program, const GLcharARB * name); /* 570 */
- void (GLAPIENTRYP DrawBuffersARB)(GLsizei n, const GLenum * bufs); /* 571 */
- void (GLAPIENTRYP ClampColorARB)(GLenum target, GLenum clamp); /* 572 */
- void (GLAPIENTRYP DrawArraysInstancedARB)(GLenum mode, GLint first, GLsizei count, GLsizei primcount); /* 573 */
- void (GLAPIENTRYP DrawElementsInstancedARB)(GLenum mode, GLsizei count, GLenum type, const GLvoid * indices, GLsizei primcount); /* 574 */
- void (GLAPIENTRYP RenderbufferStorageMultisample)(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); /* 575 */
- void (GLAPIENTRYP FramebufferTextureARB)(GLenum target, GLenum attachment, GLuint texture, GLint level); /* 576 */
- void (GLAPIENTRYP FramebufferTextureFaceARB)(GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face); /* 577 */
- void (GLAPIENTRYP ProgramParameteriARB)(GLuint program, GLenum pname, GLint value); /* 578 */
- void (GLAPIENTRYP VertexAttribDivisorARB)(GLuint index, GLuint divisor); /* 579 */
- void (GLAPIENTRYP FlushMappedBufferRange)(GLenum target, GLintptr offset, GLsizeiptr length); /* 580 */
- GLvoid * (GLAPIENTRYP MapBufferRange)(GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); /* 581 */
- void (GLAPIENTRYP TexBufferARB)(GLenum target, GLenum internalFormat, GLuint buffer); /* 582 */
- void (GLAPIENTRYP BindVertexArray)(GLuint array); /* 583 */
- void (GLAPIENTRYP GenVertexArrays)(GLsizei n, GLuint * arrays); /* 584 */
- void (GLAPIENTRYP CopyBufferSubData)(GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); /* 585 */
- GLenum (GLAPIENTRYP ClientWaitSync)(GLsync sync, GLbitfield flags, GLuint64 timeout); /* 586 */
- void (GLAPIENTRYP DeleteSync)(GLsync sync); /* 587 */
- GLsync (GLAPIENTRYP FenceSync)(GLenum condition, GLbitfield flags); /* 588 */
- void (GLAPIENTRYP GetInteger64v)(GLenum pname, GLint64 * params); /* 589 */
- void (GLAPIENTRYP GetSynciv)(GLsync sync, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * values); /* 590 */
- GLboolean (GLAPIENTRYP IsSync)(GLsync sync); /* 591 */
- void (GLAPIENTRYP WaitSync)(GLsync sync, GLbitfield flags, GLuint64 timeout); /* 592 */
- void (GLAPIENTRYP DrawElementsBaseVertex)(GLenum mode, GLsizei count, GLenum type, const GLvoid * indices, GLint basevertex); /* 593 */
- void (GLAPIENTRYP DrawElementsInstancedBaseVertex)(GLenum mode, GLsizei count, GLenum type, const GLvoid * indices, GLsizei primcount, GLint basevertex); /* 594 */
- void (GLAPIENTRYP DrawRangeElementsBaseVertex)(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid * indices, GLint basevertex); /* 595 */
- void (GLAPIENTRYP MultiDrawElementsBaseVertex)(GLenum mode, const GLsizei * count, GLenum type, const GLvoid ** indices, GLsizei primcount, const GLint * basevertex); /* 596 */
- void (GLAPIENTRYP BlendEquationSeparateiARB)(GLuint buf, GLenum modeRGB, GLenum modeA); /* 597 */
- void (GLAPIENTRYP BlendEquationiARB)(GLuint buf, GLenum mode); /* 598 */
- void (GLAPIENTRYP BlendFuncSeparateiARB)(GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcA, GLenum dstA); /* 599 */
- void (GLAPIENTRYP BlendFunciARB)(GLuint buf, GLenum src, GLenum dst); /* 600 */
- void (GLAPIENTRYP BindSampler)(GLuint unit, GLuint sampler); /* 601 */
- void (GLAPIENTRYP DeleteSamplers)(GLsizei count, const GLuint * samplers); /* 602 */
- void (GLAPIENTRYP GenSamplers)(GLsizei count, GLuint * samplers); /* 603 */
- void (GLAPIENTRYP GetSamplerParameterIiv)(GLuint sampler, GLenum pname, GLint * params); /* 604 */
- void (GLAPIENTRYP GetSamplerParameterIuiv)(GLuint sampler, GLenum pname, GLuint * params); /* 605 */
- void (GLAPIENTRYP GetSamplerParameterfv)(GLuint sampler, GLenum pname, GLfloat * params); /* 606 */
- void (GLAPIENTRYP GetSamplerParameteriv)(GLuint sampler, GLenum pname, GLint * params); /* 607 */
- GLboolean (GLAPIENTRYP IsSampler)(GLuint sampler); /* 608 */
- void (GLAPIENTRYP SamplerParameterIiv)(GLuint sampler, GLenum pname, const GLint * params); /* 609 */
- void (GLAPIENTRYP SamplerParameterIuiv)(GLuint sampler, GLenum pname, const GLuint * params); /* 610 */
- void (GLAPIENTRYP SamplerParameterf)(GLuint sampler, GLenum pname, GLfloat param); /* 611 */
- void (GLAPIENTRYP SamplerParameterfv)(GLuint sampler, GLenum pname, const GLfloat * params); /* 612 */
- void (GLAPIENTRYP SamplerParameteri)(GLuint sampler, GLenum pname, GLint param); /* 613 */
- void (GLAPIENTRYP SamplerParameteriv)(GLuint sampler, GLenum pname, const GLint * params); /* 614 */
- void (GLAPIENTRYP ColorP3ui)(GLenum type, GLuint color); /* 615 */
- void (GLAPIENTRYP ColorP3uiv)(GLenum type, const GLuint * color); /* 616 */
- void (GLAPIENTRYP ColorP4ui)(GLenum type, GLuint color); /* 617 */
- void (GLAPIENTRYP ColorP4uiv)(GLenum type, const GLuint * color); /* 618 */
- void (GLAPIENTRYP MultiTexCoordP1ui)(GLenum texture, GLenum type, GLuint coords); /* 619 */
- void (GLAPIENTRYP MultiTexCoordP1uiv)(GLenum texture, GLenum type, const GLuint * coords); /* 620 */
- void (GLAPIENTRYP MultiTexCoordP2ui)(GLenum texture, GLenum type, GLuint coords); /* 621 */
- void (GLAPIENTRYP MultiTexCoordP2uiv)(GLenum texture, GLenum type, const GLuint * coords); /* 622 */
- void (GLAPIENTRYP MultiTexCoordP3ui)(GLenum texture, GLenum type, GLuint coords); /* 623 */
- void (GLAPIENTRYP MultiTexCoordP3uiv)(GLenum texture, GLenum type, const GLuint * coords); /* 624 */
- void (GLAPIENTRYP MultiTexCoordP4ui)(GLenum texture, GLenum type, GLuint coords); /* 625 */
- void (GLAPIENTRYP MultiTexCoordP4uiv)(GLenum texture, GLenum type, const GLuint * coords); /* 626 */
- void (GLAPIENTRYP NormalP3ui)(GLenum type, GLuint coords); /* 627 */
- void (GLAPIENTRYP NormalP3uiv)(GLenum type, const GLuint * coords); /* 628 */
- void (GLAPIENTRYP SecondaryColorP3ui)(GLenum type, GLuint color); /* 629 */
- void (GLAPIENTRYP SecondaryColorP3uiv)(GLenum type, const GLuint * color); /* 630 */
- void (GLAPIENTRYP TexCoordP1ui)(GLenum type, GLuint coords); /* 631 */
- void (GLAPIENTRYP TexCoordP1uiv)(GLenum type, const GLuint * coords); /* 632 */
- void (GLAPIENTRYP TexCoordP2ui)(GLenum type, GLuint coords); /* 633 */
- void (GLAPIENTRYP TexCoordP2uiv)(GLenum type, const GLuint * coords); /* 634 */
- void (GLAPIENTRYP TexCoordP3ui)(GLenum type, GLuint coords); /* 635 */
- void (GLAPIENTRYP TexCoordP3uiv)(GLenum type, const GLuint * coords); /* 636 */
- void (GLAPIENTRYP TexCoordP4ui)(GLenum type, GLuint coords); /* 637 */
- void (GLAPIENTRYP TexCoordP4uiv)(GLenum type, const GLuint * coords); /* 638 */
- void (GLAPIENTRYP VertexAttribP1ui)(GLuint index, GLenum type, GLboolean normalized, GLuint value); /* 639 */
- void (GLAPIENTRYP VertexAttribP1uiv)(GLuint index, GLenum type, GLboolean normalized, const GLuint * value); /* 640 */
- void (GLAPIENTRYP VertexAttribP2ui)(GLuint index, GLenum type, GLboolean normalized, GLuint value); /* 641 */
- void (GLAPIENTRYP VertexAttribP2uiv)(GLuint index, GLenum type, GLboolean normalized, const GLuint * value); /* 642 */
- void (GLAPIENTRYP VertexAttribP3ui)(GLuint index, GLenum type, GLboolean normalized, GLuint value); /* 643 */
- void (GLAPIENTRYP VertexAttribP3uiv)(GLuint index, GLenum type, GLboolean normalized, const GLuint * value); /* 644 */
- void (GLAPIENTRYP VertexAttribP4ui)(GLuint index, GLenum type, GLboolean normalized, GLuint value); /* 645 */
- void (GLAPIENTRYP VertexAttribP4uiv)(GLuint index, GLenum type, GLboolean normalized, const GLuint * value); /* 646 */
- void (GLAPIENTRYP VertexP2ui)(GLenum type, GLuint value); /* 647 */
- void (GLAPIENTRYP VertexP2uiv)(GLenum type, const GLuint * value); /* 648 */
- void (GLAPIENTRYP VertexP3ui)(GLenum type, GLuint value); /* 649 */
- void (GLAPIENTRYP VertexP3uiv)(GLenum type, const GLuint * value); /* 650 */
- void (GLAPIENTRYP VertexP4ui)(GLenum type, GLuint value); /* 651 */
- void (GLAPIENTRYP VertexP4uiv)(GLenum type, const GLuint * value); /* 652 */
- void (GLAPIENTRYP BindTransformFeedback)(GLenum target, GLuint id); /* 653 */
- void (GLAPIENTRYP DeleteTransformFeedbacks)(GLsizei n, const GLuint * ids); /* 654 */
- void (GLAPIENTRYP DrawTransformFeedback)(GLenum mode, GLuint id); /* 655 */
- void (GLAPIENTRYP GenTransformFeedbacks)(GLsizei n, GLuint * ids); /* 656 */
- GLboolean (GLAPIENTRYP IsTransformFeedback)(GLuint id); /* 657 */
- void (GLAPIENTRYP PauseTransformFeedback)(void); /* 658 */
- void (GLAPIENTRYP ResumeTransformFeedback)(void); /* 659 */
- void (GLAPIENTRYP ClearDepthf)(GLclampf depth); /* 660 */
- void (GLAPIENTRYP DepthRangef)(GLclampf zNear, GLclampf zFar); /* 661 */
- void (GLAPIENTRYP GetShaderPrecisionFormat)(GLenum shadertype, GLenum precisiontype, GLint * range, GLint * precision); /* 662 */
- void (GLAPIENTRYP ReleaseShaderCompiler)(void); /* 663 */
- void (GLAPIENTRYP ShaderBinary)(GLsizei n, const GLuint * shaders, GLenum binaryformat, const GLvoid * binary, GLsizei length); /* 664 */
- GLenum (GLAPIENTRYP GetGraphicsResetStatusARB)(void); /* 665 */
- void (GLAPIENTRYP GetnColorTableARB)(GLenum target, GLenum format, GLenum type, GLsizei bufSize, GLvoid * table); /* 666 */
- void (GLAPIENTRYP GetnCompressedTexImageARB)(GLenum target, GLint lod, GLsizei bufSize, GLvoid * img); /* 667 */
- void (GLAPIENTRYP GetnConvolutionFilterARB)(GLenum target, GLenum format, GLenum type, GLsizei bufSize, GLvoid * image); /* 668 */
- void (GLAPIENTRYP GetnHistogramARB)(GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, GLvoid * values); /* 669 */
- void (GLAPIENTRYP GetnMapdvARB)(GLenum target, GLenum query, GLsizei bufSize, GLdouble * v); /* 670 */
- void (GLAPIENTRYP GetnMapfvARB)(GLenum target, GLenum query, GLsizei bufSize, GLfloat * v); /* 671 */
- void (GLAPIENTRYP GetnMapivARB)(GLenum target, GLenum query, GLsizei bufSize, GLint * v); /* 672 */
- void (GLAPIENTRYP GetnMinmaxARB)(GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, GLvoid * values); /* 673 */
- void (GLAPIENTRYP GetnPixelMapfvARB)(GLenum map, GLsizei bufSize, GLfloat * values); /* 674 */
- void (GLAPIENTRYP GetnPixelMapuivARB)(GLenum map, GLsizei bufSize, GLuint * values); /* 675 */
- void (GLAPIENTRYP GetnPixelMapusvARB)(GLenum map, GLsizei bufSize, GLushort * values); /* 676 */
- void (GLAPIENTRYP GetnPolygonStippleARB)(GLsizei bufSize, GLubyte * pattern); /* 677 */
- void (GLAPIENTRYP GetnSeparableFilterARB)(GLenum target, GLenum format, GLenum type, GLsizei rowBufSize, GLvoid * row, GLsizei columnBufSize, GLvoid * column, GLvoid * span); /* 678 */
- void (GLAPIENTRYP GetnTexImageARB)(GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, GLvoid * img); /* 679 */
- void (GLAPIENTRYP GetnUniformdvARB)(GLhandleARB program, GLint location, GLsizei bufSize, GLdouble * params); /* 680 */
- void (GLAPIENTRYP GetnUniformfvARB)(GLhandleARB program, GLint location, GLsizei bufSize, GLfloat * params); /* 681 */
- void (GLAPIENTRYP GetnUniformivARB)(GLhandleARB program, GLint location, GLsizei bufSize, GLint * params); /* 682 */
- void (GLAPIENTRYP GetnUniformuivARB)(GLhandleARB program, GLint location, GLsizei bufSize, GLuint * params); /* 683 */
- void (GLAPIENTRYP ReadnPixelsARB)(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, GLvoid * data); /* 684 */
- void (GLAPIENTRYP TexStorage1D)(GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width); /* 685 */
- void (GLAPIENTRYP TexStorage2D)(GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height); /* 686 */
- void (GLAPIENTRYP TexStorage3D)(GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth); /* 687 */
- void (GLAPIENTRYP TextureStorage1DEXT)(GLuint texture, GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width); /* 688 */
- void (GLAPIENTRYP TextureStorage2DEXT)(GLuint texture, GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height); /* 689 */
- void (GLAPIENTRYP TextureStorage3DEXT)(GLuint texture, GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth); /* 690 */
- void (GLAPIENTRYP PolygonOffsetEXT)(GLfloat factor, GLfloat bias); /* 691 */
- void (GLAPIENTRYP GetPixelTexGenParameterfvSGIS)(GLenum pname, GLfloat * params); /* 692 */
- void (GLAPIENTRYP GetPixelTexGenParameterivSGIS)(GLenum pname, GLint * params); /* 693 */
- void (GLAPIENTRYP PixelTexGenParameterfSGIS)(GLenum pname, GLfloat param); /* 694 */
- void (GLAPIENTRYP PixelTexGenParameterfvSGIS)(GLenum pname, const GLfloat * params); /* 695 */
- void (GLAPIENTRYP PixelTexGenParameteriSGIS)(GLenum pname, GLint param); /* 696 */
- void (GLAPIENTRYP PixelTexGenParameterivSGIS)(GLenum pname, const GLint * params); /* 697 */
- void (GLAPIENTRYP SampleMaskSGIS)(GLclampf value, GLboolean invert); /* 698 */
- void (GLAPIENTRYP SamplePatternSGIS)(GLenum pattern); /* 699 */
- void (GLAPIENTRYP ColorPointerEXT)(GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid * pointer); /* 700 */
- void (GLAPIENTRYP EdgeFlagPointerEXT)(GLsizei stride, GLsizei count, const GLboolean * pointer); /* 701 */
- void (GLAPIENTRYP IndexPointerEXT)(GLenum type, GLsizei stride, GLsizei count, const GLvoid * pointer); /* 702 */
- void (GLAPIENTRYP NormalPointerEXT)(GLenum type, GLsizei stride, GLsizei count, const GLvoid * pointer); /* 703 */
- void (GLAPIENTRYP TexCoordPointerEXT)(GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid * pointer); /* 704 */
- void (GLAPIENTRYP VertexPointerEXT)(GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid * pointer); /* 705 */
- void (GLAPIENTRYP PointParameterfEXT)(GLenum pname, GLfloat param); /* 706 */
- void (GLAPIENTRYP PointParameterfvEXT)(GLenum pname, const GLfloat * params); /* 707 */
- void (GLAPIENTRYP LockArraysEXT)(GLint first, GLsizei count); /* 708 */
- void (GLAPIENTRYP UnlockArraysEXT)(void); /* 709 */
- void (GLAPIENTRYP SecondaryColor3bEXT)(GLbyte red, GLbyte green, GLbyte blue); /* 710 */
- void (GLAPIENTRYP SecondaryColor3bvEXT)(const GLbyte * v); /* 711 */
- void (GLAPIENTRYP SecondaryColor3dEXT)(GLdouble red, GLdouble green, GLdouble blue); /* 712 */
- void (GLAPIENTRYP SecondaryColor3dvEXT)(const GLdouble * v); /* 713 */
- void (GLAPIENTRYP SecondaryColor3fEXT)(GLfloat red, GLfloat green, GLfloat blue); /* 714 */
- void (GLAPIENTRYP SecondaryColor3fvEXT)(const GLfloat * v); /* 715 */
- void (GLAPIENTRYP SecondaryColor3iEXT)(GLint red, GLint green, GLint blue); /* 716 */
- void (GLAPIENTRYP SecondaryColor3ivEXT)(const GLint * v); /* 717 */
- void (GLAPIENTRYP SecondaryColor3sEXT)(GLshort red, GLshort green, GLshort blue); /* 718 */
- void (GLAPIENTRYP SecondaryColor3svEXT)(const GLshort * v); /* 719 */
- void (GLAPIENTRYP SecondaryColor3ubEXT)(GLubyte red, GLubyte green, GLubyte blue); /* 720 */
- void (GLAPIENTRYP SecondaryColor3ubvEXT)(const GLubyte * v); /* 721 */
- void (GLAPIENTRYP SecondaryColor3uiEXT)(GLuint red, GLuint green, GLuint blue); /* 722 */
- void (GLAPIENTRYP SecondaryColor3uivEXT)(const GLuint * v); /* 723 */
- void (GLAPIENTRYP SecondaryColor3usEXT)(GLushort red, GLushort green, GLushort blue); /* 724 */
- void (GLAPIENTRYP SecondaryColor3usvEXT)(const GLushort * v); /* 725 */
- void (GLAPIENTRYP SecondaryColorPointerEXT)(GLint size, GLenum type, GLsizei stride, const GLvoid * pointer); /* 726 */
- void (GLAPIENTRYP MultiDrawArraysEXT)(GLenum mode, const GLint * first, const GLsizei * count, GLsizei primcount); /* 727 */
- void (GLAPIENTRYP MultiDrawElementsEXT)(GLenum mode, const GLsizei * count, GLenum type, const GLvoid ** indices, GLsizei primcount); /* 728 */
- void (GLAPIENTRYP FogCoordPointerEXT)(GLenum type, GLsizei stride, const GLvoid * pointer); /* 729 */
- void (GLAPIENTRYP FogCoorddEXT)(GLdouble coord); /* 730 */
- void (GLAPIENTRYP FogCoorddvEXT)(const GLdouble * coord); /* 731 */
- void (GLAPIENTRYP FogCoordfEXT)(GLfloat coord); /* 732 */
- void (GLAPIENTRYP FogCoordfvEXT)(const GLfloat * coord); /* 733 */
- void (GLAPIENTRYP PixelTexGenSGIX)(GLenum mode); /* 734 */
- void (GLAPIENTRYP BlendFuncSeparateEXT)(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); /* 735 */
- void (GLAPIENTRYP FlushVertexArrayRangeNV)(void); /* 736 */
- void (GLAPIENTRYP VertexArrayRangeNV)(GLsizei length, const GLvoid * pointer); /* 737 */
- void (GLAPIENTRYP CombinerInputNV)(GLenum stage, GLenum portion, GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage); /* 738 */
- void (GLAPIENTRYP CombinerOutputNV)(GLenum stage, GLenum portion, GLenum abOutput, GLenum cdOutput, GLenum sumOutput, GLenum scale, GLenum bias, GLboolean abDotProduct, GLboolean cdDotProduct, GLboolean muxSum); /* 739 */
- void (GLAPIENTRYP CombinerParameterfNV)(GLenum pname, GLfloat param); /* 740 */
- void (GLAPIENTRYP CombinerParameterfvNV)(GLenum pname, const GLfloat * params); /* 741 */
- void (GLAPIENTRYP CombinerParameteriNV)(GLenum pname, GLint param); /* 742 */
- void (GLAPIENTRYP CombinerParameterivNV)(GLenum pname, const GLint * params); /* 743 */
- void (GLAPIENTRYP FinalCombinerInputNV)(GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage); /* 744 */
- void (GLAPIENTRYP GetCombinerInputParameterfvNV)(GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLfloat * params); /* 745 */
- void (GLAPIENTRYP GetCombinerInputParameterivNV)(GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLint * params); /* 746 */
- void (GLAPIENTRYP GetCombinerOutputParameterfvNV)(GLenum stage, GLenum portion, GLenum pname, GLfloat * params); /* 747 */
- void (GLAPIENTRYP GetCombinerOutputParameterivNV)(GLenum stage, GLenum portion, GLenum pname, GLint * params); /* 748 */
- void (GLAPIENTRYP GetFinalCombinerInputParameterfvNV)(GLenum variable, GLenum pname, GLfloat * params); /* 749 */
- void (GLAPIENTRYP GetFinalCombinerInputParameterivNV)(GLenum variable, GLenum pname, GLint * params); /* 750 */
- void (GLAPIENTRYP ResizeBuffersMESA)(void); /* 751 */
- void (GLAPIENTRYP WindowPos2dMESA)(GLdouble x, GLdouble y); /* 752 */
- void (GLAPIENTRYP WindowPos2dvMESA)(const GLdouble * v); /* 753 */
- void (GLAPIENTRYP WindowPos2fMESA)(GLfloat x, GLfloat y); /* 754 */
- void (GLAPIENTRYP WindowPos2fvMESA)(const GLfloat * v); /* 755 */
- void (GLAPIENTRYP WindowPos2iMESA)(GLint x, GLint y); /* 756 */
- void (GLAPIENTRYP WindowPos2ivMESA)(const GLint * v); /* 757 */
- void (GLAPIENTRYP WindowPos2sMESA)(GLshort x, GLshort y); /* 758 */
- void (GLAPIENTRYP WindowPos2svMESA)(const GLshort * v); /* 759 */
- void (GLAPIENTRYP WindowPos3dMESA)(GLdouble x, GLdouble y, GLdouble z); /* 760 */
- void (GLAPIENTRYP WindowPos3dvMESA)(const GLdouble * v); /* 761 */
- void (GLAPIENTRYP WindowPos3fMESA)(GLfloat x, GLfloat y, GLfloat z); /* 762 */
- void (GLAPIENTRYP WindowPos3fvMESA)(const GLfloat * v); /* 763 */
- void (GLAPIENTRYP WindowPos3iMESA)(GLint x, GLint y, GLint z); /* 764 */
- void (GLAPIENTRYP WindowPos3ivMESA)(const GLint * v); /* 765 */
- void (GLAPIENTRYP WindowPos3sMESA)(GLshort x, GLshort y, GLshort z); /* 766 */
- void (GLAPIENTRYP WindowPos3svMESA)(const GLshort * v); /* 767 */
- void (GLAPIENTRYP WindowPos4dMESA)(GLdouble x, GLdouble y, GLdouble z, GLdouble w); /* 768 */
- void (GLAPIENTRYP WindowPos4dvMESA)(const GLdouble * v); /* 769 */
- void (GLAPIENTRYP WindowPos4fMESA)(GLfloat x, GLfloat y, GLfloat z, GLfloat w); /* 770 */
- void (GLAPIENTRYP WindowPos4fvMESA)(const GLfloat * v); /* 771 */
- void (GLAPIENTRYP WindowPos4iMESA)(GLint x, GLint y, GLint z, GLint w); /* 772 */
- void (GLAPIENTRYP WindowPos4ivMESA)(const GLint * v); /* 773 */
- void (GLAPIENTRYP WindowPos4sMESA)(GLshort x, GLshort y, GLshort z, GLshort w); /* 774 */
- void (GLAPIENTRYP WindowPos4svMESA)(const GLshort * v); /* 775 */
- void (GLAPIENTRYP MultiModeDrawArraysIBM)(const GLenum * mode, const GLint * first, const GLsizei * count, GLsizei primcount, GLint modestride); /* 776 */
- void (GLAPIENTRYP MultiModeDrawElementsIBM)(const GLenum * mode, const GLsizei * count, GLenum type, const GLvoid * const * indices, GLsizei primcount, GLint modestride); /* 777 */
- void (GLAPIENTRYP DeleteFencesNV)(GLsizei n, const GLuint * fences); /* 778 */
- void (GLAPIENTRYP FinishFenceNV)(GLuint fence); /* 779 */
- void (GLAPIENTRYP GenFencesNV)(GLsizei n, GLuint * fences); /* 780 */
- void (GLAPIENTRYP GetFenceivNV)(GLuint fence, GLenum pname, GLint * params); /* 781 */
- GLboolean (GLAPIENTRYP IsFenceNV)(GLuint fence); /* 782 */
- void (GLAPIENTRYP SetFenceNV)(GLuint fence, GLenum condition); /* 783 */
- GLboolean (GLAPIENTRYP TestFenceNV)(GLuint fence); /* 784 */
- GLboolean (GLAPIENTRYP AreProgramsResidentNV)(GLsizei n, const GLuint * ids, GLboolean * residences); /* 785 */
- void (GLAPIENTRYP BindProgramNV)(GLenum target, GLuint program); /* 786 */
- void (GLAPIENTRYP DeleteProgramsNV)(GLsizei n, const GLuint * programs); /* 787 */
- void (GLAPIENTRYP ExecuteProgramNV)(GLenum target, GLuint id, const GLfloat * params); /* 788 */
- void (GLAPIENTRYP GenProgramsNV)(GLsizei n, GLuint * programs); /* 789 */
- void (GLAPIENTRYP GetProgramParameterdvNV)(GLenum target, GLuint index, GLenum pname, GLdouble * params); /* 790 */
- void (GLAPIENTRYP GetProgramParameterfvNV)(GLenum target, GLuint index, GLenum pname, GLfloat * params); /* 791 */
- void (GLAPIENTRYP GetProgramStringNV)(GLuint id, GLenum pname, GLubyte * program); /* 792 */
- void (GLAPIENTRYP GetProgramivNV)(GLuint id, GLenum pname, GLint * params); /* 793 */
- void (GLAPIENTRYP GetTrackMatrixivNV)(GLenum target, GLuint address, GLenum pname, GLint * params); /* 794 */
- void (GLAPIENTRYP GetVertexAttribPointervNV)(GLuint index, GLenum pname, GLvoid ** pointer); /* 795 */
- void (GLAPIENTRYP GetVertexAttribdvNV)(GLuint index, GLenum pname, GLdouble * params); /* 796 */
- void (GLAPIENTRYP GetVertexAttribfvNV)(GLuint index, GLenum pname, GLfloat * params); /* 797 */
- void (GLAPIENTRYP GetVertexAttribivNV)(GLuint index, GLenum pname, GLint * params); /* 798 */
- GLboolean (GLAPIENTRYP IsProgramNV)(GLuint program); /* 799 */
- void (GLAPIENTRYP LoadProgramNV)(GLenum target, GLuint id, GLsizei len, const GLubyte * program); /* 800 */
- void (GLAPIENTRYP ProgramParameters4dvNV)(GLenum target, GLuint index, GLsizei num, const GLdouble * params); /* 801 */
- void (GLAPIENTRYP ProgramParameters4fvNV)(GLenum target, GLuint index, GLsizei num, const GLfloat * params); /* 802 */
- void (GLAPIENTRYP RequestResidentProgramsNV)(GLsizei n, const GLuint * ids); /* 803 */
- void (GLAPIENTRYP TrackMatrixNV)(GLenum target, GLuint address, GLenum matrix, GLenum transform); /* 804 */
- void (GLAPIENTRYP VertexAttrib1dNV)(GLuint index, GLdouble x); /* 805 */
- void (GLAPIENTRYP VertexAttrib1dvNV)(GLuint index, const GLdouble * v); /* 806 */
- void (GLAPIENTRYP VertexAttrib1fNV)(GLuint index, GLfloat x); /* 807 */
- void (GLAPIENTRYP VertexAttrib1fvNV)(GLuint index, const GLfloat * v); /* 808 */
- void (GLAPIENTRYP VertexAttrib1sNV)(GLuint index, GLshort x); /* 809 */
- void (GLAPIENTRYP VertexAttrib1svNV)(GLuint index, const GLshort * v); /* 810 */
- void (GLAPIENTRYP VertexAttrib2dNV)(GLuint index, GLdouble x, GLdouble y); /* 811 */
- void (GLAPIENTRYP VertexAttrib2dvNV)(GLuint index, const GLdouble * v); /* 812 */
- void (GLAPIENTRYP VertexAttrib2fNV)(GLuint index, GLfloat x, GLfloat y); /* 813 */
- void (GLAPIENTRYP VertexAttrib2fvNV)(GLuint index, const GLfloat * v); /* 814 */
- void (GLAPIENTRYP VertexAttrib2sNV)(GLuint index, GLshort x, GLshort y); /* 815 */
- void (GLAPIENTRYP VertexAttrib2svNV)(GLuint index, const GLshort * v); /* 816 */
- void (GLAPIENTRYP VertexAttrib3dNV)(GLuint index, GLdouble x, GLdouble y, GLdouble z); /* 817 */
- void (GLAPIENTRYP VertexAttrib3dvNV)(GLuint index, const GLdouble * v); /* 818 */
- void (GLAPIENTRYP VertexAttrib3fNV)(GLuint index, GLfloat x, GLfloat y, GLfloat z); /* 819 */
- void (GLAPIENTRYP VertexAttrib3fvNV)(GLuint index, const GLfloat * v); /* 820 */
- void (GLAPIENTRYP VertexAttrib3sNV)(GLuint index, GLshort x, GLshort y, GLshort z); /* 821 */
- void (GLAPIENTRYP VertexAttrib3svNV)(GLuint index, const GLshort * v); /* 822 */
- void (GLAPIENTRYP VertexAttrib4dNV)(GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); /* 823 */
- void (GLAPIENTRYP VertexAttrib4dvNV)(GLuint index, const GLdouble * v); /* 824 */
- void (GLAPIENTRYP VertexAttrib4fNV)(GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); /* 825 */
- void (GLAPIENTRYP VertexAttrib4fvNV)(GLuint index, const GLfloat * v); /* 826 */
- void (GLAPIENTRYP VertexAttrib4sNV)(GLuint index, GLshort x, GLshort y, GLshort z, GLshort w); /* 827 */
- void (GLAPIENTRYP VertexAttrib4svNV)(GLuint index, const GLshort * v); /* 828 */
- void (GLAPIENTRYP VertexAttrib4ubNV)(GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w); /* 829 */
- void (GLAPIENTRYP VertexAttrib4ubvNV)(GLuint index, const GLubyte * v); /* 830 */
- void (GLAPIENTRYP VertexAttribPointerNV)(GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid * pointer); /* 831 */
- void (GLAPIENTRYP VertexAttribs1dvNV)(GLuint index, GLsizei n, const GLdouble * v); /* 832 */
- void (GLAPIENTRYP VertexAttribs1fvNV)(GLuint index, GLsizei n, const GLfloat * v); /* 833 */
- void (GLAPIENTRYP VertexAttribs1svNV)(GLuint index, GLsizei n, const GLshort * v); /* 834 */
- void (GLAPIENTRYP VertexAttribs2dvNV)(GLuint index, GLsizei n, const GLdouble * v); /* 835 */
- void (GLAPIENTRYP VertexAttribs2fvNV)(GLuint index, GLsizei n, const GLfloat * v); /* 836 */
- void (GLAPIENTRYP VertexAttribs2svNV)(GLuint index, GLsizei n, const GLshort * v); /* 837 */
- void (GLAPIENTRYP VertexAttribs3dvNV)(GLuint index, GLsizei n, const GLdouble * v); /* 838 */
- void (GLAPIENTRYP VertexAttribs3fvNV)(GLuint index, GLsizei n, const GLfloat * v); /* 839 */
- void (GLAPIENTRYP VertexAttribs3svNV)(GLuint index, GLsizei n, const GLshort * v); /* 840 */
- void (GLAPIENTRYP VertexAttribs4dvNV)(GLuint index, GLsizei n, const GLdouble * v); /* 841 */
- void (GLAPIENTRYP VertexAttribs4fvNV)(GLuint index, GLsizei n, const GLfloat * v); /* 842 */
- void (GLAPIENTRYP VertexAttribs4svNV)(GLuint index, GLsizei n, const GLshort * v); /* 843 */
- void (GLAPIENTRYP VertexAttribs4ubvNV)(GLuint index, GLsizei n, const GLubyte * v); /* 844 */
- void (GLAPIENTRYP GetTexBumpParameterfvATI)(GLenum pname, GLfloat * param); /* 845 */
- void (GLAPIENTRYP GetTexBumpParameterivATI)(GLenum pname, GLint * param); /* 846 */
- void (GLAPIENTRYP TexBumpParameterfvATI)(GLenum pname, const GLfloat * param); /* 847 */
- void (GLAPIENTRYP TexBumpParameterivATI)(GLenum pname, const GLint * param); /* 848 */
- void (GLAPIENTRYP AlphaFragmentOp1ATI)(GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod); /* 849 */
- void (GLAPIENTRYP AlphaFragmentOp2ATI)(GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod); /* 850 */
- void (GLAPIENTRYP AlphaFragmentOp3ATI)(GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod); /* 851 */
- void (GLAPIENTRYP BeginFragmentShaderATI)(void); /* 852 */
- void (GLAPIENTRYP BindFragmentShaderATI)(GLuint id); /* 853 */
- void (GLAPIENTRYP ColorFragmentOp1ATI)(GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod); /* 854 */
- void (GLAPIENTRYP ColorFragmentOp2ATI)(GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod); /* 855 */
- void (GLAPIENTRYP ColorFragmentOp3ATI)(GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod); /* 856 */
- void (GLAPIENTRYP DeleteFragmentShaderATI)(GLuint id); /* 857 */
- void (GLAPIENTRYP EndFragmentShaderATI)(void); /* 858 */
- GLuint (GLAPIENTRYP GenFragmentShadersATI)(GLuint range); /* 859 */
- void (GLAPIENTRYP PassTexCoordATI)(GLuint dst, GLuint coord, GLenum swizzle); /* 860 */
- void (GLAPIENTRYP SampleMapATI)(GLuint dst, GLuint interp, GLenum swizzle); /* 861 */
- void (GLAPIENTRYP SetFragmentShaderConstantATI)(GLuint dst, const GLfloat * value); /* 862 */
- void (GLAPIENTRYP PointParameteriNV)(GLenum pname, GLint param); /* 863 */
- void (GLAPIENTRYP PointParameterivNV)(GLenum pname, const GLint * params); /* 864 */
- void (GLAPIENTRYP ActiveStencilFaceEXT)(GLenum face); /* 865 */
- void (GLAPIENTRYP BindVertexArrayAPPLE)(GLuint array); /* 866 */
- void (GLAPIENTRYP DeleteVertexArraysAPPLE)(GLsizei n, const GLuint * arrays); /* 867 */
- void (GLAPIENTRYP GenVertexArraysAPPLE)(GLsizei n, GLuint * arrays); /* 868 */
- GLboolean (GLAPIENTRYP IsVertexArrayAPPLE)(GLuint array); /* 869 */
- void (GLAPIENTRYP GetProgramNamedParameterdvNV)(GLuint id, GLsizei len, const GLubyte * name, GLdouble * params); /* 870 */
- void (GLAPIENTRYP GetProgramNamedParameterfvNV)(GLuint id, GLsizei len, const GLubyte * name, GLfloat * params); /* 871 */
- void (GLAPIENTRYP ProgramNamedParameter4dNV)(GLuint id, GLsizei len, const GLubyte * name, GLdouble x, GLdouble y, GLdouble z, GLdouble w); /* 872 */
- void (GLAPIENTRYP ProgramNamedParameter4dvNV)(GLuint id, GLsizei len, const GLubyte * name, const GLdouble * v); /* 873 */
- void (GLAPIENTRYP ProgramNamedParameter4fNV)(GLuint id, GLsizei len, const GLubyte * name, GLfloat x, GLfloat y, GLfloat z, GLfloat w); /* 874 */
- void (GLAPIENTRYP ProgramNamedParameter4fvNV)(GLuint id, GLsizei len, const GLubyte * name, const GLfloat * v); /* 875 */
- void (GLAPIENTRYP PrimitiveRestartIndexNV)(GLuint index); /* 876 */
- void (GLAPIENTRYP PrimitiveRestartNV)(void); /* 877 */
- void (GLAPIENTRYP DepthBoundsEXT)(GLclampd zmin, GLclampd zmax); /* 878 */
- void (GLAPIENTRYP BlendEquationSeparateEXT)(GLenum modeRGB, GLenum modeA); /* 879 */
- void (GLAPIENTRYP BindFramebufferEXT)(GLenum target, GLuint framebuffer); /* 880 */
- void (GLAPIENTRYP BindRenderbufferEXT)(GLenum target, GLuint renderbuffer); /* 881 */
- GLenum (GLAPIENTRYP CheckFramebufferStatusEXT)(GLenum target); /* 882 */
- void (GLAPIENTRYP DeleteFramebuffersEXT)(GLsizei n, const GLuint * framebuffers); /* 883 */
- void (GLAPIENTRYP DeleteRenderbuffersEXT)(GLsizei n, const GLuint * renderbuffers); /* 884 */
- void (GLAPIENTRYP FramebufferRenderbufferEXT)(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); /* 885 */
- void (GLAPIENTRYP FramebufferTexture1DEXT)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); /* 886 */
- void (GLAPIENTRYP FramebufferTexture2DEXT)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); /* 887 */
- void (GLAPIENTRYP FramebufferTexture3DEXT)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); /* 888 */
- void (GLAPIENTRYP GenFramebuffersEXT)(GLsizei n, GLuint * framebuffers); /* 889 */
- void (GLAPIENTRYP GenRenderbuffersEXT)(GLsizei n, GLuint * renderbuffers); /* 890 */
- void (GLAPIENTRYP GenerateMipmapEXT)(GLenum target); /* 891 */
- void (GLAPIENTRYP GetFramebufferAttachmentParameterivEXT)(GLenum target, GLenum attachment, GLenum pname, GLint * params); /* 892 */
- void (GLAPIENTRYP GetRenderbufferParameterivEXT)(GLenum target, GLenum pname, GLint * params); /* 893 */
- GLboolean (GLAPIENTRYP IsFramebufferEXT)(GLuint framebuffer); /* 894 */
- GLboolean (GLAPIENTRYP IsRenderbufferEXT)(GLuint renderbuffer); /* 895 */
- void (GLAPIENTRYP RenderbufferStorageEXT)(GLenum target, GLenum internalformat, GLsizei width, GLsizei height); /* 896 */
- void (GLAPIENTRYP BlitFramebufferEXT)(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); /* 897 */
- void (GLAPIENTRYP BufferParameteriAPPLE)(GLenum target, GLenum pname, GLint param); /* 898 */
- void (GLAPIENTRYP FlushMappedBufferRangeAPPLE)(GLenum target, GLintptr offset, GLsizeiptr size); /* 899 */
- void (GLAPIENTRYP BindFragDataLocationEXT)(GLuint program, GLuint colorNumber, const GLchar * name); /* 900 */
- GLint (GLAPIENTRYP GetFragDataLocationEXT)(GLuint program, const GLchar * name); /* 901 */
- void (GLAPIENTRYP GetUniformuivEXT)(GLuint program, GLint location, GLuint * params); /* 902 */
- void (GLAPIENTRYP GetVertexAttribIivEXT)(GLuint index, GLenum pname, GLint * params); /* 903 */
- void (GLAPIENTRYP GetVertexAttribIuivEXT)(GLuint index, GLenum pname, GLuint * params); /* 904 */
- void (GLAPIENTRYP Uniform1uiEXT)(GLint location, GLuint x); /* 905 */
- void (GLAPIENTRYP Uniform1uivEXT)(GLint location, GLsizei count, const GLuint * value); /* 906 */
- void (GLAPIENTRYP Uniform2uiEXT)(GLint location, GLuint x, GLuint y); /* 907 */
- void (GLAPIENTRYP Uniform2uivEXT)(GLint location, GLsizei count, const GLuint * value); /* 908 */
- void (GLAPIENTRYP Uniform3uiEXT)(GLint location, GLuint x, GLuint y, GLuint z); /* 909 */
- void (GLAPIENTRYP Uniform3uivEXT)(GLint location, GLsizei count, const GLuint * value); /* 910 */
- void (GLAPIENTRYP Uniform4uiEXT)(GLint location, GLuint x, GLuint y, GLuint z, GLuint w); /* 911 */
- void (GLAPIENTRYP Uniform4uivEXT)(GLint location, GLsizei count, const GLuint * value); /* 912 */
- void (GLAPIENTRYP VertexAttribI1iEXT)(GLuint index, GLint x); /* 913 */
- void (GLAPIENTRYP VertexAttribI1ivEXT)(GLuint index, const GLint * v); /* 914 */
- void (GLAPIENTRYP VertexAttribI1uiEXT)(GLuint index, GLuint x); /* 915 */
- void (GLAPIENTRYP VertexAttribI1uivEXT)(GLuint index, const GLuint * v); /* 916 */
- void (GLAPIENTRYP VertexAttribI2iEXT)(GLuint index, GLint x, GLint y); /* 917 */
- void (GLAPIENTRYP VertexAttribI2ivEXT)(GLuint index, const GLint * v); /* 918 */
- void (GLAPIENTRYP VertexAttribI2uiEXT)(GLuint index, GLuint x, GLuint y); /* 919 */
- void (GLAPIENTRYP VertexAttribI2uivEXT)(GLuint index, const GLuint * v); /* 920 */
- void (GLAPIENTRYP VertexAttribI3iEXT)(GLuint index, GLint x, GLint y, GLint z); /* 921 */
- void (GLAPIENTRYP VertexAttribI3ivEXT)(GLuint index, const GLint * v); /* 922 */
- void (GLAPIENTRYP VertexAttribI3uiEXT)(GLuint index, GLuint x, GLuint y, GLuint z); /* 923 */
- void (GLAPIENTRYP VertexAttribI3uivEXT)(GLuint index, const GLuint * v); /* 924 */
- void (GLAPIENTRYP VertexAttribI4bvEXT)(GLuint index, const GLbyte * v); /* 925 */
- void (GLAPIENTRYP VertexAttribI4iEXT)(GLuint index, GLint x, GLint y, GLint z, GLint w); /* 926 */
- void (GLAPIENTRYP VertexAttribI4ivEXT)(GLuint index, const GLint * v); /* 927 */
- void (GLAPIENTRYP VertexAttribI4svEXT)(GLuint index, const GLshort * v); /* 928 */
- void (GLAPIENTRYP VertexAttribI4ubvEXT)(GLuint index, const GLubyte * v); /* 929 */
- void (GLAPIENTRYP VertexAttribI4uiEXT)(GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); /* 930 */
- void (GLAPIENTRYP VertexAttribI4uivEXT)(GLuint index, const GLuint * v); /* 931 */
- void (GLAPIENTRYP VertexAttribI4usvEXT)(GLuint index, const GLushort * v); /* 932 */
- void (GLAPIENTRYP VertexAttribIPointerEXT)(GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid * pointer); /* 933 */
- void (GLAPIENTRYP FramebufferTextureLayerEXT)(GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); /* 934 */
- void (GLAPIENTRYP ColorMaskIndexedEXT)(GLuint buf, GLboolean r, GLboolean g, GLboolean b, GLboolean a); /* 935 */
- void (GLAPIENTRYP DisableIndexedEXT)(GLenum target, GLuint index); /* 936 */
- void (GLAPIENTRYP EnableIndexedEXT)(GLenum target, GLuint index); /* 937 */
- void (GLAPIENTRYP GetBooleanIndexedvEXT)(GLenum value, GLuint index, GLboolean * data); /* 938 */
- void (GLAPIENTRYP GetIntegerIndexedvEXT)(GLenum value, GLuint index, GLint * data); /* 939 */
- GLboolean (GLAPIENTRYP IsEnabledIndexedEXT)(GLenum target, GLuint index); /* 940 */
- void (GLAPIENTRYP ClearColorIiEXT)(GLint r, GLint g, GLint b, GLint a); /* 941 */
- void (GLAPIENTRYP ClearColorIuiEXT)(GLuint r, GLuint g, GLuint b, GLuint a); /* 942 */
- void (GLAPIENTRYP GetTexParameterIivEXT)(GLenum target, GLenum pname, GLint * params); /* 943 */
- void (GLAPIENTRYP GetTexParameterIuivEXT)(GLenum target, GLenum pname, GLuint * params); /* 944 */
- void (GLAPIENTRYP TexParameterIivEXT)(GLenum target, GLenum pname, const GLint * params); /* 945 */
- void (GLAPIENTRYP TexParameterIuivEXT)(GLenum target, GLenum pname, const GLuint * params); /* 946 */
- void (GLAPIENTRYP BeginConditionalRenderNV)(GLuint query, GLenum mode); /* 947 */
- void (GLAPIENTRYP EndConditionalRenderNV)(void); /* 948 */
- void (GLAPIENTRYP BeginTransformFeedbackEXT)(GLenum mode); /* 949 */
- void (GLAPIENTRYP BindBufferBaseEXT)(GLenum target, GLuint index, GLuint buffer); /* 950 */
- void (GLAPIENTRYP BindBufferOffsetEXT)(GLenum target, GLuint index, GLuint buffer, GLintptr offset); /* 951 */
- void (GLAPIENTRYP BindBufferRangeEXT)(GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); /* 952 */
- void (GLAPIENTRYP EndTransformFeedbackEXT)(void); /* 953 */
- void (GLAPIENTRYP GetTransformFeedbackVaryingEXT)(GLuint program, GLuint index, GLsizei bufSize, GLsizei * length, GLsizei * size, GLenum * type, GLchar * name); /* 954 */
- void (GLAPIENTRYP TransformFeedbackVaryingsEXT)(GLuint program, GLsizei count, const char ** varyings, GLenum bufferMode); /* 955 */
- void (GLAPIENTRYP ProvokingVertexEXT)(GLenum mode); /* 956 */
- void (GLAPIENTRYP GetTexParameterPointervAPPLE)(GLenum target, GLenum pname, GLvoid ** params); /* 957 */
- void (GLAPIENTRYP TextureRangeAPPLE)(GLenum target, GLsizei length, GLvoid * pointer); /* 958 */
- void (GLAPIENTRYP GetObjectParameterivAPPLE)(GLenum objectType, GLuint name, GLenum pname, GLint * value); /* 959 */
- GLenum (GLAPIENTRYP ObjectPurgeableAPPLE)(GLenum objectType, GLuint name, GLenum option); /* 960 */
- GLenum (GLAPIENTRYP ObjectUnpurgeableAPPLE)(GLenum objectType, GLuint name, GLenum option); /* 961 */
- void (GLAPIENTRYP ActiveProgramEXT)(GLuint program); /* 962 */
- GLuint (GLAPIENTRYP CreateShaderProgramEXT)(GLenum type, const GLchar * string); /* 963 */
- void (GLAPIENTRYP UseShaderProgramEXT)(GLenum type, GLuint program); /* 964 */
- void (GLAPIENTRYP TextureBarrierNV)(void); /* 965 */
- void (GLAPIENTRYP StencilFuncSeparateATI)(GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask); /* 966 */
- void (GLAPIENTRYP ProgramEnvParameters4fvEXT)(GLenum target, GLuint index, GLsizei count, const GLfloat * params); /* 967 */
- void (GLAPIENTRYP ProgramLocalParameters4fvEXT)(GLenum target, GLuint index, GLsizei count, const GLfloat * params); /* 968 */
- void (GLAPIENTRYP GetQueryObjecti64vEXT)(GLuint id, GLenum pname, GLint64EXT * params); /* 969 */
- void (GLAPIENTRYP GetQueryObjectui64vEXT)(GLuint id, GLenum pname, GLuint64EXT * params); /* 970 */
- void (GLAPIENTRYP EGLImageTargetRenderbufferStorageOES)(GLenum target, GLvoid * writeOffset); /* 971 */
- void (GLAPIENTRYP EGLImageTargetTexture2DOES)(GLenum target, GLvoid * writeOffset); /* 972 */
+struct _glapi_table {
+ void (GLAPIENTRYP NewList) (GLuint list, GLenum mode); /* 0 */
+ void (GLAPIENTRYP EndList) (void); /* 1 */
+ void (GLAPIENTRYP CallList) (GLuint list); /* 2 */
+ void (GLAPIENTRYP CallLists) (GLsizei n, GLenum type, const GLvoid * lists); /* 3 */
+ void (GLAPIENTRYP DeleteLists) (GLuint list, GLsizei range); /* 4 */
+ GLuint(GLAPIENTRYP GenLists) (GLsizei range); /* 5 */
+ void (GLAPIENTRYP ListBase) (GLuint base); /* 6 */
+ void (GLAPIENTRYP Begin) (GLenum mode); /* 7 */
+ void (GLAPIENTRYP Bitmap) (GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte * bitmap); /* 8 */
+ void (GLAPIENTRYP Color3b) (GLbyte red, GLbyte green, GLbyte blue); /* 9 */
+ void (GLAPIENTRYP Color3bv) (const GLbyte * v); /* 10 */
+ void (GLAPIENTRYP Color3d) (GLdouble red, GLdouble green, GLdouble blue); /* 11 */
+ void (GLAPIENTRYP Color3dv) (const GLdouble * v); /* 12 */
+ void (GLAPIENTRYP Color3f) (GLfloat red, GLfloat green, GLfloat blue); /* 13 */
+ void (GLAPIENTRYP Color3fv) (const GLfloat * v); /* 14 */
+ void (GLAPIENTRYP Color3i) (GLint red, GLint green, GLint blue); /* 15 */
+ void (GLAPIENTRYP Color3iv) (const GLint * v); /* 16 */
+ void (GLAPIENTRYP Color3s) (GLshort red, GLshort green, GLshort blue); /* 17 */
+ void (GLAPIENTRYP Color3sv) (const GLshort * v); /* 18 */
+ void (GLAPIENTRYP Color3ub) (GLubyte red, GLubyte green, GLubyte blue); /* 19 */
+ void (GLAPIENTRYP Color3ubv) (const GLubyte * v); /* 20 */
+ void (GLAPIENTRYP Color3ui) (GLuint red, GLuint green, GLuint blue); /* 21 */
+ void (GLAPIENTRYP Color3uiv) (const GLuint * v); /* 22 */
+ void (GLAPIENTRYP Color3us) (GLushort red, GLushort green, GLushort blue); /* 23 */
+ void (GLAPIENTRYP Color3usv) (const GLushort * v); /* 24 */
+ void (GLAPIENTRYP Color4b) (GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha); /* 25 */
+ void (GLAPIENTRYP Color4bv) (const GLbyte * v); /* 26 */
+ void (GLAPIENTRYP Color4d) (GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha); /* 27 */
+ void (GLAPIENTRYP Color4dv) (const GLdouble * v); /* 28 */
+ void (GLAPIENTRYP Color4f) (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); /* 29 */
+ void (GLAPIENTRYP Color4fv) (const GLfloat * v); /* 30 */
+ void (GLAPIENTRYP Color4i) (GLint red, GLint green, GLint blue, GLint alpha); /* 31 */
+ void (GLAPIENTRYP Color4iv) (const GLint * v); /* 32 */
+ void (GLAPIENTRYP Color4s) (GLshort red, GLshort green, GLshort blue, GLshort alpha); /* 33 */
+ void (GLAPIENTRYP Color4sv) (const GLshort * v); /* 34 */
+ void (GLAPIENTRYP Color4ub) (GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha); /* 35 */
+ void (GLAPIENTRYP Color4ubv) (const GLubyte * v); /* 36 */
+ void (GLAPIENTRYP Color4ui) (GLuint red, GLuint green, GLuint blue, GLuint alpha); /* 37 */
+ void (GLAPIENTRYP Color4uiv) (const GLuint * v); /* 38 */
+ void (GLAPIENTRYP Color4us) (GLushort red, GLushort green, GLushort blue, GLushort alpha); /* 39 */
+ void (GLAPIENTRYP Color4usv) (const GLushort * v); /* 40 */
+ void (GLAPIENTRYP EdgeFlag) (GLboolean flag); /* 41 */
+ void (GLAPIENTRYP EdgeFlagv) (const GLboolean * flag); /* 42 */
+ void (GLAPIENTRYP End) (void); /* 43 */
+ void (GLAPIENTRYP Indexd) (GLdouble c); /* 44 */
+ void (GLAPIENTRYP Indexdv) (const GLdouble * c); /* 45 */
+ void (GLAPIENTRYP Indexf) (GLfloat c); /* 46 */
+ void (GLAPIENTRYP Indexfv) (const GLfloat * c); /* 47 */
+ void (GLAPIENTRYP Indexi) (GLint c); /* 48 */
+ void (GLAPIENTRYP Indexiv) (const GLint * c); /* 49 */
+ void (GLAPIENTRYP Indexs) (GLshort c); /* 50 */
+ void (GLAPIENTRYP Indexsv) (const GLshort * c); /* 51 */
+ void (GLAPIENTRYP Normal3b) (GLbyte nx, GLbyte ny, GLbyte nz); /* 52 */
+ void (GLAPIENTRYP Normal3bv) (const GLbyte * v); /* 53 */
+ void (GLAPIENTRYP Normal3d) (GLdouble nx, GLdouble ny, GLdouble nz); /* 54 */
+ void (GLAPIENTRYP Normal3dv) (const GLdouble * v); /* 55 */
+ void (GLAPIENTRYP Normal3f) (GLfloat nx, GLfloat ny, GLfloat nz); /* 56 */
+ void (GLAPIENTRYP Normal3fv) (const GLfloat * v); /* 57 */
+ void (GLAPIENTRYP Normal3i) (GLint nx, GLint ny, GLint nz); /* 58 */
+ void (GLAPIENTRYP Normal3iv) (const GLint * v); /* 59 */
+ void (GLAPIENTRYP Normal3s) (GLshort nx, GLshort ny, GLshort nz); /* 60 */
+ void (GLAPIENTRYP Normal3sv) (const GLshort * v); /* 61 */
+ void (GLAPIENTRYP RasterPos2d) (GLdouble x, GLdouble y); /* 62 */
+ void (GLAPIENTRYP RasterPos2dv) (const GLdouble * v); /* 63 */
+ void (GLAPIENTRYP RasterPos2f) (GLfloat x, GLfloat y); /* 64 */
+ void (GLAPIENTRYP RasterPos2fv) (const GLfloat * v); /* 65 */
+ void (GLAPIENTRYP RasterPos2i) (GLint x, GLint y); /* 66 */
+ void (GLAPIENTRYP RasterPos2iv) (const GLint * v); /* 67 */
+ void (GLAPIENTRYP RasterPos2s) (GLshort x, GLshort y); /* 68 */
+ void (GLAPIENTRYP RasterPos2sv) (const GLshort * v); /* 69 */
+ void (GLAPIENTRYP RasterPos3d) (GLdouble x, GLdouble y, GLdouble z); /* 70 */
+ void (GLAPIENTRYP RasterPos3dv) (const GLdouble * v); /* 71 */
+ void (GLAPIENTRYP RasterPos3f) (GLfloat x, GLfloat y, GLfloat z); /* 72 */
+ void (GLAPIENTRYP RasterPos3fv) (const GLfloat * v); /* 73 */
+ void (GLAPIENTRYP RasterPos3i) (GLint x, GLint y, GLint z); /* 74 */
+ void (GLAPIENTRYP RasterPos3iv) (const GLint * v); /* 75 */
+ void (GLAPIENTRYP RasterPos3s) (GLshort x, GLshort y, GLshort z); /* 76 */
+ void (GLAPIENTRYP RasterPos3sv) (const GLshort * v); /* 77 */
+ void (GLAPIENTRYP RasterPos4d) (GLdouble x, GLdouble y, GLdouble z, GLdouble w); /* 78 */
+ void (GLAPIENTRYP RasterPos4dv) (const GLdouble * v); /* 79 */
+ void (GLAPIENTRYP RasterPos4f) (GLfloat x, GLfloat y, GLfloat z, GLfloat w); /* 80 */
+ void (GLAPIENTRYP RasterPos4fv) (const GLfloat * v); /* 81 */
+ void (GLAPIENTRYP RasterPos4i) (GLint x, GLint y, GLint z, GLint w); /* 82 */
+ void (GLAPIENTRYP RasterPos4iv) (const GLint * v); /* 83 */
+ void (GLAPIENTRYP RasterPos4s) (GLshort x, GLshort y, GLshort z, GLshort w); /* 84 */
+ void (GLAPIENTRYP RasterPos4sv) (const GLshort * v); /* 85 */
+ void (GLAPIENTRYP Rectd) (GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2); /* 86 */
+ void (GLAPIENTRYP Rectdv) (const GLdouble * v1, const GLdouble * v2); /* 87 */
+ void (GLAPIENTRYP Rectf) (GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2); /* 88 */
+ void (GLAPIENTRYP Rectfv) (const GLfloat * v1, const GLfloat * v2); /* 89 */
+ void (GLAPIENTRYP Recti) (GLint x1, GLint y1, GLint x2, GLint y2); /* 90 */
+ void (GLAPIENTRYP Rectiv) (const GLint * v1, const GLint * v2); /* 91 */
+ void (GLAPIENTRYP Rects) (GLshort x1, GLshort y1, GLshort x2, GLshort y2); /* 92 */
+ void (GLAPIENTRYP Rectsv) (const GLshort * v1, const GLshort * v2); /* 93 */
+ void (GLAPIENTRYP TexCoord1d) (GLdouble s); /* 94 */
+ void (GLAPIENTRYP TexCoord1dv) (const GLdouble * v); /* 95 */
+ void (GLAPIENTRYP TexCoord1f) (GLfloat s); /* 96 */
+ void (GLAPIENTRYP TexCoord1fv) (const GLfloat * v); /* 97 */
+ void (GLAPIENTRYP TexCoord1i) (GLint s); /* 98 */
+ void (GLAPIENTRYP TexCoord1iv) (const GLint * v); /* 99 */
+ void (GLAPIENTRYP TexCoord1s) (GLshort s); /* 100 */
+ void (GLAPIENTRYP TexCoord1sv) (const GLshort * v); /* 101 */
+ void (GLAPIENTRYP TexCoord2d) (GLdouble s, GLdouble t); /* 102 */
+ void (GLAPIENTRYP TexCoord2dv) (const GLdouble * v); /* 103 */
+ void (GLAPIENTRYP TexCoord2f) (GLfloat s, GLfloat t); /* 104 */
+ void (GLAPIENTRYP TexCoord2fv) (const GLfloat * v); /* 105 */
+ void (GLAPIENTRYP TexCoord2i) (GLint s, GLint t); /* 106 */
+ void (GLAPIENTRYP TexCoord2iv) (const GLint * v); /* 107 */
+ void (GLAPIENTRYP TexCoord2s) (GLshort s, GLshort t); /* 108 */
+ void (GLAPIENTRYP TexCoord2sv) (const GLshort * v); /* 109 */
+ void (GLAPIENTRYP TexCoord3d) (GLdouble s, GLdouble t, GLdouble r); /* 110 */
+ void (GLAPIENTRYP TexCoord3dv) (const GLdouble * v); /* 111 */
+ void (GLAPIENTRYP TexCoord3f) (GLfloat s, GLfloat t, GLfloat r); /* 112 */
+ void (GLAPIENTRYP TexCoord3fv) (const GLfloat * v); /* 113 */
+ void (GLAPIENTRYP TexCoord3i) (GLint s, GLint t, GLint r); /* 114 */
+ void (GLAPIENTRYP TexCoord3iv) (const GLint * v); /* 115 */
+ void (GLAPIENTRYP TexCoord3s) (GLshort s, GLshort t, GLshort r); /* 116 */
+ void (GLAPIENTRYP TexCoord3sv) (const GLshort * v); /* 117 */
+ void (GLAPIENTRYP TexCoord4d) (GLdouble s, GLdouble t, GLdouble r, GLdouble q); /* 118 */
+ void (GLAPIENTRYP TexCoord4dv) (const GLdouble * v); /* 119 */
+ void (GLAPIENTRYP TexCoord4f) (GLfloat s, GLfloat t, GLfloat r, GLfloat q); /* 120 */
+ void (GLAPIENTRYP TexCoord4fv) (const GLfloat * v); /* 121 */
+ void (GLAPIENTRYP TexCoord4i) (GLint s, GLint t, GLint r, GLint q); /* 122 */
+ void (GLAPIENTRYP TexCoord4iv) (const GLint * v); /* 123 */
+ void (GLAPIENTRYP TexCoord4s) (GLshort s, GLshort t, GLshort r, GLshort q); /* 124 */
+ void (GLAPIENTRYP TexCoord4sv) (const GLshort * v); /* 125 */
+ void (GLAPIENTRYP Vertex2d) (GLdouble x, GLdouble y); /* 126 */
+ void (GLAPIENTRYP Vertex2dv) (const GLdouble * v); /* 127 */
+ void (GLAPIENTRYP Vertex2f) (GLfloat x, GLfloat y); /* 128 */
+ void (GLAPIENTRYP Vertex2fv) (const GLfloat * v); /* 129 */
+ void (GLAPIENTRYP Vertex2i) (GLint x, GLint y); /* 130 */
+ void (GLAPIENTRYP Vertex2iv) (const GLint * v); /* 131 */
+ void (GLAPIENTRYP Vertex2s) (GLshort x, GLshort y); /* 132 */
+ void (GLAPIENTRYP Vertex2sv) (const GLshort * v); /* 133 */
+ void (GLAPIENTRYP Vertex3d) (GLdouble x, GLdouble y, GLdouble z); /* 134 */
+ void (GLAPIENTRYP Vertex3dv) (const GLdouble * v); /* 135 */
+ void (GLAPIENTRYP Vertex3f) (GLfloat x, GLfloat y, GLfloat z); /* 136 */
+ void (GLAPIENTRYP Vertex3fv) (const GLfloat * v); /* 137 */
+ void (GLAPIENTRYP Vertex3i) (GLint x, GLint y, GLint z); /* 138 */
+ void (GLAPIENTRYP Vertex3iv) (const GLint * v); /* 139 */
+ void (GLAPIENTRYP Vertex3s) (GLshort x, GLshort y, GLshort z); /* 140 */
+ void (GLAPIENTRYP Vertex3sv) (const GLshort * v); /* 141 */
+ void (GLAPIENTRYP Vertex4d) (GLdouble x, GLdouble y, GLdouble z, GLdouble w); /* 142 */
+ void (GLAPIENTRYP Vertex4dv) (const GLdouble * v); /* 143 */
+ void (GLAPIENTRYP Vertex4f) (GLfloat x, GLfloat y, GLfloat z, GLfloat w); /* 144 */
+ void (GLAPIENTRYP Vertex4fv) (const GLfloat * v); /* 145 */
+ void (GLAPIENTRYP Vertex4i) (GLint x, GLint y, GLint z, GLint w); /* 146 */
+ void (GLAPIENTRYP Vertex4iv) (const GLint * v); /* 147 */
+ void (GLAPIENTRYP Vertex4s) (GLshort x, GLshort y, GLshort z, GLshort w); /* 148 */
+ void (GLAPIENTRYP Vertex4sv) (const GLshort * v); /* 149 */
+ void (GLAPIENTRYP ClipPlane) (GLenum plane, const GLdouble * equation); /* 150 */
+ void (GLAPIENTRYP ColorMaterial) (GLenum face, GLenum mode); /* 151 */
+ void (GLAPIENTRYP CullFace) (GLenum mode); /* 152 */
+ void (GLAPIENTRYP Fogf) (GLenum pname, GLfloat param); /* 153 */
+ void (GLAPIENTRYP Fogfv) (GLenum pname, const GLfloat * params); /* 154 */
+ void (GLAPIENTRYP Fogi) (GLenum pname, GLint param); /* 155 */
+ void (GLAPIENTRYP Fogiv) (GLenum pname, const GLint * params); /* 156 */
+ void (GLAPIENTRYP FrontFace) (GLenum mode); /* 157 */
+ void (GLAPIENTRYP Hint) (GLenum target, GLenum mode); /* 158 */
+ void (GLAPIENTRYP Lightf) (GLenum light, GLenum pname, GLfloat param); /* 159 */
+ void (GLAPIENTRYP Lightfv) (GLenum light, GLenum pname, const GLfloat * params); /* 160 */
+ void (GLAPIENTRYP Lighti) (GLenum light, GLenum pname, GLint param); /* 161 */
+ void (GLAPIENTRYP Lightiv) (GLenum light, GLenum pname, const GLint * params); /* 162 */
+ void (GLAPIENTRYP LightModelf) (GLenum pname, GLfloat param); /* 163 */
+ void (GLAPIENTRYP LightModelfv) (GLenum pname, const GLfloat * params); /* 164 */
+ void (GLAPIENTRYP LightModeli) (GLenum pname, GLint param); /* 165 */
+ void (GLAPIENTRYP LightModeliv) (GLenum pname, const GLint * params); /* 166 */
+ void (GLAPIENTRYP LineStipple) (GLint factor, GLushort pattern); /* 167 */
+ void (GLAPIENTRYP LineWidth) (GLfloat width); /* 168 */
+ void (GLAPIENTRYP Materialf) (GLenum face, GLenum pname, GLfloat param); /* 169 */
+ void (GLAPIENTRYP Materialfv) (GLenum face, GLenum pname, const GLfloat * params); /* 170 */
+ void (GLAPIENTRYP Materiali) (GLenum face, GLenum pname, GLint param); /* 171 */
+ void (GLAPIENTRYP Materialiv) (GLenum face, GLenum pname, const GLint * params); /* 172 */
+ void (GLAPIENTRYP PointSize) (GLfloat size); /* 173 */
+ void (GLAPIENTRYP PolygonMode) (GLenum face, GLenum mode); /* 174 */
+ void (GLAPIENTRYP PolygonStipple) (const GLubyte * mask); /* 175 */
+ void (GLAPIENTRYP Scissor) (GLint x, GLint y, GLsizei width, GLsizei height); /* 176 */
+ void (GLAPIENTRYP ShadeModel) (GLenum mode); /* 177 */
+ void (GLAPIENTRYP TexParameterf) (GLenum target, GLenum pname, GLfloat param); /* 178 */
+ void (GLAPIENTRYP TexParameterfv) (GLenum target, GLenum pname, const GLfloat * params); /* 179 */
+ void (GLAPIENTRYP TexParameteri) (GLenum target, GLenum pname, GLint param); /* 180 */
+ void (GLAPIENTRYP TexParameteriv) (GLenum target, GLenum pname, const GLint * params); /* 181 */
+ void (GLAPIENTRYP TexImage1D) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid * pixels); /* 182 */
+ void (GLAPIENTRYP TexImage2D) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid * pixels); /* 183 */
+ void (GLAPIENTRYP TexEnvf) (GLenum target, GLenum pname, GLfloat param); /* 184 */
+ void (GLAPIENTRYP TexEnvfv) (GLenum target, GLenum pname, const GLfloat * params); /* 185 */
+ void (GLAPIENTRYP TexEnvi) (GLenum target, GLenum pname, GLint param); /* 186 */
+ void (GLAPIENTRYP TexEnviv) (GLenum target, GLenum pname, const GLint * params); /* 187 */
+ void (GLAPIENTRYP TexGend) (GLenum coord, GLenum pname, GLdouble param); /* 188 */
+ void (GLAPIENTRYP TexGendv) (GLenum coord, GLenum pname, const GLdouble * params); /* 189 */
+ void (GLAPIENTRYP TexGenf) (GLenum coord, GLenum pname, GLfloat param); /* 190 */
+ void (GLAPIENTRYP TexGenfv) (GLenum coord, GLenum pname, const GLfloat * params); /* 191 */
+ void (GLAPIENTRYP TexGeni) (GLenum coord, GLenum pname, GLint param); /* 192 */
+ void (GLAPIENTRYP TexGeniv) (GLenum coord, GLenum pname, const GLint * params); /* 193 */
+ void (GLAPIENTRYP FeedbackBuffer) (GLsizei size, GLenum type, GLfloat * buffer); /* 194 */
+ void (GLAPIENTRYP SelectBuffer) (GLsizei size, GLuint * buffer); /* 195 */
+ GLint(GLAPIENTRYP RenderMode) (GLenum mode); /* 196 */
+ void (GLAPIENTRYP InitNames) (void); /* 197 */
+ void (GLAPIENTRYP LoadName) (GLuint name); /* 198 */
+ void (GLAPIENTRYP PassThrough) (GLfloat token); /* 199 */
+ void (GLAPIENTRYP PopName) (void); /* 200 */
+ void (GLAPIENTRYP PushName) (GLuint name); /* 201 */
+ void (GLAPIENTRYP DrawBuffer) (GLenum mode); /* 202 */
+ void (GLAPIENTRYP Clear) (GLbitfield mask); /* 203 */
+ void (GLAPIENTRYP ClearAccum) (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); /* 204 */
+ void (GLAPIENTRYP ClearIndex) (GLfloat c); /* 205 */
+ void (GLAPIENTRYP ClearColor) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); /* 206 */
+ void (GLAPIENTRYP ClearStencil) (GLint s); /* 207 */
+ void (GLAPIENTRYP ClearDepth) (GLclampd depth); /* 208 */
+ void (GLAPIENTRYP StencilMask) (GLuint mask); /* 209 */
+ void (GLAPIENTRYP ColorMask) (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); /* 210 */
+ void (GLAPIENTRYP DepthMask) (GLboolean flag); /* 211 */
+ void (GLAPIENTRYP IndexMask) (GLuint mask); /* 212 */
+ void (GLAPIENTRYP Accum) (GLenum op, GLfloat value); /* 213 */
+ void (GLAPIENTRYP Disable) (GLenum cap); /* 214 */
+ void (GLAPIENTRYP Enable) (GLenum cap); /* 215 */
+ void (GLAPIENTRYP Finish) (void); /* 216 */
+ void (GLAPIENTRYP Flush) (void); /* 217 */
+ void (GLAPIENTRYP PopAttrib) (void); /* 218 */
+ void (GLAPIENTRYP PushAttrib) (GLbitfield mask); /* 219 */
+ void (GLAPIENTRYP Map1d) (GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble * points); /* 220 */
+ void (GLAPIENTRYP Map1f) (GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat * points); /* 221 */
+ void (GLAPIENTRYP Map2d) (GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble * points); /* 222 */
+ void (GLAPIENTRYP Map2f) (GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat * points); /* 223 */
+ void (GLAPIENTRYP MapGrid1d) (GLint un, GLdouble u1, GLdouble u2); /* 224 */
+ void (GLAPIENTRYP MapGrid1f) (GLint un, GLfloat u1, GLfloat u2); /* 225 */
+ void (GLAPIENTRYP MapGrid2d) (GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2); /* 226 */
+ void (GLAPIENTRYP MapGrid2f) (GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2); /* 227 */
+ void (GLAPIENTRYP EvalCoord1d) (GLdouble u); /* 228 */
+ void (GLAPIENTRYP EvalCoord1dv) (const GLdouble * u); /* 229 */
+ void (GLAPIENTRYP EvalCoord1f) (GLfloat u); /* 230 */
+ void (GLAPIENTRYP EvalCoord1fv) (const GLfloat * u); /* 231 */
+ void (GLAPIENTRYP EvalCoord2d) (GLdouble u, GLdouble v); /* 232 */
+ void (GLAPIENTRYP EvalCoord2dv) (const GLdouble * u); /* 233 */
+ void (GLAPIENTRYP EvalCoord2f) (GLfloat u, GLfloat v); /* 234 */
+ void (GLAPIENTRYP EvalCoord2fv) (const GLfloat * u); /* 235 */
+ void (GLAPIENTRYP EvalMesh1) (GLenum mode, GLint i1, GLint i2); /* 236 */
+ void (GLAPIENTRYP EvalPoint1) (GLint i); /* 237 */
+ void (GLAPIENTRYP EvalMesh2) (GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2); /* 238 */
+ void (GLAPIENTRYP EvalPoint2) (GLint i, GLint j); /* 239 */
+ void (GLAPIENTRYP AlphaFunc) (GLenum func, GLclampf ref); /* 240 */
+ void (GLAPIENTRYP BlendFunc) (GLenum sfactor, GLenum dfactor); /* 241 */
+ void (GLAPIENTRYP LogicOp) (GLenum opcode); /* 242 */
+ void (GLAPIENTRYP StencilFunc) (GLenum func, GLint ref, GLuint mask); /* 243 */
+ void (GLAPIENTRYP StencilOp) (GLenum fail, GLenum zfail, GLenum zpass); /* 244 */
+ void (GLAPIENTRYP DepthFunc) (GLenum func); /* 245 */
+ void (GLAPIENTRYP PixelZoom) (GLfloat xfactor, GLfloat yfactor); /* 246 */
+ void (GLAPIENTRYP PixelTransferf) (GLenum pname, GLfloat param); /* 247 */
+ void (GLAPIENTRYP PixelTransferi) (GLenum pname, GLint param); /* 248 */
+ void (GLAPIENTRYP PixelStoref) (GLenum pname, GLfloat param); /* 249 */
+ void (GLAPIENTRYP PixelStorei) (GLenum pname, GLint param); /* 250 */
+ void (GLAPIENTRYP PixelMapfv) (GLenum map, GLsizei mapsize, const GLfloat * values); /* 251 */
+ void (GLAPIENTRYP PixelMapuiv) (GLenum map, GLsizei mapsize, const GLuint * values); /* 252 */
+ void (GLAPIENTRYP PixelMapusv) (GLenum map, GLsizei mapsize, const GLushort * values); /* 253 */
+ void (GLAPIENTRYP ReadBuffer) (GLenum mode); /* 254 */
+ void (GLAPIENTRYP CopyPixels) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum type); /* 255 */
+ void (GLAPIENTRYP ReadPixels) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid * pixels); /* 256 */
+ void (GLAPIENTRYP DrawPixels) (GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid * pixels); /* 257 */
+ void (GLAPIENTRYP GetBooleanv) (GLenum pname, GLboolean * params); /* 258 */
+ void (GLAPIENTRYP GetClipPlane) (GLenum plane, GLdouble * equation); /* 259 */
+ void (GLAPIENTRYP GetDoublev) (GLenum pname, GLdouble * params); /* 260 */
+ GLenum(GLAPIENTRYP GetError) (void); /* 261 */
+ void (GLAPIENTRYP GetFloatv) (GLenum pname, GLfloat * params); /* 262 */
+ void (GLAPIENTRYP GetIntegerv) (GLenum pname, GLint * params); /* 263 */
+ void (GLAPIENTRYP GetLightfv) (GLenum light, GLenum pname, GLfloat * params); /* 264 */
+ void (GLAPIENTRYP GetLightiv) (GLenum light, GLenum pname, GLint * params); /* 265 */
+ void (GLAPIENTRYP GetMapdv) (GLenum target, GLenum query, GLdouble * v); /* 266 */
+ void (GLAPIENTRYP GetMapfv) (GLenum target, GLenum query, GLfloat * v); /* 267 */
+ void (GLAPIENTRYP GetMapiv) (GLenum target, GLenum query, GLint * v); /* 268 */
+ void (GLAPIENTRYP GetMaterialfv) (GLenum face, GLenum pname, GLfloat * params); /* 269 */
+ void (GLAPIENTRYP GetMaterialiv) (GLenum face, GLenum pname, GLint * params); /* 270 */
+ void (GLAPIENTRYP GetPixelMapfv) (GLenum map, GLfloat * values); /* 271 */
+ void (GLAPIENTRYP GetPixelMapuiv) (GLenum map, GLuint * values); /* 272 */
+ void (GLAPIENTRYP GetPixelMapusv) (GLenum map, GLushort * values); /* 273 */
+ void (GLAPIENTRYP GetPolygonStipple) (GLubyte * mask); /* 274 */
+ const GLubyte *(GLAPIENTRYP GetString) (GLenum name); /* 275 */
+ void (GLAPIENTRYP GetTexEnvfv) (GLenum target, GLenum pname, GLfloat * params); /* 276 */
+ void (GLAPIENTRYP GetTexEnviv) (GLenum target, GLenum pname, GLint * params); /* 277 */
+ void (GLAPIENTRYP GetTexGendv) (GLenum coord, GLenum pname, GLdouble * params); /* 278 */
+ void (GLAPIENTRYP GetTexGenfv) (GLenum coord, GLenum pname, GLfloat * params); /* 279 */
+ void (GLAPIENTRYP GetTexGeniv) (GLenum coord, GLenum pname, GLint * params); /* 280 */
+ void (GLAPIENTRYP GetTexImage) (GLenum target, GLint level, GLenum format, GLenum type, GLvoid * pixels); /* 281 */
+ void (GLAPIENTRYP GetTexParameterfv) (GLenum target, GLenum pname, GLfloat * params); /* 282 */
+ void (GLAPIENTRYP GetTexParameteriv) (GLenum target, GLenum pname, GLint * params); /* 283 */
+ void (GLAPIENTRYP GetTexLevelParameterfv) (GLenum target, GLint level, GLenum pname, GLfloat * params); /* 284 */
+ void (GLAPIENTRYP GetTexLevelParameteriv) (GLenum target, GLint level, GLenum pname, GLint * params); /* 285 */
+ GLboolean(GLAPIENTRYP IsEnabled) (GLenum cap); /* 286 */
+ GLboolean(GLAPIENTRYP IsList) (GLuint list); /* 287 */
+ void (GLAPIENTRYP DepthRange) (GLclampd zNear, GLclampd zFar); /* 288 */
+ void (GLAPIENTRYP Frustum) (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); /* 289 */
+ void (GLAPIENTRYP LoadIdentity) (void); /* 290 */
+ void (GLAPIENTRYP LoadMatrixf) (const GLfloat * m); /* 291 */
+ void (GLAPIENTRYP LoadMatrixd) (const GLdouble * m); /* 292 */
+ void (GLAPIENTRYP MatrixMode) (GLenum mode); /* 293 */
+ void (GLAPIENTRYP MultMatrixf) (const GLfloat * m); /* 294 */
+ void (GLAPIENTRYP MultMatrixd) (const GLdouble * m); /* 295 */
+ void (GLAPIENTRYP Ortho) (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); /* 296 */
+ void (GLAPIENTRYP PopMatrix) (void); /* 297 */
+ void (GLAPIENTRYP PushMatrix) (void); /* 298 */
+ void (GLAPIENTRYP Rotated) (GLdouble angle, GLdouble x, GLdouble y, GLdouble z); /* 299 */
+ void (GLAPIENTRYP Rotatef) (GLfloat angle, GLfloat x, GLfloat y, GLfloat z); /* 300 */
+ void (GLAPIENTRYP Scaled) (GLdouble x, GLdouble y, GLdouble z); /* 301 */
+ void (GLAPIENTRYP Scalef) (GLfloat x, GLfloat y, GLfloat z); /* 302 */
+ void (GLAPIENTRYP Translated) (GLdouble x, GLdouble y, GLdouble z); /* 303 */
+ void (GLAPIENTRYP Translatef) (GLfloat x, GLfloat y, GLfloat z); /* 304 */
+ void (GLAPIENTRYP Viewport) (GLint x, GLint y, GLsizei width, GLsizei height); /* 305 */
+ void (GLAPIENTRYP ArrayElement) (GLint i); /* 306 */
+ void (GLAPIENTRYP BindTexture) (GLenum target, GLuint texture); /* 307 */
+ void (GLAPIENTRYP ColorPointer) (GLint size, GLenum type, GLsizei stride, const GLvoid * pointer); /* 308 */
+ void (GLAPIENTRYP DisableClientState) (GLenum array); /* 309 */
+ void (GLAPIENTRYP DrawArrays) (GLenum mode, GLint first, GLsizei count); /* 310 */
+ void (GLAPIENTRYP DrawElements) (GLenum mode, GLsizei count, GLenum type, const GLvoid * indices); /* 311 */
+ void (GLAPIENTRYP EdgeFlagPointer) (GLsizei stride, const GLvoid * pointer); /* 312 */
+ void (GLAPIENTRYP EnableClientState) (GLenum array); /* 313 */
+ void (GLAPIENTRYP IndexPointer) (GLenum type, GLsizei stride, const GLvoid * pointer); /* 314 */
+ void (GLAPIENTRYP Indexub) (GLubyte c); /* 315 */
+ void (GLAPIENTRYP Indexubv) (const GLubyte * c); /* 316 */
+ void (GLAPIENTRYP InterleavedArrays) (GLenum format, GLsizei stride, const GLvoid * pointer); /* 317 */
+ void (GLAPIENTRYP NormalPointer) (GLenum type, GLsizei stride, const GLvoid * pointer); /* 318 */
+ void (GLAPIENTRYP PolygonOffset) (GLfloat factor, GLfloat units); /* 319 */
+ void (GLAPIENTRYP TexCoordPointer) (GLint size, GLenum type, GLsizei stride, const GLvoid * pointer); /* 320 */
+ void (GLAPIENTRYP VertexPointer) (GLint size, GLenum type, GLsizei stride, const GLvoid * pointer); /* 321 */
+ GLboolean(GLAPIENTRYP AreTexturesResident) (GLsizei n, const GLuint * textures, GLboolean * residences); /* 322 */
+ void (GLAPIENTRYP CopyTexImage1D) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border); /* 323 */
+ void (GLAPIENTRYP CopyTexImage2D) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); /* 324 */
+ void (GLAPIENTRYP CopyTexSubImage1D) (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); /* 325 */
+ void (GLAPIENTRYP CopyTexSubImage2D) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); /* 326 */
+ void (GLAPIENTRYP DeleteTextures) (GLsizei n, const GLuint * textures); /* 327 */
+ void (GLAPIENTRYP GenTextures) (GLsizei n, GLuint * textures); /* 328 */
+ void (GLAPIENTRYP GetPointerv) (GLenum pname, GLvoid ** params); /* 329 */
+ GLboolean(GLAPIENTRYP IsTexture) (GLuint texture); /* 330 */
+ void (GLAPIENTRYP PrioritizeTextures) (GLsizei n, const GLuint * textures, const GLclampf * priorities); /* 331 */
+ void (GLAPIENTRYP TexSubImage1D) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid * pixels); /* 332 */
+ void (GLAPIENTRYP TexSubImage2D) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid * pixels); /* 333 */
+ void (GLAPIENTRYP PopClientAttrib) (void); /* 334 */
+ void (GLAPIENTRYP PushClientAttrib) (GLbitfield mask); /* 335 */
+ void (GLAPIENTRYP BlendColor) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); /* 336 */
+ void (GLAPIENTRYP BlendEquation) (GLenum mode); /* 337 */
+ void (GLAPIENTRYP DrawRangeElements) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid * indices); /* 338 */
+ void (GLAPIENTRYP ColorTable) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid * table); /* 339 */
+ void (GLAPIENTRYP ColorTableParameterfv) (GLenum target, GLenum pname, const GLfloat * params); /* 340 */
+ void (GLAPIENTRYP ColorTableParameteriv) (GLenum target, GLenum pname, const GLint * params); /* 341 */
+ void (GLAPIENTRYP CopyColorTable) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); /* 342 */
+ void (GLAPIENTRYP GetColorTable) (GLenum target, GLenum format, GLenum type, GLvoid * table); /* 343 */
+ void (GLAPIENTRYP GetColorTableParameterfv) (GLenum target, GLenum pname, GLfloat * params); /* 344 */
+ void (GLAPIENTRYP GetColorTableParameteriv) (GLenum target, GLenum pname, GLint * params); /* 345 */
+ void (GLAPIENTRYP ColorSubTable) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid * data); /* 346 */
+ void (GLAPIENTRYP CopyColorSubTable) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width); /* 347 */
+ void (GLAPIENTRYP ConvolutionFilter1D) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid * image); /* 348 */
+ void (GLAPIENTRYP ConvolutionFilter2D) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid * image); /* 349 */
+ void (GLAPIENTRYP ConvolutionParameterf) (GLenum target, GLenum pname, GLfloat params); /* 350 */
+ void (GLAPIENTRYP ConvolutionParameterfv) (GLenum target, GLenum pname, const GLfloat * params); /* 351 */
+ void (GLAPIENTRYP ConvolutionParameteri) (GLenum target, GLenum pname, GLint params); /* 352 */
+ void (GLAPIENTRYP ConvolutionParameteriv) (GLenum target, GLenum pname, const GLint * params); /* 353 */
+ void (GLAPIENTRYP CopyConvolutionFilter1D) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); /* 354 */
+ void (GLAPIENTRYP CopyConvolutionFilter2D) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height); /* 355 */
+ void (GLAPIENTRYP GetConvolutionFilter) (GLenum target, GLenum format, GLenum type, GLvoid * image); /* 356 */
+ void (GLAPIENTRYP GetConvolutionParameterfv) (GLenum target, GLenum pname, GLfloat * params); /* 357 */
+ void (GLAPIENTRYP GetConvolutionParameteriv) (GLenum target, GLenum pname, GLint * params); /* 358 */
+ void (GLAPIENTRYP GetSeparableFilter) (GLenum target, GLenum format, GLenum type, GLvoid * row, GLvoid * column, GLvoid * span); /* 359 */
+ void (GLAPIENTRYP SeparableFilter2D) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid * row, const GLvoid * column); /* 360 */
+ void (GLAPIENTRYP GetHistogram) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid * values); /* 361 */
+ void (GLAPIENTRYP GetHistogramParameterfv) (GLenum target, GLenum pname, GLfloat * params); /* 362 */
+ void (GLAPIENTRYP GetHistogramParameteriv) (GLenum target, GLenum pname, GLint * params); /* 363 */
+ void (GLAPIENTRYP GetMinmax) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid * values); /* 364 */
+ void (GLAPIENTRYP GetMinmaxParameterfv) (GLenum target, GLenum pname, GLfloat * params); /* 365 */
+ void (GLAPIENTRYP GetMinmaxParameteriv) (GLenum target, GLenum pname, GLint * params); /* 366 */
+ void (GLAPIENTRYP Histogram) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink); /* 367 */
+ void (GLAPIENTRYP Minmax) (GLenum target, GLenum internalformat, GLboolean sink); /* 368 */
+ void (GLAPIENTRYP ResetHistogram) (GLenum target); /* 369 */
+ void (GLAPIENTRYP ResetMinmax) (GLenum target); /* 370 */
+ void (GLAPIENTRYP TexImage3D) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid * pixels); /* 371 */
+ void (GLAPIENTRYP TexSubImage3D) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid * pixels); /* 372 */
+ void (GLAPIENTRYP CopyTexSubImage3D) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); /* 373 */
+ void (GLAPIENTRYP ActiveTextureARB) (GLenum texture); /* 374 */
+ void (GLAPIENTRYP ClientActiveTextureARB) (GLenum texture); /* 375 */
+ void (GLAPIENTRYP MultiTexCoord1dARB) (GLenum target, GLdouble s); /* 376 */
+ void (GLAPIENTRYP MultiTexCoord1dvARB) (GLenum target, const GLdouble * v); /* 377 */
+ void (GLAPIENTRYP MultiTexCoord1fARB) (GLenum target, GLfloat s); /* 378 */
+ void (GLAPIENTRYP MultiTexCoord1fvARB) (GLenum target, const GLfloat * v); /* 379 */
+ void (GLAPIENTRYP MultiTexCoord1iARB) (GLenum target, GLint s); /* 380 */
+ void (GLAPIENTRYP MultiTexCoord1ivARB) (GLenum target, const GLint * v); /* 381 */
+ void (GLAPIENTRYP MultiTexCoord1sARB) (GLenum target, GLshort s); /* 382 */
+ void (GLAPIENTRYP MultiTexCoord1svARB) (GLenum target, const GLshort * v); /* 383 */
+ void (GLAPIENTRYP MultiTexCoord2dARB) (GLenum target, GLdouble s, GLdouble t); /* 384 */
+ void (GLAPIENTRYP MultiTexCoord2dvARB) (GLenum target, const GLdouble * v); /* 385 */
+ void (GLAPIENTRYP MultiTexCoord2fARB) (GLenum target, GLfloat s, GLfloat t); /* 386 */
+ void (GLAPIENTRYP MultiTexCoord2fvARB) (GLenum target, const GLfloat * v); /* 387 */
+ void (GLAPIENTRYP MultiTexCoord2iARB) (GLenum target, GLint s, GLint t); /* 388 */
+ void (GLAPIENTRYP MultiTexCoord2ivARB) (GLenum target, const GLint * v); /* 389 */
+ void (GLAPIENTRYP MultiTexCoord2sARB) (GLenum target, GLshort s, GLshort t); /* 390 */
+ void (GLAPIENTRYP MultiTexCoord2svARB) (GLenum target, const GLshort * v); /* 391 */
+ void (GLAPIENTRYP MultiTexCoord3dARB) (GLenum target, GLdouble s, GLdouble t, GLdouble r); /* 392 */
+ void (GLAPIENTRYP MultiTexCoord3dvARB) (GLenum target, const GLdouble * v); /* 393 */
+ void (GLAPIENTRYP MultiTexCoord3fARB) (GLenum target, GLfloat s, GLfloat t, GLfloat r); /* 394 */
+ void (GLAPIENTRYP MultiTexCoord3fvARB) (GLenum target, const GLfloat * v); /* 395 */
+ void (GLAPIENTRYP MultiTexCoord3iARB) (GLenum target, GLint s, GLint t, GLint r); /* 396 */
+ void (GLAPIENTRYP MultiTexCoord3ivARB) (GLenum target, const GLint * v); /* 397 */
+ void (GLAPIENTRYP MultiTexCoord3sARB) (GLenum target, GLshort s, GLshort t, GLshort r); /* 398 */
+ void (GLAPIENTRYP MultiTexCoord3svARB) (GLenum target, const GLshort * v); /* 399 */
+ void (GLAPIENTRYP MultiTexCoord4dARB) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q); /* 400 */
+ void (GLAPIENTRYP MultiTexCoord4dvARB) (GLenum target, const GLdouble * v); /* 401 */
+ void (GLAPIENTRYP MultiTexCoord4fARB) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); /* 402 */
+ void (GLAPIENTRYP MultiTexCoord4fvARB) (GLenum target, const GLfloat * v); /* 403 */
+ void (GLAPIENTRYP MultiTexCoord4iARB) (GLenum target, GLint s, GLint t, GLint r, GLint q); /* 404 */
+ void (GLAPIENTRYP MultiTexCoord4ivARB) (GLenum target, const GLint * v); /* 405 */
+ void (GLAPIENTRYP MultiTexCoord4sARB) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q); /* 406 */
+ void (GLAPIENTRYP MultiTexCoord4svARB) (GLenum target, const GLshort * v); /* 407 */
+ void (GLAPIENTRYP AttachShader) (GLuint program, GLuint shader); /* 408 */
+ GLuint(GLAPIENTRYP CreateProgram) (void); /* 409 */
+ GLuint(GLAPIENTRYP CreateShader) (GLenum type); /* 410 */
+ void (GLAPIENTRYP DeleteProgram) (GLuint program); /* 411 */
+ void (GLAPIENTRYP DeleteShader) (GLuint program); /* 412 */
+ void (GLAPIENTRYP DetachShader) (GLuint program, GLuint shader); /* 413 */
+ void (GLAPIENTRYP GetAttachedShaders) (GLuint program, GLsizei maxCount, GLsizei * count, GLuint * obj); /* 414 */
+ void (GLAPIENTRYP GetProgramInfoLog) (GLuint program, GLsizei bufSize, GLsizei * length, GLchar * infoLog); /* 415 */
+ void (GLAPIENTRYP GetProgramiv) (GLuint program, GLenum pname, GLint * params); /* 416 */
+ void (GLAPIENTRYP GetShaderInfoLog) (GLuint shader, GLsizei bufSize, GLsizei * length, GLchar * infoLog); /* 417 */
+ void (GLAPIENTRYP GetShaderiv) (GLuint shader, GLenum pname, GLint * params); /* 418 */
+ GLboolean(GLAPIENTRYP IsProgram) (GLuint program); /* 419 */
+ GLboolean(GLAPIENTRYP IsShader) (GLuint shader); /* 420 */
+ void (GLAPIENTRYP StencilFuncSeparate) (GLenum face, GLenum func, GLint ref, GLuint mask); /* 421 */
+ void (GLAPIENTRYP StencilMaskSeparate) (GLenum face, GLuint mask); /* 422 */
+ void (GLAPIENTRYP StencilOpSeparate) (GLenum face, GLenum sfail, GLenum zfail, GLenum zpass); /* 423 */
+ void (GLAPIENTRYP UniformMatrix2x3fv) (GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); /* 424 */
+ void (GLAPIENTRYP UniformMatrix2x4fv) (GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); /* 425 */
+ void (GLAPIENTRYP UniformMatrix3x2fv) (GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); /* 426 */
+ void (GLAPIENTRYP UniformMatrix3x4fv) (GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); /* 427 */
+ void (GLAPIENTRYP UniformMatrix4x2fv) (GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); /* 428 */
+ void (GLAPIENTRYP UniformMatrix4x3fv) (GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); /* 429 */
+ void (GLAPIENTRYP ClampColor) (GLenum target, GLenum clamp); /* 430 */
+ void (GLAPIENTRYP ClearBufferfi) (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil); /* 431 */
+ void (GLAPIENTRYP ClearBufferfv) (GLenum buffer, GLint drawbuffer, const GLfloat * value); /* 432 */
+ void (GLAPIENTRYP ClearBufferiv) (GLenum buffer, GLint drawbuffer, const GLint * value); /* 433 */
+ void (GLAPIENTRYP ClearBufferuiv) (GLenum buffer, GLint drawbuffer, const GLuint * value); /* 434 */
+ const GLubyte *(GLAPIENTRYP GetStringi) (GLenum name, GLuint index); /* 435 */
+ void (GLAPIENTRYP TexBuffer) (GLenum target, GLenum internalFormat, GLuint buffer); /* 436 */
+ void (GLAPIENTRYP FramebufferTexture) (GLenum target, GLenum attachment, GLuint texture, GLint level); /* 437 */
+ void (GLAPIENTRYP GetBufferParameteri64v) (GLenum target, GLenum pname, GLint64 * params); /* 438 */
+ void (GLAPIENTRYP GetInteger64i_v) (GLenum cap, GLuint index, GLint64 * data); /* 439 */
+ void (GLAPIENTRYP VertexAttribDivisor) (GLuint index, GLuint divisor); /* 440 */
+ void (GLAPIENTRYP LoadTransposeMatrixdARB) (const GLdouble * m); /* 441 */
+ void (GLAPIENTRYP LoadTransposeMatrixfARB) (const GLfloat * m); /* 442 */
+ void (GLAPIENTRYP MultTransposeMatrixdARB) (const GLdouble * m); /* 443 */
+ void (GLAPIENTRYP MultTransposeMatrixfARB) (const GLfloat * m); /* 444 */
+ void (GLAPIENTRYP SampleCoverageARB) (GLclampf value, GLboolean invert); /* 445 */
+ void (GLAPIENTRYP CompressedTexImage1DARB) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid * data); /* 446 */
+ void (GLAPIENTRYP CompressedTexImage2DARB) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid * data); /* 447 */
+ void (GLAPIENTRYP CompressedTexImage3DARB) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid * data); /* 448 */
+ void (GLAPIENTRYP CompressedTexSubImage1DARB) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid * data); /* 449 */
+ void (GLAPIENTRYP CompressedTexSubImage2DARB) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid * data); /* 450 */
+ void (GLAPIENTRYP CompressedTexSubImage3DARB) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid * data); /* 451 */
+ void (GLAPIENTRYP GetCompressedTexImageARB) (GLenum target, GLint level, GLvoid * img); /* 452 */
+ void (GLAPIENTRYP DisableVertexAttribArrayARB) (GLuint index); /* 453 */
+ void (GLAPIENTRYP EnableVertexAttribArrayARB) (GLuint index); /* 454 */
+ void (GLAPIENTRYP GetProgramEnvParameterdvARB) (GLenum target, GLuint index, GLdouble * params); /* 455 */
+ void (GLAPIENTRYP GetProgramEnvParameterfvARB) (GLenum target, GLuint index, GLfloat * params); /* 456 */
+ void (GLAPIENTRYP GetProgramLocalParameterdvARB) (GLenum target, GLuint index, GLdouble * params); /* 457 */
+ void (GLAPIENTRYP GetProgramLocalParameterfvARB) (GLenum target, GLuint index, GLfloat * params); /* 458 */
+ void (GLAPIENTRYP GetProgramStringARB) (GLenum target, GLenum pname, GLvoid * string); /* 459 */
+ void (GLAPIENTRYP GetProgramivARB) (GLenum target, GLenum pname, GLint * params); /* 460 */
+ void (GLAPIENTRYP GetVertexAttribdvARB) (GLuint index, GLenum pname, GLdouble * params); /* 461 */
+ void (GLAPIENTRYP GetVertexAttribfvARB) (GLuint index, GLenum pname, GLfloat * params); /* 462 */
+ void (GLAPIENTRYP GetVertexAttribivARB) (GLuint index, GLenum pname, GLint * params); /* 463 */
+ void (GLAPIENTRYP ProgramEnvParameter4dARB) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); /* 464 */
+ void (GLAPIENTRYP ProgramEnvParameter4dvARB) (GLenum target, GLuint index, const GLdouble * params); /* 465 */
+ void (GLAPIENTRYP ProgramEnvParameter4fARB) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); /* 466 */
+ void (GLAPIENTRYP ProgramEnvParameter4fvARB) (GLenum target, GLuint index, const GLfloat * params); /* 467 */
+ void (GLAPIENTRYP ProgramLocalParameter4dARB) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); /* 468 */
+ void (GLAPIENTRYP ProgramLocalParameter4dvARB) (GLenum target, GLuint index, const GLdouble * params); /* 469 */
+ void (GLAPIENTRYP ProgramLocalParameter4fARB) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); /* 470 */
+ void (GLAPIENTRYP ProgramLocalParameter4fvARB) (GLenum target, GLuint index, const GLfloat * params); /* 471 */
+ void (GLAPIENTRYP ProgramStringARB) (GLenum target, GLenum format, GLsizei len, const GLvoid * string); /* 472 */
+ void (GLAPIENTRYP VertexAttrib1dARB) (GLuint index, GLdouble x); /* 473 */
+ void (GLAPIENTRYP VertexAttrib1dvARB) (GLuint index, const GLdouble * v); /* 474 */
+ void (GLAPIENTRYP VertexAttrib1fARB) (GLuint index, GLfloat x); /* 475 */
+ void (GLAPIENTRYP VertexAttrib1fvARB) (GLuint index, const GLfloat * v); /* 476 */
+ void (GLAPIENTRYP VertexAttrib1sARB) (GLuint index, GLshort x); /* 477 */
+ void (GLAPIENTRYP VertexAttrib1svARB) (GLuint index, const GLshort * v); /* 478 */
+ void (GLAPIENTRYP VertexAttrib2dARB) (GLuint index, GLdouble x, GLdouble y); /* 479 */
+ void (GLAPIENTRYP VertexAttrib2dvARB) (GLuint index, const GLdouble * v); /* 480 */
+ void (GLAPIENTRYP VertexAttrib2fARB) (GLuint index, GLfloat x, GLfloat y); /* 481 */
+ void (GLAPIENTRYP VertexAttrib2fvARB) (GLuint index, const GLfloat * v); /* 482 */
+ void (GLAPIENTRYP VertexAttrib2sARB) (GLuint index, GLshort x, GLshort y); /* 483 */
+ void (GLAPIENTRYP VertexAttrib2svARB) (GLuint index, const GLshort * v); /* 484 */
+ void (GLAPIENTRYP VertexAttrib3dARB) (GLuint index, GLdouble x, GLdouble y, GLdouble z); /* 485 */
+ void (GLAPIENTRYP VertexAttrib3dvARB) (GLuint index, const GLdouble * v); /* 486 */
+ void (GLAPIENTRYP VertexAttrib3fARB) (GLuint index, GLfloat x, GLfloat y, GLfloat z); /* 487 */
+ void (GLAPIENTRYP VertexAttrib3fvARB) (GLuint index, const GLfloat * v); /* 488 */
+ void (GLAPIENTRYP VertexAttrib3sARB) (GLuint index, GLshort x, GLshort y, GLshort z); /* 489 */
+ void (GLAPIENTRYP VertexAttrib3svARB) (GLuint index, const GLshort * v); /* 490 */
+ void (GLAPIENTRYP VertexAttrib4NbvARB) (GLuint index, const GLbyte * v); /* 491 */
+ void (GLAPIENTRYP VertexAttrib4NivARB) (GLuint index, const GLint * v); /* 492 */
+ void (GLAPIENTRYP VertexAttrib4NsvARB) (GLuint index, const GLshort * v); /* 493 */
+ void (GLAPIENTRYP VertexAttrib4NubARB) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w); /* 494 */
+ void (GLAPIENTRYP VertexAttrib4NubvARB) (GLuint index, const GLubyte * v); /* 495 */
+ void (GLAPIENTRYP VertexAttrib4NuivARB) (GLuint index, const GLuint * v); /* 496 */
+ void (GLAPIENTRYP VertexAttrib4NusvARB) (GLuint index, const GLushort * v); /* 497 */
+ void (GLAPIENTRYP VertexAttrib4bvARB) (GLuint index, const GLbyte * v); /* 498 */
+ void (GLAPIENTRYP VertexAttrib4dARB) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); /* 499 */
+ void (GLAPIENTRYP VertexAttrib4dvARB) (GLuint index, const GLdouble * v); /* 500 */
+ void (GLAPIENTRYP VertexAttrib4fARB) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); /* 501 */
+ void (GLAPIENTRYP VertexAttrib4fvARB) (GLuint index, const GLfloat * v); /* 502 */
+ void (GLAPIENTRYP VertexAttrib4ivARB) (GLuint index, const GLint * v); /* 503 */
+ void (GLAPIENTRYP VertexAttrib4sARB) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w); /* 504 */
+ void (GLAPIENTRYP VertexAttrib4svARB) (GLuint index, const GLshort * v); /* 505 */
+ void (GLAPIENTRYP VertexAttrib4ubvARB) (GLuint index, const GLubyte * v); /* 506 */
+ void (GLAPIENTRYP VertexAttrib4uivARB) (GLuint index, const GLuint * v); /* 507 */
+ void (GLAPIENTRYP VertexAttrib4usvARB) (GLuint index, const GLushort * v); /* 508 */
+ void (GLAPIENTRYP VertexAttribPointerARB) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid * pointer); /* 509 */
+ void (GLAPIENTRYP BindBufferARB) (GLenum target, GLuint buffer); /* 510 */
+ void (GLAPIENTRYP BufferDataARB) (GLenum target, GLsizeiptrARB size, const GLvoid * data, GLenum usage); /* 511 */
+ void (GLAPIENTRYP BufferSubDataARB) (GLenum target, GLintptrARB offset, GLsizeiptrARB size, const GLvoid * data); /* 512 */
+ void (GLAPIENTRYP DeleteBuffersARB) (GLsizei n, const GLuint * buffer); /* 513 */
+ void (GLAPIENTRYP GenBuffersARB) (GLsizei n, GLuint * buffer); /* 514 */
+ void (GLAPIENTRYP GetBufferParameterivARB) (GLenum target, GLenum pname, GLint * params); /* 515 */
+ void (GLAPIENTRYP GetBufferPointervARB) (GLenum target, GLenum pname, GLvoid ** params); /* 516 */
+ void (GLAPIENTRYP GetBufferSubDataARB) (GLenum target, GLintptrARB offset, GLsizeiptrARB size, GLvoid * data); /* 517 */
+ GLboolean(GLAPIENTRYP IsBufferARB) (GLuint buffer); /* 518 */
+ GLvoid *(GLAPIENTRYP MapBufferARB) (GLenum target, GLenum access); /* 519 */
+ GLboolean(GLAPIENTRYP UnmapBufferARB) (GLenum target); /* 520 */
+ void (GLAPIENTRYP BeginQueryARB) (GLenum target, GLuint id); /* 521 */
+ void (GLAPIENTRYP DeleteQueriesARB) (GLsizei n, const GLuint * ids); /* 522 */
+ void (GLAPIENTRYP EndQueryARB) (GLenum target); /* 523 */
+ void (GLAPIENTRYP GenQueriesARB) (GLsizei n, GLuint * ids); /* 524 */
+ void (GLAPIENTRYP GetQueryObjectivARB) (GLuint id, GLenum pname, GLint * params); /* 525 */
+ void (GLAPIENTRYP GetQueryObjectuivARB) (GLuint id, GLenum pname, GLuint * params); /* 526 */
+ void (GLAPIENTRYP GetQueryivARB) (GLenum target, GLenum pname, GLint * params); /* 527 */
+ GLboolean(GLAPIENTRYP IsQueryARB) (GLuint id); /* 528 */
+ void (GLAPIENTRYP AttachObjectARB) (GLhandleARB containerObj, GLhandleARB obj); /* 529 */
+ void (GLAPIENTRYP CompileShaderARB) (GLhandleARB shader); /* 530 */
+ GLhandleARB(GLAPIENTRYP CreateProgramObjectARB) (void); /* 531 */
+ GLhandleARB(GLAPIENTRYP CreateShaderObjectARB) (GLenum shaderType); /* 532 */
+ void (GLAPIENTRYP DeleteObjectARB) (GLhandleARB obj); /* 533 */
+ void (GLAPIENTRYP DetachObjectARB) (GLhandleARB containerObj, GLhandleARB attachedObj); /* 534 */
+ void (GLAPIENTRYP GetActiveUniformARB) (GLhandleARB program, GLuint index, GLsizei bufSize, GLsizei * length, GLint * size, GLenum * type, GLcharARB * name); /* 535 */
+ void (GLAPIENTRYP GetAttachedObjectsARB) (GLhandleARB containerObj, GLsizei maxLength, GLsizei * length, GLhandleARB * infoLog); /* 536 */
+ GLhandleARB(GLAPIENTRYP GetHandleARB) (GLenum pname); /* 537 */
+ void (GLAPIENTRYP GetInfoLogARB) (GLhandleARB obj, GLsizei maxLength, GLsizei * length, GLcharARB * infoLog); /* 538 */
+ void (GLAPIENTRYP GetObjectParameterfvARB) (GLhandleARB obj, GLenum pname, GLfloat * params); /* 539 */
+ void (GLAPIENTRYP GetObjectParameterivARB) (GLhandleARB obj, GLenum pname, GLint * params); /* 540 */
+ void (GLAPIENTRYP GetShaderSourceARB) (GLhandleARB shader, GLsizei bufSize, GLsizei * length, GLcharARB * source); /* 541 */
+ GLint(GLAPIENTRYP GetUniformLocationARB) (GLhandleARB program, const GLcharARB * name); /* 542 */
+ void (GLAPIENTRYP GetUniformfvARB) (GLhandleARB program, GLint location, GLfloat * params); /* 543 */
+ void (GLAPIENTRYP GetUniformivARB) (GLhandleARB program, GLint location, GLint * params); /* 544 */
+ void (GLAPIENTRYP LinkProgramARB) (GLhandleARB program); /* 545 */
+ void (GLAPIENTRYP ShaderSourceARB) (GLhandleARB shader, GLsizei count, const GLcharARB ** string, const GLint * length); /* 546 */
+ void (GLAPIENTRYP Uniform1fARB) (GLint location, GLfloat v0); /* 547 */
+ void (GLAPIENTRYP Uniform1fvARB) (GLint location, GLsizei count, const GLfloat * value); /* 548 */
+ void (GLAPIENTRYP Uniform1iARB) (GLint location, GLint v0); /* 549 */
+ void (GLAPIENTRYP Uniform1ivARB) (GLint location, GLsizei count, const GLint * value); /* 550 */
+ void (GLAPIENTRYP Uniform2fARB) (GLint location, GLfloat v0, GLfloat v1); /* 551 */
+ void (GLAPIENTRYP Uniform2fvARB) (GLint location, GLsizei count, const GLfloat * value); /* 552 */
+ void (GLAPIENTRYP Uniform2iARB) (GLint location, GLint v0, GLint v1); /* 553 */
+ void (GLAPIENTRYP Uniform2ivARB) (GLint location, GLsizei count, const GLint * value); /* 554 */
+ void (GLAPIENTRYP Uniform3fARB) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2); /* 555 */
+ void (GLAPIENTRYP Uniform3fvARB) (GLint location, GLsizei count, const GLfloat * value); /* 556 */
+ void (GLAPIENTRYP Uniform3iARB) (GLint location, GLint v0, GLint v1, GLint v2); /* 557 */
+ void (GLAPIENTRYP Uniform3ivARB) (GLint location, GLsizei count, const GLint * value); /* 558 */
+ void (GLAPIENTRYP Uniform4fARB) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); /* 559 */
+ void (GLAPIENTRYP Uniform4fvARB) (GLint location, GLsizei count, const GLfloat * value); /* 560 */
+ void (GLAPIENTRYP Uniform4iARB) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3); /* 561 */
+ void (GLAPIENTRYP Uniform4ivARB) (GLint location, GLsizei count, const GLint * value); /* 562 */
+ void (GLAPIENTRYP UniformMatrix2fvARB) (GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); /* 563 */
+ void (GLAPIENTRYP UniformMatrix3fvARB) (GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); /* 564 */
+ void (GLAPIENTRYP UniformMatrix4fvARB) (GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); /* 565 */
+ void (GLAPIENTRYP UseProgramObjectARB) (GLhandleARB program); /* 566 */
+ void (GLAPIENTRYP ValidateProgramARB) (GLhandleARB program); /* 567 */
+ void (GLAPIENTRYP BindAttribLocationARB) (GLhandleARB program, GLuint index, const GLcharARB * name); /* 568 */
+ void (GLAPIENTRYP GetActiveAttribARB) (GLhandleARB program, GLuint index, GLsizei bufSize, GLsizei * length, GLint * size, GLenum * type, GLcharARB * name); /* 569 */
+ GLint(GLAPIENTRYP GetAttribLocationARB) (GLhandleARB program, const GLcharARB * name); /* 570 */
+ void (GLAPIENTRYP DrawBuffersARB) (GLsizei n, const GLenum * bufs); /* 571 */
+ void (GLAPIENTRYP ClampColorARB) (GLenum target, GLenum clamp); /* 572 */
+ void (GLAPIENTRYP DrawArraysInstancedARB) (GLenum mode, GLint first, GLsizei count, GLsizei primcount); /* 573 */
+ void (GLAPIENTRYP DrawElementsInstancedARB) (GLenum mode, GLsizei count, GLenum type, const GLvoid * indices, GLsizei primcount); /* 574 */
+ void (GLAPIENTRYP RenderbufferStorageMultisample) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); /* 575 */
+ void (GLAPIENTRYP FramebufferTextureARB) (GLenum target, GLenum attachment, GLuint texture, GLint level); /* 576 */
+ void (GLAPIENTRYP FramebufferTextureFaceARB) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face); /* 577 */
+ void (GLAPIENTRYP ProgramParameteriARB) (GLuint program, GLenum pname, GLint value); /* 578 */
+ void (GLAPIENTRYP VertexAttribDivisorARB) (GLuint index, GLuint divisor); /* 579 */
+ void (GLAPIENTRYP FlushMappedBufferRange) (GLenum target, GLintptr offset, GLsizeiptr length); /* 580 */
+ GLvoid *(GLAPIENTRYP MapBufferRange) (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); /* 581 */
+ void (GLAPIENTRYP TexBufferARB) (GLenum target, GLenum internalFormat, GLuint buffer); /* 582 */
+ void (GLAPIENTRYP BindVertexArray) (GLuint array); /* 583 */
+ void (GLAPIENTRYP GenVertexArrays) (GLsizei n, GLuint * arrays); /* 584 */
+ void (GLAPIENTRYP CopyBufferSubData) (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); /* 585 */
+ GLenum(GLAPIENTRYP ClientWaitSync) (GLsync sync, GLbitfield flags, GLuint64 timeout); /* 586 */
+ void (GLAPIENTRYP DeleteSync) (GLsync sync); /* 587 */
+ GLsync(GLAPIENTRYP FenceSync) (GLenum condition, GLbitfield flags); /* 588 */
+ void (GLAPIENTRYP GetInteger64v) (GLenum pname, GLint64 * params); /* 589 */
+ void (GLAPIENTRYP GetSynciv) (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * values); /* 590 */
+ GLboolean(GLAPIENTRYP IsSync) (GLsync sync); /* 591 */
+ void (GLAPIENTRYP WaitSync) (GLsync sync, GLbitfield flags, GLuint64 timeout); /* 592 */
+ void (GLAPIENTRYP DrawElementsBaseVertex) (GLenum mode, GLsizei count, GLenum type, const GLvoid * indices, GLint basevertex); /* 593 */
+ void (GLAPIENTRYP DrawElementsInstancedBaseVertex) (GLenum mode, GLsizei count, GLenum type, const GLvoid * indices, GLsizei primcount, GLint basevertex); /* 594 */
+ void (GLAPIENTRYP DrawRangeElementsBaseVertex) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid * indices, GLint basevertex); /* 595 */
+ void (GLAPIENTRYP MultiDrawElementsBaseVertex) (GLenum mode, const GLsizei * count, GLenum type, const GLvoid ** indices, GLsizei primcount, const GLint * basevertex); /* 596 */
+ void (GLAPIENTRYP BlendEquationSeparateiARB) (GLuint buf, GLenum modeRGB, GLenum modeA); /* 597 */
+ void (GLAPIENTRYP BlendEquationiARB) (GLuint buf, GLenum mode); /* 598 */
+ void (GLAPIENTRYP BlendFuncSeparateiARB) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcA, GLenum dstA); /* 599 */
+ void (GLAPIENTRYP BlendFunciARB) (GLuint buf, GLenum src, GLenum dst); /* 600 */
+ void (GLAPIENTRYP BindSampler) (GLuint unit, GLuint sampler); /* 601 */
+ void (GLAPIENTRYP DeleteSamplers) (GLsizei count, const GLuint * samplers); /* 602 */
+ void (GLAPIENTRYP GenSamplers) (GLsizei count, GLuint * samplers); /* 603 */
+ void (GLAPIENTRYP GetSamplerParameterIiv) (GLuint sampler, GLenum pname, GLint * params); /* 604 */
+ void (GLAPIENTRYP GetSamplerParameterIuiv) (GLuint sampler, GLenum pname, GLuint * params); /* 605 */
+ void (GLAPIENTRYP GetSamplerParameterfv) (GLuint sampler, GLenum pname, GLfloat * params); /* 606 */
+ void (GLAPIENTRYP GetSamplerParameteriv) (GLuint sampler, GLenum pname, GLint * params); /* 607 */
+ GLboolean(GLAPIENTRYP IsSampler) (GLuint sampler); /* 608 */
+ void (GLAPIENTRYP SamplerParameterIiv) (GLuint sampler, GLenum pname, const GLint * params); /* 609 */
+ void (GLAPIENTRYP SamplerParameterIuiv) (GLuint sampler, GLenum pname, const GLuint * params); /* 610 */
+ void (GLAPIENTRYP SamplerParameterf) (GLuint sampler, GLenum pname, GLfloat param); /* 611 */
+ void (GLAPIENTRYP SamplerParameterfv) (GLuint sampler, GLenum pname, const GLfloat * params); /* 612 */
+ void (GLAPIENTRYP SamplerParameteri) (GLuint sampler, GLenum pname, GLint param); /* 613 */
+ void (GLAPIENTRYP SamplerParameteriv) (GLuint sampler, GLenum pname, const GLint * params); /* 614 */
+ void (GLAPIENTRYP ColorP3ui) (GLenum type, GLuint color); /* 615 */
+ void (GLAPIENTRYP ColorP3uiv) (GLenum type, const GLuint * color); /* 616 */
+ void (GLAPIENTRYP ColorP4ui) (GLenum type, GLuint color); /* 617 */
+ void (GLAPIENTRYP ColorP4uiv) (GLenum type, const GLuint * color); /* 618 */
+ void (GLAPIENTRYP MultiTexCoordP1ui) (GLenum texture, GLenum type, GLuint coords); /* 619 */
+ void (GLAPIENTRYP MultiTexCoordP1uiv) (GLenum texture, GLenum type, const GLuint * coords); /* 620 */
+ void (GLAPIENTRYP MultiTexCoordP2ui) (GLenum texture, GLenum type, GLuint coords); /* 621 */
+ void (GLAPIENTRYP MultiTexCoordP2uiv) (GLenum texture, GLenum type, const GLuint * coords); /* 622 */
+ void (GLAPIENTRYP MultiTexCoordP3ui) (GLenum texture, GLenum type, GLuint coords); /* 623 */
+ void (GLAPIENTRYP MultiTexCoordP3uiv) (GLenum texture, GLenum type, const GLuint * coords); /* 624 */
+ void (GLAPIENTRYP MultiTexCoordP4ui) (GLenum texture, GLenum type, GLuint coords); /* 625 */
+ void (GLAPIENTRYP MultiTexCoordP4uiv) (GLenum texture, GLenum type, const GLuint * coords); /* 626 */
+ void (GLAPIENTRYP NormalP3ui) (GLenum type, GLuint coords); /* 627 */
+ void (GLAPIENTRYP NormalP3uiv) (GLenum type, const GLuint * coords); /* 628 */
+ void (GLAPIENTRYP SecondaryColorP3ui) (GLenum type, GLuint color); /* 629 */
+ void (GLAPIENTRYP SecondaryColorP3uiv) (GLenum type, const GLuint * color); /* 630 */
+ void (GLAPIENTRYP TexCoordP1ui) (GLenum type, GLuint coords); /* 631 */
+ void (GLAPIENTRYP TexCoordP1uiv) (GLenum type, const GLuint * coords); /* 632 */
+ void (GLAPIENTRYP TexCoordP2ui) (GLenum type, GLuint coords); /* 633 */
+ void (GLAPIENTRYP TexCoordP2uiv) (GLenum type, const GLuint * coords); /* 634 */
+ void (GLAPIENTRYP TexCoordP3ui) (GLenum type, GLuint coords); /* 635 */
+ void (GLAPIENTRYP TexCoordP3uiv) (GLenum type, const GLuint * coords); /* 636 */
+ void (GLAPIENTRYP TexCoordP4ui) (GLenum type, GLuint coords); /* 637 */
+ void (GLAPIENTRYP TexCoordP4uiv) (GLenum type, const GLuint * coords); /* 638 */
+ void (GLAPIENTRYP VertexAttribP1ui) (GLuint index, GLenum type, GLboolean normalized, GLuint value); /* 639 */
+ void (GLAPIENTRYP VertexAttribP1uiv) (GLuint index, GLenum type, GLboolean normalized, const GLuint * value); /* 640 */
+ void (GLAPIENTRYP VertexAttribP2ui) (GLuint index, GLenum type, GLboolean normalized, GLuint value); /* 641 */
+ void (GLAPIENTRYP VertexAttribP2uiv) (GLuint index, GLenum type, GLboolean normalized, const GLuint * value); /* 642 */
+ void (GLAPIENTRYP VertexAttribP3ui) (GLuint index, GLenum type, GLboolean normalized, GLuint value); /* 643 */
+ void (GLAPIENTRYP VertexAttribP3uiv) (GLuint index, GLenum type, GLboolean normalized, const GLuint * value); /* 644 */
+ void (GLAPIENTRYP VertexAttribP4ui) (GLuint index, GLenum type, GLboolean normalized, GLuint value); /* 645 */
+ void (GLAPIENTRYP VertexAttribP4uiv) (GLuint index, GLenum type, GLboolean normalized, const GLuint * value); /* 646 */
+ void (GLAPIENTRYP VertexP2ui) (GLenum type, GLuint value); /* 647 */
+ void (GLAPIENTRYP VertexP2uiv) (GLenum type, const GLuint * value); /* 648 */
+ void (GLAPIENTRYP VertexP3ui) (GLenum type, GLuint value); /* 649 */
+ void (GLAPIENTRYP VertexP3uiv) (GLenum type, const GLuint * value); /* 650 */
+ void (GLAPIENTRYP VertexP4ui) (GLenum type, GLuint value); /* 651 */
+ void (GLAPIENTRYP VertexP4uiv) (GLenum type, const GLuint * value); /* 652 */
+ void (GLAPIENTRYP BindTransformFeedback) (GLenum target, GLuint id); /* 653 */
+ void (GLAPIENTRYP DeleteTransformFeedbacks) (GLsizei n, const GLuint * ids); /* 654 */
+ void (GLAPIENTRYP DrawTransformFeedback) (GLenum mode, GLuint id); /* 655 */
+ void (GLAPIENTRYP GenTransformFeedbacks) (GLsizei n, GLuint * ids); /* 656 */
+ GLboolean(GLAPIENTRYP IsTransformFeedback) (GLuint id); /* 657 */
+ void (GLAPIENTRYP PauseTransformFeedback) (void); /* 658 */
+ void (GLAPIENTRYP ResumeTransformFeedback) (void); /* 659 */
+ void (GLAPIENTRYP ClearDepthf) (GLclampf depth); /* 660 */
+ void (GLAPIENTRYP DepthRangef) (GLclampf zNear, GLclampf zFar); /* 661 */
+ void (GLAPIENTRYP GetShaderPrecisionFormat) (GLenum shadertype, GLenum precisiontype, GLint * range, GLint * precision); /* 662 */
+ void (GLAPIENTRYP ReleaseShaderCompiler) (void); /* 663 */
+ void (GLAPIENTRYP ShaderBinary) (GLsizei n, const GLuint * shaders, GLenum binaryformat, const GLvoid * binary, GLsizei length); /* 664 */
+ GLenum(GLAPIENTRYP GetGraphicsResetStatusARB) (void); /* 665 */
+ void (GLAPIENTRYP GetnColorTableARB) (GLenum target, GLenum format, GLenum type, GLsizei bufSize, GLvoid * table); /* 666 */
+ void (GLAPIENTRYP GetnCompressedTexImageARB) (GLenum target, GLint lod, GLsizei bufSize, GLvoid * img); /* 667 */
+ void (GLAPIENTRYP GetnConvolutionFilterARB) (GLenum target, GLenum format, GLenum type, GLsizei bufSize, GLvoid * image); /* 668 */
+ void (GLAPIENTRYP GetnHistogramARB) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, GLvoid * values); /* 669 */
+ void (GLAPIENTRYP GetnMapdvARB) (GLenum target, GLenum query, GLsizei bufSize, GLdouble * v); /* 670 */
+ void (GLAPIENTRYP GetnMapfvARB) (GLenum target, GLenum query, GLsizei bufSize, GLfloat * v); /* 671 */
+ void (GLAPIENTRYP GetnMapivARB) (GLenum target, GLenum query, GLsizei bufSize, GLint * v); /* 672 */
+ void (GLAPIENTRYP GetnMinmaxARB) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, GLvoid * values); /* 673 */
+ void (GLAPIENTRYP GetnPixelMapfvARB) (GLenum map, GLsizei bufSize, GLfloat * values); /* 674 */
+ void (GLAPIENTRYP GetnPixelMapuivARB) (GLenum map, GLsizei bufSize, GLuint * values); /* 675 */
+ void (GLAPIENTRYP GetnPixelMapusvARB) (GLenum map, GLsizei bufSize, GLushort * values); /* 676 */
+ void (GLAPIENTRYP GetnPolygonStippleARB) (GLsizei bufSize, GLubyte * pattern); /* 677 */
+ void (GLAPIENTRYP GetnSeparableFilterARB) (GLenum target, GLenum format, GLenum type, GLsizei rowBufSize, GLvoid * row, GLsizei columnBufSize, GLvoid * column, GLvoid * span); /* 678 */
+ void (GLAPIENTRYP GetnTexImageARB) (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, GLvoid * img); /* 679 */
+ void (GLAPIENTRYP GetnUniformdvARB) (GLhandleARB program, GLint location, GLsizei bufSize, GLdouble * params); /* 680 */
+ void (GLAPIENTRYP GetnUniformfvARB) (GLhandleARB program, GLint location, GLsizei bufSize, GLfloat * params); /* 681 */
+ void (GLAPIENTRYP GetnUniformivARB) (GLhandleARB program, GLint location, GLsizei bufSize, GLint * params); /* 682 */
+ void (GLAPIENTRYP GetnUniformuivARB) (GLhandleARB program, GLint location, GLsizei bufSize, GLuint * params); /* 683 */
+ void (GLAPIENTRYP ReadnPixelsARB) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, GLvoid * data); /* 684 */
+ void (GLAPIENTRYP TexStorage1D) (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width); /* 685 */
+ void (GLAPIENTRYP TexStorage2D) (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height); /* 686 */
+ void (GLAPIENTRYP TexStorage3D) (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth); /* 687 */
+ void (GLAPIENTRYP TextureStorage1DEXT) (GLuint texture, GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width); /* 688 */
+ void (GLAPIENTRYP TextureStorage2DEXT) (GLuint texture, GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height); /* 689 */
+ void (GLAPIENTRYP TextureStorage3DEXT) (GLuint texture, GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth); /* 690 */
+ void (GLAPIENTRYP PolygonOffsetEXT) (GLfloat factor, GLfloat bias); /* 691 */
+ void (GLAPIENTRYP GetPixelTexGenParameterfvSGIS) (GLenum pname, GLfloat * params); /* 692 */
+ void (GLAPIENTRYP GetPixelTexGenParameterivSGIS) (GLenum pname, GLint * params); /* 693 */
+ void (GLAPIENTRYP PixelTexGenParameterfSGIS) (GLenum pname, GLfloat param); /* 694 */
+ void (GLAPIENTRYP PixelTexGenParameterfvSGIS) (GLenum pname, const GLfloat * params); /* 695 */
+ void (GLAPIENTRYP PixelTexGenParameteriSGIS) (GLenum pname, GLint param); /* 696 */
+ void (GLAPIENTRYP PixelTexGenParameterivSGIS) (GLenum pname, const GLint * params); /* 697 */
+ void (GLAPIENTRYP SampleMaskSGIS) (GLclampf value, GLboolean invert); /* 698 */
+ void (GLAPIENTRYP SamplePatternSGIS) (GLenum pattern); /* 699 */
+ void (GLAPIENTRYP ColorPointerEXT) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid * pointer); /* 700 */
+ void (GLAPIENTRYP EdgeFlagPointerEXT) (GLsizei stride, GLsizei count, const GLboolean * pointer); /* 701 */
+ void (GLAPIENTRYP IndexPointerEXT) (GLenum type, GLsizei stride, GLsizei count, const GLvoid * pointer); /* 702 */
+ void (GLAPIENTRYP NormalPointerEXT) (GLenum type, GLsizei stride, GLsizei count, const GLvoid * pointer); /* 703 */
+ void (GLAPIENTRYP TexCoordPointerEXT) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid * pointer); /* 704 */
+ void (GLAPIENTRYP VertexPointerEXT) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid * pointer); /* 705 */
+ void (GLAPIENTRYP PointParameterfEXT) (GLenum pname, GLfloat param); /* 706 */
+ void (GLAPIENTRYP PointParameterfvEXT) (GLenum pname, const GLfloat * params); /* 707 */
+ void (GLAPIENTRYP LockArraysEXT) (GLint first, GLsizei count); /* 708 */
+ void (GLAPIENTRYP UnlockArraysEXT) (void); /* 709 */
+ void (GLAPIENTRYP SecondaryColor3bEXT) (GLbyte red, GLbyte green, GLbyte blue); /* 710 */
+ void (GLAPIENTRYP SecondaryColor3bvEXT) (const GLbyte * v); /* 711 */
+ void (GLAPIENTRYP SecondaryColor3dEXT) (GLdouble red, GLdouble green, GLdouble blue); /* 712 */
+ void (GLAPIENTRYP SecondaryColor3dvEXT) (const GLdouble * v); /* 713 */
+ void (GLAPIENTRYP SecondaryColor3fEXT) (GLfloat red, GLfloat green, GLfloat blue); /* 714 */
+ void (GLAPIENTRYP SecondaryColor3fvEXT) (const GLfloat * v); /* 715 */
+ void (GLAPIENTRYP SecondaryColor3iEXT) (GLint red, GLint green, GLint blue); /* 716 */
+ void (GLAPIENTRYP SecondaryColor3ivEXT) (const GLint * v); /* 717 */
+ void (GLAPIENTRYP SecondaryColor3sEXT) (GLshort red, GLshort green, GLshort blue); /* 718 */
+ void (GLAPIENTRYP SecondaryColor3svEXT) (const GLshort * v); /* 719 */
+ void (GLAPIENTRYP SecondaryColor3ubEXT) (GLubyte red, GLubyte green, GLubyte blue); /* 720 */
+ void (GLAPIENTRYP SecondaryColor3ubvEXT) (const GLubyte * v); /* 721 */
+ void (GLAPIENTRYP SecondaryColor3uiEXT) (GLuint red, GLuint green, GLuint blue); /* 722 */
+ void (GLAPIENTRYP SecondaryColor3uivEXT) (const GLuint * v); /* 723 */
+ void (GLAPIENTRYP SecondaryColor3usEXT) (GLushort red, GLushort green, GLushort blue); /* 724 */
+ void (GLAPIENTRYP SecondaryColor3usvEXT) (const GLushort * v); /* 725 */
+ void (GLAPIENTRYP SecondaryColorPointerEXT) (GLint size, GLenum type, GLsizei stride, const GLvoid * pointer); /* 726 */
+ void (GLAPIENTRYP MultiDrawArraysEXT) (GLenum mode, const GLint * first, const GLsizei * count, GLsizei primcount); /* 727 */
+ void (GLAPIENTRYP MultiDrawElementsEXT) (GLenum mode, const GLsizei * count, GLenum type, const GLvoid ** indices, GLsizei primcount); /* 728 */
+ void (GLAPIENTRYP FogCoordPointerEXT) (GLenum type, GLsizei stride, const GLvoid * pointer); /* 729 */
+ void (GLAPIENTRYP FogCoorddEXT) (GLdouble coord); /* 730 */
+ void (GLAPIENTRYP FogCoorddvEXT) (const GLdouble * coord); /* 731 */
+ void (GLAPIENTRYP FogCoordfEXT) (GLfloat coord); /* 732 */
+ void (GLAPIENTRYP FogCoordfvEXT) (const GLfloat * coord); /* 733 */
+ void (GLAPIENTRYP PixelTexGenSGIX) (GLenum mode); /* 734 */
+ void (GLAPIENTRYP BlendFuncSeparateEXT) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); /* 735 */
+ void (GLAPIENTRYP FlushVertexArrayRangeNV) (void); /* 736 */
+ void (GLAPIENTRYP VertexArrayRangeNV) (GLsizei length, const GLvoid * pointer); /* 737 */
+ void (GLAPIENTRYP CombinerInputNV) (GLenum stage, GLenum portion, GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage); /* 738 */
+ void (GLAPIENTRYP CombinerOutputNV) (GLenum stage, GLenum portion, GLenum abOutput, GLenum cdOutput, GLenum sumOutput, GLenum scale, GLenum bias, GLboolean abDotProduct, GLboolean cdDotProduct, GLboolean muxSum); /* 739 */
+ void (GLAPIENTRYP CombinerParameterfNV) (GLenum pname, GLfloat param); /* 740 */
+ void (GLAPIENTRYP CombinerParameterfvNV) (GLenum pname, const GLfloat * params); /* 741 */
+ void (GLAPIENTRYP CombinerParameteriNV) (GLenum pname, GLint param); /* 742 */
+ void (GLAPIENTRYP CombinerParameterivNV) (GLenum pname, const GLint * params); /* 743 */
+ void (GLAPIENTRYP FinalCombinerInputNV) (GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage); /* 744 */
+ void (GLAPIENTRYP GetCombinerInputParameterfvNV) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLfloat * params); /* 745 */
+ void (GLAPIENTRYP GetCombinerInputParameterivNV) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLint * params); /* 746 */
+ void (GLAPIENTRYP GetCombinerOutputParameterfvNV) (GLenum stage, GLenum portion, GLenum pname, GLfloat * params); /* 747 */
+ void (GLAPIENTRYP GetCombinerOutputParameterivNV) (GLenum stage, GLenum portion, GLenum pname, GLint * params); /* 748 */
+ void (GLAPIENTRYP GetFinalCombinerInputParameterfvNV) (GLenum variable, GLenum pname, GLfloat * params); /* 749 */
+ void (GLAPIENTRYP GetFinalCombinerInputParameterivNV) (GLenum variable, GLenum pname, GLint * params); /* 750 */
+ void (GLAPIENTRYP ResizeBuffersMESA) (void); /* 751 */
+ void (GLAPIENTRYP WindowPos2dMESA) (GLdouble x, GLdouble y); /* 752 */
+ void (GLAPIENTRYP WindowPos2dvMESA) (const GLdouble * v); /* 753 */
+ void (GLAPIENTRYP WindowPos2fMESA) (GLfloat x, GLfloat y); /* 754 */
+ void (GLAPIENTRYP WindowPos2fvMESA) (const GLfloat * v); /* 755 */
+ void (GLAPIENTRYP WindowPos2iMESA) (GLint x, GLint y); /* 756 */
+ void (GLAPIENTRYP WindowPos2ivMESA) (const GLint * v); /* 757 */
+ void (GLAPIENTRYP WindowPos2sMESA) (GLshort x, GLshort y); /* 758 */
+ void (GLAPIENTRYP WindowPos2svMESA) (const GLshort * v); /* 759 */
+ void (GLAPIENTRYP WindowPos3dMESA) (GLdouble x, GLdouble y, GLdouble z); /* 760 */
+ void (GLAPIENTRYP WindowPos3dvMESA) (const GLdouble * v); /* 761 */
+ void (GLAPIENTRYP WindowPos3fMESA) (GLfloat x, GLfloat y, GLfloat z); /* 762 */
+ void (GLAPIENTRYP WindowPos3fvMESA) (const GLfloat * v); /* 763 */
+ void (GLAPIENTRYP WindowPos3iMESA) (GLint x, GLint y, GLint z); /* 764 */
+ void (GLAPIENTRYP WindowPos3ivMESA) (const GLint * v); /* 765 */
+ void (GLAPIENTRYP WindowPos3sMESA) (GLshort x, GLshort y, GLshort z); /* 766 */
+ void (GLAPIENTRYP WindowPos3svMESA) (const GLshort * v); /* 767 */
+ void (GLAPIENTRYP WindowPos4dMESA) (GLdouble x, GLdouble y, GLdouble z, GLdouble w); /* 768 */
+ void (GLAPIENTRYP WindowPos4dvMESA) (const GLdouble * v); /* 769 */
+ void (GLAPIENTRYP WindowPos4fMESA) (GLfloat x, GLfloat y, GLfloat z, GLfloat w); /* 770 */
+ void (GLAPIENTRYP WindowPos4fvMESA) (const GLfloat * v); /* 771 */
+ void (GLAPIENTRYP WindowPos4iMESA) (GLint x, GLint y, GLint z, GLint w); /* 772 */
+ void (GLAPIENTRYP WindowPos4ivMESA) (const GLint * v); /* 773 */
+ void (GLAPIENTRYP WindowPos4sMESA) (GLshort x, GLshort y, GLshort z, GLshort w); /* 774 */
+ void (GLAPIENTRYP WindowPos4svMESA) (const GLshort * v); /* 775 */
+ void (GLAPIENTRYP MultiModeDrawArraysIBM) (const GLenum * mode, const GLint * first, const GLsizei * count, GLsizei primcount, GLint modestride); /* 776 */
+ void (GLAPIENTRYP MultiModeDrawElementsIBM) (const GLenum * mode, const GLsizei * count, GLenum type, const GLvoid * const *indices, GLsizei primcount, GLint modestride); /* 777 */
+ void (GLAPIENTRYP DeleteFencesNV) (GLsizei n, const GLuint * fences); /* 778 */
+ void (GLAPIENTRYP FinishFenceNV) (GLuint fence); /* 779 */
+ void (GLAPIENTRYP GenFencesNV) (GLsizei n, GLuint * fences); /* 780 */
+ void (GLAPIENTRYP GetFenceivNV) (GLuint fence, GLenum pname, GLint * params); /* 781 */
+ GLboolean(GLAPIENTRYP IsFenceNV) (GLuint fence); /* 782 */
+ void (GLAPIENTRYP SetFenceNV) (GLuint fence, GLenum condition); /* 783 */
+ GLboolean(GLAPIENTRYP TestFenceNV) (GLuint fence); /* 784 */
+ GLboolean(GLAPIENTRYP AreProgramsResidentNV) (GLsizei n, const GLuint * ids, GLboolean * residences); /* 785 */
+ void (GLAPIENTRYP BindProgramNV) (GLenum target, GLuint program); /* 786 */
+ void (GLAPIENTRYP DeleteProgramsNV) (GLsizei n, const GLuint * programs); /* 787 */
+ void (GLAPIENTRYP ExecuteProgramNV) (GLenum target, GLuint id, const GLfloat * params); /* 788 */
+ void (GLAPIENTRYP GenProgramsNV) (GLsizei n, GLuint * programs); /* 789 */
+ void (GLAPIENTRYP GetProgramParameterdvNV) (GLenum target, GLuint index, GLenum pname, GLdouble * params); /* 790 */
+ void (GLAPIENTRYP GetProgramParameterfvNV) (GLenum target, GLuint index, GLenum pname, GLfloat * params); /* 791 */
+ void (GLAPIENTRYP GetProgramStringNV) (GLuint id, GLenum pname, GLubyte * program); /* 792 */
+ void (GLAPIENTRYP GetProgramivNV) (GLuint id, GLenum pname, GLint * params); /* 793 */
+ void (GLAPIENTRYP GetTrackMatrixivNV) (GLenum target, GLuint address, GLenum pname, GLint * params); /* 794 */
+ void (GLAPIENTRYP GetVertexAttribPointervNV) (GLuint index, GLenum pname, GLvoid ** pointer); /* 795 */
+ void (GLAPIENTRYP GetVertexAttribdvNV) (GLuint index, GLenum pname, GLdouble * params); /* 796 */
+ void (GLAPIENTRYP GetVertexAttribfvNV) (GLuint index, GLenum pname, GLfloat * params); /* 797 */
+ void (GLAPIENTRYP GetVertexAttribivNV) (GLuint index, GLenum pname, GLint * params); /* 798 */
+ GLboolean(GLAPIENTRYP IsProgramNV) (GLuint program); /* 799 */
+ void (GLAPIENTRYP LoadProgramNV) (GLenum target, GLuint id, GLsizei len, const GLubyte * program); /* 800 */
+ void (GLAPIENTRYP ProgramParameters4dvNV) (GLenum target, GLuint index, GLsizei num, const GLdouble * params); /* 801 */
+ void (GLAPIENTRYP ProgramParameters4fvNV) (GLenum target, GLuint index, GLsizei num, const GLfloat * params); /* 802 */
+ void (GLAPIENTRYP RequestResidentProgramsNV) (GLsizei n, const GLuint * ids); /* 803 */
+ void (GLAPIENTRYP TrackMatrixNV) (GLenum target, GLuint address, GLenum matrix, GLenum transform); /* 804 */
+ void (GLAPIENTRYP VertexAttrib1dNV) (GLuint index, GLdouble x); /* 805 */
+ void (GLAPIENTRYP VertexAttrib1dvNV) (GLuint index, const GLdouble * v); /* 806 */
+ void (GLAPIENTRYP VertexAttrib1fNV) (GLuint index, GLfloat x); /* 807 */
+ void (GLAPIENTRYP VertexAttrib1fvNV) (GLuint index, const GLfloat * v); /* 808 */
+ void (GLAPIENTRYP VertexAttrib1sNV) (GLuint index, GLshort x); /* 809 */
+ void (GLAPIENTRYP VertexAttrib1svNV) (GLuint index, const GLshort * v); /* 810 */
+ void (GLAPIENTRYP VertexAttrib2dNV) (GLuint index, GLdouble x, GLdouble y); /* 811 */
+ void (GLAPIENTRYP VertexAttrib2dvNV) (GLuint index, const GLdouble * v); /* 812 */
+ void (GLAPIENTRYP VertexAttrib2fNV) (GLuint index, GLfloat x, GLfloat y); /* 813 */
+ void (GLAPIENTRYP VertexAttrib2fvNV) (GLuint index, const GLfloat * v); /* 814 */
+ void (GLAPIENTRYP VertexAttrib2sNV) (GLuint index, GLshort x, GLshort y); /* 815 */
+ void (GLAPIENTRYP VertexAttrib2svNV) (GLuint index, const GLshort * v); /* 816 */
+ void (GLAPIENTRYP VertexAttrib3dNV) (GLuint index, GLdouble x, GLdouble y, GLdouble z); /* 817 */
+ void (GLAPIENTRYP VertexAttrib3dvNV) (GLuint index, const GLdouble * v); /* 818 */
+ void (GLAPIENTRYP VertexAttrib3fNV) (GLuint index, GLfloat x, GLfloat y, GLfloat z); /* 819 */
+ void (GLAPIENTRYP VertexAttrib3fvNV) (GLuint index, const GLfloat * v); /* 820 */
+ void (GLAPIENTRYP VertexAttrib3sNV) (GLuint index, GLshort x, GLshort y, GLshort z); /* 821 */
+ void (GLAPIENTRYP VertexAttrib3svNV) (GLuint index, const GLshort * v); /* 822 */
+ void (GLAPIENTRYP VertexAttrib4dNV) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); /* 823 */
+ void (GLAPIENTRYP VertexAttrib4dvNV) (GLuint index, const GLdouble * v); /* 824 */
+ void (GLAPIENTRYP VertexAttrib4fNV) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); /* 825 */
+ void (GLAPIENTRYP VertexAttrib4fvNV) (GLuint index, const GLfloat * v); /* 826 */
+ void (GLAPIENTRYP VertexAttrib4sNV) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w); /* 827 */
+ void (GLAPIENTRYP VertexAttrib4svNV) (GLuint index, const GLshort * v); /* 828 */
+ void (GLAPIENTRYP VertexAttrib4ubNV) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w); /* 829 */
+ void (GLAPIENTRYP VertexAttrib4ubvNV) (GLuint index, const GLubyte * v); /* 830 */
+ void (GLAPIENTRYP VertexAttribPointerNV) (GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid * pointer); /* 831 */
+ void (GLAPIENTRYP VertexAttribs1dvNV) (GLuint index, GLsizei n, const GLdouble * v); /* 832 */
+ void (GLAPIENTRYP VertexAttribs1fvNV) (GLuint index, GLsizei n, const GLfloat * v); /* 833 */
+ void (GLAPIENTRYP VertexAttribs1svNV) (GLuint index, GLsizei n, const GLshort * v); /* 834 */
+ void (GLAPIENTRYP VertexAttribs2dvNV) (GLuint index, GLsizei n, const GLdouble * v); /* 835 */
+ void (GLAPIENTRYP VertexAttribs2fvNV) (GLuint index, GLsizei n, const GLfloat * v); /* 836 */
+ void (GLAPIENTRYP VertexAttribs2svNV) (GLuint index, GLsizei n, const GLshort * v); /* 837 */
+ void (GLAPIENTRYP VertexAttribs3dvNV) (GLuint index, GLsizei n, const GLdouble * v); /* 838 */
+ void (GLAPIENTRYP VertexAttribs3fvNV) (GLuint index, GLsizei n, const GLfloat * v); /* 839 */
+ void (GLAPIENTRYP VertexAttribs3svNV) (GLuint index, GLsizei n, const GLshort * v); /* 840 */
+ void (GLAPIENTRYP VertexAttribs4dvNV) (GLuint index, GLsizei n, const GLdouble * v); /* 841 */
+ void (GLAPIENTRYP VertexAttribs4fvNV) (GLuint index, GLsizei n, const GLfloat * v); /* 842 */
+ void (GLAPIENTRYP VertexAttribs4svNV) (GLuint index, GLsizei n, const GLshort * v); /* 843 */
+ void (GLAPIENTRYP VertexAttribs4ubvNV) (GLuint index, GLsizei n, const GLubyte * v); /* 844 */
+ void (GLAPIENTRYP GetTexBumpParameterfvATI) (GLenum pname, GLfloat * param); /* 845 */
+ void (GLAPIENTRYP GetTexBumpParameterivATI) (GLenum pname, GLint * param); /* 846 */
+ void (GLAPIENTRYP TexBumpParameterfvATI) (GLenum pname, const GLfloat * param); /* 847 */
+ void (GLAPIENTRYP TexBumpParameterivATI) (GLenum pname, const GLint * param); /* 848 */
+ void (GLAPIENTRYP AlphaFragmentOp1ATI) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod); /* 849 */
+ void (GLAPIENTRYP AlphaFragmentOp2ATI) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod); /* 850 */
+ void (GLAPIENTRYP AlphaFragmentOp3ATI) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod); /* 851 */
+ void (GLAPIENTRYP BeginFragmentShaderATI) (void); /* 852 */
+ void (GLAPIENTRYP BindFragmentShaderATI) (GLuint id); /* 853 */
+ void (GLAPIENTRYP ColorFragmentOp1ATI) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod); /* 854 */
+ void (GLAPIENTRYP ColorFragmentOp2ATI) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod); /* 855 */
+ void (GLAPIENTRYP ColorFragmentOp3ATI) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod); /* 856 */
+ void (GLAPIENTRYP DeleteFragmentShaderATI) (GLuint id); /* 857 */
+ void (GLAPIENTRYP EndFragmentShaderATI) (void); /* 858 */
+ GLuint(GLAPIENTRYP GenFragmentShadersATI) (GLuint range); /* 859 */
+ void (GLAPIENTRYP PassTexCoordATI) (GLuint dst, GLuint coord, GLenum swizzle); /* 860 */
+ void (GLAPIENTRYP SampleMapATI) (GLuint dst, GLuint interp, GLenum swizzle); /* 861 */
+ void (GLAPIENTRYP SetFragmentShaderConstantATI) (GLuint dst, const GLfloat * value); /* 862 */
+ void (GLAPIENTRYP PointParameteriNV) (GLenum pname, GLint param); /* 863 */
+ void (GLAPIENTRYP PointParameterivNV) (GLenum pname, const GLint * params); /* 864 */
+ void (GLAPIENTRYP ActiveStencilFaceEXT) (GLenum face); /* 865 */
+ void (GLAPIENTRYP BindVertexArrayAPPLE) (GLuint array); /* 866 */
+ void (GLAPIENTRYP DeleteVertexArraysAPPLE) (GLsizei n, const GLuint * arrays); /* 867 */
+ void (GLAPIENTRYP GenVertexArraysAPPLE) (GLsizei n, GLuint * arrays); /* 868 */
+ GLboolean(GLAPIENTRYP IsVertexArrayAPPLE) (GLuint array); /* 869 */
+ void (GLAPIENTRYP GetProgramNamedParameterdvNV) (GLuint id, GLsizei len, const GLubyte * name, GLdouble * params); /* 870 */
+ void (GLAPIENTRYP GetProgramNamedParameterfvNV) (GLuint id, GLsizei len, const GLubyte * name, GLfloat * params); /* 871 */
+ void (GLAPIENTRYP ProgramNamedParameter4dNV) (GLuint id, GLsizei len, const GLubyte * name, GLdouble x, GLdouble y, GLdouble z, GLdouble w); /* 872 */
+ void (GLAPIENTRYP ProgramNamedParameter4dvNV) (GLuint id, GLsizei len, const GLubyte * name, const GLdouble * v); /* 873 */
+ void (GLAPIENTRYP ProgramNamedParameter4fNV) (GLuint id, GLsizei len, const GLubyte * name, GLfloat x, GLfloat y, GLfloat z, GLfloat w); /* 874 */
+ void (GLAPIENTRYP ProgramNamedParameter4fvNV) (GLuint id, GLsizei len, const GLubyte * name, const GLfloat * v); /* 875 */
+ void (GLAPIENTRYP PrimitiveRestartIndexNV) (GLuint index); /* 876 */
+ void (GLAPIENTRYP PrimitiveRestartNV) (void); /* 877 */
+ void (GLAPIENTRYP DepthBoundsEXT) (GLclampd zmin, GLclampd zmax); /* 878 */
+ void (GLAPIENTRYP BlendEquationSeparateEXT) (GLenum modeRGB, GLenum modeA); /* 879 */
+ void (GLAPIENTRYP BindFramebufferEXT) (GLenum target, GLuint framebuffer); /* 880 */
+ void (GLAPIENTRYP BindRenderbufferEXT) (GLenum target, GLuint renderbuffer); /* 881 */
+ GLenum(GLAPIENTRYP CheckFramebufferStatusEXT) (GLenum target); /* 882 */
+ void (GLAPIENTRYP DeleteFramebuffersEXT) (GLsizei n, const GLuint * framebuffers); /* 883 */
+ void (GLAPIENTRYP DeleteRenderbuffersEXT) (GLsizei n, const GLuint * renderbuffers); /* 884 */
+ void (GLAPIENTRYP FramebufferRenderbufferEXT) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); /* 885 */
+ void (GLAPIENTRYP FramebufferTexture1DEXT) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); /* 886 */
+ void (GLAPIENTRYP FramebufferTexture2DEXT) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); /* 887 */
+ void (GLAPIENTRYP FramebufferTexture3DEXT) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); /* 888 */
+ void (GLAPIENTRYP GenFramebuffersEXT) (GLsizei n, GLuint * framebuffers); /* 889 */
+ void (GLAPIENTRYP GenRenderbuffersEXT) (GLsizei n, GLuint * renderbuffers); /* 890 */
+ void (GLAPIENTRYP GenerateMipmapEXT) (GLenum target); /* 891 */
+ void (GLAPIENTRYP GetFramebufferAttachmentParameterivEXT) (GLenum target, GLenum attachment, GLenum pname, GLint * params); /* 892 */
+ void (GLAPIENTRYP GetRenderbufferParameterivEXT) (GLenum target, GLenum pname, GLint * params); /* 893 */
+ GLboolean(GLAPIENTRYP IsFramebufferEXT) (GLuint framebuffer); /* 894 */
+ GLboolean(GLAPIENTRYP IsRenderbufferEXT) (GLuint renderbuffer); /* 895 */
+ void (GLAPIENTRYP RenderbufferStorageEXT) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height); /* 896 */
+ void (GLAPIENTRYP BlitFramebufferEXT) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); /* 897 */
+ void (GLAPIENTRYP BufferParameteriAPPLE) (GLenum target, GLenum pname, GLint param); /* 898 */
+ void (GLAPIENTRYP FlushMappedBufferRangeAPPLE) (GLenum target, GLintptr offset, GLsizeiptr size); /* 899 */
+ void (GLAPIENTRYP BindFragDataLocationEXT) (GLuint program, GLuint colorNumber, const GLchar * name); /* 900 */
+ GLint(GLAPIENTRYP GetFragDataLocationEXT) (GLuint program, const GLchar * name); /* 901 */
+ void (GLAPIENTRYP GetUniformuivEXT) (GLuint program, GLint location, GLuint * params); /* 902 */
+ void (GLAPIENTRYP GetVertexAttribIivEXT) (GLuint index, GLenum pname, GLint * params); /* 903 */
+ void (GLAPIENTRYP GetVertexAttribIuivEXT) (GLuint index, GLenum pname, GLuint * params); /* 904 */
+ void (GLAPIENTRYP Uniform1uiEXT) (GLint location, GLuint x); /* 905 */
+ void (GLAPIENTRYP Uniform1uivEXT) (GLint location, GLsizei count, const GLuint * value); /* 906 */
+ void (GLAPIENTRYP Uniform2uiEXT) (GLint location, GLuint x, GLuint y); /* 907 */
+ void (GLAPIENTRYP Uniform2uivEXT) (GLint location, GLsizei count, const GLuint * value); /* 908 */
+ void (GLAPIENTRYP Uniform3uiEXT) (GLint location, GLuint x, GLuint y, GLuint z); /* 909 */
+ void (GLAPIENTRYP Uniform3uivEXT) (GLint location, GLsizei count, const GLuint * value); /* 910 */
+ void (GLAPIENTRYP Uniform4uiEXT) (GLint location, GLuint x, GLuint y, GLuint z, GLuint w); /* 911 */
+ void (GLAPIENTRYP Uniform4uivEXT) (GLint location, GLsizei count, const GLuint * value); /* 912 */
+ void (GLAPIENTRYP VertexAttribI1iEXT) (GLuint index, GLint x); /* 913 */
+ void (GLAPIENTRYP VertexAttribI1ivEXT) (GLuint index, const GLint * v); /* 914 */
+ void (GLAPIENTRYP VertexAttribI1uiEXT) (GLuint index, GLuint x); /* 915 */
+ void (GLAPIENTRYP VertexAttribI1uivEXT) (GLuint index, const GLuint * v); /* 916 */
+ void (GLAPIENTRYP VertexAttribI2iEXT) (GLuint index, GLint x, GLint y); /* 917 */
+ void (GLAPIENTRYP VertexAttribI2ivEXT) (GLuint index, const GLint * v); /* 918 */
+ void (GLAPIENTRYP VertexAttribI2uiEXT) (GLuint index, GLuint x, GLuint y); /* 919 */
+ void (GLAPIENTRYP VertexAttribI2uivEXT) (GLuint index, const GLuint * v); /* 920 */
+ void (GLAPIENTRYP VertexAttribI3iEXT) (GLuint index, GLint x, GLint y, GLint z); /* 921 */
+ void (GLAPIENTRYP VertexAttribI3ivEXT) (GLuint index, const GLint * v); /* 922 */
+ void (GLAPIENTRYP VertexAttribI3uiEXT) (GLuint index, GLuint x, GLuint y, GLuint z); /* 923 */
+ void (GLAPIENTRYP VertexAttribI3uivEXT) (GLuint index, const GLuint * v); /* 924 */
+ void (GLAPIENTRYP VertexAttribI4bvEXT) (GLuint index, const GLbyte * v); /* 925 */
+ void (GLAPIENTRYP VertexAttribI4iEXT) (GLuint index, GLint x, GLint y, GLint z, GLint w); /* 926 */
+ void (GLAPIENTRYP VertexAttribI4ivEXT) (GLuint index, const GLint * v); /* 927 */
+ void (GLAPIENTRYP VertexAttribI4svEXT) (GLuint index, const GLshort * v); /* 928 */
+ void (GLAPIENTRYP VertexAttribI4ubvEXT) (GLuint index, const GLubyte * v); /* 929 */
+ void (GLAPIENTRYP VertexAttribI4uiEXT) (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); /* 930 */
+ void (GLAPIENTRYP VertexAttribI4uivEXT) (GLuint index, const GLuint * v); /* 931 */
+ void (GLAPIENTRYP VertexAttribI4usvEXT) (GLuint index, const GLushort * v); /* 932 */
+ void (GLAPIENTRYP VertexAttribIPointerEXT) (GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid * pointer); /* 933 */
+ void (GLAPIENTRYP FramebufferTextureLayerEXT) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); /* 934 */
+ void (GLAPIENTRYP ColorMaskIndexedEXT) (GLuint buf, GLboolean r, GLboolean g, GLboolean b, GLboolean a); /* 935 */
+ void (GLAPIENTRYP DisableIndexedEXT) (GLenum target, GLuint index); /* 936 */
+ void (GLAPIENTRYP EnableIndexedEXT) (GLenum target, GLuint index); /* 937 */
+ void (GLAPIENTRYP GetBooleanIndexedvEXT) (GLenum value, GLuint index, GLboolean * data); /* 938 */
+ void (GLAPIENTRYP GetIntegerIndexedvEXT) (GLenum value, GLuint index, GLint * data); /* 939 */
+ GLboolean(GLAPIENTRYP IsEnabledIndexedEXT) (GLenum target, GLuint index); /* 940 */
+ void (GLAPIENTRYP ClearColorIiEXT) (GLint r, GLint g, GLint b, GLint a); /* 941 */
+ void (GLAPIENTRYP ClearColorIuiEXT) (GLuint r, GLuint g, GLuint b, GLuint a); /* 942 */
+ void (GLAPIENTRYP GetTexParameterIivEXT) (GLenum target, GLenum pname, GLint * params); /* 943 */
+ void (GLAPIENTRYP GetTexParameterIuivEXT) (GLenum target, GLenum pname, GLuint * params); /* 944 */
+ void (GLAPIENTRYP TexParameterIivEXT) (GLenum target, GLenum pname, const GLint * params); /* 945 */
+ void (GLAPIENTRYP TexParameterIuivEXT) (GLenum target, GLenum pname, const GLuint * params); /* 946 */
+ void (GLAPIENTRYP BeginConditionalRenderNV) (GLuint query, GLenum mode); /* 947 */
+ void (GLAPIENTRYP EndConditionalRenderNV) (void); /* 948 */
+ void (GLAPIENTRYP BeginTransformFeedbackEXT) (GLenum mode); /* 949 */
+ void (GLAPIENTRYP BindBufferBaseEXT) (GLenum target, GLuint index, GLuint buffer); /* 950 */
+ void (GLAPIENTRYP BindBufferOffsetEXT) (GLenum target, GLuint index, GLuint buffer, GLintptr offset); /* 951 */
+ void (GLAPIENTRYP BindBufferRangeEXT) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); /* 952 */
+ void (GLAPIENTRYP EndTransformFeedbackEXT) (void); /* 953 */
+ void (GLAPIENTRYP GetTransformFeedbackVaryingEXT) (GLuint program, GLuint index, GLsizei bufSize, GLsizei * length, GLsizei * size, GLenum * type, GLchar * name); /* 954 */
+ void (GLAPIENTRYP TransformFeedbackVaryingsEXT) (GLuint program, GLsizei count, const char **varyings, GLenum bufferMode); /* 955 */
+ void (GLAPIENTRYP ProvokingVertexEXT) (GLenum mode); /* 956 */
+ void (GLAPIENTRYP GetTexParameterPointervAPPLE) (GLenum target, GLenum pname, GLvoid ** params); /* 957 */
+ void (GLAPIENTRYP TextureRangeAPPLE) (GLenum target, GLsizei length, GLvoid * pointer); /* 958 */
+ void (GLAPIENTRYP GetObjectParameterivAPPLE) (GLenum objectType, GLuint name, GLenum pname, GLint * value); /* 959 */
+ GLenum(GLAPIENTRYP ObjectPurgeableAPPLE) (GLenum objectType, GLuint name, GLenum option); /* 960 */
+ GLenum(GLAPIENTRYP ObjectUnpurgeableAPPLE) (GLenum objectType, GLuint name, GLenum option); /* 961 */
+ void (GLAPIENTRYP ActiveProgramEXT) (GLuint program); /* 962 */
+ GLuint(GLAPIENTRYP CreateShaderProgramEXT) (GLenum type, const GLchar * string); /* 963 */
+ void (GLAPIENTRYP UseShaderProgramEXT) (GLenum type, GLuint program); /* 964 */
+ void (GLAPIENTRYP TextureBarrierNV) (void); /* 965 */
+ void (GLAPIENTRYP StencilFuncSeparateATI) (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask); /* 966 */
+ void (GLAPIENTRYP ProgramEnvParameters4fvEXT) (GLenum target, GLuint index, GLsizei count, const GLfloat * params); /* 967 */
+ void (GLAPIENTRYP ProgramLocalParameters4fvEXT) (GLenum target, GLuint index, GLsizei count, const GLfloat * params); /* 968 */
+ void (GLAPIENTRYP GetQueryObjecti64vEXT) (GLuint id, GLenum pname, GLint64EXT * params); /* 969 */
+ void (GLAPIENTRYP GetQueryObjectui64vEXT) (GLuint id, GLenum pname, GLuint64EXT * params); /* 970 */
+ void (GLAPIENTRYP EGLImageTargetRenderbufferStorageOES) (GLenum target, GLvoid * writeOffset); /* 971 */
+ void (GLAPIENTRYP EGLImageTargetTexture2DOES) (GLenum target, GLvoid * writeOffset); /* 972 */
};
-#endif /* !defined( _GLAPI_TABLE_H_ ) */
+#endif /* !defined( _GLAPI_TABLE_H_ ) */
diff --git a/glx/glprocs.h b/glx/glprocs.h
index 5227a0be8..87063642c 100644
--- a/glx/glprocs.h
+++ b/glx/glprocs.h
@@ -26,7 +26,6 @@
* SOFTWARE.
*/
-
/* This file is only included by glapi.c and is used for
* the GetProcAddress() function
*/
@@ -40,17 +39,15 @@ typedef struct {
} glprocs_table_t;
#if !defined(NEED_FUNCTION_POINTER) && !defined(GLX_INDIRECT_RENDERING)
-# define NAME_FUNC_OFFSET(n,f1,f2,f3,o) { n , o }
+#define NAME_FUNC_OFFSET(n,f1,f2,f3,o) { n , o }
#elif defined(NEED_FUNCTION_POINTER) && !defined(GLX_INDIRECT_RENDERING)
-# define NAME_FUNC_OFFSET(n,f1,f2,f3,o) { n , (_glapi_proc) f1 , o }
+#define NAME_FUNC_OFFSET(n,f1,f2,f3,o) { n , (_glapi_proc) f1 , o }
#elif defined(NEED_FUNCTION_POINTER) && defined(GLX_INDIRECT_RENDERING)
-# define NAME_FUNC_OFFSET(n,f1,f2,f3,o) { n , (_glapi_proc) f2 , o }
+#define NAME_FUNC_OFFSET(n,f1,f2,f3,o) { n , (_glapi_proc) f2 , o }
#elif !defined(NEED_FUNCTION_POINTER) && defined(GLX_INDIRECT_RENDERING)
-# define NAME_FUNC_OFFSET(n,f1,f2,f3,o) { n , (_glapi_proc) f3 , o }
+#define NAME_FUNC_OFFSET(n,f1,f2,f3,o) { n , (_glapi_proc) f3 , o }
#endif
-
-
static const char gl_string_table[] =
"glNewList\0"
"glEndList\0"
@@ -1388,10 +1385,7 @@ static const char gl_string_table[] =
"glBindBufferRange\0"
"glEndTransformFeedback\0"
"glGetTransformFeedbackVarying\0"
- "glTransformFeedbackVaryings\0"
- "glProvokingVertex\0"
- ;
-
+ "glTransformFeedbackVaryings\0" "glProvokingVertex\0";
#ifdef USE_MGL_NAMESPACE
#define gl_dispatch_stub_343 mgl_dispatch_stub_343
@@ -1442,23 +1436,38 @@ static const char gl_string_table[] =
#define gl_dispatch_stub_968 mgl_dispatch_stub_968
#define gl_dispatch_stub_969 mgl_dispatch_stub_969
#define gl_dispatch_stub_970 mgl_dispatch_stub_970
-#endif /* USE_MGL_NAMESPACE */
-
+#endif /* USE_MGL_NAMESPACE */
#if defined(NEED_FUNCTION_POINTER) || defined(GLX_INDIRECT_RENDERING)
-void GLAPIENTRY gl_dispatch_stub_343(GLenum target, GLenum format, GLenum type, GLvoid * table);
-void GLAPIENTRY gl_dispatch_stub_344(GLenum target, GLenum pname, GLfloat * params);
-void GLAPIENTRY gl_dispatch_stub_345(GLenum target, GLenum pname, GLint * params);
-void GLAPIENTRY gl_dispatch_stub_356(GLenum target, GLenum format, GLenum type, GLvoid * image);
-void GLAPIENTRY gl_dispatch_stub_357(GLenum target, GLenum pname, GLfloat * params);
-void GLAPIENTRY gl_dispatch_stub_358(GLenum target, GLenum pname, GLint * params);
-void GLAPIENTRY gl_dispatch_stub_359(GLenum target, GLenum format, GLenum type, GLvoid * row, GLvoid * column, GLvoid * span);
-void GLAPIENTRY gl_dispatch_stub_361(GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid * values);
-void GLAPIENTRY gl_dispatch_stub_362(GLenum target, GLenum pname, GLfloat * params);
-void GLAPIENTRY gl_dispatch_stub_363(GLenum target, GLenum pname, GLint * params);
-void GLAPIENTRY gl_dispatch_stub_364(GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid * values);
-void GLAPIENTRY gl_dispatch_stub_365(GLenum target, GLenum pname, GLfloat * params);
-void GLAPIENTRY gl_dispatch_stub_366(GLenum target, GLenum pname, GLint * params);
+void GLAPIENTRY gl_dispatch_stub_343(GLenum target, GLenum format, GLenum type,
+ GLvoid * table);
+void GLAPIENTRY gl_dispatch_stub_344(GLenum target, GLenum pname,
+ GLfloat * params);
+void GLAPIENTRY gl_dispatch_stub_345(GLenum target, GLenum pname,
+ GLint * params);
+void GLAPIENTRY gl_dispatch_stub_356(GLenum target, GLenum format, GLenum type,
+ GLvoid * image);
+void GLAPIENTRY gl_dispatch_stub_357(GLenum target, GLenum pname,
+ GLfloat * params);
+void GLAPIENTRY gl_dispatch_stub_358(GLenum target, GLenum pname,
+ GLint * params);
+void GLAPIENTRY gl_dispatch_stub_359(GLenum target, GLenum format, GLenum type,
+ GLvoid * row, GLvoid * column,
+ GLvoid * span);
+void GLAPIENTRY gl_dispatch_stub_361(GLenum target, GLboolean reset,
+ GLenum format, GLenum type,
+ GLvoid * values);
+void GLAPIENTRY gl_dispatch_stub_362(GLenum target, GLenum pname,
+ GLfloat * params);
+void GLAPIENTRY gl_dispatch_stub_363(GLenum target, GLenum pname,
+ GLint * params);
+void GLAPIENTRY gl_dispatch_stub_364(GLenum target, GLboolean reset,
+ GLenum format, GLenum type,
+ GLvoid * values);
+void GLAPIENTRY gl_dispatch_stub_365(GLenum target, GLenum pname,
+ GLfloat * params);
+void GLAPIENTRY gl_dispatch_stub_366(GLenum target, GLenum pname,
+ GLint * params);
void GLAPIENTRY gl_dispatch_stub_692(GLenum pname, GLfloat * params);
void GLAPIENTRY gl_dispatch_stub_693(GLenum pname, GLint * params);
void GLAPIENTRY gl_dispatch_stub_694(GLenum pname, GLfloat param);
@@ -1468,12 +1477,17 @@ void GLAPIENTRY gl_dispatch_stub_697(GLenum pname, const GLint * params);
void GLAPIENTRY gl_dispatch_stub_698(GLclampf value, GLboolean invert);
void GLAPIENTRY gl_dispatch_stub_699(GLenum pattern);
void GLAPIENTRY gl_dispatch_stub_734(GLenum mode);
-void GLAPIENTRY gl_dispatch_stub_776(const GLenum * mode, const GLint * first, const GLsizei * count, GLsizei primcount, GLint modestride);
-void GLAPIENTRY gl_dispatch_stub_777(const GLenum * mode, const GLsizei * count, GLenum type, const GLvoid * const * indices, GLsizei primcount, GLint modestride);
+void GLAPIENTRY gl_dispatch_stub_776(const GLenum * mode, const GLint * first,
+ const GLsizei * count, GLsizei primcount,
+ GLint modestride);
+void GLAPIENTRY gl_dispatch_stub_777(const GLenum * mode, const GLsizei * count,
+ GLenum type, const GLvoid * const *indices,
+ GLsizei primcount, GLint modestride);
void GLAPIENTRY gl_dispatch_stub_778(GLsizei n, const GLuint * fences);
void GLAPIENTRY gl_dispatch_stub_779(GLuint fence);
void GLAPIENTRY gl_dispatch_stub_780(GLsizei n, GLuint * fences);
-void GLAPIENTRY gl_dispatch_stub_781(GLuint fence, GLenum pname, GLint * params);
+void GLAPIENTRY gl_dispatch_stub_781(GLuint fence, GLenum pname,
+ GLint * params);
GLboolean GLAPIENTRY gl_dispatch_stub_782(GLuint fence);
void GLAPIENTRY gl_dispatch_stub_783(GLuint fence, GLenum condition);
GLboolean GLAPIENTRY gl_dispatch_stub_784(GLuint fence);
@@ -1484,650 +1498,838 @@ void GLAPIENTRY gl_dispatch_stub_868(GLsizei n, GLuint * arrays);
GLboolean GLAPIENTRY gl_dispatch_stub_869(GLuint array);
void GLAPIENTRY gl_dispatch_stub_878(GLclampd zmin, GLclampd zmax);
void GLAPIENTRY gl_dispatch_stub_879(GLenum modeRGB, GLenum modeA);
-void GLAPIENTRY gl_dispatch_stub_897(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
+void GLAPIENTRY gl_dispatch_stub_897(GLint srcX0, GLint srcY0, GLint srcX1,
+ GLint srcY1, GLint dstX0, GLint dstY0,
+ GLint dstX1, GLint dstY1, GLbitfield mask,
+ GLenum filter);
void GLAPIENTRY gl_dispatch_stub_898(GLenum target, GLenum pname, GLint param);
-void GLAPIENTRY gl_dispatch_stub_899(GLenum target, GLintptr offset, GLsizeiptr size);
-void GLAPIENTRY gl_dispatch_stub_957(GLenum target, GLenum pname, GLvoid ** params);
-void GLAPIENTRY gl_dispatch_stub_958(GLenum target, GLsizei length, GLvoid * pointer);
-void GLAPIENTRY gl_dispatch_stub_966(GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask);
-void GLAPIENTRY gl_dispatch_stub_967(GLenum target, GLuint index, GLsizei count, const GLfloat * params);
-void GLAPIENTRY gl_dispatch_stub_968(GLenum target, GLuint index, GLsizei count, const GLfloat * params);
-void GLAPIENTRY gl_dispatch_stub_969(GLuint id, GLenum pname, GLint64EXT * params);
-void GLAPIENTRY gl_dispatch_stub_970(GLuint id, GLenum pname, GLuint64EXT * params);
-#endif /* defined(NEED_FUNCTION_POINTER) || defined(GLX_INDIRECT_RENDERING) */
+void GLAPIENTRY gl_dispatch_stub_899(GLenum target, GLintptr offset,
+ GLsizeiptr size);
+void GLAPIENTRY gl_dispatch_stub_957(GLenum target, GLenum pname,
+ GLvoid ** params);
+void GLAPIENTRY gl_dispatch_stub_958(GLenum target, GLsizei length,
+ GLvoid * pointer);
+void GLAPIENTRY gl_dispatch_stub_966(GLenum frontfunc, GLenum backfunc,
+ GLint ref, GLuint mask);
+void GLAPIENTRY gl_dispatch_stub_967(GLenum target, GLuint index, GLsizei count,
+ const GLfloat * params);
+void GLAPIENTRY gl_dispatch_stub_968(GLenum target, GLuint index, GLsizei count,
+ const GLfloat * params);
+void GLAPIENTRY gl_dispatch_stub_969(GLuint id, GLenum pname,
+ GLint64EXT * params);
+void GLAPIENTRY gl_dispatch_stub_970(GLuint id, GLenum pname,
+ GLuint64EXT * params);
+#endif /* defined(NEED_FUNCTION_POINTER) || defined(GLX_INDIRECT_RENDERING) */
static const glprocs_table_t static_functions[] = {
- NAME_FUNC_OFFSET( 0, glNewList, glNewList, NULL, 0),
- NAME_FUNC_OFFSET( 10, glEndList, glEndList, NULL, 1),
- NAME_FUNC_OFFSET( 20, glCallList, glCallList, NULL, 2),
- NAME_FUNC_OFFSET( 31, glCallLists, glCallLists, NULL, 3),
- NAME_FUNC_OFFSET( 43, glDeleteLists, glDeleteLists, NULL, 4),
- NAME_FUNC_OFFSET( 57, glGenLists, glGenLists, NULL, 5),
- NAME_FUNC_OFFSET( 68, glListBase, glListBase, NULL, 6),
- NAME_FUNC_OFFSET( 79, glBegin, glBegin, NULL, 7),
- NAME_FUNC_OFFSET( 87, glBitmap, glBitmap, NULL, 8),
- NAME_FUNC_OFFSET( 96, glColor3b, glColor3b, NULL, 9),
- NAME_FUNC_OFFSET( 106, glColor3bv, glColor3bv, NULL, 10),
- NAME_FUNC_OFFSET( 117, glColor3d, glColor3d, NULL, 11),
- NAME_FUNC_OFFSET( 127, glColor3dv, glColor3dv, NULL, 12),
- NAME_FUNC_OFFSET( 138, glColor3f, glColor3f, NULL, 13),
- NAME_FUNC_OFFSET( 148, glColor3fv, glColor3fv, NULL, 14),
- NAME_FUNC_OFFSET( 159, glColor3i, glColor3i, NULL, 15),
- NAME_FUNC_OFFSET( 169, glColor3iv, glColor3iv, NULL, 16),
- NAME_FUNC_OFFSET( 180, glColor3s, glColor3s, NULL, 17),
- NAME_FUNC_OFFSET( 190, glColor3sv, glColor3sv, NULL, 18),
- NAME_FUNC_OFFSET( 201, glColor3ub, glColor3ub, NULL, 19),
- NAME_FUNC_OFFSET( 212, glColor3ubv, glColor3ubv, NULL, 20),
- NAME_FUNC_OFFSET( 224, glColor3ui, glColor3ui, NULL, 21),
- NAME_FUNC_OFFSET( 235, glColor3uiv, glColor3uiv, NULL, 22),
- NAME_FUNC_OFFSET( 247, glColor3us, glColor3us, NULL, 23),
- NAME_FUNC_OFFSET( 258, glColor3usv, glColor3usv, NULL, 24),
- NAME_FUNC_OFFSET( 270, glColor4b, glColor4b, NULL, 25),
- NAME_FUNC_OFFSET( 280, glColor4bv, glColor4bv, NULL, 26),
- NAME_FUNC_OFFSET( 291, glColor4d, glColor4d, NULL, 27),
- NAME_FUNC_OFFSET( 301, glColor4dv, glColor4dv, NULL, 28),
- NAME_FUNC_OFFSET( 312, glColor4f, glColor4f, NULL, 29),
- NAME_FUNC_OFFSET( 322, glColor4fv, glColor4fv, NULL, 30),
- NAME_FUNC_OFFSET( 333, glColor4i, glColor4i, NULL, 31),
- NAME_FUNC_OFFSET( 343, glColor4iv, glColor4iv, NULL, 32),
- NAME_FUNC_OFFSET( 354, glColor4s, glColor4s, NULL, 33),
- NAME_FUNC_OFFSET( 364, glColor4sv, glColor4sv, NULL, 34),
- NAME_FUNC_OFFSET( 375, glColor4ub, glColor4ub, NULL, 35),
- NAME_FUNC_OFFSET( 386, glColor4ubv, glColor4ubv, NULL, 36),
- NAME_FUNC_OFFSET( 398, glColor4ui, glColor4ui, NULL, 37),
- NAME_FUNC_OFFSET( 409, glColor4uiv, glColor4uiv, NULL, 38),
- NAME_FUNC_OFFSET( 421, glColor4us, glColor4us, NULL, 39),
- NAME_FUNC_OFFSET( 432, glColor4usv, glColor4usv, NULL, 40),
- NAME_FUNC_OFFSET( 444, glEdgeFlag, glEdgeFlag, NULL, 41),
- NAME_FUNC_OFFSET( 455, glEdgeFlagv, glEdgeFlagv, NULL, 42),
- NAME_FUNC_OFFSET( 467, glEnd, glEnd, NULL, 43),
- NAME_FUNC_OFFSET( 473, glIndexd, glIndexd, NULL, 44),
- NAME_FUNC_OFFSET( 482, glIndexdv, glIndexdv, NULL, 45),
- NAME_FUNC_OFFSET( 492, glIndexf, glIndexf, NULL, 46),
- NAME_FUNC_OFFSET( 501, glIndexfv, glIndexfv, NULL, 47),
- NAME_FUNC_OFFSET( 511, glIndexi, glIndexi, NULL, 48),
- NAME_FUNC_OFFSET( 520, glIndexiv, glIndexiv, NULL, 49),
- NAME_FUNC_OFFSET( 530, glIndexs, glIndexs, NULL, 50),
- NAME_FUNC_OFFSET( 539, glIndexsv, glIndexsv, NULL, 51),
- NAME_FUNC_OFFSET( 549, glNormal3b, glNormal3b, NULL, 52),
- NAME_FUNC_OFFSET( 560, glNormal3bv, glNormal3bv, NULL, 53),
- NAME_FUNC_OFFSET( 572, glNormal3d, glNormal3d, NULL, 54),
- NAME_FUNC_OFFSET( 583, glNormal3dv, glNormal3dv, NULL, 55),
- NAME_FUNC_OFFSET( 595, glNormal3f, glNormal3f, NULL, 56),
- NAME_FUNC_OFFSET( 606, glNormal3fv, glNormal3fv, NULL, 57),
- NAME_FUNC_OFFSET( 618, glNormal3i, glNormal3i, NULL, 58),
- NAME_FUNC_OFFSET( 629, glNormal3iv, glNormal3iv, NULL, 59),
- NAME_FUNC_OFFSET( 641, glNormal3s, glNormal3s, NULL, 60),
- NAME_FUNC_OFFSET( 652, glNormal3sv, glNormal3sv, NULL, 61),
- NAME_FUNC_OFFSET( 664, glRasterPos2d, glRasterPos2d, NULL, 62),
- NAME_FUNC_OFFSET( 678, glRasterPos2dv, glRasterPos2dv, NULL, 63),
- NAME_FUNC_OFFSET( 693, glRasterPos2f, glRasterPos2f, NULL, 64),
- NAME_FUNC_OFFSET( 707, glRasterPos2fv, glRasterPos2fv, NULL, 65),
- NAME_FUNC_OFFSET( 722, glRasterPos2i, glRasterPos2i, NULL, 66),
- NAME_FUNC_OFFSET( 736, glRasterPos2iv, glRasterPos2iv, NULL, 67),
- NAME_FUNC_OFFSET( 751, glRasterPos2s, glRasterPos2s, NULL, 68),
- NAME_FUNC_OFFSET( 765, glRasterPos2sv, glRasterPos2sv, NULL, 69),
- NAME_FUNC_OFFSET( 780, glRasterPos3d, glRasterPos3d, NULL, 70),
- NAME_FUNC_OFFSET( 794, glRasterPos3dv, glRasterPos3dv, NULL, 71),
- NAME_FUNC_OFFSET( 809, glRasterPos3f, glRasterPos3f, NULL, 72),
- NAME_FUNC_OFFSET( 823, glRasterPos3fv, glRasterPos3fv, NULL, 73),
- NAME_FUNC_OFFSET( 838, glRasterPos3i, glRasterPos3i, NULL, 74),
- NAME_FUNC_OFFSET( 852, glRasterPos3iv, glRasterPos3iv, NULL, 75),
- NAME_FUNC_OFFSET( 867, glRasterPos3s, glRasterPos3s, NULL, 76),
- NAME_FUNC_OFFSET( 881, glRasterPos3sv, glRasterPos3sv, NULL, 77),
- NAME_FUNC_OFFSET( 896, glRasterPos4d, glRasterPos4d, NULL, 78),
- NAME_FUNC_OFFSET( 910, glRasterPos4dv, glRasterPos4dv, NULL, 79),
- NAME_FUNC_OFFSET( 925, glRasterPos4f, glRasterPos4f, NULL, 80),
- NAME_FUNC_OFFSET( 939, glRasterPos4fv, glRasterPos4fv, NULL, 81),
- NAME_FUNC_OFFSET( 954, glRasterPos4i, glRasterPos4i, NULL, 82),
- NAME_FUNC_OFFSET( 968, glRasterPos4iv, glRasterPos4iv, NULL, 83),
- NAME_FUNC_OFFSET( 983, glRasterPos4s, glRasterPos4s, NULL, 84),
- NAME_FUNC_OFFSET( 997, glRasterPos4sv, glRasterPos4sv, NULL, 85),
- NAME_FUNC_OFFSET( 1012, glRectd, glRectd, NULL, 86),
- NAME_FUNC_OFFSET( 1020, glRectdv, glRectdv, NULL, 87),
- NAME_FUNC_OFFSET( 1029, glRectf, glRectf, NULL, 88),
- NAME_FUNC_OFFSET( 1037, glRectfv, glRectfv, NULL, 89),
- NAME_FUNC_OFFSET( 1046, glRecti, glRecti, NULL, 90),
- NAME_FUNC_OFFSET( 1054, glRectiv, glRectiv, NULL, 91),
- NAME_FUNC_OFFSET( 1063, glRects, glRects, NULL, 92),
- NAME_FUNC_OFFSET( 1071, glRectsv, glRectsv, NULL, 93),
- NAME_FUNC_OFFSET( 1080, glTexCoord1d, glTexCoord1d, NULL, 94),
- NAME_FUNC_OFFSET( 1093, glTexCoord1dv, glTexCoord1dv, NULL, 95),
- NAME_FUNC_OFFSET( 1107, glTexCoord1f, glTexCoord1f, NULL, 96),
- NAME_FUNC_OFFSET( 1120, glTexCoord1fv, glTexCoord1fv, NULL, 97),
- NAME_FUNC_OFFSET( 1134, glTexCoord1i, glTexCoord1i, NULL, 98),
- NAME_FUNC_OFFSET( 1147, glTexCoord1iv, glTexCoord1iv, NULL, 99),
- NAME_FUNC_OFFSET( 1161, glTexCoord1s, glTexCoord1s, NULL, 100),
- NAME_FUNC_OFFSET( 1174, glTexCoord1sv, glTexCoord1sv, NULL, 101),
- NAME_FUNC_OFFSET( 1188, glTexCoord2d, glTexCoord2d, NULL, 102),
- NAME_FUNC_OFFSET( 1201, glTexCoord2dv, glTexCoord2dv, NULL, 103),
- NAME_FUNC_OFFSET( 1215, glTexCoord2f, glTexCoord2f, NULL, 104),
- NAME_FUNC_OFFSET( 1228, glTexCoord2fv, glTexCoord2fv, NULL, 105),
- NAME_FUNC_OFFSET( 1242, glTexCoord2i, glTexCoord2i, NULL, 106),
- NAME_FUNC_OFFSET( 1255, glTexCoord2iv, glTexCoord2iv, NULL, 107),
- NAME_FUNC_OFFSET( 1269, glTexCoord2s, glTexCoord2s, NULL, 108),
- NAME_FUNC_OFFSET( 1282, glTexCoord2sv, glTexCoord2sv, NULL, 109),
- NAME_FUNC_OFFSET( 1296, glTexCoord3d, glTexCoord3d, NULL, 110),
- NAME_FUNC_OFFSET( 1309, glTexCoord3dv, glTexCoord3dv, NULL, 111),
- NAME_FUNC_OFFSET( 1323, glTexCoord3f, glTexCoord3f, NULL, 112),
- NAME_FUNC_OFFSET( 1336, glTexCoord3fv, glTexCoord3fv, NULL, 113),
- NAME_FUNC_OFFSET( 1350, glTexCoord3i, glTexCoord3i, NULL, 114),
- NAME_FUNC_OFFSET( 1363, glTexCoord3iv, glTexCoord3iv, NULL, 115),
- NAME_FUNC_OFFSET( 1377, glTexCoord3s, glTexCoord3s, NULL, 116),
- NAME_FUNC_OFFSET( 1390, glTexCoord3sv, glTexCoord3sv, NULL, 117),
- NAME_FUNC_OFFSET( 1404, glTexCoord4d, glTexCoord4d, NULL, 118),
- NAME_FUNC_OFFSET( 1417, glTexCoord4dv, glTexCoord4dv, NULL, 119),
- NAME_FUNC_OFFSET( 1431, glTexCoord4f, glTexCoord4f, NULL, 120),
- NAME_FUNC_OFFSET( 1444, glTexCoord4fv, glTexCoord4fv, NULL, 121),
- NAME_FUNC_OFFSET( 1458, glTexCoord4i, glTexCoord4i, NULL, 122),
- NAME_FUNC_OFFSET( 1471, glTexCoord4iv, glTexCoord4iv, NULL, 123),
- NAME_FUNC_OFFSET( 1485, glTexCoord4s, glTexCoord4s, NULL, 124),
- NAME_FUNC_OFFSET( 1498, glTexCoord4sv, glTexCoord4sv, NULL, 125),
- NAME_FUNC_OFFSET( 1512, glVertex2d, glVertex2d, NULL, 126),
- NAME_FUNC_OFFSET( 1523, glVertex2dv, glVertex2dv, NULL, 127),
- NAME_FUNC_OFFSET( 1535, glVertex2f, glVertex2f, NULL, 128),
- NAME_FUNC_OFFSET( 1546, glVertex2fv, glVertex2fv, NULL, 129),
- NAME_FUNC_OFFSET( 1558, glVertex2i, glVertex2i, NULL, 130),
- NAME_FUNC_OFFSET( 1569, glVertex2iv, glVertex2iv, NULL, 131),
- NAME_FUNC_OFFSET( 1581, glVertex2s, glVertex2s, NULL, 132),
- NAME_FUNC_OFFSET( 1592, glVertex2sv, glVertex2sv, NULL, 133),
- NAME_FUNC_OFFSET( 1604, glVertex3d, glVertex3d, NULL, 134),
- NAME_FUNC_OFFSET( 1615, glVertex3dv, glVertex3dv, NULL, 135),
- NAME_FUNC_OFFSET( 1627, glVertex3f, glVertex3f, NULL, 136),
- NAME_FUNC_OFFSET( 1638, glVertex3fv, glVertex3fv, NULL, 137),
- NAME_FUNC_OFFSET( 1650, glVertex3i, glVertex3i, NULL, 138),
- NAME_FUNC_OFFSET( 1661, glVertex3iv, glVertex3iv, NULL, 139),
- NAME_FUNC_OFFSET( 1673, glVertex3s, glVertex3s, NULL, 140),
- NAME_FUNC_OFFSET( 1684, glVertex3sv, glVertex3sv, NULL, 141),
- NAME_FUNC_OFFSET( 1696, glVertex4d, glVertex4d, NULL, 142),
- NAME_FUNC_OFFSET( 1707, glVertex4dv, glVertex4dv, NULL, 143),
- NAME_FUNC_OFFSET( 1719, glVertex4f, glVertex4f, NULL, 144),
- NAME_FUNC_OFFSET( 1730, glVertex4fv, glVertex4fv, NULL, 145),
- NAME_FUNC_OFFSET( 1742, glVertex4i, glVertex4i, NULL, 146),
- NAME_FUNC_OFFSET( 1753, glVertex4iv, glVertex4iv, NULL, 147),
- NAME_FUNC_OFFSET( 1765, glVertex4s, glVertex4s, NULL, 148),
- NAME_FUNC_OFFSET( 1776, glVertex4sv, glVertex4sv, NULL, 149),
- NAME_FUNC_OFFSET( 1788, glClipPlane, glClipPlane, NULL, 150),
- NAME_FUNC_OFFSET( 1800, glColorMaterial, glColorMaterial, NULL, 151),
- NAME_FUNC_OFFSET( 1816, glCullFace, glCullFace, NULL, 152),
- NAME_FUNC_OFFSET( 1827, glFogf, glFogf, NULL, 153),
- NAME_FUNC_OFFSET( 1834, glFogfv, glFogfv, NULL, 154),
- NAME_FUNC_OFFSET( 1842, glFogi, glFogi, NULL, 155),
- NAME_FUNC_OFFSET( 1849, glFogiv, glFogiv, NULL, 156),
- NAME_FUNC_OFFSET( 1857, glFrontFace, glFrontFace, NULL, 157),
- NAME_FUNC_OFFSET( 1869, glHint, glHint, NULL, 158),
- NAME_FUNC_OFFSET( 1876, glLightf, glLightf, NULL, 159),
- NAME_FUNC_OFFSET( 1885, glLightfv, glLightfv, NULL, 160),
- NAME_FUNC_OFFSET( 1895, glLighti, glLighti, NULL, 161),
- NAME_FUNC_OFFSET( 1904, glLightiv, glLightiv, NULL, 162),
- NAME_FUNC_OFFSET( 1914, glLightModelf, glLightModelf, NULL, 163),
- NAME_FUNC_OFFSET( 1928, glLightModelfv, glLightModelfv, NULL, 164),
- NAME_FUNC_OFFSET( 1943, glLightModeli, glLightModeli, NULL, 165),
- NAME_FUNC_OFFSET( 1957, glLightModeliv, glLightModeliv, NULL, 166),
- NAME_FUNC_OFFSET( 1972, glLineStipple, glLineStipple, NULL, 167),
- NAME_FUNC_OFFSET( 1986, glLineWidth, glLineWidth, NULL, 168),
- NAME_FUNC_OFFSET( 1998, glMaterialf, glMaterialf, NULL, 169),
- NAME_FUNC_OFFSET( 2010, glMaterialfv, glMaterialfv, NULL, 170),
- NAME_FUNC_OFFSET( 2023, glMateriali, glMateriali, NULL, 171),
- NAME_FUNC_OFFSET( 2035, glMaterialiv, glMaterialiv, NULL, 172),
- NAME_FUNC_OFFSET( 2048, glPointSize, glPointSize, NULL, 173),
- NAME_FUNC_OFFSET( 2060, glPolygonMode, glPolygonMode, NULL, 174),
- NAME_FUNC_OFFSET( 2074, glPolygonStipple, glPolygonStipple, NULL, 175),
- NAME_FUNC_OFFSET( 2091, glScissor, glScissor, NULL, 176),
- NAME_FUNC_OFFSET( 2101, glShadeModel, glShadeModel, NULL, 177),
- NAME_FUNC_OFFSET( 2114, glTexParameterf, glTexParameterf, NULL, 178),
- NAME_FUNC_OFFSET( 2130, glTexParameterfv, glTexParameterfv, NULL, 179),
- NAME_FUNC_OFFSET( 2147, glTexParameteri, glTexParameteri, NULL, 180),
- NAME_FUNC_OFFSET( 2163, glTexParameteriv, glTexParameteriv, NULL, 181),
- NAME_FUNC_OFFSET( 2180, glTexImage1D, glTexImage1D, NULL, 182),
- NAME_FUNC_OFFSET( 2193, glTexImage2D, glTexImage2D, NULL, 183),
- NAME_FUNC_OFFSET( 2206, glTexEnvf, glTexEnvf, NULL, 184),
- NAME_FUNC_OFFSET( 2216, glTexEnvfv, glTexEnvfv, NULL, 185),
- NAME_FUNC_OFFSET( 2227, glTexEnvi, glTexEnvi, NULL, 186),
- NAME_FUNC_OFFSET( 2237, glTexEnviv, glTexEnviv, NULL, 187),
- NAME_FUNC_OFFSET( 2248, glTexGend, glTexGend, NULL, 188),
- NAME_FUNC_OFFSET( 2258, glTexGendv, glTexGendv, NULL, 189),
- NAME_FUNC_OFFSET( 2269, glTexGenf, glTexGenf, NULL, 190),
- NAME_FUNC_OFFSET( 2279, glTexGenfv, glTexGenfv, NULL, 191),
- NAME_FUNC_OFFSET( 2290, glTexGeni, glTexGeni, NULL, 192),
- NAME_FUNC_OFFSET( 2300, glTexGeniv, glTexGeniv, NULL, 193),
- NAME_FUNC_OFFSET( 2311, glFeedbackBuffer, glFeedbackBuffer, NULL, 194),
- NAME_FUNC_OFFSET( 2328, glSelectBuffer, glSelectBuffer, NULL, 195),
- NAME_FUNC_OFFSET( 2343, glRenderMode, glRenderMode, NULL, 196),
- NAME_FUNC_OFFSET( 2356, glInitNames, glInitNames, NULL, 197),
- NAME_FUNC_OFFSET( 2368, glLoadName, glLoadName, NULL, 198),
- NAME_FUNC_OFFSET( 2379, glPassThrough, glPassThrough, NULL, 199),
- NAME_FUNC_OFFSET( 2393, glPopName, glPopName, NULL, 200),
- NAME_FUNC_OFFSET( 2403, glPushName, glPushName, NULL, 201),
- NAME_FUNC_OFFSET( 2414, glDrawBuffer, glDrawBuffer, NULL, 202),
- NAME_FUNC_OFFSET( 2427, glClear, glClear, NULL, 203),
- NAME_FUNC_OFFSET( 2435, glClearAccum, glClearAccum, NULL, 204),
- NAME_FUNC_OFFSET( 2448, glClearIndex, glClearIndex, NULL, 205),
- NAME_FUNC_OFFSET( 2461, glClearColor, glClearColor, NULL, 206),
- NAME_FUNC_OFFSET( 2474, glClearStencil, glClearStencil, NULL, 207),
- NAME_FUNC_OFFSET( 2489, glClearDepth, glClearDepth, NULL, 208),
- NAME_FUNC_OFFSET( 2502, glStencilMask, glStencilMask, NULL, 209),
- NAME_FUNC_OFFSET( 2516, glColorMask, glColorMask, NULL, 210),
- NAME_FUNC_OFFSET( 2528, glDepthMask, glDepthMask, NULL, 211),
- NAME_FUNC_OFFSET( 2540, glIndexMask, glIndexMask, NULL, 212),
- NAME_FUNC_OFFSET( 2552, glAccum, glAccum, NULL, 213),
- NAME_FUNC_OFFSET( 2560, glDisable, glDisable, NULL, 214),
- NAME_FUNC_OFFSET( 2570, glEnable, glEnable, NULL, 215),
- NAME_FUNC_OFFSET( 2579, glFinish, glFinish, NULL, 216),
- NAME_FUNC_OFFSET( 2588, glFlush, glFlush, NULL, 217),
- NAME_FUNC_OFFSET( 2596, glPopAttrib, glPopAttrib, NULL, 218),
- NAME_FUNC_OFFSET( 2608, glPushAttrib, glPushAttrib, NULL, 219),
- NAME_FUNC_OFFSET( 2621, glMap1d, glMap1d, NULL, 220),
- NAME_FUNC_OFFSET( 2629, glMap1f, glMap1f, NULL, 221),
- NAME_FUNC_OFFSET( 2637, glMap2d, glMap2d, NULL, 222),
- NAME_FUNC_OFFSET( 2645, glMap2f, glMap2f, NULL, 223),
- NAME_FUNC_OFFSET( 2653, glMapGrid1d, glMapGrid1d, NULL, 224),
- NAME_FUNC_OFFSET( 2665, glMapGrid1f, glMapGrid1f, NULL, 225),
- NAME_FUNC_OFFSET( 2677, glMapGrid2d, glMapGrid2d, NULL, 226),
- NAME_FUNC_OFFSET( 2689, glMapGrid2f, glMapGrid2f, NULL, 227),
- NAME_FUNC_OFFSET( 2701, glEvalCoord1d, glEvalCoord1d, NULL, 228),
- NAME_FUNC_OFFSET( 2715, glEvalCoord1dv, glEvalCoord1dv, NULL, 229),
- NAME_FUNC_OFFSET( 2730, glEvalCoord1f, glEvalCoord1f, NULL, 230),
- NAME_FUNC_OFFSET( 2744, glEvalCoord1fv, glEvalCoord1fv, NULL, 231),
- NAME_FUNC_OFFSET( 2759, glEvalCoord2d, glEvalCoord2d, NULL, 232),
- NAME_FUNC_OFFSET( 2773, glEvalCoord2dv, glEvalCoord2dv, NULL, 233),
- NAME_FUNC_OFFSET( 2788, glEvalCoord2f, glEvalCoord2f, NULL, 234),
- NAME_FUNC_OFFSET( 2802, glEvalCoord2fv, glEvalCoord2fv, NULL, 235),
- NAME_FUNC_OFFSET( 2817, glEvalMesh1, glEvalMesh1, NULL, 236),
- NAME_FUNC_OFFSET( 2829, glEvalPoint1, glEvalPoint1, NULL, 237),
- NAME_FUNC_OFFSET( 2842, glEvalMesh2, glEvalMesh2, NULL, 238),
- NAME_FUNC_OFFSET( 2854, glEvalPoint2, glEvalPoint2, NULL, 239),
- NAME_FUNC_OFFSET( 2867, glAlphaFunc, glAlphaFunc, NULL, 240),
- NAME_FUNC_OFFSET( 2879, glBlendFunc, glBlendFunc, NULL, 241),
- NAME_FUNC_OFFSET( 2891, glLogicOp, glLogicOp, NULL, 242),
- NAME_FUNC_OFFSET( 2901, glStencilFunc, glStencilFunc, NULL, 243),
- NAME_FUNC_OFFSET( 2915, glStencilOp, glStencilOp, NULL, 244),
- NAME_FUNC_OFFSET( 2927, glDepthFunc, glDepthFunc, NULL, 245),
- NAME_FUNC_OFFSET( 2939, glPixelZoom, glPixelZoom, NULL, 246),
- NAME_FUNC_OFFSET( 2951, glPixelTransferf, glPixelTransferf, NULL, 247),
- NAME_FUNC_OFFSET( 2968, glPixelTransferi, glPixelTransferi, NULL, 248),
- NAME_FUNC_OFFSET( 2985, glPixelStoref, glPixelStoref, NULL, 249),
- NAME_FUNC_OFFSET( 2999, glPixelStorei, glPixelStorei, NULL, 250),
- NAME_FUNC_OFFSET( 3013, glPixelMapfv, glPixelMapfv, NULL, 251),
- NAME_FUNC_OFFSET( 3026, glPixelMapuiv, glPixelMapuiv, NULL, 252),
- NAME_FUNC_OFFSET( 3040, glPixelMapusv, glPixelMapusv, NULL, 253),
- NAME_FUNC_OFFSET( 3054, glReadBuffer, glReadBuffer, NULL, 254),
- NAME_FUNC_OFFSET( 3067, glCopyPixels, glCopyPixels, NULL, 255),
- NAME_FUNC_OFFSET( 3080, glReadPixels, glReadPixels, NULL, 256),
- NAME_FUNC_OFFSET( 3093, glDrawPixels, glDrawPixels, NULL, 257),
- NAME_FUNC_OFFSET( 3106, glGetBooleanv, glGetBooleanv, NULL, 258),
- NAME_FUNC_OFFSET( 3120, glGetClipPlane, glGetClipPlane, NULL, 259),
- NAME_FUNC_OFFSET( 3135, glGetDoublev, glGetDoublev, NULL, 260),
- NAME_FUNC_OFFSET( 3148, glGetError, glGetError, NULL, 261),
- NAME_FUNC_OFFSET( 3159, glGetFloatv, glGetFloatv, NULL, 262),
- NAME_FUNC_OFFSET( 3171, glGetIntegerv, glGetIntegerv, NULL, 263),
- NAME_FUNC_OFFSET( 3185, glGetLightfv, glGetLightfv, NULL, 264),
- NAME_FUNC_OFFSET( 3198, glGetLightiv, glGetLightiv, NULL, 265),
- NAME_FUNC_OFFSET( 3211, glGetMapdv, glGetMapdv, NULL, 266),
- NAME_FUNC_OFFSET( 3222, glGetMapfv, glGetMapfv, NULL, 267),
- NAME_FUNC_OFFSET( 3233, glGetMapiv, glGetMapiv, NULL, 268),
- NAME_FUNC_OFFSET( 3244, glGetMaterialfv, glGetMaterialfv, NULL, 269),
- NAME_FUNC_OFFSET( 3260, glGetMaterialiv, glGetMaterialiv, NULL, 270),
- NAME_FUNC_OFFSET( 3276, glGetPixelMapfv, glGetPixelMapfv, NULL, 271),
- NAME_FUNC_OFFSET( 3292, glGetPixelMapuiv, glGetPixelMapuiv, NULL, 272),
- NAME_FUNC_OFFSET( 3309, glGetPixelMapusv, glGetPixelMapusv, NULL, 273),
- NAME_FUNC_OFFSET( 3326, glGetPolygonStipple, glGetPolygonStipple, NULL, 274),
- NAME_FUNC_OFFSET( 3346, glGetString, glGetString, NULL, 275),
- NAME_FUNC_OFFSET( 3358, glGetTexEnvfv, glGetTexEnvfv, NULL, 276),
- NAME_FUNC_OFFSET( 3372, glGetTexEnviv, glGetTexEnviv, NULL, 277),
- NAME_FUNC_OFFSET( 3386, glGetTexGendv, glGetTexGendv, NULL, 278),
- NAME_FUNC_OFFSET( 3400, glGetTexGenfv, glGetTexGenfv, NULL, 279),
- NAME_FUNC_OFFSET( 3414, glGetTexGeniv, glGetTexGeniv, NULL, 280),
- NAME_FUNC_OFFSET( 3428, glGetTexImage, glGetTexImage, NULL, 281),
- NAME_FUNC_OFFSET( 3442, glGetTexParameterfv, glGetTexParameterfv, NULL, 282),
- NAME_FUNC_OFFSET( 3462, glGetTexParameteriv, glGetTexParameteriv, NULL, 283),
- NAME_FUNC_OFFSET( 3482, glGetTexLevelParameterfv, glGetTexLevelParameterfv, NULL, 284),
- NAME_FUNC_OFFSET( 3507, glGetTexLevelParameteriv, glGetTexLevelParameteriv, NULL, 285),
- NAME_FUNC_OFFSET( 3532, glIsEnabled, glIsEnabled, NULL, 286),
- NAME_FUNC_OFFSET( 3544, glIsList, glIsList, NULL, 287),
- NAME_FUNC_OFFSET( 3553, glDepthRange, glDepthRange, NULL, 288),
- NAME_FUNC_OFFSET( 3566, glFrustum, glFrustum, NULL, 289),
- NAME_FUNC_OFFSET( 3576, glLoadIdentity, glLoadIdentity, NULL, 290),
- NAME_FUNC_OFFSET( 3591, glLoadMatrixf, glLoadMatrixf, NULL, 291),
- NAME_FUNC_OFFSET( 3605, glLoadMatrixd, glLoadMatrixd, NULL, 292),
- NAME_FUNC_OFFSET( 3619, glMatrixMode, glMatrixMode, NULL, 293),
- NAME_FUNC_OFFSET( 3632, glMultMatrixf, glMultMatrixf, NULL, 294),
- NAME_FUNC_OFFSET( 3646, glMultMatrixd, glMultMatrixd, NULL, 295),
- NAME_FUNC_OFFSET( 3660, glOrtho, glOrtho, NULL, 296),
- NAME_FUNC_OFFSET( 3668, glPopMatrix, glPopMatrix, NULL, 297),
- NAME_FUNC_OFFSET( 3680, glPushMatrix, glPushMatrix, NULL, 298),
- NAME_FUNC_OFFSET( 3693, glRotated, glRotated, NULL, 299),
- NAME_FUNC_OFFSET( 3703, glRotatef, glRotatef, NULL, 300),
- NAME_FUNC_OFFSET( 3713, glScaled, glScaled, NULL, 301),
- NAME_FUNC_OFFSET( 3722, glScalef, glScalef, NULL, 302),
- NAME_FUNC_OFFSET( 3731, glTranslated, glTranslated, NULL, 303),
- NAME_FUNC_OFFSET( 3744, glTranslatef, glTranslatef, NULL, 304),
- NAME_FUNC_OFFSET( 3757, glViewport, glViewport, NULL, 305),
- NAME_FUNC_OFFSET( 3768, glArrayElement, glArrayElement, NULL, 306),
- NAME_FUNC_OFFSET( 3783, glBindTexture, glBindTexture, NULL, 307),
- NAME_FUNC_OFFSET( 3797, glColorPointer, glColorPointer, NULL, 308),
- NAME_FUNC_OFFSET( 3812, glDisableClientState, glDisableClientState, NULL, 309),
- NAME_FUNC_OFFSET( 3833, glDrawArrays, glDrawArrays, NULL, 310),
- NAME_FUNC_OFFSET( 3846, glDrawElements, glDrawElements, NULL, 311),
- NAME_FUNC_OFFSET( 3861, glEdgeFlagPointer, glEdgeFlagPointer, NULL, 312),
- NAME_FUNC_OFFSET( 3879, glEnableClientState, glEnableClientState, NULL, 313),
- NAME_FUNC_OFFSET( 3899, glIndexPointer, glIndexPointer, NULL, 314),
- NAME_FUNC_OFFSET( 3914, glIndexub, glIndexub, NULL, 315),
- NAME_FUNC_OFFSET( 3924, glIndexubv, glIndexubv, NULL, 316),
- NAME_FUNC_OFFSET( 3935, glInterleavedArrays, glInterleavedArrays, NULL, 317),
- NAME_FUNC_OFFSET( 3955, glNormalPointer, glNormalPointer, NULL, 318),
- NAME_FUNC_OFFSET( 3971, glPolygonOffset, glPolygonOffset, NULL, 319),
- NAME_FUNC_OFFSET( 3987, glTexCoordPointer, glTexCoordPointer, NULL, 320),
- NAME_FUNC_OFFSET( 4005, glVertexPointer, glVertexPointer, NULL, 321),
- NAME_FUNC_OFFSET( 4021, glAreTexturesResident, glAreTexturesResident, NULL, 322),
- NAME_FUNC_OFFSET( 4043, glCopyTexImage1D, glCopyTexImage1D, NULL, 323),
- NAME_FUNC_OFFSET( 4060, glCopyTexImage2D, glCopyTexImage2D, NULL, 324),
- NAME_FUNC_OFFSET( 4077, glCopyTexSubImage1D, glCopyTexSubImage1D, NULL, 325),
- NAME_FUNC_OFFSET( 4097, glCopyTexSubImage2D, glCopyTexSubImage2D, NULL, 326),
- NAME_FUNC_OFFSET( 4117, glDeleteTextures, glDeleteTextures, NULL, 327),
- NAME_FUNC_OFFSET( 4134, glGenTextures, glGenTextures, NULL, 328),
- NAME_FUNC_OFFSET( 4148, glGetPointerv, glGetPointerv, NULL, 329),
- NAME_FUNC_OFFSET( 4162, glIsTexture, glIsTexture, NULL, 330),
- NAME_FUNC_OFFSET( 4174, glPrioritizeTextures, glPrioritizeTextures, NULL, 331),
- NAME_FUNC_OFFSET( 4195, glTexSubImage1D, glTexSubImage1D, NULL, 332),
- NAME_FUNC_OFFSET( 4211, glTexSubImage2D, glTexSubImage2D, NULL, 333),
- NAME_FUNC_OFFSET( 4227, glPopClientAttrib, glPopClientAttrib, NULL, 334),
- NAME_FUNC_OFFSET( 4245, glPushClientAttrib, glPushClientAttrib, NULL, 335),
- NAME_FUNC_OFFSET( 4264, glBlendColor, glBlendColor, NULL, 336),
- NAME_FUNC_OFFSET( 4277, glBlendEquation, glBlendEquation, NULL, 337),
- NAME_FUNC_OFFSET( 4293, glDrawRangeElements, glDrawRangeElements, NULL, 338),
- NAME_FUNC_OFFSET( 4313, glColorTable, glColorTable, NULL, 339),
- NAME_FUNC_OFFSET( 4326, glColorTableParameterfv, glColorTableParameterfv, NULL, 340),
- NAME_FUNC_OFFSET( 4350, glColorTableParameteriv, glColorTableParameteriv, NULL, 341),
- NAME_FUNC_OFFSET( 4374, glCopyColorTable, glCopyColorTable, NULL, 342),
- NAME_FUNC_OFFSET( 4391, glGetColorTable, glGetColorTable, NULL, 343),
- NAME_FUNC_OFFSET( 4407, glGetColorTableParameterfv, glGetColorTableParameterfv, NULL, 344),
- NAME_FUNC_OFFSET( 4434, glGetColorTableParameteriv, glGetColorTableParameteriv, NULL, 345),
- NAME_FUNC_OFFSET( 4461, glColorSubTable, glColorSubTable, NULL, 346),
- NAME_FUNC_OFFSET( 4477, glCopyColorSubTable, glCopyColorSubTable, NULL, 347),
- NAME_FUNC_OFFSET( 4497, glConvolutionFilter1D, glConvolutionFilter1D, NULL, 348),
- NAME_FUNC_OFFSET( 4519, glConvolutionFilter2D, glConvolutionFilter2D, NULL, 349),
- NAME_FUNC_OFFSET( 4541, glConvolutionParameterf, glConvolutionParameterf, NULL, 350),
- NAME_FUNC_OFFSET( 4565, glConvolutionParameterfv, glConvolutionParameterfv, NULL, 351),
- NAME_FUNC_OFFSET( 4590, glConvolutionParameteri, glConvolutionParameteri, NULL, 352),
- NAME_FUNC_OFFSET( 4614, glConvolutionParameteriv, glConvolutionParameteriv, NULL, 353),
- NAME_FUNC_OFFSET( 4639, glCopyConvolutionFilter1D, glCopyConvolutionFilter1D, NULL, 354),
- NAME_FUNC_OFFSET( 4665, glCopyConvolutionFilter2D, glCopyConvolutionFilter2D, NULL, 355),
- NAME_FUNC_OFFSET( 4691, glGetConvolutionFilter, glGetConvolutionFilter, NULL, 356),
- NAME_FUNC_OFFSET( 4714, glGetConvolutionParameterfv, glGetConvolutionParameterfv, NULL, 357),
- NAME_FUNC_OFFSET( 4742, glGetConvolutionParameteriv, glGetConvolutionParameteriv, NULL, 358),
- NAME_FUNC_OFFSET( 4770, glGetSeparableFilter, glGetSeparableFilter, NULL, 359),
- NAME_FUNC_OFFSET( 4791, glSeparableFilter2D, glSeparableFilter2D, NULL, 360),
- NAME_FUNC_OFFSET( 4811, glGetHistogram, glGetHistogram, NULL, 361),
- NAME_FUNC_OFFSET( 4826, glGetHistogramParameterfv, glGetHistogramParameterfv, NULL, 362),
- NAME_FUNC_OFFSET( 4852, glGetHistogramParameteriv, glGetHistogramParameteriv, NULL, 363),
- NAME_FUNC_OFFSET( 4878, glGetMinmax, glGetMinmax, NULL, 364),
- NAME_FUNC_OFFSET( 4890, glGetMinmaxParameterfv, glGetMinmaxParameterfv, NULL, 365),
- NAME_FUNC_OFFSET( 4913, glGetMinmaxParameteriv, glGetMinmaxParameteriv, NULL, 366),
- NAME_FUNC_OFFSET( 4936, glHistogram, glHistogram, NULL, 367),
- NAME_FUNC_OFFSET( 4948, glMinmax, glMinmax, NULL, 368),
- NAME_FUNC_OFFSET( 4957, glResetHistogram, glResetHistogram, NULL, 369),
- NAME_FUNC_OFFSET( 4974, glResetMinmax, glResetMinmax, NULL, 370),
- NAME_FUNC_OFFSET( 4988, glTexImage3D, glTexImage3D, NULL, 371),
- NAME_FUNC_OFFSET( 5001, glTexSubImage3D, glTexSubImage3D, NULL, 372),
- NAME_FUNC_OFFSET( 5017, glCopyTexSubImage3D, glCopyTexSubImage3D, NULL, 373),
- NAME_FUNC_OFFSET( 5037, glActiveTextureARB, glActiveTextureARB, NULL, 374),
- NAME_FUNC_OFFSET( 5056, glClientActiveTextureARB, glClientActiveTextureARB, NULL, 375),
- NAME_FUNC_OFFSET( 5081, glMultiTexCoord1dARB, glMultiTexCoord1dARB, NULL, 376),
- NAME_FUNC_OFFSET( 5102, glMultiTexCoord1dvARB, glMultiTexCoord1dvARB, NULL, 377),
- NAME_FUNC_OFFSET( 5124, glMultiTexCoord1fARB, glMultiTexCoord1fARB, NULL, 378),
- NAME_FUNC_OFFSET( 5145, glMultiTexCoord1fvARB, glMultiTexCoord1fvARB, NULL, 379),
- NAME_FUNC_OFFSET( 5167, glMultiTexCoord1iARB, glMultiTexCoord1iARB, NULL, 380),
- NAME_FUNC_OFFSET( 5188, glMultiTexCoord1ivARB, glMultiTexCoord1ivARB, NULL, 381),
- NAME_FUNC_OFFSET( 5210, glMultiTexCoord1sARB, glMultiTexCoord1sARB, NULL, 382),
- NAME_FUNC_OFFSET( 5231, glMultiTexCoord1svARB, glMultiTexCoord1svARB, NULL, 383),
- NAME_FUNC_OFFSET( 5253, glMultiTexCoord2dARB, glMultiTexCoord2dARB, NULL, 384),
- NAME_FUNC_OFFSET( 5274, glMultiTexCoord2dvARB, glMultiTexCoord2dvARB, NULL, 385),
- NAME_FUNC_OFFSET( 5296, glMultiTexCoord2fARB, glMultiTexCoord2fARB, NULL, 386),
- NAME_FUNC_OFFSET( 5317, glMultiTexCoord2fvARB, glMultiTexCoord2fvARB, NULL, 387),
- NAME_FUNC_OFFSET( 5339, glMultiTexCoord2iARB, glMultiTexCoord2iARB, NULL, 388),
- NAME_FUNC_OFFSET( 5360, glMultiTexCoord2ivARB, glMultiTexCoord2ivARB, NULL, 389),
- NAME_FUNC_OFFSET( 5382, glMultiTexCoord2sARB, glMultiTexCoord2sARB, NULL, 390),
- NAME_FUNC_OFFSET( 5403, glMultiTexCoord2svARB, glMultiTexCoord2svARB, NULL, 391),
- NAME_FUNC_OFFSET( 5425, glMultiTexCoord3dARB, glMultiTexCoord3dARB, NULL, 392),
- NAME_FUNC_OFFSET( 5446, glMultiTexCoord3dvARB, glMultiTexCoord3dvARB, NULL, 393),
- NAME_FUNC_OFFSET( 5468, glMultiTexCoord3fARB, glMultiTexCoord3fARB, NULL, 394),
- NAME_FUNC_OFFSET( 5489, glMultiTexCoord3fvARB, glMultiTexCoord3fvARB, NULL, 395),
- NAME_FUNC_OFFSET( 5511, glMultiTexCoord3iARB, glMultiTexCoord3iARB, NULL, 396),
- NAME_FUNC_OFFSET( 5532, glMultiTexCoord3ivARB, glMultiTexCoord3ivARB, NULL, 397),
- NAME_FUNC_OFFSET( 5554, glMultiTexCoord3sARB, glMultiTexCoord3sARB, NULL, 398),
- NAME_FUNC_OFFSET( 5575, glMultiTexCoord3svARB, glMultiTexCoord3svARB, NULL, 399),
- NAME_FUNC_OFFSET( 5597, glMultiTexCoord4dARB, glMultiTexCoord4dARB, NULL, 400),
- NAME_FUNC_OFFSET( 5618, glMultiTexCoord4dvARB, glMultiTexCoord4dvARB, NULL, 401),
- NAME_FUNC_OFFSET( 5640, glMultiTexCoord4fARB, glMultiTexCoord4fARB, NULL, 402),
- NAME_FUNC_OFFSET( 5661, glMultiTexCoord4fvARB, glMultiTexCoord4fvARB, NULL, 403),
- NAME_FUNC_OFFSET( 5683, glMultiTexCoord4iARB, glMultiTexCoord4iARB, NULL, 404),
- NAME_FUNC_OFFSET( 5704, glMultiTexCoord4ivARB, glMultiTexCoord4ivARB, NULL, 405),
- NAME_FUNC_OFFSET( 5726, glMultiTexCoord4sARB, glMultiTexCoord4sARB, NULL, 406),
- NAME_FUNC_OFFSET( 5747, glMultiTexCoord4svARB, glMultiTexCoord4svARB, NULL, 407),
- NAME_FUNC_OFFSET( 5769, glAttachShader, glAttachShader, NULL, 408),
- NAME_FUNC_OFFSET( 5784, glCreateProgram, glCreateProgram, NULL, 409),
- NAME_FUNC_OFFSET( 5800, glCreateShader, glCreateShader, NULL, 410),
- NAME_FUNC_OFFSET( 5815, glDeleteProgram, glDeleteProgram, NULL, 411),
- NAME_FUNC_OFFSET( 5831, glDeleteShader, glDeleteShader, NULL, 412),
- NAME_FUNC_OFFSET( 5846, glDetachShader, glDetachShader, NULL, 413),
- NAME_FUNC_OFFSET( 5861, glGetAttachedShaders, glGetAttachedShaders, NULL, 414),
- NAME_FUNC_OFFSET( 5882, glGetProgramInfoLog, glGetProgramInfoLog, NULL, 415),
- NAME_FUNC_OFFSET( 5902, glGetProgramiv, glGetProgramiv, NULL, 416),
- NAME_FUNC_OFFSET( 5917, glGetShaderInfoLog, glGetShaderInfoLog, NULL, 417),
- NAME_FUNC_OFFSET( 5936, glGetShaderiv, glGetShaderiv, NULL, 418),
- NAME_FUNC_OFFSET( 5950, glIsProgram, glIsProgram, NULL, 419),
- NAME_FUNC_OFFSET( 5962, glIsShader, glIsShader, NULL, 420),
- NAME_FUNC_OFFSET( 5973, glStencilFuncSeparate, glStencilFuncSeparate, NULL, 421),
- NAME_FUNC_OFFSET( 5995, glStencilMaskSeparate, glStencilMaskSeparate, NULL, 422),
- NAME_FUNC_OFFSET( 6017, glStencilOpSeparate, glStencilOpSeparate, NULL, 423),
- NAME_FUNC_OFFSET( 6037, glUniformMatrix2x3fv, glUniformMatrix2x3fv, NULL, 424),
- NAME_FUNC_OFFSET( 6058, glUniformMatrix2x4fv, glUniformMatrix2x4fv, NULL, 425),
- NAME_FUNC_OFFSET( 6079, glUniformMatrix3x2fv, glUniformMatrix3x2fv, NULL, 426),
- NAME_FUNC_OFFSET( 6100, glUniformMatrix3x4fv, glUniformMatrix3x4fv, NULL, 427),
- NAME_FUNC_OFFSET( 6121, glUniformMatrix4x2fv, glUniformMatrix4x2fv, NULL, 428),
- NAME_FUNC_OFFSET( 6142, glUniformMatrix4x3fv, glUniformMatrix4x3fv, NULL, 429),
- NAME_FUNC_OFFSET( 6163, glClampColor, glClampColor, NULL, 430),
- NAME_FUNC_OFFSET( 6176, glClearBufferfi, glClearBufferfi, NULL, 431),
- NAME_FUNC_OFFSET( 6192, glClearBufferfv, glClearBufferfv, NULL, 432),
- NAME_FUNC_OFFSET( 6208, glClearBufferiv, glClearBufferiv, NULL, 433),
- NAME_FUNC_OFFSET( 6224, glClearBufferuiv, glClearBufferuiv, NULL, 434),
- NAME_FUNC_OFFSET( 6241, glGetStringi, glGetStringi, NULL, 435),
- NAME_FUNC_OFFSET( 6254, glTexBuffer, glTexBuffer, NULL, 436),
- NAME_FUNC_OFFSET( 6266, glFramebufferTexture, glFramebufferTexture, NULL, 437),
- NAME_FUNC_OFFSET( 6287, glGetBufferParameteri64v, glGetBufferParameteri64v, NULL, 438),
- NAME_FUNC_OFFSET( 6312, glGetInteger64i_v, glGetInteger64i_v, NULL, 439),
- NAME_FUNC_OFFSET( 6330, glVertexAttribDivisor, glVertexAttribDivisor, NULL, 440),
- NAME_FUNC_OFFSET( 6352, glLoadTransposeMatrixdARB, glLoadTransposeMatrixdARB, NULL, 441),
- NAME_FUNC_OFFSET( 6378, glLoadTransposeMatrixfARB, glLoadTransposeMatrixfARB, NULL, 442),
- NAME_FUNC_OFFSET( 6404, glMultTransposeMatrixdARB, glMultTransposeMatrixdARB, NULL, 443),
- NAME_FUNC_OFFSET( 6430, glMultTransposeMatrixfARB, glMultTransposeMatrixfARB, NULL, 444),
- NAME_FUNC_OFFSET( 6456, glSampleCoverageARB, glSampleCoverageARB, NULL, 445),
- NAME_FUNC_OFFSET( 6476, glCompressedTexImage1DARB, glCompressedTexImage1DARB, NULL, 446),
- NAME_FUNC_OFFSET( 6502, glCompressedTexImage2DARB, glCompressedTexImage2DARB, NULL, 447),
- NAME_FUNC_OFFSET( 6528, glCompressedTexImage3DARB, glCompressedTexImage3DARB, NULL, 448),
- NAME_FUNC_OFFSET( 6554, glCompressedTexSubImage1DARB, glCompressedTexSubImage1DARB, NULL, 449),
- NAME_FUNC_OFFSET( 6583, glCompressedTexSubImage2DARB, glCompressedTexSubImage2DARB, NULL, 450),
- NAME_FUNC_OFFSET( 6612, glCompressedTexSubImage3DARB, glCompressedTexSubImage3DARB, NULL, 451),
- NAME_FUNC_OFFSET( 6641, glGetCompressedTexImageARB, glGetCompressedTexImageARB, NULL, 452),
- NAME_FUNC_OFFSET( 6668, glDisableVertexAttribArrayARB, glDisableVertexAttribArrayARB, NULL, 453),
- NAME_FUNC_OFFSET( 6698, glEnableVertexAttribArrayARB, glEnableVertexAttribArrayARB, NULL, 454),
- NAME_FUNC_OFFSET( 6727, glGetProgramEnvParameterdvARB, glGetProgramEnvParameterdvARB, NULL, 455),
- NAME_FUNC_OFFSET( 6757, glGetProgramEnvParameterfvARB, glGetProgramEnvParameterfvARB, NULL, 456),
- NAME_FUNC_OFFSET( 6787, glGetProgramLocalParameterdvARB, glGetProgramLocalParameterdvARB, NULL, 457),
- NAME_FUNC_OFFSET( 6819, glGetProgramLocalParameterfvARB, glGetProgramLocalParameterfvARB, NULL, 458),
- NAME_FUNC_OFFSET( 6851, glGetProgramStringARB, glGetProgramStringARB, NULL, 459),
- NAME_FUNC_OFFSET( 6873, glGetProgramivARB, glGetProgramivARB, NULL, 460),
- NAME_FUNC_OFFSET( 6891, glGetVertexAttribdvARB, glGetVertexAttribdvARB, NULL, 461),
- NAME_FUNC_OFFSET( 6914, glGetVertexAttribfvARB, glGetVertexAttribfvARB, NULL, 462),
- NAME_FUNC_OFFSET( 6937, glGetVertexAttribivARB, glGetVertexAttribivARB, NULL, 463),
- NAME_FUNC_OFFSET( 6960, glProgramEnvParameter4dARB, glProgramEnvParameter4dARB, NULL, 464),
- NAME_FUNC_OFFSET( 6987, glProgramEnvParameter4dvARB, glProgramEnvParameter4dvARB, NULL, 465),
- NAME_FUNC_OFFSET( 7015, glProgramEnvParameter4fARB, glProgramEnvParameter4fARB, NULL, 466),
- NAME_FUNC_OFFSET( 7042, glProgramEnvParameter4fvARB, glProgramEnvParameter4fvARB, NULL, 467),
- NAME_FUNC_OFFSET( 7070, glProgramLocalParameter4dARB, glProgramLocalParameter4dARB, NULL, 468),
- NAME_FUNC_OFFSET( 7099, glProgramLocalParameter4dvARB, glProgramLocalParameter4dvARB, NULL, 469),
- NAME_FUNC_OFFSET( 7129, glProgramLocalParameter4fARB, glProgramLocalParameter4fARB, NULL, 470),
- NAME_FUNC_OFFSET( 7158, glProgramLocalParameter4fvARB, glProgramLocalParameter4fvARB, NULL, 471),
- NAME_FUNC_OFFSET( 7188, glProgramStringARB, glProgramStringARB, NULL, 472),
- NAME_FUNC_OFFSET( 7207, glVertexAttrib1dARB, glVertexAttrib1dARB, NULL, 473),
- NAME_FUNC_OFFSET( 7227, glVertexAttrib1dvARB, glVertexAttrib1dvARB, NULL, 474),
- NAME_FUNC_OFFSET( 7248, glVertexAttrib1fARB, glVertexAttrib1fARB, NULL, 475),
- NAME_FUNC_OFFSET( 7268, glVertexAttrib1fvARB, glVertexAttrib1fvARB, NULL, 476),
- NAME_FUNC_OFFSET( 7289, glVertexAttrib1sARB, glVertexAttrib1sARB, NULL, 477),
- NAME_FUNC_OFFSET( 7309, glVertexAttrib1svARB, glVertexAttrib1svARB, NULL, 478),
- NAME_FUNC_OFFSET( 7330, glVertexAttrib2dARB, glVertexAttrib2dARB, NULL, 479),
- NAME_FUNC_OFFSET( 7350, glVertexAttrib2dvARB, glVertexAttrib2dvARB, NULL, 480),
- NAME_FUNC_OFFSET( 7371, glVertexAttrib2fARB, glVertexAttrib2fARB, NULL, 481),
- NAME_FUNC_OFFSET( 7391, glVertexAttrib2fvARB, glVertexAttrib2fvARB, NULL, 482),
- NAME_FUNC_OFFSET( 7412, glVertexAttrib2sARB, glVertexAttrib2sARB, NULL, 483),
- NAME_FUNC_OFFSET( 7432, glVertexAttrib2svARB, glVertexAttrib2svARB, NULL, 484),
- NAME_FUNC_OFFSET( 7453, glVertexAttrib3dARB, glVertexAttrib3dARB, NULL, 485),
- NAME_FUNC_OFFSET( 7473, glVertexAttrib3dvARB, glVertexAttrib3dvARB, NULL, 486),
- NAME_FUNC_OFFSET( 7494, glVertexAttrib3fARB, glVertexAttrib3fARB, NULL, 487),
- NAME_FUNC_OFFSET( 7514, glVertexAttrib3fvARB, glVertexAttrib3fvARB, NULL, 488),
- NAME_FUNC_OFFSET( 7535, glVertexAttrib3sARB, glVertexAttrib3sARB, NULL, 489),
- NAME_FUNC_OFFSET( 7555, glVertexAttrib3svARB, glVertexAttrib3svARB, NULL, 490),
- NAME_FUNC_OFFSET( 7576, glVertexAttrib4NbvARB, glVertexAttrib4NbvARB, NULL, 491),
- NAME_FUNC_OFFSET( 7598, glVertexAttrib4NivARB, glVertexAttrib4NivARB, NULL, 492),
- NAME_FUNC_OFFSET( 7620, glVertexAttrib4NsvARB, glVertexAttrib4NsvARB, NULL, 493),
- NAME_FUNC_OFFSET( 7642, glVertexAttrib4NubARB, glVertexAttrib4NubARB, NULL, 494),
- NAME_FUNC_OFFSET( 7664, glVertexAttrib4NubvARB, glVertexAttrib4NubvARB, NULL, 495),
- NAME_FUNC_OFFSET( 7687, glVertexAttrib4NuivARB, glVertexAttrib4NuivARB, NULL, 496),
- NAME_FUNC_OFFSET( 7710, glVertexAttrib4NusvARB, glVertexAttrib4NusvARB, NULL, 497),
- NAME_FUNC_OFFSET( 7733, glVertexAttrib4bvARB, glVertexAttrib4bvARB, NULL, 498),
- NAME_FUNC_OFFSET( 7754, glVertexAttrib4dARB, glVertexAttrib4dARB, NULL, 499),
- NAME_FUNC_OFFSET( 7774, glVertexAttrib4dvARB, glVertexAttrib4dvARB, NULL, 500),
- NAME_FUNC_OFFSET( 7795, glVertexAttrib4fARB, glVertexAttrib4fARB, NULL, 501),
- NAME_FUNC_OFFSET( 7815, glVertexAttrib4fvARB, glVertexAttrib4fvARB, NULL, 502),
- NAME_FUNC_OFFSET( 7836, glVertexAttrib4ivARB, glVertexAttrib4ivARB, NULL, 503),
- NAME_FUNC_OFFSET( 7857, glVertexAttrib4sARB, glVertexAttrib4sARB, NULL, 504),
- NAME_FUNC_OFFSET( 7877, glVertexAttrib4svARB, glVertexAttrib4svARB, NULL, 505),
- NAME_FUNC_OFFSET( 7898, glVertexAttrib4ubvARB, glVertexAttrib4ubvARB, NULL, 506),
- NAME_FUNC_OFFSET( 7920, glVertexAttrib4uivARB, glVertexAttrib4uivARB, NULL, 507),
- NAME_FUNC_OFFSET( 7942, glVertexAttrib4usvARB, glVertexAttrib4usvARB, NULL, 508),
- NAME_FUNC_OFFSET( 7964, glVertexAttribPointerARB, glVertexAttribPointerARB, NULL, 509),
- NAME_FUNC_OFFSET( 7989, glBindBufferARB, glBindBufferARB, NULL, 510),
- NAME_FUNC_OFFSET( 8005, glBufferDataARB, glBufferDataARB, NULL, 511),
- NAME_FUNC_OFFSET( 8021, glBufferSubDataARB, glBufferSubDataARB, NULL, 512),
- NAME_FUNC_OFFSET( 8040, glDeleteBuffersARB, glDeleteBuffersARB, NULL, 513),
- NAME_FUNC_OFFSET( 8059, glGenBuffersARB, glGenBuffersARB, NULL, 514),
- NAME_FUNC_OFFSET( 8075, glGetBufferParameterivARB, glGetBufferParameterivARB, NULL, 515),
- NAME_FUNC_OFFSET( 8101, glGetBufferPointervARB, glGetBufferPointervARB, NULL, 516),
- NAME_FUNC_OFFSET( 8124, glGetBufferSubDataARB, glGetBufferSubDataARB, NULL, 517),
- NAME_FUNC_OFFSET( 8146, glIsBufferARB, glIsBufferARB, NULL, 518),
- NAME_FUNC_OFFSET( 8160, glMapBufferARB, glMapBufferARB, NULL, 519),
- NAME_FUNC_OFFSET( 8175, glUnmapBufferARB, glUnmapBufferARB, NULL, 520),
- NAME_FUNC_OFFSET( 8192, glBeginQueryARB, glBeginQueryARB, NULL, 521),
- NAME_FUNC_OFFSET( 8208, glDeleteQueriesARB, glDeleteQueriesARB, NULL, 522),
- NAME_FUNC_OFFSET( 8227, glEndQueryARB, glEndQueryARB, NULL, 523),
- NAME_FUNC_OFFSET( 8241, glGenQueriesARB, glGenQueriesARB, NULL, 524),
- NAME_FUNC_OFFSET( 8257, glGetQueryObjectivARB, glGetQueryObjectivARB, NULL, 525),
- NAME_FUNC_OFFSET( 8279, glGetQueryObjectuivARB, glGetQueryObjectuivARB, NULL, 526),
- NAME_FUNC_OFFSET( 8302, glGetQueryivARB, glGetQueryivARB, NULL, 527),
- NAME_FUNC_OFFSET( 8318, glIsQueryARB, glIsQueryARB, NULL, 528),
- NAME_FUNC_OFFSET( 8331, glAttachObjectARB, glAttachObjectARB, NULL, 529),
- NAME_FUNC_OFFSET( 8349, glCompileShaderARB, glCompileShaderARB, NULL, 530),
- NAME_FUNC_OFFSET( 8368, glCreateProgramObjectARB, glCreateProgramObjectARB, NULL, 531),
- NAME_FUNC_OFFSET( 8393, glCreateShaderObjectARB, glCreateShaderObjectARB, NULL, 532),
- NAME_FUNC_OFFSET( 8417, glDeleteObjectARB, glDeleteObjectARB, NULL, 533),
- NAME_FUNC_OFFSET( 8435, glDetachObjectARB, glDetachObjectARB, NULL, 534),
- NAME_FUNC_OFFSET( 8453, glGetActiveUniformARB, glGetActiveUniformARB, NULL, 535),
- NAME_FUNC_OFFSET( 8475, glGetAttachedObjectsARB, glGetAttachedObjectsARB, NULL, 536),
- NAME_FUNC_OFFSET( 8499, glGetHandleARB, glGetHandleARB, NULL, 537),
- NAME_FUNC_OFFSET( 8514, glGetInfoLogARB, glGetInfoLogARB, NULL, 538),
- NAME_FUNC_OFFSET( 8530, glGetObjectParameterfvARB, glGetObjectParameterfvARB, NULL, 539),
- NAME_FUNC_OFFSET( 8556, glGetObjectParameterivARB, glGetObjectParameterivARB, NULL, 540),
- NAME_FUNC_OFFSET( 8582, glGetShaderSourceARB, glGetShaderSourceARB, NULL, 541),
- NAME_FUNC_OFFSET( 8603, glGetUniformLocationARB, glGetUniformLocationARB, NULL, 542),
- NAME_FUNC_OFFSET( 8627, glGetUniformfvARB, glGetUniformfvARB, NULL, 543),
- NAME_FUNC_OFFSET( 8645, glGetUniformivARB, glGetUniformivARB, NULL, 544),
- NAME_FUNC_OFFSET( 8663, glLinkProgramARB, glLinkProgramARB, NULL, 545),
- NAME_FUNC_OFFSET( 8680, glShaderSourceARB, glShaderSourceARB, NULL, 546),
- NAME_FUNC_OFFSET( 8698, glUniform1fARB, glUniform1fARB, NULL, 547),
- NAME_FUNC_OFFSET( 8713, glUniform1fvARB, glUniform1fvARB, NULL, 548),
- NAME_FUNC_OFFSET( 8729, glUniform1iARB, glUniform1iARB, NULL, 549),
- NAME_FUNC_OFFSET( 8744, glUniform1ivARB, glUniform1ivARB, NULL, 550),
- NAME_FUNC_OFFSET( 8760, glUniform2fARB, glUniform2fARB, NULL, 551),
- NAME_FUNC_OFFSET( 8775, glUniform2fvARB, glUniform2fvARB, NULL, 552),
- NAME_FUNC_OFFSET( 8791, glUniform2iARB, glUniform2iARB, NULL, 553),
- NAME_FUNC_OFFSET( 8806, glUniform2ivARB, glUniform2ivARB, NULL, 554),
- NAME_FUNC_OFFSET( 8822, glUniform3fARB, glUniform3fARB, NULL, 555),
- NAME_FUNC_OFFSET( 8837, glUniform3fvARB, glUniform3fvARB, NULL, 556),
- NAME_FUNC_OFFSET( 8853, glUniform3iARB, glUniform3iARB, NULL, 557),
- NAME_FUNC_OFFSET( 8868, glUniform3ivARB, glUniform3ivARB, NULL, 558),
- NAME_FUNC_OFFSET( 8884, glUniform4fARB, glUniform4fARB, NULL, 559),
- NAME_FUNC_OFFSET( 8899, glUniform4fvARB, glUniform4fvARB, NULL, 560),
- NAME_FUNC_OFFSET( 8915, glUniform4iARB, glUniform4iARB, NULL, 561),
- NAME_FUNC_OFFSET( 8930, glUniform4ivARB, glUniform4ivARB, NULL, 562),
- NAME_FUNC_OFFSET( 8946, glUniformMatrix2fvARB, glUniformMatrix2fvARB, NULL, 563),
- NAME_FUNC_OFFSET( 8968, glUniformMatrix3fvARB, glUniformMatrix3fvARB, NULL, 564),
- NAME_FUNC_OFFSET( 8990, glUniformMatrix4fvARB, glUniformMatrix4fvARB, NULL, 565),
- NAME_FUNC_OFFSET( 9012, glUseProgramObjectARB, glUseProgramObjectARB, NULL, 566),
- NAME_FUNC_OFFSET( 9034, glValidateProgramARB, glValidateProgramARB, NULL, 567),
- NAME_FUNC_OFFSET( 9055, glBindAttribLocationARB, glBindAttribLocationARB, NULL, 568),
- NAME_FUNC_OFFSET( 9079, glGetActiveAttribARB, glGetActiveAttribARB, NULL, 569),
- NAME_FUNC_OFFSET( 9100, glGetAttribLocationARB, glGetAttribLocationARB, NULL, 570),
- NAME_FUNC_OFFSET( 9123, glDrawBuffersARB, glDrawBuffersARB, NULL, 571),
- NAME_FUNC_OFFSET( 9140, glClampColorARB, glClampColorARB, NULL, 572),
- NAME_FUNC_OFFSET( 9156, glDrawArraysInstancedARB, glDrawArraysInstancedARB, NULL, 573),
- NAME_FUNC_OFFSET( 9181, glDrawElementsInstancedARB, glDrawElementsInstancedARB, NULL, 574),
- NAME_FUNC_OFFSET( 9208, glRenderbufferStorageMultisample, glRenderbufferStorageMultisample, NULL, 575),
- NAME_FUNC_OFFSET( 9241, glFramebufferTextureARB, glFramebufferTextureARB, NULL, 576),
- NAME_FUNC_OFFSET( 9265, glFramebufferTextureFaceARB, glFramebufferTextureFaceARB, NULL, 577),
- NAME_FUNC_OFFSET( 9293, glProgramParameteriARB, glProgramParameteriARB, NULL, 578),
- NAME_FUNC_OFFSET( 9316, glVertexAttribDivisorARB, glVertexAttribDivisorARB, NULL, 579),
- NAME_FUNC_OFFSET( 9341, glFlushMappedBufferRange, glFlushMappedBufferRange, NULL, 580),
- NAME_FUNC_OFFSET( 9366, glMapBufferRange, glMapBufferRange, NULL, 581),
- NAME_FUNC_OFFSET( 9383, glTexBufferARB, glTexBufferARB, NULL, 582),
- NAME_FUNC_OFFSET( 9398, glBindVertexArray, glBindVertexArray, NULL, 583),
- NAME_FUNC_OFFSET( 9416, glGenVertexArrays, glGenVertexArrays, NULL, 584),
- NAME_FUNC_OFFSET( 9434, glCopyBufferSubData, glCopyBufferSubData, NULL, 585),
- NAME_FUNC_OFFSET( 9454, glClientWaitSync, glClientWaitSync, NULL, 586),
- NAME_FUNC_OFFSET( 9471, glDeleteSync, glDeleteSync, NULL, 587),
- NAME_FUNC_OFFSET( 9484, glFenceSync, glFenceSync, NULL, 588),
- NAME_FUNC_OFFSET( 9496, glGetInteger64v, glGetInteger64v, NULL, 589),
- NAME_FUNC_OFFSET( 9512, glGetSynciv, glGetSynciv, NULL, 590),
- NAME_FUNC_OFFSET( 9524, glIsSync, glIsSync, NULL, 591),
- NAME_FUNC_OFFSET( 9533, glWaitSync, glWaitSync, NULL, 592),
- NAME_FUNC_OFFSET( 9544, glDrawElementsBaseVertex, glDrawElementsBaseVertex, NULL, 593),
- NAME_FUNC_OFFSET( 9569, glDrawElementsInstancedBaseVertex, glDrawElementsInstancedBaseVertex, NULL, 594),
- NAME_FUNC_OFFSET( 9603, glDrawRangeElementsBaseVertex, glDrawRangeElementsBaseVertex, NULL, 595),
- NAME_FUNC_OFFSET( 9633, glMultiDrawElementsBaseVertex, glMultiDrawElementsBaseVertex, NULL, 596),
- NAME_FUNC_OFFSET( 9663, glBlendEquationSeparateiARB, glBlendEquationSeparateiARB, NULL, 597),
- NAME_FUNC_OFFSET( 9691, glBlendEquationiARB, glBlendEquationiARB, NULL, 598),
- NAME_FUNC_OFFSET( 9711, glBlendFuncSeparateiARB, glBlendFuncSeparateiARB, NULL, 599),
- NAME_FUNC_OFFSET( 9735, glBlendFunciARB, glBlendFunciARB, NULL, 600),
- NAME_FUNC_OFFSET( 9751, glBindSampler, glBindSampler, NULL, 601),
- NAME_FUNC_OFFSET( 9765, glDeleteSamplers, glDeleteSamplers, NULL, 602),
- NAME_FUNC_OFFSET( 9782, glGenSamplers, glGenSamplers, NULL, 603),
- NAME_FUNC_OFFSET( 9796, glGetSamplerParameterIiv, glGetSamplerParameterIiv, NULL, 604),
- NAME_FUNC_OFFSET( 9821, glGetSamplerParameterIuiv, glGetSamplerParameterIuiv, NULL, 605),
- NAME_FUNC_OFFSET( 9847, glGetSamplerParameterfv, glGetSamplerParameterfv, NULL, 606),
- NAME_FUNC_OFFSET( 9871, glGetSamplerParameteriv, glGetSamplerParameteriv, NULL, 607),
- NAME_FUNC_OFFSET( 9895, glIsSampler, glIsSampler, NULL, 608),
- NAME_FUNC_OFFSET( 9907, glSamplerParameterIiv, glSamplerParameterIiv, NULL, 609),
- NAME_FUNC_OFFSET( 9929, glSamplerParameterIuiv, glSamplerParameterIuiv, NULL, 610),
- NAME_FUNC_OFFSET( 9952, glSamplerParameterf, glSamplerParameterf, NULL, 611),
- NAME_FUNC_OFFSET( 9972, glSamplerParameterfv, glSamplerParameterfv, NULL, 612),
- NAME_FUNC_OFFSET( 9993, glSamplerParameteri, glSamplerParameteri, NULL, 613),
- NAME_FUNC_OFFSET(10013, glSamplerParameteriv, glSamplerParameteriv, NULL, 614),
+ NAME_FUNC_OFFSET(0, glNewList, glNewList, NULL, 0),
+ NAME_FUNC_OFFSET(10, glEndList, glEndList, NULL, 1),
+ NAME_FUNC_OFFSET(20, glCallList, glCallList, NULL, 2),
+ NAME_FUNC_OFFSET(31, glCallLists, glCallLists, NULL, 3),
+ NAME_FUNC_OFFSET(43, glDeleteLists, glDeleteLists, NULL, 4),
+ NAME_FUNC_OFFSET(57, glGenLists, glGenLists, NULL, 5),
+ NAME_FUNC_OFFSET(68, glListBase, glListBase, NULL, 6),
+ NAME_FUNC_OFFSET(79, glBegin, glBegin, NULL, 7),
+ NAME_FUNC_OFFSET(87, glBitmap, glBitmap, NULL, 8),
+ NAME_FUNC_OFFSET(96, glColor3b, glColor3b, NULL, 9),
+ NAME_FUNC_OFFSET(106, glColor3bv, glColor3bv, NULL, 10),
+ NAME_FUNC_OFFSET(117, glColor3d, glColor3d, NULL, 11),
+ NAME_FUNC_OFFSET(127, glColor3dv, glColor3dv, NULL, 12),
+ NAME_FUNC_OFFSET(138, glColor3f, glColor3f, NULL, 13),
+ NAME_FUNC_OFFSET(148, glColor3fv, glColor3fv, NULL, 14),
+ NAME_FUNC_OFFSET(159, glColor3i, glColor3i, NULL, 15),
+ NAME_FUNC_OFFSET(169, glColor3iv, glColor3iv, NULL, 16),
+ NAME_FUNC_OFFSET(180, glColor3s, glColor3s, NULL, 17),
+ NAME_FUNC_OFFSET(190, glColor3sv, glColor3sv, NULL, 18),
+ NAME_FUNC_OFFSET(201, glColor3ub, glColor3ub, NULL, 19),
+ NAME_FUNC_OFFSET(212, glColor3ubv, glColor3ubv, NULL, 20),
+ NAME_FUNC_OFFSET(224, glColor3ui, glColor3ui, NULL, 21),
+ NAME_FUNC_OFFSET(235, glColor3uiv, glColor3uiv, NULL, 22),
+ NAME_FUNC_OFFSET(247, glColor3us, glColor3us, NULL, 23),
+ NAME_FUNC_OFFSET(258, glColor3usv, glColor3usv, NULL, 24),
+ NAME_FUNC_OFFSET(270, glColor4b, glColor4b, NULL, 25),
+ NAME_FUNC_OFFSET(280, glColor4bv, glColor4bv, NULL, 26),
+ NAME_FUNC_OFFSET(291, glColor4d, glColor4d, NULL, 27),
+ NAME_FUNC_OFFSET(301, glColor4dv, glColor4dv, NULL, 28),
+ NAME_FUNC_OFFSET(312, glColor4f, glColor4f, NULL, 29),
+ NAME_FUNC_OFFSET(322, glColor4fv, glColor4fv, NULL, 30),
+ NAME_FUNC_OFFSET(333, glColor4i, glColor4i, NULL, 31),
+ NAME_FUNC_OFFSET(343, glColor4iv, glColor4iv, NULL, 32),
+ NAME_FUNC_OFFSET(354, glColor4s, glColor4s, NULL, 33),
+ NAME_FUNC_OFFSET(364, glColor4sv, glColor4sv, NULL, 34),
+ NAME_FUNC_OFFSET(375, glColor4ub, glColor4ub, NULL, 35),
+ NAME_FUNC_OFFSET(386, glColor4ubv, glColor4ubv, NULL, 36),
+ NAME_FUNC_OFFSET(398, glColor4ui, glColor4ui, NULL, 37),
+ NAME_FUNC_OFFSET(409, glColor4uiv, glColor4uiv, NULL, 38),
+ NAME_FUNC_OFFSET(421, glColor4us, glColor4us, NULL, 39),
+ NAME_FUNC_OFFSET(432, glColor4usv, glColor4usv, NULL, 40),
+ NAME_FUNC_OFFSET(444, glEdgeFlag, glEdgeFlag, NULL, 41),
+ NAME_FUNC_OFFSET(455, glEdgeFlagv, glEdgeFlagv, NULL, 42),
+ NAME_FUNC_OFFSET(467, glEnd, glEnd, NULL, 43),
+ NAME_FUNC_OFFSET(473, glIndexd, glIndexd, NULL, 44),
+ NAME_FUNC_OFFSET(482, glIndexdv, glIndexdv, NULL, 45),
+ NAME_FUNC_OFFSET(492, glIndexf, glIndexf, NULL, 46),
+ NAME_FUNC_OFFSET(501, glIndexfv, glIndexfv, NULL, 47),
+ NAME_FUNC_OFFSET(511, glIndexi, glIndexi, NULL, 48),
+ NAME_FUNC_OFFSET(520, glIndexiv, glIndexiv, NULL, 49),
+ NAME_FUNC_OFFSET(530, glIndexs, glIndexs, NULL, 50),
+ NAME_FUNC_OFFSET(539, glIndexsv, glIndexsv, NULL, 51),
+ NAME_FUNC_OFFSET(549, glNormal3b, glNormal3b, NULL, 52),
+ NAME_FUNC_OFFSET(560, glNormal3bv, glNormal3bv, NULL, 53),
+ NAME_FUNC_OFFSET(572, glNormal3d, glNormal3d, NULL, 54),
+ NAME_FUNC_OFFSET(583, glNormal3dv, glNormal3dv, NULL, 55),
+ NAME_FUNC_OFFSET(595, glNormal3f, glNormal3f, NULL, 56),
+ NAME_FUNC_OFFSET(606, glNormal3fv, glNormal3fv, NULL, 57),
+ NAME_FUNC_OFFSET(618, glNormal3i, glNormal3i, NULL, 58),
+ NAME_FUNC_OFFSET(629, glNormal3iv, glNormal3iv, NULL, 59),
+ NAME_FUNC_OFFSET(641, glNormal3s, glNormal3s, NULL, 60),
+ NAME_FUNC_OFFSET(652, glNormal3sv, glNormal3sv, NULL, 61),
+ NAME_FUNC_OFFSET(664, glRasterPos2d, glRasterPos2d, NULL, 62),
+ NAME_FUNC_OFFSET(678, glRasterPos2dv, glRasterPos2dv, NULL, 63),
+ NAME_FUNC_OFFSET(693, glRasterPos2f, glRasterPos2f, NULL, 64),
+ NAME_FUNC_OFFSET(707, glRasterPos2fv, glRasterPos2fv, NULL, 65),
+ NAME_FUNC_OFFSET(722, glRasterPos2i, glRasterPos2i, NULL, 66),
+ NAME_FUNC_OFFSET(736, glRasterPos2iv, glRasterPos2iv, NULL, 67),
+ NAME_FUNC_OFFSET(751, glRasterPos2s, glRasterPos2s, NULL, 68),
+ NAME_FUNC_OFFSET(765, glRasterPos2sv, glRasterPos2sv, NULL, 69),
+ NAME_FUNC_OFFSET(780, glRasterPos3d, glRasterPos3d, NULL, 70),
+ NAME_FUNC_OFFSET(794, glRasterPos3dv, glRasterPos3dv, NULL, 71),
+ NAME_FUNC_OFFSET(809, glRasterPos3f, glRasterPos3f, NULL, 72),
+ NAME_FUNC_OFFSET(823, glRasterPos3fv, glRasterPos3fv, NULL, 73),
+ NAME_FUNC_OFFSET(838, glRasterPos3i, glRasterPos3i, NULL, 74),
+ NAME_FUNC_OFFSET(852, glRasterPos3iv, glRasterPos3iv, NULL, 75),
+ NAME_FUNC_OFFSET(867, glRasterPos3s, glRasterPos3s, NULL, 76),
+ NAME_FUNC_OFFSET(881, glRasterPos3sv, glRasterPos3sv, NULL, 77),
+ NAME_FUNC_OFFSET(896, glRasterPos4d, glRasterPos4d, NULL, 78),
+ NAME_FUNC_OFFSET(910, glRasterPos4dv, glRasterPos4dv, NULL, 79),
+ NAME_FUNC_OFFSET(925, glRasterPos4f, glRasterPos4f, NULL, 80),
+ NAME_FUNC_OFFSET(939, glRasterPos4fv, glRasterPos4fv, NULL, 81),
+ NAME_FUNC_OFFSET(954, glRasterPos4i, glRasterPos4i, NULL, 82),
+ NAME_FUNC_OFFSET(968, glRasterPos4iv, glRasterPos4iv, NULL, 83),
+ NAME_FUNC_OFFSET(983, glRasterPos4s, glRasterPos4s, NULL, 84),
+ NAME_FUNC_OFFSET(997, glRasterPos4sv, glRasterPos4sv, NULL, 85),
+ NAME_FUNC_OFFSET(1012, glRectd, glRectd, NULL, 86),
+ NAME_FUNC_OFFSET(1020, glRectdv, glRectdv, NULL, 87),
+ NAME_FUNC_OFFSET(1029, glRectf, glRectf, NULL, 88),
+ NAME_FUNC_OFFSET(1037, glRectfv, glRectfv, NULL, 89),
+ NAME_FUNC_OFFSET(1046, glRecti, glRecti, NULL, 90),
+ NAME_FUNC_OFFSET(1054, glRectiv, glRectiv, NULL, 91),
+ NAME_FUNC_OFFSET(1063, glRects, glRects, NULL, 92),
+ NAME_FUNC_OFFSET(1071, glRectsv, glRectsv, NULL, 93),
+ NAME_FUNC_OFFSET(1080, glTexCoord1d, glTexCoord1d, NULL, 94),
+ NAME_FUNC_OFFSET(1093, glTexCoord1dv, glTexCoord1dv, NULL, 95),
+ NAME_FUNC_OFFSET(1107, glTexCoord1f, glTexCoord1f, NULL, 96),
+ NAME_FUNC_OFFSET(1120, glTexCoord1fv, glTexCoord1fv, NULL, 97),
+ NAME_FUNC_OFFSET(1134, glTexCoord1i, glTexCoord1i, NULL, 98),
+ NAME_FUNC_OFFSET(1147, glTexCoord1iv, glTexCoord1iv, NULL, 99),
+ NAME_FUNC_OFFSET(1161, glTexCoord1s, glTexCoord1s, NULL, 100),
+ NAME_FUNC_OFFSET(1174, glTexCoord1sv, glTexCoord1sv, NULL, 101),
+ NAME_FUNC_OFFSET(1188, glTexCoord2d, glTexCoord2d, NULL, 102),
+ NAME_FUNC_OFFSET(1201, glTexCoord2dv, glTexCoord2dv, NULL, 103),
+ NAME_FUNC_OFFSET(1215, glTexCoord2f, glTexCoord2f, NULL, 104),
+ NAME_FUNC_OFFSET(1228, glTexCoord2fv, glTexCoord2fv, NULL, 105),
+ NAME_FUNC_OFFSET(1242, glTexCoord2i, glTexCoord2i, NULL, 106),
+ NAME_FUNC_OFFSET(1255, glTexCoord2iv, glTexCoord2iv, NULL, 107),
+ NAME_FUNC_OFFSET(1269, glTexCoord2s, glTexCoord2s, NULL, 108),
+ NAME_FUNC_OFFSET(1282, glTexCoord2sv, glTexCoord2sv, NULL, 109),
+ NAME_FUNC_OFFSET(1296, glTexCoord3d, glTexCoord3d, NULL, 110),
+ NAME_FUNC_OFFSET(1309, glTexCoord3dv, glTexCoord3dv, NULL, 111),
+ NAME_FUNC_OFFSET(1323, glTexCoord3f, glTexCoord3f, NULL, 112),
+ NAME_FUNC_OFFSET(1336, glTexCoord3fv, glTexCoord3fv, NULL, 113),
+ NAME_FUNC_OFFSET(1350, glTexCoord3i, glTexCoord3i, NULL, 114),
+ NAME_FUNC_OFFSET(1363, glTexCoord3iv, glTexCoord3iv, NULL, 115),
+ NAME_FUNC_OFFSET(1377, glTexCoord3s, glTexCoord3s, NULL, 116),
+ NAME_FUNC_OFFSET(1390, glTexCoord3sv, glTexCoord3sv, NULL, 117),
+ NAME_FUNC_OFFSET(1404, glTexCoord4d, glTexCoord4d, NULL, 118),
+ NAME_FUNC_OFFSET(1417, glTexCoord4dv, glTexCoord4dv, NULL, 119),
+ NAME_FUNC_OFFSET(1431, glTexCoord4f, glTexCoord4f, NULL, 120),
+ NAME_FUNC_OFFSET(1444, glTexCoord4fv, glTexCoord4fv, NULL, 121),
+ NAME_FUNC_OFFSET(1458, glTexCoord4i, glTexCoord4i, NULL, 122),
+ NAME_FUNC_OFFSET(1471, glTexCoord4iv, glTexCoord4iv, NULL, 123),
+ NAME_FUNC_OFFSET(1485, glTexCoord4s, glTexCoord4s, NULL, 124),
+ NAME_FUNC_OFFSET(1498, glTexCoord4sv, glTexCoord4sv, NULL, 125),
+ NAME_FUNC_OFFSET(1512, glVertex2d, glVertex2d, NULL, 126),
+ NAME_FUNC_OFFSET(1523, glVertex2dv, glVertex2dv, NULL, 127),
+ NAME_FUNC_OFFSET(1535, glVertex2f, glVertex2f, NULL, 128),
+ NAME_FUNC_OFFSET(1546, glVertex2fv, glVertex2fv, NULL, 129),
+ NAME_FUNC_OFFSET(1558, glVertex2i, glVertex2i, NULL, 130),
+ NAME_FUNC_OFFSET(1569, glVertex2iv, glVertex2iv, NULL, 131),
+ NAME_FUNC_OFFSET(1581, glVertex2s, glVertex2s, NULL, 132),
+ NAME_FUNC_OFFSET(1592, glVertex2sv, glVertex2sv, NULL, 133),
+ NAME_FUNC_OFFSET(1604, glVertex3d, glVertex3d, NULL, 134),
+ NAME_FUNC_OFFSET(1615, glVertex3dv, glVertex3dv, NULL, 135),
+ NAME_FUNC_OFFSET(1627, glVertex3f, glVertex3f, NULL, 136),
+ NAME_FUNC_OFFSET(1638, glVertex3fv, glVertex3fv, NULL, 137),
+ NAME_FUNC_OFFSET(1650, glVertex3i, glVertex3i, NULL, 138),
+ NAME_FUNC_OFFSET(1661, glVertex3iv, glVertex3iv, NULL, 139),
+ NAME_FUNC_OFFSET(1673, glVertex3s, glVertex3s, NULL, 140),
+ NAME_FUNC_OFFSET(1684, glVertex3sv, glVertex3sv, NULL, 141),
+ NAME_FUNC_OFFSET(1696, glVertex4d, glVertex4d, NULL, 142),
+ NAME_FUNC_OFFSET(1707, glVertex4dv, glVertex4dv, NULL, 143),
+ NAME_FUNC_OFFSET(1719, glVertex4f, glVertex4f, NULL, 144),
+ NAME_FUNC_OFFSET(1730, glVertex4fv, glVertex4fv, NULL, 145),
+ NAME_FUNC_OFFSET(1742, glVertex4i, glVertex4i, NULL, 146),
+ NAME_FUNC_OFFSET(1753, glVertex4iv, glVertex4iv, NULL, 147),
+ NAME_FUNC_OFFSET(1765, glVertex4s, glVertex4s, NULL, 148),
+ NAME_FUNC_OFFSET(1776, glVertex4sv, glVertex4sv, NULL, 149),
+ NAME_FUNC_OFFSET(1788, glClipPlane, glClipPlane, NULL, 150),
+ NAME_FUNC_OFFSET(1800, glColorMaterial, glColorMaterial, NULL, 151),
+ NAME_FUNC_OFFSET(1816, glCullFace, glCullFace, NULL, 152),
+ NAME_FUNC_OFFSET(1827, glFogf, glFogf, NULL, 153),
+ NAME_FUNC_OFFSET(1834, glFogfv, glFogfv, NULL, 154),
+ NAME_FUNC_OFFSET(1842, glFogi, glFogi, NULL, 155),
+ NAME_FUNC_OFFSET(1849, glFogiv, glFogiv, NULL, 156),
+ NAME_FUNC_OFFSET(1857, glFrontFace, glFrontFace, NULL, 157),
+ NAME_FUNC_OFFSET(1869, glHint, glHint, NULL, 158),
+ NAME_FUNC_OFFSET(1876, glLightf, glLightf, NULL, 159),
+ NAME_FUNC_OFFSET(1885, glLightfv, glLightfv, NULL, 160),
+ NAME_FUNC_OFFSET(1895, glLighti, glLighti, NULL, 161),
+ NAME_FUNC_OFFSET(1904, glLightiv, glLightiv, NULL, 162),
+ NAME_FUNC_OFFSET(1914, glLightModelf, glLightModelf, NULL, 163),
+ NAME_FUNC_OFFSET(1928, glLightModelfv, glLightModelfv, NULL, 164),
+ NAME_FUNC_OFFSET(1943, glLightModeli, glLightModeli, NULL, 165),
+ NAME_FUNC_OFFSET(1957, glLightModeliv, glLightModeliv, NULL, 166),
+ NAME_FUNC_OFFSET(1972, glLineStipple, glLineStipple, NULL, 167),
+ NAME_FUNC_OFFSET(1986, glLineWidth, glLineWidth, NULL, 168),
+ NAME_FUNC_OFFSET(1998, glMaterialf, glMaterialf, NULL, 169),
+ NAME_FUNC_OFFSET(2010, glMaterialfv, glMaterialfv, NULL, 170),
+ NAME_FUNC_OFFSET(2023, glMateriali, glMateriali, NULL, 171),
+ NAME_FUNC_OFFSET(2035, glMaterialiv, glMaterialiv, NULL, 172),
+ NAME_FUNC_OFFSET(2048, glPointSize, glPointSize, NULL, 173),
+ NAME_FUNC_OFFSET(2060, glPolygonMode, glPolygonMode, NULL, 174),
+ NAME_FUNC_OFFSET(2074, glPolygonStipple, glPolygonStipple, NULL, 175),
+ NAME_FUNC_OFFSET(2091, glScissor, glScissor, NULL, 176),
+ NAME_FUNC_OFFSET(2101, glShadeModel, glShadeModel, NULL, 177),
+ NAME_FUNC_OFFSET(2114, glTexParameterf, glTexParameterf, NULL, 178),
+ NAME_FUNC_OFFSET(2130, glTexParameterfv, glTexParameterfv, NULL, 179),
+ NAME_FUNC_OFFSET(2147, glTexParameteri, glTexParameteri, NULL, 180),
+ NAME_FUNC_OFFSET(2163, glTexParameteriv, glTexParameteriv, NULL, 181),
+ NAME_FUNC_OFFSET(2180, glTexImage1D, glTexImage1D, NULL, 182),
+ NAME_FUNC_OFFSET(2193, glTexImage2D, glTexImage2D, NULL, 183),
+ NAME_FUNC_OFFSET(2206, glTexEnvf, glTexEnvf, NULL, 184),
+ NAME_FUNC_OFFSET(2216, glTexEnvfv, glTexEnvfv, NULL, 185),
+ NAME_FUNC_OFFSET(2227, glTexEnvi, glTexEnvi, NULL, 186),
+ NAME_FUNC_OFFSET(2237, glTexEnviv, glTexEnviv, NULL, 187),
+ NAME_FUNC_OFFSET(2248, glTexGend, glTexGend, NULL, 188),
+ NAME_FUNC_OFFSET(2258, glTexGendv, glTexGendv, NULL, 189),
+ NAME_FUNC_OFFSET(2269, glTexGenf, glTexGenf, NULL, 190),
+ NAME_FUNC_OFFSET(2279, glTexGenfv, glTexGenfv, NULL, 191),
+ NAME_FUNC_OFFSET(2290, glTexGeni, glTexGeni, NULL, 192),
+ NAME_FUNC_OFFSET(2300, glTexGeniv, glTexGeniv, NULL, 193),
+ NAME_FUNC_OFFSET(2311, glFeedbackBuffer, glFeedbackBuffer, NULL, 194),
+ NAME_FUNC_OFFSET(2328, glSelectBuffer, glSelectBuffer, NULL, 195),
+ NAME_FUNC_OFFSET(2343, glRenderMode, glRenderMode, NULL, 196),
+ NAME_FUNC_OFFSET(2356, glInitNames, glInitNames, NULL, 197),
+ NAME_FUNC_OFFSET(2368, glLoadName, glLoadName, NULL, 198),
+ NAME_FUNC_OFFSET(2379, glPassThrough, glPassThrough, NULL, 199),
+ NAME_FUNC_OFFSET(2393, glPopName, glPopName, NULL, 200),
+ NAME_FUNC_OFFSET(2403, glPushName, glPushName, NULL, 201),
+ NAME_FUNC_OFFSET(2414, glDrawBuffer, glDrawBuffer, NULL, 202),
+ NAME_FUNC_OFFSET(2427, glClear, glClear, NULL, 203),
+ NAME_FUNC_OFFSET(2435, glClearAccum, glClearAccum, NULL, 204),
+ NAME_FUNC_OFFSET(2448, glClearIndex, glClearIndex, NULL, 205),
+ NAME_FUNC_OFFSET(2461, glClearColor, glClearColor, NULL, 206),
+ NAME_FUNC_OFFSET(2474, glClearStencil, glClearStencil, NULL, 207),
+ NAME_FUNC_OFFSET(2489, glClearDepth, glClearDepth, NULL, 208),
+ NAME_FUNC_OFFSET(2502, glStencilMask, glStencilMask, NULL, 209),
+ NAME_FUNC_OFFSET(2516, glColorMask, glColorMask, NULL, 210),
+ NAME_FUNC_OFFSET(2528, glDepthMask, glDepthMask, NULL, 211),
+ NAME_FUNC_OFFSET(2540, glIndexMask, glIndexMask, NULL, 212),
+ NAME_FUNC_OFFSET(2552, glAccum, glAccum, NULL, 213),
+ NAME_FUNC_OFFSET(2560, glDisable, glDisable, NULL, 214),
+ NAME_FUNC_OFFSET(2570, glEnable, glEnable, NULL, 215),
+ NAME_FUNC_OFFSET(2579, glFinish, glFinish, NULL, 216),
+ NAME_FUNC_OFFSET(2588, glFlush, glFlush, NULL, 217),
+ NAME_FUNC_OFFSET(2596, glPopAttrib, glPopAttrib, NULL, 218),
+ NAME_FUNC_OFFSET(2608, glPushAttrib, glPushAttrib, NULL, 219),
+ NAME_FUNC_OFFSET(2621, glMap1d, glMap1d, NULL, 220),
+ NAME_FUNC_OFFSET(2629, glMap1f, glMap1f, NULL, 221),
+ NAME_FUNC_OFFSET(2637, glMap2d, glMap2d, NULL, 222),
+ NAME_FUNC_OFFSET(2645, glMap2f, glMap2f, NULL, 223),
+ NAME_FUNC_OFFSET(2653, glMapGrid1d, glMapGrid1d, NULL, 224),
+ NAME_FUNC_OFFSET(2665, glMapGrid1f, glMapGrid1f, NULL, 225),
+ NAME_FUNC_OFFSET(2677, glMapGrid2d, glMapGrid2d, NULL, 226),
+ NAME_FUNC_OFFSET(2689, glMapGrid2f, glMapGrid2f, NULL, 227),
+ NAME_FUNC_OFFSET(2701, glEvalCoord1d, glEvalCoord1d, NULL, 228),
+ NAME_FUNC_OFFSET(2715, glEvalCoord1dv, glEvalCoord1dv, NULL, 229),
+ NAME_FUNC_OFFSET(2730, glEvalCoord1f, glEvalCoord1f, NULL, 230),
+ NAME_FUNC_OFFSET(2744, glEvalCoord1fv, glEvalCoord1fv, NULL, 231),
+ NAME_FUNC_OFFSET(2759, glEvalCoord2d, glEvalCoord2d, NULL, 232),
+ NAME_FUNC_OFFSET(2773, glEvalCoord2dv, glEvalCoord2dv, NULL, 233),
+ NAME_FUNC_OFFSET(2788, glEvalCoord2f, glEvalCoord2f, NULL, 234),
+ NAME_FUNC_OFFSET(2802, glEvalCoord2fv, glEvalCoord2fv, NULL, 235),
+ NAME_FUNC_OFFSET(2817, glEvalMesh1, glEvalMesh1, NULL, 236),
+ NAME_FUNC_OFFSET(2829, glEvalPoint1, glEvalPoint1, NULL, 237),
+ NAME_FUNC_OFFSET(2842, glEvalMesh2, glEvalMesh2, NULL, 238),
+ NAME_FUNC_OFFSET(2854, glEvalPoint2, glEvalPoint2, NULL, 239),
+ NAME_FUNC_OFFSET(2867, glAlphaFunc, glAlphaFunc, NULL, 240),
+ NAME_FUNC_OFFSET(2879, glBlendFunc, glBlendFunc, NULL, 241),
+ NAME_FUNC_OFFSET(2891, glLogicOp, glLogicOp, NULL, 242),
+ NAME_FUNC_OFFSET(2901, glStencilFunc, glStencilFunc, NULL, 243),
+ NAME_FUNC_OFFSET(2915, glStencilOp, glStencilOp, NULL, 244),
+ NAME_FUNC_OFFSET(2927, glDepthFunc, glDepthFunc, NULL, 245),
+ NAME_FUNC_OFFSET(2939, glPixelZoom, glPixelZoom, NULL, 246),
+ NAME_FUNC_OFFSET(2951, glPixelTransferf, glPixelTransferf, NULL, 247),
+ NAME_FUNC_OFFSET(2968, glPixelTransferi, glPixelTransferi, NULL, 248),
+ NAME_FUNC_OFFSET(2985, glPixelStoref, glPixelStoref, NULL, 249),
+ NAME_FUNC_OFFSET(2999, glPixelStorei, glPixelStorei, NULL, 250),
+ NAME_FUNC_OFFSET(3013, glPixelMapfv, glPixelMapfv, NULL, 251),
+ NAME_FUNC_OFFSET(3026, glPixelMapuiv, glPixelMapuiv, NULL, 252),
+ NAME_FUNC_OFFSET(3040, glPixelMapusv, glPixelMapusv, NULL, 253),
+ NAME_FUNC_OFFSET(3054, glReadBuffer, glReadBuffer, NULL, 254),
+ NAME_FUNC_OFFSET(3067, glCopyPixels, glCopyPixels, NULL, 255),
+ NAME_FUNC_OFFSET(3080, glReadPixels, glReadPixels, NULL, 256),
+ NAME_FUNC_OFFSET(3093, glDrawPixels, glDrawPixels, NULL, 257),
+ NAME_FUNC_OFFSET(3106, glGetBooleanv, glGetBooleanv, NULL, 258),
+ NAME_FUNC_OFFSET(3120, glGetClipPlane, glGetClipPlane, NULL, 259),
+ NAME_FUNC_OFFSET(3135, glGetDoublev, glGetDoublev, NULL, 260),
+ NAME_FUNC_OFFSET(3148, glGetError, glGetError, NULL, 261),
+ NAME_FUNC_OFFSET(3159, glGetFloatv, glGetFloatv, NULL, 262),
+ NAME_FUNC_OFFSET(3171, glGetIntegerv, glGetIntegerv, NULL, 263),
+ NAME_FUNC_OFFSET(3185, glGetLightfv, glGetLightfv, NULL, 264),
+ NAME_FUNC_OFFSET(3198, glGetLightiv, glGetLightiv, NULL, 265),
+ NAME_FUNC_OFFSET(3211, glGetMapdv, glGetMapdv, NULL, 266),
+ NAME_FUNC_OFFSET(3222, glGetMapfv, glGetMapfv, NULL, 267),
+ NAME_FUNC_OFFSET(3233, glGetMapiv, glGetMapiv, NULL, 268),
+ NAME_FUNC_OFFSET(3244, glGetMaterialfv, glGetMaterialfv, NULL, 269),
+ NAME_FUNC_OFFSET(3260, glGetMaterialiv, glGetMaterialiv, NULL, 270),
+ NAME_FUNC_OFFSET(3276, glGetPixelMapfv, glGetPixelMapfv, NULL, 271),
+ NAME_FUNC_OFFSET(3292, glGetPixelMapuiv, glGetPixelMapuiv, NULL, 272),
+ NAME_FUNC_OFFSET(3309, glGetPixelMapusv, glGetPixelMapusv, NULL, 273),
+ NAME_FUNC_OFFSET(3326, glGetPolygonStipple, glGetPolygonStipple, NULL, 274),
+ NAME_FUNC_OFFSET(3346, glGetString, glGetString, NULL, 275),
+ NAME_FUNC_OFFSET(3358, glGetTexEnvfv, glGetTexEnvfv, NULL, 276),
+ NAME_FUNC_OFFSET(3372, glGetTexEnviv, glGetTexEnviv, NULL, 277),
+ NAME_FUNC_OFFSET(3386, glGetTexGendv, glGetTexGendv, NULL, 278),
+ NAME_FUNC_OFFSET(3400, glGetTexGenfv, glGetTexGenfv, NULL, 279),
+ NAME_FUNC_OFFSET(3414, glGetTexGeniv, glGetTexGeniv, NULL, 280),
+ NAME_FUNC_OFFSET(3428, glGetTexImage, glGetTexImage, NULL, 281),
+ NAME_FUNC_OFFSET(3442, glGetTexParameterfv, glGetTexParameterfv, NULL, 282),
+ NAME_FUNC_OFFSET(3462, glGetTexParameteriv, glGetTexParameteriv, NULL, 283),
+ NAME_FUNC_OFFSET(3482, glGetTexLevelParameterfv, glGetTexLevelParameterfv,
+ NULL, 284),
+ NAME_FUNC_OFFSET(3507, glGetTexLevelParameteriv, glGetTexLevelParameteriv,
+ NULL, 285),
+ NAME_FUNC_OFFSET(3532, glIsEnabled, glIsEnabled, NULL, 286),
+ NAME_FUNC_OFFSET(3544, glIsList, glIsList, NULL, 287),
+ NAME_FUNC_OFFSET(3553, glDepthRange, glDepthRange, NULL, 288),
+ NAME_FUNC_OFFSET(3566, glFrustum, glFrustum, NULL, 289),
+ NAME_FUNC_OFFSET(3576, glLoadIdentity, glLoadIdentity, NULL, 290),
+ NAME_FUNC_OFFSET(3591, glLoadMatrixf, glLoadMatrixf, NULL, 291),
+ NAME_FUNC_OFFSET(3605, glLoadMatrixd, glLoadMatrixd, NULL, 292),
+ NAME_FUNC_OFFSET(3619, glMatrixMode, glMatrixMode, NULL, 293),
+ NAME_FUNC_OFFSET(3632, glMultMatrixf, glMultMatrixf, NULL, 294),
+ NAME_FUNC_OFFSET(3646, glMultMatrixd, glMultMatrixd, NULL, 295),
+ NAME_FUNC_OFFSET(3660, glOrtho, glOrtho, NULL, 296),
+ NAME_FUNC_OFFSET(3668, glPopMatrix, glPopMatrix, NULL, 297),
+ NAME_FUNC_OFFSET(3680, glPushMatrix, glPushMatrix, NULL, 298),
+ NAME_FUNC_OFFSET(3693, glRotated, glRotated, NULL, 299),
+ NAME_FUNC_OFFSET(3703, glRotatef, glRotatef, NULL, 300),
+ NAME_FUNC_OFFSET(3713, glScaled, glScaled, NULL, 301),
+ NAME_FUNC_OFFSET(3722, glScalef, glScalef, NULL, 302),
+ NAME_FUNC_OFFSET(3731, glTranslated, glTranslated, NULL, 303),
+ NAME_FUNC_OFFSET(3744, glTranslatef, glTranslatef, NULL, 304),
+ NAME_FUNC_OFFSET(3757, glViewport, glViewport, NULL, 305),
+ NAME_FUNC_OFFSET(3768, glArrayElement, glArrayElement, NULL, 306),
+ NAME_FUNC_OFFSET(3783, glBindTexture, glBindTexture, NULL, 307),
+ NAME_FUNC_OFFSET(3797, glColorPointer, glColorPointer, NULL, 308),
+ NAME_FUNC_OFFSET(3812, glDisableClientState, glDisableClientState, NULL,
+ 309),
+ NAME_FUNC_OFFSET(3833, glDrawArrays, glDrawArrays, NULL, 310),
+ NAME_FUNC_OFFSET(3846, glDrawElements, glDrawElements, NULL, 311),
+ NAME_FUNC_OFFSET(3861, glEdgeFlagPointer, glEdgeFlagPointer, NULL, 312),
+ NAME_FUNC_OFFSET(3879, glEnableClientState, glEnableClientState, NULL, 313),
+ NAME_FUNC_OFFSET(3899, glIndexPointer, glIndexPointer, NULL, 314),
+ NAME_FUNC_OFFSET(3914, glIndexub, glIndexub, NULL, 315),
+ NAME_FUNC_OFFSET(3924, glIndexubv, glIndexubv, NULL, 316),
+ NAME_FUNC_OFFSET(3935, glInterleavedArrays, glInterleavedArrays, NULL, 317),
+ NAME_FUNC_OFFSET(3955, glNormalPointer, glNormalPointer, NULL, 318),
+ NAME_FUNC_OFFSET(3971, glPolygonOffset, glPolygonOffset, NULL, 319),
+ NAME_FUNC_OFFSET(3987, glTexCoordPointer, glTexCoordPointer, NULL, 320),
+ NAME_FUNC_OFFSET(4005, glVertexPointer, glVertexPointer, NULL, 321),
+ NAME_FUNC_OFFSET(4021, glAreTexturesResident, glAreTexturesResident, NULL,
+ 322),
+ NAME_FUNC_OFFSET(4043, glCopyTexImage1D, glCopyTexImage1D, NULL, 323),
+ NAME_FUNC_OFFSET(4060, glCopyTexImage2D, glCopyTexImage2D, NULL, 324),
+ NAME_FUNC_OFFSET(4077, glCopyTexSubImage1D, glCopyTexSubImage1D, NULL, 325),
+ NAME_FUNC_OFFSET(4097, glCopyTexSubImage2D, glCopyTexSubImage2D, NULL, 326),
+ NAME_FUNC_OFFSET(4117, glDeleteTextures, glDeleteTextures, NULL, 327),
+ NAME_FUNC_OFFSET(4134, glGenTextures, glGenTextures, NULL, 328),
+ NAME_FUNC_OFFSET(4148, glGetPointerv, glGetPointerv, NULL, 329),
+ NAME_FUNC_OFFSET(4162, glIsTexture, glIsTexture, NULL, 330),
+ NAME_FUNC_OFFSET(4174, glPrioritizeTextures, glPrioritizeTextures, NULL,
+ 331),
+ NAME_FUNC_OFFSET(4195, glTexSubImage1D, glTexSubImage1D, NULL, 332),
+ NAME_FUNC_OFFSET(4211, glTexSubImage2D, glTexSubImage2D, NULL, 333),
+ NAME_FUNC_OFFSET(4227, glPopClientAttrib, glPopClientAttrib, NULL, 334),
+ NAME_FUNC_OFFSET(4245, glPushClientAttrib, glPushClientAttrib, NULL, 335),
+ NAME_FUNC_OFFSET(4264, glBlendColor, glBlendColor, NULL, 336),
+ NAME_FUNC_OFFSET(4277, glBlendEquation, glBlendEquation, NULL, 337),
+ NAME_FUNC_OFFSET(4293, glDrawRangeElements, glDrawRangeElements, NULL, 338),
+ NAME_FUNC_OFFSET(4313, glColorTable, glColorTable, NULL, 339),
+ NAME_FUNC_OFFSET(4326, glColorTableParameterfv, glColorTableParameterfv,
+ NULL, 340),
+ NAME_FUNC_OFFSET(4350, glColorTableParameteriv, glColorTableParameteriv,
+ NULL, 341),
+ NAME_FUNC_OFFSET(4374, glCopyColorTable, glCopyColorTable, NULL, 342),
+ NAME_FUNC_OFFSET(4391, glGetColorTable, glGetColorTable, NULL, 343),
+ NAME_FUNC_OFFSET(4407, glGetColorTableParameterfv,
+ glGetColorTableParameterfv, NULL, 344),
+ NAME_FUNC_OFFSET(4434, glGetColorTableParameteriv,
+ glGetColorTableParameteriv, NULL, 345),
+ NAME_FUNC_OFFSET(4461, glColorSubTable, glColorSubTable, NULL, 346),
+ NAME_FUNC_OFFSET(4477, glCopyColorSubTable, glCopyColorSubTable, NULL, 347),
+ NAME_FUNC_OFFSET(4497, glConvolutionFilter1D, glConvolutionFilter1D, NULL,
+ 348),
+ NAME_FUNC_OFFSET(4519, glConvolutionFilter2D, glConvolutionFilter2D, NULL,
+ 349),
+ NAME_FUNC_OFFSET(4541, glConvolutionParameterf, glConvolutionParameterf,
+ NULL, 350),
+ NAME_FUNC_OFFSET(4565, glConvolutionParameterfv, glConvolutionParameterfv,
+ NULL, 351),
+ NAME_FUNC_OFFSET(4590, glConvolutionParameteri, glConvolutionParameteri,
+ NULL, 352),
+ NAME_FUNC_OFFSET(4614, glConvolutionParameteriv, glConvolutionParameteriv,
+ NULL, 353),
+ NAME_FUNC_OFFSET(4639, glCopyConvolutionFilter1D, glCopyConvolutionFilter1D,
+ NULL, 354),
+ NAME_FUNC_OFFSET(4665, glCopyConvolutionFilter2D, glCopyConvolutionFilter2D,
+ NULL, 355),
+ NAME_FUNC_OFFSET(4691, glGetConvolutionFilter, glGetConvolutionFilter, NULL,
+ 356),
+ NAME_FUNC_OFFSET(4714, glGetConvolutionParameterfv,
+ glGetConvolutionParameterfv, NULL, 357),
+ NAME_FUNC_OFFSET(4742, glGetConvolutionParameteriv,
+ glGetConvolutionParameteriv, NULL, 358),
+ NAME_FUNC_OFFSET(4770, glGetSeparableFilter, glGetSeparableFilter, NULL,
+ 359),
+ NAME_FUNC_OFFSET(4791, glSeparableFilter2D, glSeparableFilter2D, NULL, 360),
+ NAME_FUNC_OFFSET(4811, glGetHistogram, glGetHistogram, NULL, 361),
+ NAME_FUNC_OFFSET(4826, glGetHistogramParameterfv, glGetHistogramParameterfv,
+ NULL, 362),
+ NAME_FUNC_OFFSET(4852, glGetHistogramParameteriv, glGetHistogramParameteriv,
+ NULL, 363),
+ NAME_FUNC_OFFSET(4878, glGetMinmax, glGetMinmax, NULL, 364),
+ NAME_FUNC_OFFSET(4890, glGetMinmaxParameterfv, glGetMinmaxParameterfv, NULL,
+ 365),
+ NAME_FUNC_OFFSET(4913, glGetMinmaxParameteriv, glGetMinmaxParameteriv, NULL,
+ 366),
+ NAME_FUNC_OFFSET(4936, glHistogram, glHistogram, NULL, 367),
+ NAME_FUNC_OFFSET(4948, glMinmax, glMinmax, NULL, 368),
+ NAME_FUNC_OFFSET(4957, glResetHistogram, glResetHistogram, NULL, 369),
+ NAME_FUNC_OFFSET(4974, glResetMinmax, glResetMinmax, NULL, 370),
+ NAME_FUNC_OFFSET(4988, glTexImage3D, glTexImage3D, NULL, 371),
+ NAME_FUNC_OFFSET(5001, glTexSubImage3D, glTexSubImage3D, NULL, 372),
+ NAME_FUNC_OFFSET(5017, glCopyTexSubImage3D, glCopyTexSubImage3D, NULL, 373),
+ NAME_FUNC_OFFSET(5037, glActiveTextureARB, glActiveTextureARB, NULL, 374),
+ NAME_FUNC_OFFSET(5056, glClientActiveTextureARB, glClientActiveTextureARB,
+ NULL, 375),
+ NAME_FUNC_OFFSET(5081, glMultiTexCoord1dARB, glMultiTexCoord1dARB, NULL,
+ 376),
+ NAME_FUNC_OFFSET(5102, glMultiTexCoord1dvARB, glMultiTexCoord1dvARB, NULL,
+ 377),
+ NAME_FUNC_OFFSET(5124, glMultiTexCoord1fARB, glMultiTexCoord1fARB, NULL,
+ 378),
+ NAME_FUNC_OFFSET(5145, glMultiTexCoord1fvARB, glMultiTexCoord1fvARB, NULL,
+ 379),
+ NAME_FUNC_OFFSET(5167, glMultiTexCoord1iARB, glMultiTexCoord1iARB, NULL,
+ 380),
+ NAME_FUNC_OFFSET(5188, glMultiTexCoord1ivARB, glMultiTexCoord1ivARB, NULL,
+ 381),
+ NAME_FUNC_OFFSET(5210, glMultiTexCoord1sARB, glMultiTexCoord1sARB, NULL,
+ 382),
+ NAME_FUNC_OFFSET(5231, glMultiTexCoord1svARB, glMultiTexCoord1svARB, NULL,
+ 383),
+ NAME_FUNC_OFFSET(5253, glMultiTexCoord2dARB, glMultiTexCoord2dARB, NULL,
+ 384),
+ NAME_FUNC_OFFSET(5274, glMultiTexCoord2dvARB, glMultiTexCoord2dvARB, NULL,
+ 385),
+ NAME_FUNC_OFFSET(5296, glMultiTexCoord2fARB, glMultiTexCoord2fARB, NULL,
+ 386),
+ NAME_FUNC_OFFSET(5317, glMultiTexCoord2fvARB, glMultiTexCoord2fvARB, NULL,
+ 387),
+ NAME_FUNC_OFFSET(5339, glMultiTexCoord2iARB, glMultiTexCoord2iARB, NULL,
+ 388),
+ NAME_FUNC_OFFSET(5360, glMultiTexCoord2ivARB, glMultiTexCoord2ivARB, NULL,
+ 389),
+ NAME_FUNC_OFFSET(5382, glMultiTexCoord2sARB, glMultiTexCoord2sARB, NULL,
+ 390),
+ NAME_FUNC_OFFSET(5403, glMultiTexCoord2svARB, glMultiTexCoord2svARB, NULL,
+ 391),
+ NAME_FUNC_OFFSET(5425, glMultiTexCoord3dARB, glMultiTexCoord3dARB, NULL,
+ 392),
+ NAME_FUNC_OFFSET(5446, glMultiTexCoord3dvARB, glMultiTexCoord3dvARB, NULL,
+ 393),
+ NAME_FUNC_OFFSET(5468, glMultiTexCoord3fARB, glMultiTexCoord3fARB, NULL,
+ 394),
+ NAME_FUNC_OFFSET(5489, glMultiTexCoord3fvARB, glMultiTexCoord3fvARB, NULL,
+ 395),
+ NAME_FUNC_OFFSET(5511, glMultiTexCoord3iARB, glMultiTexCoord3iARB, NULL,
+ 396),
+ NAME_FUNC_OFFSET(5532, glMultiTexCoord3ivARB, glMultiTexCoord3ivARB, NULL,
+ 397),
+ NAME_FUNC_OFFSET(5554, glMultiTexCoord3sARB, glMultiTexCoord3sARB, NULL,
+ 398),
+ NAME_FUNC_OFFSET(5575, glMultiTexCoord3svARB, glMultiTexCoord3svARB, NULL,
+ 399),
+ NAME_FUNC_OFFSET(5597, glMultiTexCoord4dARB, glMultiTexCoord4dARB, NULL,
+ 400),
+ NAME_FUNC_OFFSET(5618, glMultiTexCoord4dvARB, glMultiTexCoord4dvARB, NULL,
+ 401),
+ NAME_FUNC_OFFSET(5640, glMultiTexCoord4fARB, glMultiTexCoord4fARB, NULL,
+ 402),
+ NAME_FUNC_OFFSET(5661, glMultiTexCoord4fvARB, glMultiTexCoord4fvARB, NULL,
+ 403),
+ NAME_FUNC_OFFSET(5683, glMultiTexCoord4iARB, glMultiTexCoord4iARB, NULL,
+ 404),
+ NAME_FUNC_OFFSET(5704, glMultiTexCoord4ivARB, glMultiTexCoord4ivARB, NULL,
+ 405),
+ NAME_FUNC_OFFSET(5726, glMultiTexCoord4sARB, glMultiTexCoord4sARB, NULL,
+ 406),
+ NAME_FUNC_OFFSET(5747, glMultiTexCoord4svARB, glMultiTexCoord4svARB, NULL,
+ 407),
+ NAME_FUNC_OFFSET(5769, glAttachShader, glAttachShader, NULL, 408),
+ NAME_FUNC_OFFSET(5784, glCreateProgram, glCreateProgram, NULL, 409),
+ NAME_FUNC_OFFSET(5800, glCreateShader, glCreateShader, NULL, 410),
+ NAME_FUNC_OFFSET(5815, glDeleteProgram, glDeleteProgram, NULL, 411),
+ NAME_FUNC_OFFSET(5831, glDeleteShader, glDeleteShader, NULL, 412),
+ NAME_FUNC_OFFSET(5846, glDetachShader, glDetachShader, NULL, 413),
+ NAME_FUNC_OFFSET(5861, glGetAttachedShaders, glGetAttachedShaders, NULL,
+ 414),
+ NAME_FUNC_OFFSET(5882, glGetProgramInfoLog, glGetProgramInfoLog, NULL, 415),
+ NAME_FUNC_OFFSET(5902, glGetProgramiv, glGetProgramiv, NULL, 416),
+ NAME_FUNC_OFFSET(5917, glGetShaderInfoLog, glGetShaderInfoLog, NULL, 417),
+ NAME_FUNC_OFFSET(5936, glGetShaderiv, glGetShaderiv, NULL, 418),
+ NAME_FUNC_OFFSET(5950, glIsProgram, glIsProgram, NULL, 419),
+ NAME_FUNC_OFFSET(5962, glIsShader, glIsShader, NULL, 420),
+ NAME_FUNC_OFFSET(5973, glStencilFuncSeparate, glStencilFuncSeparate, NULL,
+ 421),
+ NAME_FUNC_OFFSET(5995, glStencilMaskSeparate, glStencilMaskSeparate, NULL,
+ 422),
+ NAME_FUNC_OFFSET(6017, glStencilOpSeparate, glStencilOpSeparate, NULL, 423),
+ NAME_FUNC_OFFSET(6037, glUniformMatrix2x3fv, glUniformMatrix2x3fv, NULL,
+ 424),
+ NAME_FUNC_OFFSET(6058, glUniformMatrix2x4fv, glUniformMatrix2x4fv, NULL,
+ 425),
+ NAME_FUNC_OFFSET(6079, glUniformMatrix3x2fv, glUniformMatrix3x2fv, NULL,
+ 426),
+ NAME_FUNC_OFFSET(6100, glUniformMatrix3x4fv, glUniformMatrix3x4fv, NULL,
+ 427),
+ NAME_FUNC_OFFSET(6121, glUniformMatrix4x2fv, glUniformMatrix4x2fv, NULL,
+ 428),
+ NAME_FUNC_OFFSET(6142, glUniformMatrix4x3fv, glUniformMatrix4x3fv, NULL,
+ 429),
+ NAME_FUNC_OFFSET(6163, glClampColor, glClampColor, NULL, 430),
+ NAME_FUNC_OFFSET(6176, glClearBufferfi, glClearBufferfi, NULL, 431),
+ NAME_FUNC_OFFSET(6192, glClearBufferfv, glClearBufferfv, NULL, 432),
+ NAME_FUNC_OFFSET(6208, glClearBufferiv, glClearBufferiv, NULL, 433),
+ NAME_FUNC_OFFSET(6224, glClearBufferuiv, glClearBufferuiv, NULL, 434),
+ NAME_FUNC_OFFSET(6241, glGetStringi, glGetStringi, NULL, 435),
+ NAME_FUNC_OFFSET(6254, glTexBuffer, glTexBuffer, NULL, 436),
+ NAME_FUNC_OFFSET(6266, glFramebufferTexture, glFramebufferTexture, NULL,
+ 437),
+ NAME_FUNC_OFFSET(6287, glGetBufferParameteri64v, glGetBufferParameteri64v,
+ NULL, 438),
+ NAME_FUNC_OFFSET(6312, glGetInteger64i_v, glGetInteger64i_v, NULL, 439),
+ NAME_FUNC_OFFSET(6330, glVertexAttribDivisor, glVertexAttribDivisor, NULL,
+ 440),
+ NAME_FUNC_OFFSET(6352, glLoadTransposeMatrixdARB, glLoadTransposeMatrixdARB,
+ NULL, 441),
+ NAME_FUNC_OFFSET(6378, glLoadTransposeMatrixfARB, glLoadTransposeMatrixfARB,
+ NULL, 442),
+ NAME_FUNC_OFFSET(6404, glMultTransposeMatrixdARB, glMultTransposeMatrixdARB,
+ NULL, 443),
+ NAME_FUNC_OFFSET(6430, glMultTransposeMatrixfARB, glMultTransposeMatrixfARB,
+ NULL, 444),
+ NAME_FUNC_OFFSET(6456, glSampleCoverageARB, glSampleCoverageARB, NULL, 445),
+ NAME_FUNC_OFFSET(6476, glCompressedTexImage1DARB, glCompressedTexImage1DARB,
+ NULL, 446),
+ NAME_FUNC_OFFSET(6502, glCompressedTexImage2DARB, glCompressedTexImage2DARB,
+ NULL, 447),
+ NAME_FUNC_OFFSET(6528, glCompressedTexImage3DARB, glCompressedTexImage3DARB,
+ NULL, 448),
+ NAME_FUNC_OFFSET(6554, glCompressedTexSubImage1DARB,
+ glCompressedTexSubImage1DARB, NULL, 449),
+ NAME_FUNC_OFFSET(6583, glCompressedTexSubImage2DARB,
+ glCompressedTexSubImage2DARB, NULL, 450),
+ NAME_FUNC_OFFSET(6612, glCompressedTexSubImage3DARB,
+ glCompressedTexSubImage3DARB, NULL, 451),
+ NAME_FUNC_OFFSET(6641, glGetCompressedTexImageARB,
+ glGetCompressedTexImageARB, NULL, 452),
+ NAME_FUNC_OFFSET(6668, glDisableVertexAttribArrayARB,
+ glDisableVertexAttribArrayARB, NULL, 453),
+ NAME_FUNC_OFFSET(6698, glEnableVertexAttribArrayARB,
+ glEnableVertexAttribArrayARB, NULL, 454),
+ NAME_FUNC_OFFSET(6727, glGetProgramEnvParameterdvARB,
+ glGetProgramEnvParameterdvARB, NULL, 455),
+ NAME_FUNC_OFFSET(6757, glGetProgramEnvParameterfvARB,
+ glGetProgramEnvParameterfvARB, NULL, 456),
+ NAME_FUNC_OFFSET(6787, glGetProgramLocalParameterdvARB,
+ glGetProgramLocalParameterdvARB, NULL, 457),
+ NAME_FUNC_OFFSET(6819, glGetProgramLocalParameterfvARB,
+ glGetProgramLocalParameterfvARB, NULL, 458),
+ NAME_FUNC_OFFSET(6851, glGetProgramStringARB, glGetProgramStringARB, NULL,
+ 459),
+ NAME_FUNC_OFFSET(6873, glGetProgramivARB, glGetProgramivARB, NULL, 460),
+ NAME_FUNC_OFFSET(6891, glGetVertexAttribdvARB, glGetVertexAttribdvARB, NULL,
+ 461),
+ NAME_FUNC_OFFSET(6914, glGetVertexAttribfvARB, glGetVertexAttribfvARB, NULL,
+ 462),
+ NAME_FUNC_OFFSET(6937, glGetVertexAttribivARB, glGetVertexAttribivARB, NULL,
+ 463),
+ NAME_FUNC_OFFSET(6960, glProgramEnvParameter4dARB,
+ glProgramEnvParameter4dARB, NULL, 464),
+ NAME_FUNC_OFFSET(6987, glProgramEnvParameter4dvARB,
+ glProgramEnvParameter4dvARB, NULL, 465),
+ NAME_FUNC_OFFSET(7015, glProgramEnvParameter4fARB,
+ glProgramEnvParameter4fARB, NULL, 466),
+ NAME_FUNC_OFFSET(7042, glProgramEnvParameter4fvARB,
+ glProgramEnvParameter4fvARB, NULL, 467),
+ NAME_FUNC_OFFSET(7070, glProgramLocalParameter4dARB,
+ glProgramLocalParameter4dARB, NULL, 468),
+ NAME_FUNC_OFFSET(7099, glProgramLocalParameter4dvARB,
+ glProgramLocalParameter4dvARB, NULL, 469),
+ NAME_FUNC_OFFSET(7129, glProgramLocalParameter4fARB,
+ glProgramLocalParameter4fARB, NULL, 470),
+ NAME_FUNC_OFFSET(7158, glProgramLocalParameter4fvARB,
+ glProgramLocalParameter4fvARB, NULL, 471),
+ NAME_FUNC_OFFSET(7188, glProgramStringARB, glProgramStringARB, NULL, 472),
+ NAME_FUNC_OFFSET(7207, glVertexAttrib1dARB, glVertexAttrib1dARB, NULL, 473),
+ NAME_FUNC_OFFSET(7227, glVertexAttrib1dvARB, glVertexAttrib1dvARB, NULL,
+ 474),
+ NAME_FUNC_OFFSET(7248, glVertexAttrib1fARB, glVertexAttrib1fARB, NULL, 475),
+ NAME_FUNC_OFFSET(7268, glVertexAttrib1fvARB, glVertexAttrib1fvARB, NULL,
+ 476),
+ NAME_FUNC_OFFSET(7289, glVertexAttrib1sARB, glVertexAttrib1sARB, NULL, 477),
+ NAME_FUNC_OFFSET(7309, glVertexAttrib1svARB, glVertexAttrib1svARB, NULL,
+ 478),
+ NAME_FUNC_OFFSET(7330, glVertexAttrib2dARB, glVertexAttrib2dARB, NULL, 479),
+ NAME_FUNC_OFFSET(7350, glVertexAttrib2dvARB, glVertexAttrib2dvARB, NULL,
+ 480),
+ NAME_FUNC_OFFSET(7371, glVertexAttrib2fARB, glVertexAttrib2fARB, NULL, 481),
+ NAME_FUNC_OFFSET(7391, glVertexAttrib2fvARB, glVertexAttrib2fvARB, NULL,
+ 482),
+ NAME_FUNC_OFFSET(7412, glVertexAttrib2sARB, glVertexAttrib2sARB, NULL, 483),
+ NAME_FUNC_OFFSET(7432, glVertexAttrib2svARB, glVertexAttrib2svARB, NULL,
+ 484),
+ NAME_FUNC_OFFSET(7453, glVertexAttrib3dARB, glVertexAttrib3dARB, NULL, 485),
+ NAME_FUNC_OFFSET(7473, glVertexAttrib3dvARB, glVertexAttrib3dvARB, NULL,
+ 486),
+ NAME_FUNC_OFFSET(7494, glVertexAttrib3fARB, glVertexAttrib3fARB, NULL, 487),
+ NAME_FUNC_OFFSET(7514, glVertexAttrib3fvARB, glVertexAttrib3fvARB, NULL,
+ 488),
+ NAME_FUNC_OFFSET(7535, glVertexAttrib3sARB, glVertexAttrib3sARB, NULL, 489),
+ NAME_FUNC_OFFSET(7555, glVertexAttrib3svARB, glVertexAttrib3svARB, NULL,
+ 490),
+ NAME_FUNC_OFFSET(7576, glVertexAttrib4NbvARB, glVertexAttrib4NbvARB, NULL,
+ 491),
+ NAME_FUNC_OFFSET(7598, glVertexAttrib4NivARB, glVertexAttrib4NivARB, NULL,
+ 492),
+ NAME_FUNC_OFFSET(7620, glVertexAttrib4NsvARB, glVertexAttrib4NsvARB, NULL,
+ 493),
+ NAME_FUNC_OFFSET(7642, glVertexAttrib4NubARB, glVertexAttrib4NubARB, NULL,
+ 494),
+ NAME_FUNC_OFFSET(7664, glVertexAttrib4NubvARB, glVertexAttrib4NubvARB, NULL,
+ 495),
+ NAME_FUNC_OFFSET(7687, glVertexAttrib4NuivARB, glVertexAttrib4NuivARB, NULL,
+ 496),
+ NAME_FUNC_OFFSET(7710, glVertexAttrib4NusvARB, glVertexAttrib4NusvARB, NULL,
+ 497),
+ NAME_FUNC_OFFSET(7733, glVertexAttrib4bvARB, glVertexAttrib4bvARB, NULL,
+ 498),
+ NAME_FUNC_OFFSET(7754, glVertexAttrib4dARB, glVertexAttrib4dARB, NULL, 499),
+ NAME_FUNC_OFFSET(7774, glVertexAttrib4dvARB, glVertexAttrib4dvARB, NULL,
+ 500),
+ NAME_FUNC_OFFSET(7795, glVertexAttrib4fARB, glVertexAttrib4fARB, NULL, 501),
+ NAME_FUNC_OFFSET(7815, glVertexAttrib4fvARB, glVertexAttrib4fvARB, NULL,
+ 502),
+ NAME_FUNC_OFFSET(7836, glVertexAttrib4ivARB, glVertexAttrib4ivARB, NULL,
+ 503),
+ NAME_FUNC_OFFSET(7857, glVertexAttrib4sARB, glVertexAttrib4sARB, NULL, 504),
+ NAME_FUNC_OFFSET(7877, glVertexAttrib4svARB, glVertexAttrib4svARB, NULL,
+ 505),
+ NAME_FUNC_OFFSET(7898, glVertexAttrib4ubvARB, glVertexAttrib4ubvARB, NULL,
+ 506),
+ NAME_FUNC_OFFSET(7920, glVertexAttrib4uivARB, glVertexAttrib4uivARB, NULL,
+ 507),
+ NAME_FUNC_OFFSET(7942, glVertexAttrib4usvARB, glVertexAttrib4usvARB, NULL,
+ 508),
+ NAME_FUNC_OFFSET(7964, glVertexAttribPointerARB, glVertexAttribPointerARB,
+ NULL, 509),
+ NAME_FUNC_OFFSET(7989, glBindBufferARB, glBindBufferARB, NULL, 510),
+ NAME_FUNC_OFFSET(8005, glBufferDataARB, glBufferDataARB, NULL, 511),
+ NAME_FUNC_OFFSET(8021, glBufferSubDataARB, glBufferSubDataARB, NULL, 512),
+ NAME_FUNC_OFFSET(8040, glDeleteBuffersARB, glDeleteBuffersARB, NULL, 513),
+ NAME_FUNC_OFFSET(8059, glGenBuffersARB, glGenBuffersARB, NULL, 514),
+ NAME_FUNC_OFFSET(8075, glGetBufferParameterivARB, glGetBufferParameterivARB,
+ NULL, 515),
+ NAME_FUNC_OFFSET(8101, glGetBufferPointervARB, glGetBufferPointervARB, NULL,
+ 516),
+ NAME_FUNC_OFFSET(8124, glGetBufferSubDataARB, glGetBufferSubDataARB, NULL,
+ 517),
+ NAME_FUNC_OFFSET(8146, glIsBufferARB, glIsBufferARB, NULL, 518),
+ NAME_FUNC_OFFSET(8160, glMapBufferARB, glMapBufferARB, NULL, 519),
+ NAME_FUNC_OFFSET(8175, glUnmapBufferARB, glUnmapBufferARB, NULL, 520),
+ NAME_FUNC_OFFSET(8192, glBeginQueryARB, glBeginQueryARB, NULL, 521),
+ NAME_FUNC_OFFSET(8208, glDeleteQueriesARB, glDeleteQueriesARB, NULL, 522),
+ NAME_FUNC_OFFSET(8227, glEndQueryARB, glEndQueryARB, NULL, 523),
+ NAME_FUNC_OFFSET(8241, glGenQueriesARB, glGenQueriesARB, NULL, 524),
+ NAME_FUNC_OFFSET(8257, glGetQueryObjectivARB, glGetQueryObjectivARB, NULL,
+ 525),
+ NAME_FUNC_OFFSET(8279, glGetQueryObjectuivARB, glGetQueryObjectuivARB, NULL,
+ 526),
+ NAME_FUNC_OFFSET(8302, glGetQueryivARB, glGetQueryivARB, NULL, 527),
+ NAME_FUNC_OFFSET(8318, glIsQueryARB, glIsQueryARB, NULL, 528),
+ NAME_FUNC_OFFSET(8331, glAttachObjectARB, glAttachObjectARB, NULL, 529),
+ NAME_FUNC_OFFSET(8349, glCompileShaderARB, glCompileShaderARB, NULL, 530),
+ NAME_FUNC_OFFSET(8368, glCreateProgramObjectARB, glCreateProgramObjectARB,
+ NULL, 531),
+ NAME_FUNC_OFFSET(8393, glCreateShaderObjectARB, glCreateShaderObjectARB,
+ NULL, 532),
+ NAME_FUNC_OFFSET(8417, glDeleteObjectARB, glDeleteObjectARB, NULL, 533),
+ NAME_FUNC_OFFSET(8435, glDetachObjectARB, glDetachObjectARB, NULL, 534),
+ NAME_FUNC_OFFSET(8453, glGetActiveUniformARB, glGetActiveUniformARB, NULL,
+ 535),
+ NAME_FUNC_OFFSET(8475, glGetAttachedObjectsARB, glGetAttachedObjectsARB,
+ NULL, 536),
+ NAME_FUNC_OFFSET(8499, glGetHandleARB, glGetHandleARB, NULL, 537),
+ NAME_FUNC_OFFSET(8514, glGetInfoLogARB, glGetInfoLogARB, NULL, 538),
+ NAME_FUNC_OFFSET(8530, glGetObjectParameterfvARB, glGetObjectParameterfvARB,
+ NULL, 539),
+ NAME_FUNC_OFFSET(8556, glGetObjectParameterivARB, glGetObjectParameterivARB,
+ NULL, 540),
+ NAME_FUNC_OFFSET(8582, glGetShaderSourceARB, glGetShaderSourceARB, NULL,
+ 541),
+ NAME_FUNC_OFFSET(8603, glGetUniformLocationARB, glGetUniformLocationARB,
+ NULL, 542),
+ NAME_FUNC_OFFSET(8627, glGetUniformfvARB, glGetUniformfvARB, NULL, 543),
+ NAME_FUNC_OFFSET(8645, glGetUniformivARB, glGetUniformivARB, NULL, 544),
+ NAME_FUNC_OFFSET(8663, glLinkProgramARB, glLinkProgramARB, NULL, 545),
+ NAME_FUNC_OFFSET(8680, glShaderSourceARB, glShaderSourceARB, NULL, 546),
+ NAME_FUNC_OFFSET(8698, glUniform1fARB, glUniform1fARB, NULL, 547),
+ NAME_FUNC_OFFSET(8713, glUniform1fvARB, glUniform1fvARB, NULL, 548),
+ NAME_FUNC_OFFSET(8729, glUniform1iARB, glUniform1iARB, NULL, 549),
+ NAME_FUNC_OFFSET(8744, glUniform1ivARB, glUniform1ivARB, NULL, 550),
+ NAME_FUNC_OFFSET(8760, glUniform2fARB, glUniform2fARB, NULL, 551),
+ NAME_FUNC_OFFSET(8775, glUniform2fvARB, glUniform2fvARB, NULL, 552),
+ NAME_FUNC_OFFSET(8791, glUniform2iARB, glUniform2iARB, NULL, 553),
+ NAME_FUNC_OFFSET(8806, glUniform2ivARB, glUniform2ivARB, NULL, 554),
+ NAME_FUNC_OFFSET(8822, glUniform3fARB, glUniform3fARB, NULL, 555),
+ NAME_FUNC_OFFSET(8837, glUniform3fvARB, glUniform3fvARB, NULL, 556),
+ NAME_FUNC_OFFSET(8853, glUniform3iARB, glUniform3iARB, NULL, 557),
+ NAME_FUNC_OFFSET(8868, glUniform3ivARB, glUniform3ivARB, NULL, 558),
+ NAME_FUNC_OFFSET(8884, glUniform4fARB, glUniform4fARB, NULL, 559),
+ NAME_FUNC_OFFSET(8899, glUniform4fvARB, glUniform4fvARB, NULL, 560),
+ NAME_FUNC_OFFSET(8915, glUniform4iARB, glUniform4iARB, NULL, 561),
+ NAME_FUNC_OFFSET(8930, glUniform4ivARB, glUniform4ivARB, NULL, 562),
+ NAME_FUNC_OFFSET(8946, glUniformMatrix2fvARB, glUniformMatrix2fvARB, NULL,
+ 563),
+ NAME_FUNC_OFFSET(8968, glUniformMatrix3fvARB, glUniformMatrix3fvARB, NULL,
+ 564),
+ NAME_FUNC_OFFSET(8990, glUniformMatrix4fvARB, glUniformMatrix4fvARB, NULL,
+ 565),
+ NAME_FUNC_OFFSET(9012, glUseProgramObjectARB, glUseProgramObjectARB, NULL,
+ 566),
+ NAME_FUNC_OFFSET(9034, glValidateProgramARB, glValidateProgramARB, NULL,
+ 567),
+ NAME_FUNC_OFFSET(9055, glBindAttribLocationARB, glBindAttribLocationARB,
+ NULL, 568),
+ NAME_FUNC_OFFSET(9079, glGetActiveAttribARB, glGetActiveAttribARB, NULL,
+ 569),
+ NAME_FUNC_OFFSET(9100, glGetAttribLocationARB, glGetAttribLocationARB, NULL,
+ 570),
+ NAME_FUNC_OFFSET(9123, glDrawBuffersARB, glDrawBuffersARB, NULL, 571),
+ NAME_FUNC_OFFSET(9140, glClampColorARB, glClampColorARB, NULL, 572),
+ NAME_FUNC_OFFSET(9156, glDrawArraysInstancedARB, glDrawArraysInstancedARB,
+ NULL, 573),
+ NAME_FUNC_OFFSET(9181, glDrawElementsInstancedARB,
+ glDrawElementsInstancedARB, NULL, 574),
+ NAME_FUNC_OFFSET(9208, glRenderbufferStorageMultisample,
+ glRenderbufferStorageMultisample, NULL, 575),
+ NAME_FUNC_OFFSET(9241, glFramebufferTextureARB, glFramebufferTextureARB,
+ NULL, 576),
+ NAME_FUNC_OFFSET(9265, glFramebufferTextureFaceARB,
+ glFramebufferTextureFaceARB, NULL, 577),
+ NAME_FUNC_OFFSET(9293, glProgramParameteriARB, glProgramParameteriARB, NULL,
+ 578),
+ NAME_FUNC_OFFSET(9316, glVertexAttribDivisorARB, glVertexAttribDivisorARB,
+ NULL, 579),
+ NAME_FUNC_OFFSET(9341, glFlushMappedBufferRange, glFlushMappedBufferRange,
+ NULL, 580),
+ NAME_FUNC_OFFSET(9366, glMapBufferRange, glMapBufferRange, NULL, 581),
+ NAME_FUNC_OFFSET(9383, glTexBufferARB, glTexBufferARB, NULL, 582),
+ NAME_FUNC_OFFSET(9398, glBindVertexArray, glBindVertexArray, NULL, 583),
+ NAME_FUNC_OFFSET(9416, glGenVertexArrays, glGenVertexArrays, NULL, 584),
+ NAME_FUNC_OFFSET(9434, glCopyBufferSubData, glCopyBufferSubData, NULL, 585),
+ NAME_FUNC_OFFSET(9454, glClientWaitSync, glClientWaitSync, NULL, 586),
+ NAME_FUNC_OFFSET(9471, glDeleteSync, glDeleteSync, NULL, 587),
+ NAME_FUNC_OFFSET(9484, glFenceSync, glFenceSync, NULL, 588),
+ NAME_FUNC_OFFSET(9496, glGetInteger64v, glGetInteger64v, NULL, 589),
+ NAME_FUNC_OFFSET(9512, glGetSynciv, glGetSynciv, NULL, 590),
+ NAME_FUNC_OFFSET(9524, glIsSync, glIsSync, NULL, 591),
+ NAME_FUNC_OFFSET(9533, glWaitSync, glWaitSync, NULL, 592),
+ NAME_FUNC_OFFSET(9544, glDrawElementsBaseVertex, glDrawElementsBaseVertex,
+ NULL, 593),
+ NAME_FUNC_OFFSET(9569, glDrawElementsInstancedBaseVertex,
+ glDrawElementsInstancedBaseVertex, NULL, 594),
+ NAME_FUNC_OFFSET(9603, glDrawRangeElementsBaseVertex,
+ glDrawRangeElementsBaseVertex, NULL, 595),
+ NAME_FUNC_OFFSET(9633, glMultiDrawElementsBaseVertex,
+ glMultiDrawElementsBaseVertex, NULL, 596),
+ NAME_FUNC_OFFSET(9663, glBlendEquationSeparateiARB,
+ glBlendEquationSeparateiARB, NULL, 597),
+ NAME_FUNC_OFFSET(9691, glBlendEquationiARB, glBlendEquationiARB, NULL, 598),
+ NAME_FUNC_OFFSET(9711, glBlendFuncSeparateiARB, glBlendFuncSeparateiARB,
+ NULL, 599),
+ NAME_FUNC_OFFSET(9735, glBlendFunciARB, glBlendFunciARB, NULL, 600),
+ NAME_FUNC_OFFSET(9751, glBindSampler, glBindSampler, NULL, 601),
+ NAME_FUNC_OFFSET(9765, glDeleteSamplers, glDeleteSamplers, NULL, 602),
+ NAME_FUNC_OFFSET(9782, glGenSamplers, glGenSamplers, NULL, 603),
+ NAME_FUNC_OFFSET(9796, glGetSamplerParameterIiv, glGetSamplerParameterIiv,
+ NULL, 604),
+ NAME_FUNC_OFFSET(9821, glGetSamplerParameterIuiv, glGetSamplerParameterIuiv,
+ NULL, 605),
+ NAME_FUNC_OFFSET(9847, glGetSamplerParameterfv, glGetSamplerParameterfv,
+ NULL, 606),
+ NAME_FUNC_OFFSET(9871, glGetSamplerParameteriv, glGetSamplerParameteriv,
+ NULL, 607),
+ NAME_FUNC_OFFSET(9895, glIsSampler, glIsSampler, NULL, 608),
+ NAME_FUNC_OFFSET(9907, glSamplerParameterIiv, glSamplerParameterIiv, NULL,
+ 609),
+ NAME_FUNC_OFFSET(9929, glSamplerParameterIuiv, glSamplerParameterIuiv, NULL,
+ 610),
+ NAME_FUNC_OFFSET(9952, glSamplerParameterf, glSamplerParameterf, NULL, 611),
+ NAME_FUNC_OFFSET(9972, glSamplerParameterfv, glSamplerParameterfv, NULL,
+ 612),
+ NAME_FUNC_OFFSET(9993, glSamplerParameteri, glSamplerParameteri, NULL, 613),
+ NAME_FUNC_OFFSET(10013, glSamplerParameteriv, glSamplerParameteriv, NULL,
+ 614),
NAME_FUNC_OFFSET(10034, glColorP3ui, glColorP3ui, NULL, 615),
NAME_FUNC_OFFSET(10046, glColorP3uiv, glColorP3uiv, NULL, 616),
NAME_FUNC_OFFSET(10059, glColorP4ui, glColorP4ui, NULL, 617),
NAME_FUNC_OFFSET(10071, glColorP4uiv, glColorP4uiv, NULL, 618),
- NAME_FUNC_OFFSET(10084, glMultiTexCoordP1ui, glMultiTexCoordP1ui, NULL, 619),
- NAME_FUNC_OFFSET(10104, glMultiTexCoordP1uiv, glMultiTexCoordP1uiv, NULL, 620),
- NAME_FUNC_OFFSET(10125, glMultiTexCoordP2ui, glMultiTexCoordP2ui, NULL, 621),
- NAME_FUNC_OFFSET(10145, glMultiTexCoordP2uiv, glMultiTexCoordP2uiv, NULL, 622),
- NAME_FUNC_OFFSET(10166, glMultiTexCoordP3ui, glMultiTexCoordP3ui, NULL, 623),
- NAME_FUNC_OFFSET(10186, glMultiTexCoordP3uiv, glMultiTexCoordP3uiv, NULL, 624),
- NAME_FUNC_OFFSET(10207, glMultiTexCoordP4ui, glMultiTexCoordP4ui, NULL, 625),
- NAME_FUNC_OFFSET(10227, glMultiTexCoordP4uiv, glMultiTexCoordP4uiv, NULL, 626),
+ NAME_FUNC_OFFSET(10084, glMultiTexCoordP1ui, glMultiTexCoordP1ui, NULL,
+ 619),
+ NAME_FUNC_OFFSET(10104, glMultiTexCoordP1uiv, glMultiTexCoordP1uiv, NULL,
+ 620),
+ NAME_FUNC_OFFSET(10125, glMultiTexCoordP2ui, glMultiTexCoordP2ui, NULL,
+ 621),
+ NAME_FUNC_OFFSET(10145, glMultiTexCoordP2uiv, glMultiTexCoordP2uiv, NULL,
+ 622),
+ NAME_FUNC_OFFSET(10166, glMultiTexCoordP3ui, glMultiTexCoordP3ui, NULL,
+ 623),
+ NAME_FUNC_OFFSET(10186, glMultiTexCoordP3uiv, glMultiTexCoordP3uiv, NULL,
+ 624),
+ NAME_FUNC_OFFSET(10207, glMultiTexCoordP4ui, glMultiTexCoordP4ui, NULL,
+ 625),
+ NAME_FUNC_OFFSET(10227, glMultiTexCoordP4uiv, glMultiTexCoordP4uiv, NULL,
+ 626),
NAME_FUNC_OFFSET(10248, glNormalP3ui, glNormalP3ui, NULL, 627),
NAME_FUNC_OFFSET(10261, glNormalP3uiv, glNormalP3uiv, NULL, 628),
- NAME_FUNC_OFFSET(10275, glSecondaryColorP3ui, glSecondaryColorP3ui, NULL, 629),
- NAME_FUNC_OFFSET(10296, glSecondaryColorP3uiv, glSecondaryColorP3uiv, NULL, 630),
+ NAME_FUNC_OFFSET(10275, glSecondaryColorP3ui, glSecondaryColorP3ui, NULL,
+ 629),
+ NAME_FUNC_OFFSET(10296, glSecondaryColorP3uiv, glSecondaryColorP3uiv, NULL,
+ 630),
NAME_FUNC_OFFSET(10318, glTexCoordP1ui, glTexCoordP1ui, NULL, 631),
NAME_FUNC_OFFSET(10333, glTexCoordP1uiv, glTexCoordP1uiv, NULL, 632),
NAME_FUNC_OFFSET(10349, glTexCoordP2ui, glTexCoordP2ui, NULL, 633),
@@ -2137,118 +2339,192 @@ static const glprocs_table_t static_functions[] = {
NAME_FUNC_OFFSET(10411, glTexCoordP4ui, glTexCoordP4ui, NULL, 637),
NAME_FUNC_OFFSET(10426, glTexCoordP4uiv, glTexCoordP4uiv, NULL, 638),
NAME_FUNC_OFFSET(10442, glVertexAttribP1ui, glVertexAttribP1ui, NULL, 639),
- NAME_FUNC_OFFSET(10461, glVertexAttribP1uiv, glVertexAttribP1uiv, NULL, 640),
+ NAME_FUNC_OFFSET(10461, glVertexAttribP1uiv, glVertexAttribP1uiv, NULL,
+ 640),
NAME_FUNC_OFFSET(10481, glVertexAttribP2ui, glVertexAttribP2ui, NULL, 641),
- NAME_FUNC_OFFSET(10500, glVertexAttribP2uiv, glVertexAttribP2uiv, NULL, 642),
+ NAME_FUNC_OFFSET(10500, glVertexAttribP2uiv, glVertexAttribP2uiv, NULL,
+ 642),
NAME_FUNC_OFFSET(10520, glVertexAttribP3ui, glVertexAttribP3ui, NULL, 643),
- NAME_FUNC_OFFSET(10539, glVertexAttribP3uiv, glVertexAttribP3uiv, NULL, 644),
+ NAME_FUNC_OFFSET(10539, glVertexAttribP3uiv, glVertexAttribP3uiv, NULL,
+ 644),
NAME_FUNC_OFFSET(10559, glVertexAttribP4ui, glVertexAttribP4ui, NULL, 645),
- NAME_FUNC_OFFSET(10578, glVertexAttribP4uiv, glVertexAttribP4uiv, NULL, 646),
+ NAME_FUNC_OFFSET(10578, glVertexAttribP4uiv, glVertexAttribP4uiv, NULL,
+ 646),
NAME_FUNC_OFFSET(10598, glVertexP2ui, glVertexP2ui, NULL, 647),
NAME_FUNC_OFFSET(10611, glVertexP2uiv, glVertexP2uiv, NULL, 648),
NAME_FUNC_OFFSET(10625, glVertexP3ui, glVertexP3ui, NULL, 649),
NAME_FUNC_OFFSET(10638, glVertexP3uiv, glVertexP3uiv, NULL, 650),
NAME_FUNC_OFFSET(10652, glVertexP4ui, glVertexP4ui, NULL, 651),
NAME_FUNC_OFFSET(10665, glVertexP4uiv, glVertexP4uiv, NULL, 652),
- NAME_FUNC_OFFSET(10679, glBindTransformFeedback, glBindTransformFeedback, NULL, 653),
- NAME_FUNC_OFFSET(10703, glDeleteTransformFeedbacks, glDeleteTransformFeedbacks, NULL, 654),
- NAME_FUNC_OFFSET(10730, glDrawTransformFeedback, glDrawTransformFeedback, NULL, 655),
- NAME_FUNC_OFFSET(10754, glGenTransformFeedbacks, glGenTransformFeedbacks, NULL, 656),
- NAME_FUNC_OFFSET(10778, glIsTransformFeedback, glIsTransformFeedback, NULL, 657),
- NAME_FUNC_OFFSET(10800, glPauseTransformFeedback, glPauseTransformFeedback, NULL, 658),
- NAME_FUNC_OFFSET(10825, glResumeTransformFeedback, glResumeTransformFeedback, NULL, 659),
+ NAME_FUNC_OFFSET(10679, glBindTransformFeedback, glBindTransformFeedback,
+ NULL, 653),
+ NAME_FUNC_OFFSET(10703, glDeleteTransformFeedbacks,
+ glDeleteTransformFeedbacks, NULL, 654),
+ NAME_FUNC_OFFSET(10730, glDrawTransformFeedback, glDrawTransformFeedback,
+ NULL, 655),
+ NAME_FUNC_OFFSET(10754, glGenTransformFeedbacks, glGenTransformFeedbacks,
+ NULL, 656),
+ NAME_FUNC_OFFSET(10778, glIsTransformFeedback, glIsTransformFeedback, NULL,
+ 657),
+ NAME_FUNC_OFFSET(10800, glPauseTransformFeedback, glPauseTransformFeedback,
+ NULL, 658),
+ NAME_FUNC_OFFSET(10825, glResumeTransformFeedback,
+ glResumeTransformFeedback, NULL, 659),
NAME_FUNC_OFFSET(10851, glClearDepthf, glClearDepthf, NULL, 660),
NAME_FUNC_OFFSET(10865, glDepthRangef, glDepthRangef, NULL, 661),
- NAME_FUNC_OFFSET(10879, glGetShaderPrecisionFormat, glGetShaderPrecisionFormat, NULL, 662),
- NAME_FUNC_OFFSET(10906, glReleaseShaderCompiler, glReleaseShaderCompiler, NULL, 663),
+ NAME_FUNC_OFFSET(10879, glGetShaderPrecisionFormat,
+ glGetShaderPrecisionFormat, NULL, 662),
+ NAME_FUNC_OFFSET(10906, glReleaseShaderCompiler, glReleaseShaderCompiler,
+ NULL, 663),
NAME_FUNC_OFFSET(10930, glShaderBinary, glShaderBinary, NULL, 664),
- NAME_FUNC_OFFSET(10945, glGetGraphicsResetStatusARB, glGetGraphicsResetStatusARB, NULL, 665),
- NAME_FUNC_OFFSET(10973, glGetnColorTableARB, glGetnColorTableARB, NULL, 666),
- NAME_FUNC_OFFSET(10993, glGetnCompressedTexImageARB, glGetnCompressedTexImageARB, NULL, 667),
- NAME_FUNC_OFFSET(11021, glGetnConvolutionFilterARB, glGetnConvolutionFilterARB, NULL, 668),
+ NAME_FUNC_OFFSET(10945, glGetGraphicsResetStatusARB,
+ glGetGraphicsResetStatusARB, NULL, 665),
+ NAME_FUNC_OFFSET(10973, glGetnColorTableARB, glGetnColorTableARB, NULL,
+ 666),
+ NAME_FUNC_OFFSET(10993, glGetnCompressedTexImageARB,
+ glGetnCompressedTexImageARB, NULL, 667),
+ NAME_FUNC_OFFSET(11021, glGetnConvolutionFilterARB,
+ glGetnConvolutionFilterARB, NULL, 668),
NAME_FUNC_OFFSET(11048, glGetnHistogramARB, glGetnHistogramARB, NULL, 669),
NAME_FUNC_OFFSET(11067, glGetnMapdvARB, glGetnMapdvARB, NULL, 670),
NAME_FUNC_OFFSET(11082, glGetnMapfvARB, glGetnMapfvARB, NULL, 671),
NAME_FUNC_OFFSET(11097, glGetnMapivARB, glGetnMapivARB, NULL, 672),
NAME_FUNC_OFFSET(11112, glGetnMinmaxARB, glGetnMinmaxARB, NULL, 673),
- NAME_FUNC_OFFSET(11128, glGetnPixelMapfvARB, glGetnPixelMapfvARB, NULL, 674),
- NAME_FUNC_OFFSET(11148, glGetnPixelMapuivARB, glGetnPixelMapuivARB, NULL, 675),
- NAME_FUNC_OFFSET(11169, glGetnPixelMapusvARB, glGetnPixelMapusvARB, NULL, 676),
- NAME_FUNC_OFFSET(11190, glGetnPolygonStippleARB, glGetnPolygonStippleARB, NULL, 677),
- NAME_FUNC_OFFSET(11214, glGetnSeparableFilterARB, glGetnSeparableFilterARB, NULL, 678),
+ NAME_FUNC_OFFSET(11128, glGetnPixelMapfvARB, glGetnPixelMapfvARB, NULL,
+ 674),
+ NAME_FUNC_OFFSET(11148, glGetnPixelMapuivARB, glGetnPixelMapuivARB, NULL,
+ 675),
+ NAME_FUNC_OFFSET(11169, glGetnPixelMapusvARB, glGetnPixelMapusvARB, NULL,
+ 676),
+ NAME_FUNC_OFFSET(11190, glGetnPolygonStippleARB, glGetnPolygonStippleARB,
+ NULL, 677),
+ NAME_FUNC_OFFSET(11214, glGetnSeparableFilterARB, glGetnSeparableFilterARB,
+ NULL, 678),
NAME_FUNC_OFFSET(11239, glGetnTexImageARB, glGetnTexImageARB, NULL, 679),
NAME_FUNC_OFFSET(11257, glGetnUniformdvARB, glGetnUniformdvARB, NULL, 680),
NAME_FUNC_OFFSET(11276, glGetnUniformfvARB, glGetnUniformfvARB, NULL, 681),
NAME_FUNC_OFFSET(11295, glGetnUniformivARB, glGetnUniformivARB, NULL, 682),
- NAME_FUNC_OFFSET(11314, glGetnUniformuivARB, glGetnUniformuivARB, NULL, 683),
+ NAME_FUNC_OFFSET(11314, glGetnUniformuivARB, glGetnUniformuivARB, NULL,
+ 683),
NAME_FUNC_OFFSET(11334, glReadnPixelsARB, glReadnPixelsARB, NULL, 684),
NAME_FUNC_OFFSET(11351, glTexStorage1D, glTexStorage1D, NULL, 685),
NAME_FUNC_OFFSET(11366, glTexStorage2D, glTexStorage2D, NULL, 686),
NAME_FUNC_OFFSET(11381, glTexStorage3D, glTexStorage3D, NULL, 687),
- NAME_FUNC_OFFSET(11396, glTextureStorage1DEXT, glTextureStorage1DEXT, NULL, 688),
- NAME_FUNC_OFFSET(11418, glTextureStorage2DEXT, glTextureStorage2DEXT, NULL, 689),
- NAME_FUNC_OFFSET(11440, glTextureStorage3DEXT, glTextureStorage3DEXT, NULL, 690),
+ NAME_FUNC_OFFSET(11396, glTextureStorage1DEXT, glTextureStorage1DEXT, NULL,
+ 688),
+ NAME_FUNC_OFFSET(11418, glTextureStorage2DEXT, glTextureStorage2DEXT, NULL,
+ 689),
+ NAME_FUNC_OFFSET(11440, glTextureStorage3DEXT, glTextureStorage3DEXT, NULL,
+ 690),
NAME_FUNC_OFFSET(11462, glPolygonOffsetEXT, glPolygonOffsetEXT, NULL, 691),
- NAME_FUNC_OFFSET(11481, gl_dispatch_stub_692, gl_dispatch_stub_692, NULL, 692),
- NAME_FUNC_OFFSET(11513, gl_dispatch_stub_693, gl_dispatch_stub_693, NULL, 693),
- NAME_FUNC_OFFSET(11545, gl_dispatch_stub_694, gl_dispatch_stub_694, NULL, 694),
- NAME_FUNC_OFFSET(11573, gl_dispatch_stub_695, gl_dispatch_stub_695, NULL, 695),
- NAME_FUNC_OFFSET(11602, gl_dispatch_stub_696, gl_dispatch_stub_696, NULL, 696),
- NAME_FUNC_OFFSET(11630, gl_dispatch_stub_697, gl_dispatch_stub_697, NULL, 697),
- NAME_FUNC_OFFSET(11659, gl_dispatch_stub_698, gl_dispatch_stub_698, NULL, 698),
- NAME_FUNC_OFFSET(11676, gl_dispatch_stub_699, gl_dispatch_stub_699, NULL, 699),
+ NAME_FUNC_OFFSET(11481, gl_dispatch_stub_692, gl_dispatch_stub_692, NULL,
+ 692),
+ NAME_FUNC_OFFSET(11513, gl_dispatch_stub_693, gl_dispatch_stub_693, NULL,
+ 693),
+ NAME_FUNC_OFFSET(11545, gl_dispatch_stub_694, gl_dispatch_stub_694, NULL,
+ 694),
+ NAME_FUNC_OFFSET(11573, gl_dispatch_stub_695, gl_dispatch_stub_695, NULL,
+ 695),
+ NAME_FUNC_OFFSET(11602, gl_dispatch_stub_696, gl_dispatch_stub_696, NULL,
+ 696),
+ NAME_FUNC_OFFSET(11630, gl_dispatch_stub_697, gl_dispatch_stub_697, NULL,
+ 697),
+ NAME_FUNC_OFFSET(11659, gl_dispatch_stub_698, gl_dispatch_stub_698, NULL,
+ 698),
+ NAME_FUNC_OFFSET(11676, gl_dispatch_stub_699, gl_dispatch_stub_699, NULL,
+ 699),
NAME_FUNC_OFFSET(11696, glColorPointerEXT, glColorPointerEXT, NULL, 700),
- NAME_FUNC_OFFSET(11714, glEdgeFlagPointerEXT, glEdgeFlagPointerEXT, NULL, 701),
+ NAME_FUNC_OFFSET(11714, glEdgeFlagPointerEXT, glEdgeFlagPointerEXT, NULL,
+ 701),
NAME_FUNC_OFFSET(11735, glIndexPointerEXT, glIndexPointerEXT, NULL, 702),
NAME_FUNC_OFFSET(11753, glNormalPointerEXT, glNormalPointerEXT, NULL, 703),
- NAME_FUNC_OFFSET(11772, glTexCoordPointerEXT, glTexCoordPointerEXT, NULL, 704),
+ NAME_FUNC_OFFSET(11772, glTexCoordPointerEXT, glTexCoordPointerEXT, NULL,
+ 704),
NAME_FUNC_OFFSET(11793, glVertexPointerEXT, glVertexPointerEXT, NULL, 705),
- NAME_FUNC_OFFSET(11812, glPointParameterfEXT, glPointParameterfEXT, NULL, 706),
- NAME_FUNC_OFFSET(11833, glPointParameterfvEXT, glPointParameterfvEXT, NULL, 707),
+ NAME_FUNC_OFFSET(11812, glPointParameterfEXT, glPointParameterfEXT, NULL,
+ 706),
+ NAME_FUNC_OFFSET(11833, glPointParameterfvEXT, glPointParameterfvEXT, NULL,
+ 707),
NAME_FUNC_OFFSET(11855, glLockArraysEXT, glLockArraysEXT, NULL, 708),
NAME_FUNC_OFFSET(11871, glUnlockArraysEXT, glUnlockArraysEXT, NULL, 709),
- NAME_FUNC_OFFSET(11889, glSecondaryColor3bEXT, glSecondaryColor3bEXT, NULL, 710),
- NAME_FUNC_OFFSET(11911, glSecondaryColor3bvEXT, glSecondaryColor3bvEXT, NULL, 711),
- NAME_FUNC_OFFSET(11934, glSecondaryColor3dEXT, glSecondaryColor3dEXT, NULL, 712),
- NAME_FUNC_OFFSET(11956, glSecondaryColor3dvEXT, glSecondaryColor3dvEXT, NULL, 713),
- NAME_FUNC_OFFSET(11979, glSecondaryColor3fEXT, glSecondaryColor3fEXT, NULL, 714),
- NAME_FUNC_OFFSET(12001, glSecondaryColor3fvEXT, glSecondaryColor3fvEXT, NULL, 715),
- NAME_FUNC_OFFSET(12024, glSecondaryColor3iEXT, glSecondaryColor3iEXT, NULL, 716),
- NAME_FUNC_OFFSET(12046, glSecondaryColor3ivEXT, glSecondaryColor3ivEXT, NULL, 717),
- NAME_FUNC_OFFSET(12069, glSecondaryColor3sEXT, glSecondaryColor3sEXT, NULL, 718),
- NAME_FUNC_OFFSET(12091, glSecondaryColor3svEXT, glSecondaryColor3svEXT, NULL, 719),
- NAME_FUNC_OFFSET(12114, glSecondaryColor3ubEXT, glSecondaryColor3ubEXT, NULL, 720),
- NAME_FUNC_OFFSET(12137, glSecondaryColor3ubvEXT, glSecondaryColor3ubvEXT, NULL, 721),
- NAME_FUNC_OFFSET(12161, glSecondaryColor3uiEXT, glSecondaryColor3uiEXT, NULL, 722),
- NAME_FUNC_OFFSET(12184, glSecondaryColor3uivEXT, glSecondaryColor3uivEXT, NULL, 723),
- NAME_FUNC_OFFSET(12208, glSecondaryColor3usEXT, glSecondaryColor3usEXT, NULL, 724),
- NAME_FUNC_OFFSET(12231, glSecondaryColor3usvEXT, glSecondaryColor3usvEXT, NULL, 725),
- NAME_FUNC_OFFSET(12255, glSecondaryColorPointerEXT, glSecondaryColorPointerEXT, NULL, 726),
- NAME_FUNC_OFFSET(12282, glMultiDrawArraysEXT, glMultiDrawArraysEXT, NULL, 727),
- NAME_FUNC_OFFSET(12303, glMultiDrawElementsEXT, glMultiDrawElementsEXT, NULL, 728),
- NAME_FUNC_OFFSET(12326, glFogCoordPointerEXT, glFogCoordPointerEXT, NULL, 729),
+ NAME_FUNC_OFFSET(11889, glSecondaryColor3bEXT, glSecondaryColor3bEXT, NULL,
+ 710),
+ NAME_FUNC_OFFSET(11911, glSecondaryColor3bvEXT, glSecondaryColor3bvEXT,
+ NULL, 711),
+ NAME_FUNC_OFFSET(11934, glSecondaryColor3dEXT, glSecondaryColor3dEXT, NULL,
+ 712),
+ NAME_FUNC_OFFSET(11956, glSecondaryColor3dvEXT, glSecondaryColor3dvEXT,
+ NULL, 713),
+ NAME_FUNC_OFFSET(11979, glSecondaryColor3fEXT, glSecondaryColor3fEXT, NULL,
+ 714),
+ NAME_FUNC_OFFSET(12001, glSecondaryColor3fvEXT, glSecondaryColor3fvEXT,
+ NULL, 715),
+ NAME_FUNC_OFFSET(12024, glSecondaryColor3iEXT, glSecondaryColor3iEXT, NULL,
+ 716),
+ NAME_FUNC_OFFSET(12046, glSecondaryColor3ivEXT, glSecondaryColor3ivEXT,
+ NULL, 717),
+ NAME_FUNC_OFFSET(12069, glSecondaryColor3sEXT, glSecondaryColor3sEXT, NULL,
+ 718),
+ NAME_FUNC_OFFSET(12091, glSecondaryColor3svEXT, glSecondaryColor3svEXT,
+ NULL, 719),
+ NAME_FUNC_OFFSET(12114, glSecondaryColor3ubEXT, glSecondaryColor3ubEXT,
+ NULL, 720),
+ NAME_FUNC_OFFSET(12137, glSecondaryColor3ubvEXT, glSecondaryColor3ubvEXT,
+ NULL, 721),
+ NAME_FUNC_OFFSET(12161, glSecondaryColor3uiEXT, glSecondaryColor3uiEXT,
+ NULL, 722),
+ NAME_FUNC_OFFSET(12184, glSecondaryColor3uivEXT, glSecondaryColor3uivEXT,
+ NULL, 723),
+ NAME_FUNC_OFFSET(12208, glSecondaryColor3usEXT, glSecondaryColor3usEXT,
+ NULL, 724),
+ NAME_FUNC_OFFSET(12231, glSecondaryColor3usvEXT, glSecondaryColor3usvEXT,
+ NULL, 725),
+ NAME_FUNC_OFFSET(12255, glSecondaryColorPointerEXT,
+ glSecondaryColorPointerEXT, NULL, 726),
+ NAME_FUNC_OFFSET(12282, glMultiDrawArraysEXT, glMultiDrawArraysEXT, NULL,
+ 727),
+ NAME_FUNC_OFFSET(12303, glMultiDrawElementsEXT, glMultiDrawElementsEXT,
+ NULL, 728),
+ NAME_FUNC_OFFSET(12326, glFogCoordPointerEXT, glFogCoordPointerEXT, NULL,
+ 729),
NAME_FUNC_OFFSET(12347, glFogCoorddEXT, glFogCoorddEXT, NULL, 730),
NAME_FUNC_OFFSET(12362, glFogCoorddvEXT, glFogCoorddvEXT, NULL, 731),
NAME_FUNC_OFFSET(12378, glFogCoordfEXT, glFogCoordfEXT, NULL, 732),
NAME_FUNC_OFFSET(12393, glFogCoordfvEXT, glFogCoordfvEXT, NULL, 733),
- NAME_FUNC_OFFSET(12409, gl_dispatch_stub_734, gl_dispatch_stub_734, NULL, 734),
- NAME_FUNC_OFFSET(12427, glBlendFuncSeparateEXT, glBlendFuncSeparateEXT, NULL, 735),
- NAME_FUNC_OFFSET(12450, glFlushVertexArrayRangeNV, glFlushVertexArrayRangeNV, NULL, 736),
- NAME_FUNC_OFFSET(12476, glVertexArrayRangeNV, glVertexArrayRangeNV, NULL, 737),
+ NAME_FUNC_OFFSET(12409, gl_dispatch_stub_734, gl_dispatch_stub_734, NULL,
+ 734),
+ NAME_FUNC_OFFSET(12427, glBlendFuncSeparateEXT, glBlendFuncSeparateEXT,
+ NULL, 735),
+ NAME_FUNC_OFFSET(12450, glFlushVertexArrayRangeNV,
+ glFlushVertexArrayRangeNV, NULL, 736),
+ NAME_FUNC_OFFSET(12476, glVertexArrayRangeNV, glVertexArrayRangeNV, NULL,
+ 737),
NAME_FUNC_OFFSET(12497, glCombinerInputNV, glCombinerInputNV, NULL, 738),
NAME_FUNC_OFFSET(12515, glCombinerOutputNV, glCombinerOutputNV, NULL, 739),
- NAME_FUNC_OFFSET(12534, glCombinerParameterfNV, glCombinerParameterfNV, NULL, 740),
- NAME_FUNC_OFFSET(12557, glCombinerParameterfvNV, glCombinerParameterfvNV, NULL, 741),
- NAME_FUNC_OFFSET(12581, glCombinerParameteriNV, glCombinerParameteriNV, NULL, 742),
- NAME_FUNC_OFFSET(12604, glCombinerParameterivNV, glCombinerParameterivNV, NULL, 743),
- NAME_FUNC_OFFSET(12628, glFinalCombinerInputNV, glFinalCombinerInputNV, NULL, 744),
- NAME_FUNC_OFFSET(12651, glGetCombinerInputParameterfvNV, glGetCombinerInputParameterfvNV, NULL, 745),
- NAME_FUNC_OFFSET(12683, glGetCombinerInputParameterivNV, glGetCombinerInputParameterivNV, NULL, 746),
- NAME_FUNC_OFFSET(12715, glGetCombinerOutputParameterfvNV, glGetCombinerOutputParameterfvNV, NULL, 747),
- NAME_FUNC_OFFSET(12748, glGetCombinerOutputParameterivNV, glGetCombinerOutputParameterivNV, NULL, 748),
- NAME_FUNC_OFFSET(12781, glGetFinalCombinerInputParameterfvNV, glGetFinalCombinerInputParameterfvNV, NULL, 749),
- NAME_FUNC_OFFSET(12818, glGetFinalCombinerInputParameterivNV, glGetFinalCombinerInputParameterivNV, NULL, 750),
- NAME_FUNC_OFFSET(12855, glResizeBuffersMESA, glResizeBuffersMESA, NULL, 751),
+ NAME_FUNC_OFFSET(12534, glCombinerParameterfNV, glCombinerParameterfNV,
+ NULL, 740),
+ NAME_FUNC_OFFSET(12557, glCombinerParameterfvNV, glCombinerParameterfvNV,
+ NULL, 741),
+ NAME_FUNC_OFFSET(12581, glCombinerParameteriNV, glCombinerParameteriNV,
+ NULL, 742),
+ NAME_FUNC_OFFSET(12604, glCombinerParameterivNV, glCombinerParameterivNV,
+ NULL, 743),
+ NAME_FUNC_OFFSET(12628, glFinalCombinerInputNV, glFinalCombinerInputNV,
+ NULL, 744),
+ NAME_FUNC_OFFSET(12651, glGetCombinerInputParameterfvNV,
+ glGetCombinerInputParameterfvNV, NULL, 745),
+ NAME_FUNC_OFFSET(12683, glGetCombinerInputParameterivNV,
+ glGetCombinerInputParameterivNV, NULL, 746),
+ NAME_FUNC_OFFSET(12715, glGetCombinerOutputParameterfvNV,
+ glGetCombinerOutputParameterfvNV, NULL, 747),
+ NAME_FUNC_OFFSET(12748, glGetCombinerOutputParameterivNV,
+ glGetCombinerOutputParameterivNV, NULL, 748),
+ NAME_FUNC_OFFSET(12781, glGetFinalCombinerInputParameterfvNV,
+ glGetFinalCombinerInputParameterfvNV, NULL, 749),
+ NAME_FUNC_OFFSET(12818, glGetFinalCombinerInputParameterivNV,
+ glGetFinalCombinerInputParameterivNV, NULL, 750),
+ NAME_FUNC_OFFSET(12855, glResizeBuffersMESA, glResizeBuffersMESA, NULL,
+ 751),
NAME_FUNC_OFFSET(12875, glWindowPos2dMESA, glWindowPos2dMESA, NULL, 752),
NAME_FUNC_OFFSET(12893, glWindowPos2dvMESA, glWindowPos2dvMESA, NULL, 753),
NAME_FUNC_OFFSET(12912, glWindowPos2fMESA, glWindowPos2fMESA, NULL, 754),
@@ -2273,135 +2549,240 @@ static const glprocs_table_t static_functions[] = {
NAME_FUNC_OFFSET(13263, glWindowPos4ivMESA, glWindowPos4ivMESA, NULL, 773),
NAME_FUNC_OFFSET(13282, glWindowPos4sMESA, glWindowPos4sMESA, NULL, 774),
NAME_FUNC_OFFSET(13300, glWindowPos4svMESA, glWindowPos4svMESA, NULL, 775),
- NAME_FUNC_OFFSET(13319, gl_dispatch_stub_776, gl_dispatch_stub_776, NULL, 776),
- NAME_FUNC_OFFSET(13344, gl_dispatch_stub_777, gl_dispatch_stub_777, NULL, 777),
- NAME_FUNC_OFFSET(13371, gl_dispatch_stub_778, gl_dispatch_stub_778, NULL, 778),
- NAME_FUNC_OFFSET(13388, gl_dispatch_stub_779, gl_dispatch_stub_779, NULL, 779),
- NAME_FUNC_OFFSET(13404, gl_dispatch_stub_780, gl_dispatch_stub_780, NULL, 780),
- NAME_FUNC_OFFSET(13418, gl_dispatch_stub_781, gl_dispatch_stub_781, NULL, 781),
- NAME_FUNC_OFFSET(13433, gl_dispatch_stub_782, gl_dispatch_stub_782, NULL, 782),
- NAME_FUNC_OFFSET(13445, gl_dispatch_stub_783, gl_dispatch_stub_783, NULL, 783),
- NAME_FUNC_OFFSET(13458, gl_dispatch_stub_784, gl_dispatch_stub_784, NULL, 784),
- NAME_FUNC_OFFSET(13472, glAreProgramsResidentNV, glAreProgramsResidentNV, NULL, 785),
+ NAME_FUNC_OFFSET(13319, gl_dispatch_stub_776, gl_dispatch_stub_776, NULL,
+ 776),
+ NAME_FUNC_OFFSET(13344, gl_dispatch_stub_777, gl_dispatch_stub_777, NULL,
+ 777),
+ NAME_FUNC_OFFSET(13371, gl_dispatch_stub_778, gl_dispatch_stub_778, NULL,
+ 778),
+ NAME_FUNC_OFFSET(13388, gl_dispatch_stub_779, gl_dispatch_stub_779, NULL,
+ 779),
+ NAME_FUNC_OFFSET(13404, gl_dispatch_stub_780, gl_dispatch_stub_780, NULL,
+ 780),
+ NAME_FUNC_OFFSET(13418, gl_dispatch_stub_781, gl_dispatch_stub_781, NULL,
+ 781),
+ NAME_FUNC_OFFSET(13433, gl_dispatch_stub_782, gl_dispatch_stub_782, NULL,
+ 782),
+ NAME_FUNC_OFFSET(13445, gl_dispatch_stub_783, gl_dispatch_stub_783, NULL,
+ 783),
+ NAME_FUNC_OFFSET(13458, gl_dispatch_stub_784, gl_dispatch_stub_784, NULL,
+ 784),
+ NAME_FUNC_OFFSET(13472, glAreProgramsResidentNV, glAreProgramsResidentNV,
+ NULL, 785),
NAME_FUNC_OFFSET(13496, glBindProgramNV, glBindProgramNV, NULL, 786),
NAME_FUNC_OFFSET(13512, glDeleteProgramsNV, glDeleteProgramsNV, NULL, 787),
NAME_FUNC_OFFSET(13531, glExecuteProgramNV, glExecuteProgramNV, NULL, 788),
NAME_FUNC_OFFSET(13550, glGenProgramsNV, glGenProgramsNV, NULL, 789),
- NAME_FUNC_OFFSET(13566, glGetProgramParameterdvNV, glGetProgramParameterdvNV, NULL, 790),
- NAME_FUNC_OFFSET(13592, glGetProgramParameterfvNV, glGetProgramParameterfvNV, NULL, 791),
- NAME_FUNC_OFFSET(13618, glGetProgramStringNV, glGetProgramStringNV, NULL, 792),
+ NAME_FUNC_OFFSET(13566, glGetProgramParameterdvNV,
+ glGetProgramParameterdvNV, NULL, 790),
+ NAME_FUNC_OFFSET(13592, glGetProgramParameterfvNV,
+ glGetProgramParameterfvNV, NULL, 791),
+ NAME_FUNC_OFFSET(13618, glGetProgramStringNV, glGetProgramStringNV, NULL,
+ 792),
NAME_FUNC_OFFSET(13639, glGetProgramivNV, glGetProgramivNV, NULL, 793),
- NAME_FUNC_OFFSET(13656, glGetTrackMatrixivNV, glGetTrackMatrixivNV, NULL, 794),
- NAME_FUNC_OFFSET(13677, glGetVertexAttribPointervNV, glGetVertexAttribPointervNV, NULL, 795),
- NAME_FUNC_OFFSET(13705, glGetVertexAttribdvNV, glGetVertexAttribdvNV, NULL, 796),
- NAME_FUNC_OFFSET(13727, glGetVertexAttribfvNV, glGetVertexAttribfvNV, NULL, 797),
- NAME_FUNC_OFFSET(13749, glGetVertexAttribivNV, glGetVertexAttribivNV, NULL, 798),
+ NAME_FUNC_OFFSET(13656, glGetTrackMatrixivNV, glGetTrackMatrixivNV, NULL,
+ 794),
+ NAME_FUNC_OFFSET(13677, glGetVertexAttribPointervNV,
+ glGetVertexAttribPointervNV, NULL, 795),
+ NAME_FUNC_OFFSET(13705, glGetVertexAttribdvNV, glGetVertexAttribdvNV, NULL,
+ 796),
+ NAME_FUNC_OFFSET(13727, glGetVertexAttribfvNV, glGetVertexAttribfvNV, NULL,
+ 797),
+ NAME_FUNC_OFFSET(13749, glGetVertexAttribivNV, glGetVertexAttribivNV, NULL,
+ 798),
NAME_FUNC_OFFSET(13771, glIsProgramNV, glIsProgramNV, NULL, 799),
NAME_FUNC_OFFSET(13785, glLoadProgramNV, glLoadProgramNV, NULL, 800),
- NAME_FUNC_OFFSET(13801, glProgramParameters4dvNV, glProgramParameters4dvNV, NULL, 801),
- NAME_FUNC_OFFSET(13826, glProgramParameters4fvNV, glProgramParameters4fvNV, NULL, 802),
- NAME_FUNC_OFFSET(13851, glRequestResidentProgramsNV, glRequestResidentProgramsNV, NULL, 803),
+ NAME_FUNC_OFFSET(13801, glProgramParameters4dvNV, glProgramParameters4dvNV,
+ NULL, 801),
+ NAME_FUNC_OFFSET(13826, glProgramParameters4fvNV, glProgramParameters4fvNV,
+ NULL, 802),
+ NAME_FUNC_OFFSET(13851, glRequestResidentProgramsNV,
+ glRequestResidentProgramsNV, NULL, 803),
NAME_FUNC_OFFSET(13879, glTrackMatrixNV, glTrackMatrixNV, NULL, 804),
NAME_FUNC_OFFSET(13895, glVertexAttrib1dNV, glVertexAttrib1dNV, NULL, 805),
- NAME_FUNC_OFFSET(13914, glVertexAttrib1dvNV, glVertexAttrib1dvNV, NULL, 806),
+ NAME_FUNC_OFFSET(13914, glVertexAttrib1dvNV, glVertexAttrib1dvNV, NULL,
+ 806),
NAME_FUNC_OFFSET(13934, glVertexAttrib1fNV, glVertexAttrib1fNV, NULL, 807),
- NAME_FUNC_OFFSET(13953, glVertexAttrib1fvNV, glVertexAttrib1fvNV, NULL, 808),
+ NAME_FUNC_OFFSET(13953, glVertexAttrib1fvNV, glVertexAttrib1fvNV, NULL,
+ 808),
NAME_FUNC_OFFSET(13973, glVertexAttrib1sNV, glVertexAttrib1sNV, NULL, 809),
- NAME_FUNC_OFFSET(13992, glVertexAttrib1svNV, glVertexAttrib1svNV, NULL, 810),
+ NAME_FUNC_OFFSET(13992, glVertexAttrib1svNV, glVertexAttrib1svNV, NULL,
+ 810),
NAME_FUNC_OFFSET(14012, glVertexAttrib2dNV, glVertexAttrib2dNV, NULL, 811),
- NAME_FUNC_OFFSET(14031, glVertexAttrib2dvNV, glVertexAttrib2dvNV, NULL, 812),
+ NAME_FUNC_OFFSET(14031, glVertexAttrib2dvNV, glVertexAttrib2dvNV, NULL,
+ 812),
NAME_FUNC_OFFSET(14051, glVertexAttrib2fNV, glVertexAttrib2fNV, NULL, 813),
- NAME_FUNC_OFFSET(14070, glVertexAttrib2fvNV, glVertexAttrib2fvNV, NULL, 814),
+ NAME_FUNC_OFFSET(14070, glVertexAttrib2fvNV, glVertexAttrib2fvNV, NULL,
+ 814),
NAME_FUNC_OFFSET(14090, glVertexAttrib2sNV, glVertexAttrib2sNV, NULL, 815),
- NAME_FUNC_OFFSET(14109, glVertexAttrib2svNV, glVertexAttrib2svNV, NULL, 816),
+ NAME_FUNC_OFFSET(14109, glVertexAttrib2svNV, glVertexAttrib2svNV, NULL,
+ 816),
NAME_FUNC_OFFSET(14129, glVertexAttrib3dNV, glVertexAttrib3dNV, NULL, 817),
- NAME_FUNC_OFFSET(14148, glVertexAttrib3dvNV, glVertexAttrib3dvNV, NULL, 818),
+ NAME_FUNC_OFFSET(14148, glVertexAttrib3dvNV, glVertexAttrib3dvNV, NULL,
+ 818),
NAME_FUNC_OFFSET(14168, glVertexAttrib3fNV, glVertexAttrib3fNV, NULL, 819),
- NAME_FUNC_OFFSET(14187, glVertexAttrib3fvNV, glVertexAttrib3fvNV, NULL, 820),
+ NAME_FUNC_OFFSET(14187, glVertexAttrib3fvNV, glVertexAttrib3fvNV, NULL,
+ 820),
NAME_FUNC_OFFSET(14207, glVertexAttrib3sNV, glVertexAttrib3sNV, NULL, 821),
- NAME_FUNC_OFFSET(14226, glVertexAttrib3svNV, glVertexAttrib3svNV, NULL, 822),
+ NAME_FUNC_OFFSET(14226, glVertexAttrib3svNV, glVertexAttrib3svNV, NULL,
+ 822),
NAME_FUNC_OFFSET(14246, glVertexAttrib4dNV, glVertexAttrib4dNV, NULL, 823),
- NAME_FUNC_OFFSET(14265, glVertexAttrib4dvNV, glVertexAttrib4dvNV, NULL, 824),
+ NAME_FUNC_OFFSET(14265, glVertexAttrib4dvNV, glVertexAttrib4dvNV, NULL,
+ 824),
NAME_FUNC_OFFSET(14285, glVertexAttrib4fNV, glVertexAttrib4fNV, NULL, 825),
- NAME_FUNC_OFFSET(14304, glVertexAttrib4fvNV, glVertexAttrib4fvNV, NULL, 826),
+ NAME_FUNC_OFFSET(14304, glVertexAttrib4fvNV, glVertexAttrib4fvNV, NULL,
+ 826),
NAME_FUNC_OFFSET(14324, glVertexAttrib4sNV, glVertexAttrib4sNV, NULL, 827),
- NAME_FUNC_OFFSET(14343, glVertexAttrib4svNV, glVertexAttrib4svNV, NULL, 828),
- NAME_FUNC_OFFSET(14363, glVertexAttrib4ubNV, glVertexAttrib4ubNV, NULL, 829),
- NAME_FUNC_OFFSET(14383, glVertexAttrib4ubvNV, glVertexAttrib4ubvNV, NULL, 830),
- NAME_FUNC_OFFSET(14404, glVertexAttribPointerNV, glVertexAttribPointerNV, NULL, 831),
- NAME_FUNC_OFFSET(14428, glVertexAttribs1dvNV, glVertexAttribs1dvNV, NULL, 832),
- NAME_FUNC_OFFSET(14449, glVertexAttribs1fvNV, glVertexAttribs1fvNV, NULL, 833),
- NAME_FUNC_OFFSET(14470, glVertexAttribs1svNV, glVertexAttribs1svNV, NULL, 834),
- NAME_FUNC_OFFSET(14491, glVertexAttribs2dvNV, glVertexAttribs2dvNV, NULL, 835),
- NAME_FUNC_OFFSET(14512, glVertexAttribs2fvNV, glVertexAttribs2fvNV, NULL, 836),
- NAME_FUNC_OFFSET(14533, glVertexAttribs2svNV, glVertexAttribs2svNV, NULL, 837),
- NAME_FUNC_OFFSET(14554, glVertexAttribs3dvNV, glVertexAttribs3dvNV, NULL, 838),
- NAME_FUNC_OFFSET(14575, glVertexAttribs3fvNV, glVertexAttribs3fvNV, NULL, 839),
- NAME_FUNC_OFFSET(14596, glVertexAttribs3svNV, glVertexAttribs3svNV, NULL, 840),
- NAME_FUNC_OFFSET(14617, glVertexAttribs4dvNV, glVertexAttribs4dvNV, NULL, 841),
- NAME_FUNC_OFFSET(14638, glVertexAttribs4fvNV, glVertexAttribs4fvNV, NULL, 842),
- NAME_FUNC_OFFSET(14659, glVertexAttribs4svNV, glVertexAttribs4svNV, NULL, 843),
- NAME_FUNC_OFFSET(14680, glVertexAttribs4ubvNV, glVertexAttribs4ubvNV, NULL, 844),
- NAME_FUNC_OFFSET(14702, glGetTexBumpParameterfvATI, glGetTexBumpParameterfvATI, NULL, 845),
- NAME_FUNC_OFFSET(14729, glGetTexBumpParameterivATI, glGetTexBumpParameterivATI, NULL, 846),
- NAME_FUNC_OFFSET(14756, glTexBumpParameterfvATI, glTexBumpParameterfvATI, NULL, 847),
- NAME_FUNC_OFFSET(14780, glTexBumpParameterivATI, glTexBumpParameterivATI, NULL, 848),
- NAME_FUNC_OFFSET(14804, glAlphaFragmentOp1ATI, glAlphaFragmentOp1ATI, NULL, 849),
- NAME_FUNC_OFFSET(14826, glAlphaFragmentOp2ATI, glAlphaFragmentOp2ATI, NULL, 850),
- NAME_FUNC_OFFSET(14848, glAlphaFragmentOp3ATI, glAlphaFragmentOp3ATI, NULL, 851),
- NAME_FUNC_OFFSET(14870, glBeginFragmentShaderATI, glBeginFragmentShaderATI, NULL, 852),
- NAME_FUNC_OFFSET(14895, glBindFragmentShaderATI, glBindFragmentShaderATI, NULL, 853),
- NAME_FUNC_OFFSET(14919, glColorFragmentOp1ATI, glColorFragmentOp1ATI, NULL, 854),
- NAME_FUNC_OFFSET(14941, glColorFragmentOp2ATI, glColorFragmentOp2ATI, NULL, 855),
- NAME_FUNC_OFFSET(14963, glColorFragmentOp3ATI, glColorFragmentOp3ATI, NULL, 856),
- NAME_FUNC_OFFSET(14985, glDeleteFragmentShaderATI, glDeleteFragmentShaderATI, NULL, 857),
- NAME_FUNC_OFFSET(15011, glEndFragmentShaderATI, glEndFragmentShaderATI, NULL, 858),
- NAME_FUNC_OFFSET(15034, glGenFragmentShadersATI, glGenFragmentShadersATI, NULL, 859),
+ NAME_FUNC_OFFSET(14343, glVertexAttrib4svNV, glVertexAttrib4svNV, NULL,
+ 828),
+ NAME_FUNC_OFFSET(14363, glVertexAttrib4ubNV, glVertexAttrib4ubNV, NULL,
+ 829),
+ NAME_FUNC_OFFSET(14383, glVertexAttrib4ubvNV, glVertexAttrib4ubvNV, NULL,
+ 830),
+ NAME_FUNC_OFFSET(14404, glVertexAttribPointerNV, glVertexAttribPointerNV,
+ NULL, 831),
+ NAME_FUNC_OFFSET(14428, glVertexAttribs1dvNV, glVertexAttribs1dvNV, NULL,
+ 832),
+ NAME_FUNC_OFFSET(14449, glVertexAttribs1fvNV, glVertexAttribs1fvNV, NULL,
+ 833),
+ NAME_FUNC_OFFSET(14470, glVertexAttribs1svNV, glVertexAttribs1svNV, NULL,
+ 834),
+ NAME_FUNC_OFFSET(14491, glVertexAttribs2dvNV, glVertexAttribs2dvNV, NULL,
+ 835),
+ NAME_FUNC_OFFSET(14512, glVertexAttribs2fvNV, glVertexAttribs2fvNV, NULL,
+ 836),
+ NAME_FUNC_OFFSET(14533, glVertexAttribs2svNV, glVertexAttribs2svNV, NULL,
+ 837),
+ NAME_FUNC_OFFSET(14554, glVertexAttribs3dvNV, glVertexAttribs3dvNV, NULL,
+ 838),
+ NAME_FUNC_OFFSET(14575, glVertexAttribs3fvNV, glVertexAttribs3fvNV, NULL,
+ 839),
+ NAME_FUNC_OFFSET(14596, glVertexAttribs3svNV, glVertexAttribs3svNV, NULL,
+ 840),
+ NAME_FUNC_OFFSET(14617, glVertexAttribs4dvNV, glVertexAttribs4dvNV, NULL,
+ 841),
+ NAME_FUNC_OFFSET(14638, glVertexAttribs4fvNV, glVertexAttribs4fvNV, NULL,
+ 842),
+ NAME_FUNC_OFFSET(14659, glVertexAttribs4svNV, glVertexAttribs4svNV, NULL,
+ 843),
+ NAME_FUNC_OFFSET(14680, glVertexAttribs4ubvNV, glVertexAttribs4ubvNV, NULL,
+ 844),
+ NAME_FUNC_OFFSET(14702, glGetTexBumpParameterfvATI,
+ glGetTexBumpParameterfvATI, NULL, 845),
+ NAME_FUNC_OFFSET(14729, glGetTexBumpParameterivATI,
+ glGetTexBumpParameterivATI, NULL, 846),
+ NAME_FUNC_OFFSET(14756, glTexBumpParameterfvATI, glTexBumpParameterfvATI,
+ NULL, 847),
+ NAME_FUNC_OFFSET(14780, glTexBumpParameterivATI, glTexBumpParameterivATI,
+ NULL, 848),
+ NAME_FUNC_OFFSET(14804, glAlphaFragmentOp1ATI, glAlphaFragmentOp1ATI, NULL,
+ 849),
+ NAME_FUNC_OFFSET(14826, glAlphaFragmentOp2ATI, glAlphaFragmentOp2ATI, NULL,
+ 850),
+ NAME_FUNC_OFFSET(14848, glAlphaFragmentOp3ATI, glAlphaFragmentOp3ATI, NULL,
+ 851),
+ NAME_FUNC_OFFSET(14870, glBeginFragmentShaderATI, glBeginFragmentShaderATI,
+ NULL, 852),
+ NAME_FUNC_OFFSET(14895, glBindFragmentShaderATI, glBindFragmentShaderATI,
+ NULL, 853),
+ NAME_FUNC_OFFSET(14919, glColorFragmentOp1ATI, glColorFragmentOp1ATI, NULL,
+ 854),
+ NAME_FUNC_OFFSET(14941, glColorFragmentOp2ATI, glColorFragmentOp2ATI, NULL,
+ 855),
+ NAME_FUNC_OFFSET(14963, glColorFragmentOp3ATI, glColorFragmentOp3ATI, NULL,
+ 856),
+ NAME_FUNC_OFFSET(14985, glDeleteFragmentShaderATI,
+ glDeleteFragmentShaderATI, NULL, 857),
+ NAME_FUNC_OFFSET(15011, glEndFragmentShaderATI, glEndFragmentShaderATI,
+ NULL, 858),
+ NAME_FUNC_OFFSET(15034, glGenFragmentShadersATI, glGenFragmentShadersATI,
+ NULL, 859),
NAME_FUNC_OFFSET(15058, glPassTexCoordATI, glPassTexCoordATI, NULL, 860),
NAME_FUNC_OFFSET(15076, glSampleMapATI, glSampleMapATI, NULL, 861),
- NAME_FUNC_OFFSET(15091, glSetFragmentShaderConstantATI, glSetFragmentShaderConstantATI, NULL, 862),
- NAME_FUNC_OFFSET(15122, glPointParameteriNV, glPointParameteriNV, NULL, 863),
- NAME_FUNC_OFFSET(15142, glPointParameterivNV, glPointParameterivNV, NULL, 864),
- NAME_FUNC_OFFSET(15163, gl_dispatch_stub_865, gl_dispatch_stub_865, NULL, 865),
- NAME_FUNC_OFFSET(15186, gl_dispatch_stub_866, gl_dispatch_stub_866, NULL, 866),
- NAME_FUNC_OFFSET(15209, gl_dispatch_stub_867, gl_dispatch_stub_867, NULL, 867),
- NAME_FUNC_OFFSET(15235, gl_dispatch_stub_868, gl_dispatch_stub_868, NULL, 868),
- NAME_FUNC_OFFSET(15258, gl_dispatch_stub_869, gl_dispatch_stub_869, NULL, 869),
- NAME_FUNC_OFFSET(15279, glGetProgramNamedParameterdvNV, glGetProgramNamedParameterdvNV, NULL, 870),
- NAME_FUNC_OFFSET(15310, glGetProgramNamedParameterfvNV, glGetProgramNamedParameterfvNV, NULL, 871),
- NAME_FUNC_OFFSET(15341, glProgramNamedParameter4dNV, glProgramNamedParameter4dNV, NULL, 872),
- NAME_FUNC_OFFSET(15369, glProgramNamedParameter4dvNV, glProgramNamedParameter4dvNV, NULL, 873),
- NAME_FUNC_OFFSET(15398, glProgramNamedParameter4fNV, glProgramNamedParameter4fNV, NULL, 874),
- NAME_FUNC_OFFSET(15426, glProgramNamedParameter4fvNV, glProgramNamedParameter4fvNV, NULL, 875),
- NAME_FUNC_OFFSET(15455, glPrimitiveRestartIndexNV, glPrimitiveRestartIndexNV, NULL, 876),
- NAME_FUNC_OFFSET(15481, glPrimitiveRestartNV, glPrimitiveRestartNV, NULL, 877),
- NAME_FUNC_OFFSET(15502, gl_dispatch_stub_878, gl_dispatch_stub_878, NULL, 878),
- NAME_FUNC_OFFSET(15519, gl_dispatch_stub_879, gl_dispatch_stub_879, NULL, 879),
- NAME_FUNC_OFFSET(15546, glBindFramebufferEXT, glBindFramebufferEXT, NULL, 880),
- NAME_FUNC_OFFSET(15567, glBindRenderbufferEXT, glBindRenderbufferEXT, NULL, 881),
- NAME_FUNC_OFFSET(15589, glCheckFramebufferStatusEXT, glCheckFramebufferStatusEXT, NULL, 882),
- NAME_FUNC_OFFSET(15617, glDeleteFramebuffersEXT, glDeleteFramebuffersEXT, NULL, 883),
- NAME_FUNC_OFFSET(15641, glDeleteRenderbuffersEXT, glDeleteRenderbuffersEXT, NULL, 884),
- NAME_FUNC_OFFSET(15666, glFramebufferRenderbufferEXT, glFramebufferRenderbufferEXT, NULL, 885),
- NAME_FUNC_OFFSET(15695, glFramebufferTexture1DEXT, glFramebufferTexture1DEXT, NULL, 886),
- NAME_FUNC_OFFSET(15721, glFramebufferTexture2DEXT, glFramebufferTexture2DEXT, NULL, 887),
- NAME_FUNC_OFFSET(15747, glFramebufferTexture3DEXT, glFramebufferTexture3DEXT, NULL, 888),
- NAME_FUNC_OFFSET(15773, glGenFramebuffersEXT, glGenFramebuffersEXT, NULL, 889),
- NAME_FUNC_OFFSET(15794, glGenRenderbuffersEXT, glGenRenderbuffersEXT, NULL, 890),
- NAME_FUNC_OFFSET(15816, glGenerateMipmapEXT, glGenerateMipmapEXT, NULL, 891),
- NAME_FUNC_OFFSET(15836, glGetFramebufferAttachmentParameterivEXT, glGetFramebufferAttachmentParameterivEXT, NULL, 892),
- NAME_FUNC_OFFSET(15877, glGetRenderbufferParameterivEXT, glGetRenderbufferParameterivEXT, NULL, 893),
+ NAME_FUNC_OFFSET(15091, glSetFragmentShaderConstantATI,
+ glSetFragmentShaderConstantATI, NULL, 862),
+ NAME_FUNC_OFFSET(15122, glPointParameteriNV, glPointParameteriNV, NULL,
+ 863),
+ NAME_FUNC_OFFSET(15142, glPointParameterivNV, glPointParameterivNV, NULL,
+ 864),
+ NAME_FUNC_OFFSET(15163, gl_dispatch_stub_865, gl_dispatch_stub_865, NULL,
+ 865),
+ NAME_FUNC_OFFSET(15186, gl_dispatch_stub_866, gl_dispatch_stub_866, NULL,
+ 866),
+ NAME_FUNC_OFFSET(15209, gl_dispatch_stub_867, gl_dispatch_stub_867, NULL,
+ 867),
+ NAME_FUNC_OFFSET(15235, gl_dispatch_stub_868, gl_dispatch_stub_868, NULL,
+ 868),
+ NAME_FUNC_OFFSET(15258, gl_dispatch_stub_869, gl_dispatch_stub_869, NULL,
+ 869),
+ NAME_FUNC_OFFSET(15279, glGetProgramNamedParameterdvNV,
+ glGetProgramNamedParameterdvNV, NULL, 870),
+ NAME_FUNC_OFFSET(15310, glGetProgramNamedParameterfvNV,
+ glGetProgramNamedParameterfvNV, NULL, 871),
+ NAME_FUNC_OFFSET(15341, glProgramNamedParameter4dNV,
+ glProgramNamedParameter4dNV, NULL, 872),
+ NAME_FUNC_OFFSET(15369, glProgramNamedParameter4dvNV,
+ glProgramNamedParameter4dvNV, NULL, 873),
+ NAME_FUNC_OFFSET(15398, glProgramNamedParameter4fNV,
+ glProgramNamedParameter4fNV, NULL, 874),
+ NAME_FUNC_OFFSET(15426, glProgramNamedParameter4fvNV,
+ glProgramNamedParameter4fvNV, NULL, 875),
+ NAME_FUNC_OFFSET(15455, glPrimitiveRestartIndexNV,
+ glPrimitiveRestartIndexNV, NULL, 876),
+ NAME_FUNC_OFFSET(15481, glPrimitiveRestartNV, glPrimitiveRestartNV, NULL,
+ 877),
+ NAME_FUNC_OFFSET(15502, gl_dispatch_stub_878, gl_dispatch_stub_878, NULL,
+ 878),
+ NAME_FUNC_OFFSET(15519, gl_dispatch_stub_879, gl_dispatch_stub_879, NULL,
+ 879),
+ NAME_FUNC_OFFSET(15546, glBindFramebufferEXT, glBindFramebufferEXT, NULL,
+ 880),
+ NAME_FUNC_OFFSET(15567, glBindRenderbufferEXT, glBindRenderbufferEXT, NULL,
+ 881),
+ NAME_FUNC_OFFSET(15589, glCheckFramebufferStatusEXT,
+ glCheckFramebufferStatusEXT, NULL, 882),
+ NAME_FUNC_OFFSET(15617, glDeleteFramebuffersEXT, glDeleteFramebuffersEXT,
+ NULL, 883),
+ NAME_FUNC_OFFSET(15641, glDeleteRenderbuffersEXT, glDeleteRenderbuffersEXT,
+ NULL, 884),
+ NAME_FUNC_OFFSET(15666, glFramebufferRenderbufferEXT,
+ glFramebufferRenderbufferEXT, NULL, 885),
+ NAME_FUNC_OFFSET(15695, glFramebufferTexture1DEXT,
+ glFramebufferTexture1DEXT, NULL, 886),
+ NAME_FUNC_OFFSET(15721, glFramebufferTexture2DEXT,
+ glFramebufferTexture2DEXT, NULL, 887),
+ NAME_FUNC_OFFSET(15747, glFramebufferTexture3DEXT,
+ glFramebufferTexture3DEXT, NULL, 888),
+ NAME_FUNC_OFFSET(15773, glGenFramebuffersEXT, glGenFramebuffersEXT, NULL,
+ 889),
+ NAME_FUNC_OFFSET(15794, glGenRenderbuffersEXT, glGenRenderbuffersEXT, NULL,
+ 890),
+ NAME_FUNC_OFFSET(15816, glGenerateMipmapEXT, glGenerateMipmapEXT, NULL,
+ 891),
+ NAME_FUNC_OFFSET(15836, glGetFramebufferAttachmentParameterivEXT,
+ glGetFramebufferAttachmentParameterivEXT, NULL, 892),
+ NAME_FUNC_OFFSET(15877, glGetRenderbufferParameterivEXT,
+ glGetRenderbufferParameterivEXT, NULL, 893),
NAME_FUNC_OFFSET(15909, glIsFramebufferEXT, glIsFramebufferEXT, NULL, 894),
- NAME_FUNC_OFFSET(15928, glIsRenderbufferEXT, glIsRenderbufferEXT, NULL, 895),
- NAME_FUNC_OFFSET(15948, glRenderbufferStorageEXT, glRenderbufferStorageEXT, NULL, 896),
- NAME_FUNC_OFFSET(15973, gl_dispatch_stub_897, gl_dispatch_stub_897, NULL, 897),
- NAME_FUNC_OFFSET(15994, gl_dispatch_stub_898, gl_dispatch_stub_898, NULL, 898),
- NAME_FUNC_OFFSET(16018, gl_dispatch_stub_899, gl_dispatch_stub_899, NULL, 899),
- NAME_FUNC_OFFSET(16048, glBindFragDataLocationEXT, glBindFragDataLocationEXT, NULL, 900),
- NAME_FUNC_OFFSET(16074, glGetFragDataLocationEXT, glGetFragDataLocationEXT, NULL, 901),
+ NAME_FUNC_OFFSET(15928, glIsRenderbufferEXT, glIsRenderbufferEXT, NULL,
+ 895),
+ NAME_FUNC_OFFSET(15948, glRenderbufferStorageEXT, glRenderbufferStorageEXT,
+ NULL, 896),
+ NAME_FUNC_OFFSET(15973, gl_dispatch_stub_897, gl_dispatch_stub_897, NULL,
+ 897),
+ NAME_FUNC_OFFSET(15994, gl_dispatch_stub_898, gl_dispatch_stub_898, NULL,
+ 898),
+ NAME_FUNC_OFFSET(16018, gl_dispatch_stub_899, gl_dispatch_stub_899, NULL,
+ 899),
+ NAME_FUNC_OFFSET(16048, glBindFragDataLocationEXT,
+ glBindFragDataLocationEXT, NULL, 900),
+ NAME_FUNC_OFFSET(16074, glGetFragDataLocationEXT, glGetFragDataLocationEXT,
+ NULL, 901),
NAME_FUNC_OFFSET(16099, glGetUniformuivEXT, glGetUniformuivEXT, NULL, 902),
- NAME_FUNC_OFFSET(16118, glGetVertexAttribIivEXT, glGetVertexAttribIivEXT, NULL, 903),
- NAME_FUNC_OFFSET(16142, glGetVertexAttribIuivEXT, glGetVertexAttribIuivEXT, NULL, 904),
+ NAME_FUNC_OFFSET(16118, glGetVertexAttribIivEXT, glGetVertexAttribIivEXT,
+ NULL, 903),
+ NAME_FUNC_OFFSET(16142, glGetVertexAttribIuivEXT, glGetVertexAttribIuivEXT,
+ NULL, 904),
NAME_FUNC_OFFSET(16167, glUniform1uiEXT, glUniform1uiEXT, NULL, 905),
NAME_FUNC_OFFSET(16183, glUniform1uivEXT, glUniform1uivEXT, NULL, 906),
NAME_FUNC_OFFSET(16200, glUniform2uiEXT, glUniform2uiEXT, NULL, 907),
@@ -2410,224 +2791,414 @@ static const glprocs_table_t static_functions[] = {
NAME_FUNC_OFFSET(16249, glUniform3uivEXT, glUniform3uivEXT, NULL, 910),
NAME_FUNC_OFFSET(16266, glUniform4uiEXT, glUniform4uiEXT, NULL, 911),
NAME_FUNC_OFFSET(16282, glUniform4uivEXT, glUniform4uivEXT, NULL, 912),
- NAME_FUNC_OFFSET(16299, glVertexAttribI1iEXT, glVertexAttribI1iEXT, NULL, 913),
- NAME_FUNC_OFFSET(16320, glVertexAttribI1ivEXT, glVertexAttribI1ivEXT, NULL, 914),
- NAME_FUNC_OFFSET(16342, glVertexAttribI1uiEXT, glVertexAttribI1uiEXT, NULL, 915),
- NAME_FUNC_OFFSET(16364, glVertexAttribI1uivEXT, glVertexAttribI1uivEXT, NULL, 916),
- NAME_FUNC_OFFSET(16387, glVertexAttribI2iEXT, glVertexAttribI2iEXT, NULL, 917),
- NAME_FUNC_OFFSET(16408, glVertexAttribI2ivEXT, glVertexAttribI2ivEXT, NULL, 918),
- NAME_FUNC_OFFSET(16430, glVertexAttribI2uiEXT, glVertexAttribI2uiEXT, NULL, 919),
- NAME_FUNC_OFFSET(16452, glVertexAttribI2uivEXT, glVertexAttribI2uivEXT, NULL, 920),
- NAME_FUNC_OFFSET(16475, glVertexAttribI3iEXT, glVertexAttribI3iEXT, NULL, 921),
- NAME_FUNC_OFFSET(16496, glVertexAttribI3ivEXT, glVertexAttribI3ivEXT, NULL, 922),
- NAME_FUNC_OFFSET(16518, glVertexAttribI3uiEXT, glVertexAttribI3uiEXT, NULL, 923),
- NAME_FUNC_OFFSET(16540, glVertexAttribI3uivEXT, glVertexAttribI3uivEXT, NULL, 924),
- NAME_FUNC_OFFSET(16563, glVertexAttribI4bvEXT, glVertexAttribI4bvEXT, NULL, 925),
- NAME_FUNC_OFFSET(16585, glVertexAttribI4iEXT, glVertexAttribI4iEXT, NULL, 926),
- NAME_FUNC_OFFSET(16606, glVertexAttribI4ivEXT, glVertexAttribI4ivEXT, NULL, 927),
- NAME_FUNC_OFFSET(16628, glVertexAttribI4svEXT, glVertexAttribI4svEXT, NULL, 928),
- NAME_FUNC_OFFSET(16650, glVertexAttribI4ubvEXT, glVertexAttribI4ubvEXT, NULL, 929),
- NAME_FUNC_OFFSET(16673, glVertexAttribI4uiEXT, glVertexAttribI4uiEXT, NULL, 930),
- NAME_FUNC_OFFSET(16695, glVertexAttribI4uivEXT, glVertexAttribI4uivEXT, NULL, 931),
- NAME_FUNC_OFFSET(16718, glVertexAttribI4usvEXT, glVertexAttribI4usvEXT, NULL, 932),
- NAME_FUNC_OFFSET(16741, glVertexAttribIPointerEXT, glVertexAttribIPointerEXT, NULL, 933),
- NAME_FUNC_OFFSET(16767, glFramebufferTextureLayerEXT, glFramebufferTextureLayerEXT, NULL, 934),
- NAME_FUNC_OFFSET(16796, glColorMaskIndexedEXT, glColorMaskIndexedEXT, NULL, 935),
- NAME_FUNC_OFFSET(16818, glDisableIndexedEXT, glDisableIndexedEXT, NULL, 936),
+ NAME_FUNC_OFFSET(16299, glVertexAttribI1iEXT, glVertexAttribI1iEXT, NULL,
+ 913),
+ NAME_FUNC_OFFSET(16320, glVertexAttribI1ivEXT, glVertexAttribI1ivEXT, NULL,
+ 914),
+ NAME_FUNC_OFFSET(16342, glVertexAttribI1uiEXT, glVertexAttribI1uiEXT, NULL,
+ 915),
+ NAME_FUNC_OFFSET(16364, glVertexAttribI1uivEXT, glVertexAttribI1uivEXT,
+ NULL, 916),
+ NAME_FUNC_OFFSET(16387, glVertexAttribI2iEXT, glVertexAttribI2iEXT, NULL,
+ 917),
+ NAME_FUNC_OFFSET(16408, glVertexAttribI2ivEXT, glVertexAttribI2ivEXT, NULL,
+ 918),
+ NAME_FUNC_OFFSET(16430, glVertexAttribI2uiEXT, glVertexAttribI2uiEXT, NULL,
+ 919),
+ NAME_FUNC_OFFSET(16452, glVertexAttribI2uivEXT, glVertexAttribI2uivEXT,
+ NULL, 920),
+ NAME_FUNC_OFFSET(16475, glVertexAttribI3iEXT, glVertexAttribI3iEXT, NULL,
+ 921),
+ NAME_FUNC_OFFSET(16496, glVertexAttribI3ivEXT, glVertexAttribI3ivEXT, NULL,
+ 922),
+ NAME_FUNC_OFFSET(16518, glVertexAttribI3uiEXT, glVertexAttribI3uiEXT, NULL,
+ 923),
+ NAME_FUNC_OFFSET(16540, glVertexAttribI3uivEXT, glVertexAttribI3uivEXT,
+ NULL, 924),
+ NAME_FUNC_OFFSET(16563, glVertexAttribI4bvEXT, glVertexAttribI4bvEXT, NULL,
+ 925),
+ NAME_FUNC_OFFSET(16585, glVertexAttribI4iEXT, glVertexAttribI4iEXT, NULL,
+ 926),
+ NAME_FUNC_OFFSET(16606, glVertexAttribI4ivEXT, glVertexAttribI4ivEXT, NULL,
+ 927),
+ NAME_FUNC_OFFSET(16628, glVertexAttribI4svEXT, glVertexAttribI4svEXT, NULL,
+ 928),
+ NAME_FUNC_OFFSET(16650, glVertexAttribI4ubvEXT, glVertexAttribI4ubvEXT,
+ NULL, 929),
+ NAME_FUNC_OFFSET(16673, glVertexAttribI4uiEXT, glVertexAttribI4uiEXT, NULL,
+ 930),
+ NAME_FUNC_OFFSET(16695, glVertexAttribI4uivEXT, glVertexAttribI4uivEXT,
+ NULL, 931),
+ NAME_FUNC_OFFSET(16718, glVertexAttribI4usvEXT, glVertexAttribI4usvEXT,
+ NULL, 932),
+ NAME_FUNC_OFFSET(16741, glVertexAttribIPointerEXT,
+ glVertexAttribIPointerEXT, NULL, 933),
+ NAME_FUNC_OFFSET(16767, glFramebufferTextureLayerEXT,
+ glFramebufferTextureLayerEXT, NULL, 934),
+ NAME_FUNC_OFFSET(16796, glColorMaskIndexedEXT, glColorMaskIndexedEXT, NULL,
+ 935),
+ NAME_FUNC_OFFSET(16818, glDisableIndexedEXT, glDisableIndexedEXT, NULL,
+ 936),
NAME_FUNC_OFFSET(16838, glEnableIndexedEXT, glEnableIndexedEXT, NULL, 937),
- NAME_FUNC_OFFSET(16857, glGetBooleanIndexedvEXT, glGetBooleanIndexedvEXT, NULL, 938),
- NAME_FUNC_OFFSET(16881, glGetIntegerIndexedvEXT, glGetIntegerIndexedvEXT, NULL, 939),
- NAME_FUNC_OFFSET(16905, glIsEnabledIndexedEXT, glIsEnabledIndexedEXT, NULL, 940),
+ NAME_FUNC_OFFSET(16857, glGetBooleanIndexedvEXT, glGetBooleanIndexedvEXT,
+ NULL, 938),
+ NAME_FUNC_OFFSET(16881, glGetIntegerIndexedvEXT, glGetIntegerIndexedvEXT,
+ NULL, 939),
+ NAME_FUNC_OFFSET(16905, glIsEnabledIndexedEXT, glIsEnabledIndexedEXT, NULL,
+ 940),
NAME_FUNC_OFFSET(16927, glClearColorIiEXT, glClearColorIiEXT, NULL, 941),
NAME_FUNC_OFFSET(16945, glClearColorIuiEXT, glClearColorIuiEXT, NULL, 942),
- NAME_FUNC_OFFSET(16964, glGetTexParameterIivEXT, glGetTexParameterIivEXT, NULL, 943),
- NAME_FUNC_OFFSET(16988, glGetTexParameterIuivEXT, glGetTexParameterIuivEXT, NULL, 944),
- NAME_FUNC_OFFSET(17013, glTexParameterIivEXT, glTexParameterIivEXT, NULL, 945),
- NAME_FUNC_OFFSET(17034, glTexParameterIuivEXT, glTexParameterIuivEXT, NULL, 946),
- NAME_FUNC_OFFSET(17056, glBeginConditionalRenderNV, glBeginConditionalRenderNV, NULL, 947),
- NAME_FUNC_OFFSET(17083, glEndConditionalRenderNV, glEndConditionalRenderNV, NULL, 948),
- NAME_FUNC_OFFSET(17108, glBeginTransformFeedbackEXT, glBeginTransformFeedbackEXT, NULL, 949),
- NAME_FUNC_OFFSET(17136, glBindBufferBaseEXT, glBindBufferBaseEXT, NULL, 950),
- NAME_FUNC_OFFSET(17156, glBindBufferOffsetEXT, glBindBufferOffsetEXT, NULL, 951),
- NAME_FUNC_OFFSET(17178, glBindBufferRangeEXT, glBindBufferRangeEXT, NULL, 952),
- NAME_FUNC_OFFSET(17199, glEndTransformFeedbackEXT, glEndTransformFeedbackEXT, NULL, 953),
- NAME_FUNC_OFFSET(17225, glGetTransformFeedbackVaryingEXT, glGetTransformFeedbackVaryingEXT, NULL, 954),
- NAME_FUNC_OFFSET(17258, glTransformFeedbackVaryingsEXT, glTransformFeedbackVaryingsEXT, NULL, 955),
- NAME_FUNC_OFFSET(17289, glProvokingVertexEXT, glProvokingVertexEXT, NULL, 956),
- NAME_FUNC_OFFSET(17310, gl_dispatch_stub_957, gl_dispatch_stub_957, NULL, 957),
- NAME_FUNC_OFFSET(17341, gl_dispatch_stub_958, gl_dispatch_stub_958, NULL, 958),
- NAME_FUNC_OFFSET(17361, glGetObjectParameterivAPPLE, glGetObjectParameterivAPPLE, NULL, 959),
- NAME_FUNC_OFFSET(17389, glObjectPurgeableAPPLE, glObjectPurgeableAPPLE, NULL, 960),
- NAME_FUNC_OFFSET(17412, glObjectUnpurgeableAPPLE, glObjectUnpurgeableAPPLE, NULL, 961),
+ NAME_FUNC_OFFSET(16964, glGetTexParameterIivEXT, glGetTexParameterIivEXT,
+ NULL, 943),
+ NAME_FUNC_OFFSET(16988, glGetTexParameterIuivEXT, glGetTexParameterIuivEXT,
+ NULL, 944),
+ NAME_FUNC_OFFSET(17013, glTexParameterIivEXT, glTexParameterIivEXT, NULL,
+ 945),
+ NAME_FUNC_OFFSET(17034, glTexParameterIuivEXT, glTexParameterIuivEXT, NULL,
+ 946),
+ NAME_FUNC_OFFSET(17056, glBeginConditionalRenderNV,
+ glBeginConditionalRenderNV, NULL, 947),
+ NAME_FUNC_OFFSET(17083, glEndConditionalRenderNV, glEndConditionalRenderNV,
+ NULL, 948),
+ NAME_FUNC_OFFSET(17108, glBeginTransformFeedbackEXT,
+ glBeginTransformFeedbackEXT, NULL, 949),
+ NAME_FUNC_OFFSET(17136, glBindBufferBaseEXT, glBindBufferBaseEXT, NULL,
+ 950),
+ NAME_FUNC_OFFSET(17156, glBindBufferOffsetEXT, glBindBufferOffsetEXT, NULL,
+ 951),
+ NAME_FUNC_OFFSET(17178, glBindBufferRangeEXT, glBindBufferRangeEXT, NULL,
+ 952),
+ NAME_FUNC_OFFSET(17199, glEndTransformFeedbackEXT,
+ glEndTransformFeedbackEXT, NULL, 953),
+ NAME_FUNC_OFFSET(17225, glGetTransformFeedbackVaryingEXT,
+ glGetTransformFeedbackVaryingEXT, NULL, 954),
+ NAME_FUNC_OFFSET(17258, glTransformFeedbackVaryingsEXT,
+ glTransformFeedbackVaryingsEXT, NULL, 955),
+ NAME_FUNC_OFFSET(17289, glProvokingVertexEXT, glProvokingVertexEXT, NULL,
+ 956),
+ NAME_FUNC_OFFSET(17310, gl_dispatch_stub_957, gl_dispatch_stub_957, NULL,
+ 957),
+ NAME_FUNC_OFFSET(17341, gl_dispatch_stub_958, gl_dispatch_stub_958, NULL,
+ 958),
+ NAME_FUNC_OFFSET(17361, glGetObjectParameterivAPPLE,
+ glGetObjectParameterivAPPLE, NULL, 959),
+ NAME_FUNC_OFFSET(17389, glObjectPurgeableAPPLE, glObjectPurgeableAPPLE,
+ NULL, 960),
+ NAME_FUNC_OFFSET(17412, glObjectUnpurgeableAPPLE, glObjectUnpurgeableAPPLE,
+ NULL, 961),
NAME_FUNC_OFFSET(17437, glActiveProgramEXT, glActiveProgramEXT, NULL, 962),
- NAME_FUNC_OFFSET(17456, glCreateShaderProgramEXT, glCreateShaderProgramEXT, NULL, 963),
- NAME_FUNC_OFFSET(17481, glUseShaderProgramEXT, glUseShaderProgramEXT, NULL, 964),
+ NAME_FUNC_OFFSET(17456, glCreateShaderProgramEXT, glCreateShaderProgramEXT,
+ NULL, 963),
+ NAME_FUNC_OFFSET(17481, glUseShaderProgramEXT, glUseShaderProgramEXT, NULL,
+ 964),
NAME_FUNC_OFFSET(17503, glTextureBarrierNV, glTextureBarrierNV, NULL, 965),
- NAME_FUNC_OFFSET(17522, gl_dispatch_stub_966, gl_dispatch_stub_966, NULL, 966),
- NAME_FUNC_OFFSET(17547, gl_dispatch_stub_967, gl_dispatch_stub_967, NULL, 967),
- NAME_FUNC_OFFSET(17576, gl_dispatch_stub_968, gl_dispatch_stub_968, NULL, 968),
- NAME_FUNC_OFFSET(17607, gl_dispatch_stub_969, gl_dispatch_stub_969, NULL, 969),
- NAME_FUNC_OFFSET(17631, gl_dispatch_stub_970, gl_dispatch_stub_970, NULL, 970),
- NAME_FUNC_OFFSET(17656, glEGLImageTargetRenderbufferStorageOES, glEGLImageTargetRenderbufferStorageOES, NULL, 971),
- NAME_FUNC_OFFSET(17695, glEGLImageTargetTexture2DOES, glEGLImageTargetTexture2DOES, NULL, 972),
+ NAME_FUNC_OFFSET(17522, gl_dispatch_stub_966, gl_dispatch_stub_966, NULL,
+ 966),
+ NAME_FUNC_OFFSET(17547, gl_dispatch_stub_967, gl_dispatch_stub_967, NULL,
+ 967),
+ NAME_FUNC_OFFSET(17576, gl_dispatch_stub_968, gl_dispatch_stub_968, NULL,
+ 968),
+ NAME_FUNC_OFFSET(17607, gl_dispatch_stub_969, gl_dispatch_stub_969, NULL,
+ 969),
+ NAME_FUNC_OFFSET(17631, gl_dispatch_stub_970, gl_dispatch_stub_970, NULL,
+ 970),
+ NAME_FUNC_OFFSET(17656, glEGLImageTargetRenderbufferStorageOES,
+ glEGLImageTargetRenderbufferStorageOES, NULL, 971),
+ NAME_FUNC_OFFSET(17695, glEGLImageTargetTexture2DOES,
+ glEGLImageTargetTexture2DOES, NULL, 972),
NAME_FUNC_OFFSET(17724, glArrayElement, glArrayElement, NULL, 306),
NAME_FUNC_OFFSET(17742, glBindTexture, glBindTexture, NULL, 307),
NAME_FUNC_OFFSET(17759, glDrawArrays, glDrawArrays, NULL, 310),
- NAME_FUNC_OFFSET(17775, glAreTexturesResident, glAreTexturesResidentEXT, glAreTexturesResidentEXT, 322),
+ NAME_FUNC_OFFSET(17775, glAreTexturesResident, glAreTexturesResidentEXT,
+ glAreTexturesResidentEXT, 322),
NAME_FUNC_OFFSET(17800, glCopyTexImage1D, glCopyTexImage1D, NULL, 323),
NAME_FUNC_OFFSET(17820, glCopyTexImage2D, glCopyTexImage2D, NULL, 324),
- NAME_FUNC_OFFSET(17840, glCopyTexSubImage1D, glCopyTexSubImage1D, NULL, 325),
- NAME_FUNC_OFFSET(17863, glCopyTexSubImage2D, glCopyTexSubImage2D, NULL, 326),
- NAME_FUNC_OFFSET(17886, glDeleteTextures, glDeleteTexturesEXT, glDeleteTexturesEXT, 327),
- NAME_FUNC_OFFSET(17906, glGenTextures, glGenTexturesEXT, glGenTexturesEXT, 328),
+ NAME_FUNC_OFFSET(17840, glCopyTexSubImage1D, glCopyTexSubImage1D, NULL,
+ 325),
+ NAME_FUNC_OFFSET(17863, glCopyTexSubImage2D, glCopyTexSubImage2D, NULL,
+ 326),
+ NAME_FUNC_OFFSET(17886, glDeleteTextures, glDeleteTexturesEXT,
+ glDeleteTexturesEXT, 327),
+ NAME_FUNC_OFFSET(17906, glGenTextures, glGenTexturesEXT, glGenTexturesEXT,
+ 328),
NAME_FUNC_OFFSET(17923, glGetPointerv, glGetPointerv, NULL, 329),
NAME_FUNC_OFFSET(17940, glIsTexture, glIsTextureEXT, glIsTextureEXT, 330),
- NAME_FUNC_OFFSET(17955, glPrioritizeTextures, glPrioritizeTextures, NULL, 331),
+ NAME_FUNC_OFFSET(17955, glPrioritizeTextures, glPrioritizeTextures, NULL,
+ 331),
NAME_FUNC_OFFSET(17979, glTexSubImage1D, glTexSubImage1D, NULL, 332),
NAME_FUNC_OFFSET(17998, glTexSubImage2D, glTexSubImage2D, NULL, 333),
NAME_FUNC_OFFSET(18017, glBlendColor, glBlendColor, NULL, 336),
NAME_FUNC_OFFSET(18033, glBlendEquation, glBlendEquation, NULL, 337),
- NAME_FUNC_OFFSET(18052, glDrawRangeElements, glDrawRangeElements, NULL, 338),
+ NAME_FUNC_OFFSET(18052, glDrawRangeElements, glDrawRangeElements, NULL,
+ 338),
NAME_FUNC_OFFSET(18075, glColorTable, glColorTable, NULL, 339),
NAME_FUNC_OFFSET(18091, glColorTable, glColorTable, NULL, 339),
- NAME_FUNC_OFFSET(18107, glColorTableParameterfv, glColorTableParameterfv, NULL, 340),
- NAME_FUNC_OFFSET(18134, glColorTableParameteriv, glColorTableParameteriv, NULL, 341),
+ NAME_FUNC_OFFSET(18107, glColorTableParameterfv, glColorTableParameterfv,
+ NULL, 340),
+ NAME_FUNC_OFFSET(18134, glColorTableParameteriv, glColorTableParameteriv,
+ NULL, 341),
NAME_FUNC_OFFSET(18161, glCopyColorTable, glCopyColorTable, NULL, 342),
- NAME_FUNC_OFFSET(18181, glGetColorTable, glGetColorTableEXT, glGetColorTableEXT, 343),
- NAME_FUNC_OFFSET(18200, glGetColorTable, glGetColorTableEXT, glGetColorTableEXT, 343),
- NAME_FUNC_OFFSET(18219, glGetColorTableParameterfv, glGetColorTableParameterfvEXT, glGetColorTableParameterfvEXT, 344),
- NAME_FUNC_OFFSET(18249, glGetColorTableParameterfv, glGetColorTableParameterfvEXT, glGetColorTableParameterfvEXT, 344),
- NAME_FUNC_OFFSET(18279, glGetColorTableParameteriv, glGetColorTableParameterivEXT, glGetColorTableParameterivEXT, 345),
- NAME_FUNC_OFFSET(18309, glGetColorTableParameteriv, glGetColorTableParameterivEXT, glGetColorTableParameterivEXT, 345),
+ NAME_FUNC_OFFSET(18181, glGetColorTable, glGetColorTableEXT,
+ glGetColorTableEXT, 343),
+ NAME_FUNC_OFFSET(18200, glGetColorTable, glGetColorTableEXT,
+ glGetColorTableEXT, 343),
+ NAME_FUNC_OFFSET(18219, glGetColorTableParameterfv,
+ glGetColorTableParameterfvEXT,
+ glGetColorTableParameterfvEXT, 344),
+ NAME_FUNC_OFFSET(18249, glGetColorTableParameterfv,
+ glGetColorTableParameterfvEXT,
+ glGetColorTableParameterfvEXT, 344),
+ NAME_FUNC_OFFSET(18279, glGetColorTableParameteriv,
+ glGetColorTableParameterivEXT,
+ glGetColorTableParameterivEXT, 345),
+ NAME_FUNC_OFFSET(18309, glGetColorTableParameteriv,
+ glGetColorTableParameterivEXT,
+ glGetColorTableParameterivEXT, 345),
NAME_FUNC_OFFSET(18339, glColorSubTable, glColorSubTable, NULL, 346),
- NAME_FUNC_OFFSET(18358, glCopyColorSubTable, glCopyColorSubTable, NULL, 347),
- NAME_FUNC_OFFSET(18381, glConvolutionFilter1D, glConvolutionFilter1D, NULL, 348),
- NAME_FUNC_OFFSET(18406, glConvolutionFilter2D, glConvolutionFilter2D, NULL, 349),
- NAME_FUNC_OFFSET(18431, glConvolutionParameterf, glConvolutionParameterf, NULL, 350),
- NAME_FUNC_OFFSET(18458, glConvolutionParameterfv, glConvolutionParameterfv, NULL, 351),
- NAME_FUNC_OFFSET(18486, glConvolutionParameteri, glConvolutionParameteri, NULL, 352),
- NAME_FUNC_OFFSET(18513, glConvolutionParameteriv, glConvolutionParameteriv, NULL, 353),
- NAME_FUNC_OFFSET(18541, glCopyConvolutionFilter1D, glCopyConvolutionFilter1D, NULL, 354),
- NAME_FUNC_OFFSET(18570, glCopyConvolutionFilter2D, glCopyConvolutionFilter2D, NULL, 355),
- NAME_FUNC_OFFSET(18599, glGetConvolutionFilter, gl_dispatch_stub_356, gl_dispatch_stub_356, 356),
- NAME_FUNC_OFFSET(18625, glGetConvolutionParameterfv, gl_dispatch_stub_357, gl_dispatch_stub_357, 357),
- NAME_FUNC_OFFSET(18656, glGetConvolutionParameteriv, gl_dispatch_stub_358, gl_dispatch_stub_358, 358),
- NAME_FUNC_OFFSET(18687, glGetSeparableFilter, gl_dispatch_stub_359, gl_dispatch_stub_359, 359),
- NAME_FUNC_OFFSET(18711, glSeparableFilter2D, glSeparableFilter2D, NULL, 360),
- NAME_FUNC_OFFSET(18734, glGetHistogram, gl_dispatch_stub_361, gl_dispatch_stub_361, 361),
- NAME_FUNC_OFFSET(18752, glGetHistogramParameterfv, gl_dispatch_stub_362, gl_dispatch_stub_362, 362),
- NAME_FUNC_OFFSET(18781, glGetHistogramParameteriv, gl_dispatch_stub_363, gl_dispatch_stub_363, 363),
- NAME_FUNC_OFFSET(18810, glGetMinmax, gl_dispatch_stub_364, gl_dispatch_stub_364, 364),
- NAME_FUNC_OFFSET(18825, glGetMinmaxParameterfv, gl_dispatch_stub_365, gl_dispatch_stub_365, 365),
- NAME_FUNC_OFFSET(18851, glGetMinmaxParameteriv, gl_dispatch_stub_366, gl_dispatch_stub_366, 366),
+ NAME_FUNC_OFFSET(18358, glCopyColorSubTable, glCopyColorSubTable, NULL,
+ 347),
+ NAME_FUNC_OFFSET(18381, glConvolutionFilter1D, glConvolutionFilter1D, NULL,
+ 348),
+ NAME_FUNC_OFFSET(18406, glConvolutionFilter2D, glConvolutionFilter2D, NULL,
+ 349),
+ NAME_FUNC_OFFSET(18431, glConvolutionParameterf, glConvolutionParameterf,
+ NULL, 350),
+ NAME_FUNC_OFFSET(18458, glConvolutionParameterfv, glConvolutionParameterfv,
+ NULL, 351),
+ NAME_FUNC_OFFSET(18486, glConvolutionParameteri, glConvolutionParameteri,
+ NULL, 352),
+ NAME_FUNC_OFFSET(18513, glConvolutionParameteriv, glConvolutionParameteriv,
+ NULL, 353),
+ NAME_FUNC_OFFSET(18541, glCopyConvolutionFilter1D,
+ glCopyConvolutionFilter1D, NULL, 354),
+ NAME_FUNC_OFFSET(18570, glCopyConvolutionFilter2D,
+ glCopyConvolutionFilter2D, NULL, 355),
+ NAME_FUNC_OFFSET(18599, glGetConvolutionFilter, gl_dispatch_stub_356,
+ gl_dispatch_stub_356, 356),
+ NAME_FUNC_OFFSET(18625, glGetConvolutionParameterfv, gl_dispatch_stub_357,
+ gl_dispatch_stub_357, 357),
+ NAME_FUNC_OFFSET(18656, glGetConvolutionParameteriv, gl_dispatch_stub_358,
+ gl_dispatch_stub_358, 358),
+ NAME_FUNC_OFFSET(18687, glGetSeparableFilter, gl_dispatch_stub_359,
+ gl_dispatch_stub_359, 359),
+ NAME_FUNC_OFFSET(18711, glSeparableFilter2D, glSeparableFilter2D, NULL,
+ 360),
+ NAME_FUNC_OFFSET(18734, glGetHistogram, gl_dispatch_stub_361,
+ gl_dispatch_stub_361, 361),
+ NAME_FUNC_OFFSET(18752, glGetHistogramParameterfv, gl_dispatch_stub_362,
+ gl_dispatch_stub_362, 362),
+ NAME_FUNC_OFFSET(18781, glGetHistogramParameteriv, gl_dispatch_stub_363,
+ gl_dispatch_stub_363, 363),
+ NAME_FUNC_OFFSET(18810, glGetMinmax, gl_dispatch_stub_364,
+ gl_dispatch_stub_364, 364),
+ NAME_FUNC_OFFSET(18825, glGetMinmaxParameterfv, gl_dispatch_stub_365,
+ gl_dispatch_stub_365, 365),
+ NAME_FUNC_OFFSET(18851, glGetMinmaxParameteriv, gl_dispatch_stub_366,
+ gl_dispatch_stub_366, 366),
NAME_FUNC_OFFSET(18877, glHistogram, glHistogram, NULL, 367),
NAME_FUNC_OFFSET(18892, glMinmax, glMinmax, NULL, 368),
NAME_FUNC_OFFSET(18904, glResetHistogram, glResetHistogram, NULL, 369),
NAME_FUNC_OFFSET(18924, glResetMinmax, glResetMinmax, NULL, 370),
NAME_FUNC_OFFSET(18941, glTexImage3D, glTexImage3D, NULL, 371),
NAME_FUNC_OFFSET(18957, glTexSubImage3D, glTexSubImage3D, NULL, 372),
- NAME_FUNC_OFFSET(18976, glCopyTexSubImage3D, glCopyTexSubImage3D, NULL, 373),
+ NAME_FUNC_OFFSET(18976, glCopyTexSubImage3D, glCopyTexSubImage3D, NULL,
+ 373),
NAME_FUNC_OFFSET(18999, glActiveTextureARB, glActiveTextureARB, NULL, 374),
- NAME_FUNC_OFFSET(19015, glClientActiveTextureARB, glClientActiveTextureARB, NULL, 375),
- NAME_FUNC_OFFSET(19037, glMultiTexCoord1dARB, glMultiTexCoord1dARB, NULL, 376),
- NAME_FUNC_OFFSET(19055, glMultiTexCoord1dvARB, glMultiTexCoord1dvARB, NULL, 377),
- NAME_FUNC_OFFSET(19074, glMultiTexCoord1fARB, glMultiTexCoord1fARB, NULL, 378),
- NAME_FUNC_OFFSET(19092, glMultiTexCoord1fvARB, glMultiTexCoord1fvARB, NULL, 379),
- NAME_FUNC_OFFSET(19111, glMultiTexCoord1iARB, glMultiTexCoord1iARB, NULL, 380),
- NAME_FUNC_OFFSET(19129, glMultiTexCoord1ivARB, glMultiTexCoord1ivARB, NULL, 381),
- NAME_FUNC_OFFSET(19148, glMultiTexCoord1sARB, glMultiTexCoord1sARB, NULL, 382),
- NAME_FUNC_OFFSET(19166, glMultiTexCoord1svARB, glMultiTexCoord1svARB, NULL, 383),
- NAME_FUNC_OFFSET(19185, glMultiTexCoord2dARB, glMultiTexCoord2dARB, NULL, 384),
- NAME_FUNC_OFFSET(19203, glMultiTexCoord2dvARB, glMultiTexCoord2dvARB, NULL, 385),
- NAME_FUNC_OFFSET(19222, glMultiTexCoord2fARB, glMultiTexCoord2fARB, NULL, 386),
- NAME_FUNC_OFFSET(19240, glMultiTexCoord2fvARB, glMultiTexCoord2fvARB, NULL, 387),
- NAME_FUNC_OFFSET(19259, glMultiTexCoord2iARB, glMultiTexCoord2iARB, NULL, 388),
- NAME_FUNC_OFFSET(19277, glMultiTexCoord2ivARB, glMultiTexCoord2ivARB, NULL, 389),
- NAME_FUNC_OFFSET(19296, glMultiTexCoord2sARB, glMultiTexCoord2sARB, NULL, 390),
- NAME_FUNC_OFFSET(19314, glMultiTexCoord2svARB, glMultiTexCoord2svARB, NULL, 391),
- NAME_FUNC_OFFSET(19333, glMultiTexCoord3dARB, glMultiTexCoord3dARB, NULL, 392),
- NAME_FUNC_OFFSET(19351, glMultiTexCoord3dvARB, glMultiTexCoord3dvARB, NULL, 393),
- NAME_FUNC_OFFSET(19370, glMultiTexCoord3fARB, glMultiTexCoord3fARB, NULL, 394),
- NAME_FUNC_OFFSET(19388, glMultiTexCoord3fvARB, glMultiTexCoord3fvARB, NULL, 395),
- NAME_FUNC_OFFSET(19407, glMultiTexCoord3iARB, glMultiTexCoord3iARB, NULL, 396),
- NAME_FUNC_OFFSET(19425, glMultiTexCoord3ivARB, glMultiTexCoord3ivARB, NULL, 397),
- NAME_FUNC_OFFSET(19444, glMultiTexCoord3sARB, glMultiTexCoord3sARB, NULL, 398),
- NAME_FUNC_OFFSET(19462, glMultiTexCoord3svARB, glMultiTexCoord3svARB, NULL, 399),
- NAME_FUNC_OFFSET(19481, glMultiTexCoord4dARB, glMultiTexCoord4dARB, NULL, 400),
- NAME_FUNC_OFFSET(19499, glMultiTexCoord4dvARB, glMultiTexCoord4dvARB, NULL, 401),
- NAME_FUNC_OFFSET(19518, glMultiTexCoord4fARB, glMultiTexCoord4fARB, NULL, 402),
- NAME_FUNC_OFFSET(19536, glMultiTexCoord4fvARB, glMultiTexCoord4fvARB, NULL, 403),
- NAME_FUNC_OFFSET(19555, glMultiTexCoord4iARB, glMultiTexCoord4iARB, NULL, 404),
- NAME_FUNC_OFFSET(19573, glMultiTexCoord4ivARB, glMultiTexCoord4ivARB, NULL, 405),
- NAME_FUNC_OFFSET(19592, glMultiTexCoord4sARB, glMultiTexCoord4sARB, NULL, 406),
- NAME_FUNC_OFFSET(19610, glMultiTexCoord4svARB, glMultiTexCoord4svARB, NULL, 407),
- NAME_FUNC_OFFSET(19629, glStencilOpSeparate, glStencilOpSeparate, NULL, 423),
- NAME_FUNC_OFFSET(19652, glLoadTransposeMatrixdARB, glLoadTransposeMatrixdARB, NULL, 441),
- NAME_FUNC_OFFSET(19675, glLoadTransposeMatrixfARB, glLoadTransposeMatrixfARB, NULL, 442),
- NAME_FUNC_OFFSET(19698, glMultTransposeMatrixdARB, glMultTransposeMatrixdARB, NULL, 443),
- NAME_FUNC_OFFSET(19721, glMultTransposeMatrixfARB, glMultTransposeMatrixfARB, NULL, 444),
- NAME_FUNC_OFFSET(19744, glSampleCoverageARB, glSampleCoverageARB, NULL, 445),
- NAME_FUNC_OFFSET(19761, glCompressedTexImage1DARB, glCompressedTexImage1DARB, NULL, 446),
- NAME_FUNC_OFFSET(19784, glCompressedTexImage2DARB, glCompressedTexImage2DARB, NULL, 447),
- NAME_FUNC_OFFSET(19807, glCompressedTexImage3DARB, glCompressedTexImage3DARB, NULL, 448),
- NAME_FUNC_OFFSET(19830, glCompressedTexSubImage1DARB, glCompressedTexSubImage1DARB, NULL, 449),
- NAME_FUNC_OFFSET(19856, glCompressedTexSubImage2DARB, glCompressedTexSubImage2DARB, NULL, 450),
- NAME_FUNC_OFFSET(19882, glCompressedTexSubImage3DARB, glCompressedTexSubImage3DARB, NULL, 451),
- NAME_FUNC_OFFSET(19908, glGetCompressedTexImageARB, glGetCompressedTexImageARB, NULL, 452),
- NAME_FUNC_OFFSET(19932, glDisableVertexAttribArrayARB, glDisableVertexAttribArrayARB, NULL, 453),
- NAME_FUNC_OFFSET(19959, glEnableVertexAttribArrayARB, glEnableVertexAttribArrayARB, NULL, 454),
- NAME_FUNC_OFFSET(19985, glGetVertexAttribdvARB, glGetVertexAttribdvARB, NULL, 461),
- NAME_FUNC_OFFSET(20005, glGetVertexAttribfvARB, glGetVertexAttribfvARB, NULL, 462),
- NAME_FUNC_OFFSET(20025, glGetVertexAttribivARB, glGetVertexAttribivARB, NULL, 463),
- NAME_FUNC_OFFSET(20045, glProgramEnvParameter4dARB, glProgramEnvParameter4dARB, NULL, 464),
- NAME_FUNC_OFFSET(20068, glProgramEnvParameter4dvARB, glProgramEnvParameter4dvARB, NULL, 465),
- NAME_FUNC_OFFSET(20092, glProgramEnvParameter4fARB, glProgramEnvParameter4fARB, NULL, 466),
- NAME_FUNC_OFFSET(20115, glProgramEnvParameter4fvARB, glProgramEnvParameter4fvARB, NULL, 467),
- NAME_FUNC_OFFSET(20139, glVertexAttrib1dARB, glVertexAttrib1dARB, NULL, 473),
- NAME_FUNC_OFFSET(20156, glVertexAttrib1dvARB, glVertexAttrib1dvARB, NULL, 474),
- NAME_FUNC_OFFSET(20174, glVertexAttrib1fARB, glVertexAttrib1fARB, NULL, 475),
- NAME_FUNC_OFFSET(20191, glVertexAttrib1fvARB, glVertexAttrib1fvARB, NULL, 476),
- NAME_FUNC_OFFSET(20209, glVertexAttrib1sARB, glVertexAttrib1sARB, NULL, 477),
- NAME_FUNC_OFFSET(20226, glVertexAttrib1svARB, glVertexAttrib1svARB, NULL, 478),
- NAME_FUNC_OFFSET(20244, glVertexAttrib2dARB, glVertexAttrib2dARB, NULL, 479),
- NAME_FUNC_OFFSET(20261, glVertexAttrib2dvARB, glVertexAttrib2dvARB, NULL, 480),
- NAME_FUNC_OFFSET(20279, glVertexAttrib2fARB, glVertexAttrib2fARB, NULL, 481),
- NAME_FUNC_OFFSET(20296, glVertexAttrib2fvARB, glVertexAttrib2fvARB, NULL, 482),
- NAME_FUNC_OFFSET(20314, glVertexAttrib2sARB, glVertexAttrib2sARB, NULL, 483),
- NAME_FUNC_OFFSET(20331, glVertexAttrib2svARB, glVertexAttrib2svARB, NULL, 484),
- NAME_FUNC_OFFSET(20349, glVertexAttrib3dARB, glVertexAttrib3dARB, NULL, 485),
- NAME_FUNC_OFFSET(20366, glVertexAttrib3dvARB, glVertexAttrib3dvARB, NULL, 486),
- NAME_FUNC_OFFSET(20384, glVertexAttrib3fARB, glVertexAttrib3fARB, NULL, 487),
- NAME_FUNC_OFFSET(20401, glVertexAttrib3fvARB, glVertexAttrib3fvARB, NULL, 488),
- NAME_FUNC_OFFSET(20419, glVertexAttrib3sARB, glVertexAttrib3sARB, NULL, 489),
- NAME_FUNC_OFFSET(20436, glVertexAttrib3svARB, glVertexAttrib3svARB, NULL, 490),
- NAME_FUNC_OFFSET(20454, glVertexAttrib4NbvARB, glVertexAttrib4NbvARB, NULL, 491),
- NAME_FUNC_OFFSET(20473, glVertexAttrib4NivARB, glVertexAttrib4NivARB, NULL, 492),
- NAME_FUNC_OFFSET(20492, glVertexAttrib4NsvARB, glVertexAttrib4NsvARB, NULL, 493),
- NAME_FUNC_OFFSET(20511, glVertexAttrib4NubARB, glVertexAttrib4NubARB, NULL, 494),
- NAME_FUNC_OFFSET(20530, glVertexAttrib4NubvARB, glVertexAttrib4NubvARB, NULL, 495),
- NAME_FUNC_OFFSET(20550, glVertexAttrib4NuivARB, glVertexAttrib4NuivARB, NULL, 496),
- NAME_FUNC_OFFSET(20570, glVertexAttrib4NusvARB, glVertexAttrib4NusvARB, NULL, 497),
- NAME_FUNC_OFFSET(20590, glVertexAttrib4bvARB, glVertexAttrib4bvARB, NULL, 498),
- NAME_FUNC_OFFSET(20608, glVertexAttrib4dARB, glVertexAttrib4dARB, NULL, 499),
- NAME_FUNC_OFFSET(20625, glVertexAttrib4dvARB, glVertexAttrib4dvARB, NULL, 500),
- NAME_FUNC_OFFSET(20643, glVertexAttrib4fARB, glVertexAttrib4fARB, NULL, 501),
- NAME_FUNC_OFFSET(20660, glVertexAttrib4fvARB, glVertexAttrib4fvARB, NULL, 502),
- NAME_FUNC_OFFSET(20678, glVertexAttrib4ivARB, glVertexAttrib4ivARB, NULL, 503),
- NAME_FUNC_OFFSET(20696, glVertexAttrib4sARB, glVertexAttrib4sARB, NULL, 504),
- NAME_FUNC_OFFSET(20713, glVertexAttrib4svARB, glVertexAttrib4svARB, NULL, 505),
- NAME_FUNC_OFFSET(20731, glVertexAttrib4ubvARB, glVertexAttrib4ubvARB, NULL, 506),
- NAME_FUNC_OFFSET(20750, glVertexAttrib4uivARB, glVertexAttrib4uivARB, NULL, 507),
- NAME_FUNC_OFFSET(20769, glVertexAttrib4usvARB, glVertexAttrib4usvARB, NULL, 508),
- NAME_FUNC_OFFSET(20788, glVertexAttribPointerARB, glVertexAttribPointerARB, NULL, 509),
+ NAME_FUNC_OFFSET(19015, glClientActiveTextureARB, glClientActiveTextureARB,
+ NULL, 375),
+ NAME_FUNC_OFFSET(19037, glMultiTexCoord1dARB, glMultiTexCoord1dARB, NULL,
+ 376),
+ NAME_FUNC_OFFSET(19055, glMultiTexCoord1dvARB, glMultiTexCoord1dvARB, NULL,
+ 377),
+ NAME_FUNC_OFFSET(19074, glMultiTexCoord1fARB, glMultiTexCoord1fARB, NULL,
+ 378),
+ NAME_FUNC_OFFSET(19092, glMultiTexCoord1fvARB, glMultiTexCoord1fvARB, NULL,
+ 379),
+ NAME_FUNC_OFFSET(19111, glMultiTexCoord1iARB, glMultiTexCoord1iARB, NULL,
+ 380),
+ NAME_FUNC_OFFSET(19129, glMultiTexCoord1ivARB, glMultiTexCoord1ivARB, NULL,
+ 381),
+ NAME_FUNC_OFFSET(19148, glMultiTexCoord1sARB, glMultiTexCoord1sARB, NULL,
+ 382),
+ NAME_FUNC_OFFSET(19166, glMultiTexCoord1svARB, glMultiTexCoord1svARB, NULL,
+ 383),
+ NAME_FUNC_OFFSET(19185, glMultiTexCoord2dARB, glMultiTexCoord2dARB, NULL,
+ 384),
+ NAME_FUNC_OFFSET(19203, glMultiTexCoord2dvARB, glMultiTexCoord2dvARB, NULL,
+ 385),
+ NAME_FUNC_OFFSET(19222, glMultiTexCoord2fARB, glMultiTexCoord2fARB, NULL,
+ 386),
+ NAME_FUNC_OFFSET(19240, glMultiTexCoord2fvARB, glMultiTexCoord2fvARB, NULL,
+ 387),
+ NAME_FUNC_OFFSET(19259, glMultiTexCoord2iARB, glMultiTexCoord2iARB, NULL,
+ 388),
+ NAME_FUNC_OFFSET(19277, glMultiTexCoord2ivARB, glMultiTexCoord2ivARB, NULL,
+ 389),
+ NAME_FUNC_OFFSET(19296, glMultiTexCoord2sARB, glMultiTexCoord2sARB, NULL,
+ 390),
+ NAME_FUNC_OFFSET(19314, glMultiTexCoord2svARB, glMultiTexCoord2svARB, NULL,
+ 391),
+ NAME_FUNC_OFFSET(19333, glMultiTexCoord3dARB, glMultiTexCoord3dARB, NULL,
+ 392),
+ NAME_FUNC_OFFSET(19351, glMultiTexCoord3dvARB, glMultiTexCoord3dvARB, NULL,
+ 393),
+ NAME_FUNC_OFFSET(19370, glMultiTexCoord3fARB, glMultiTexCoord3fARB, NULL,
+ 394),
+ NAME_FUNC_OFFSET(19388, glMultiTexCoord3fvARB, glMultiTexCoord3fvARB, NULL,
+ 395),
+ NAME_FUNC_OFFSET(19407, glMultiTexCoord3iARB, glMultiTexCoord3iARB, NULL,
+ 396),
+ NAME_FUNC_OFFSET(19425, glMultiTexCoord3ivARB, glMultiTexCoord3ivARB, NULL,
+ 397),
+ NAME_FUNC_OFFSET(19444, glMultiTexCoord3sARB, glMultiTexCoord3sARB, NULL,
+ 398),
+ NAME_FUNC_OFFSET(19462, glMultiTexCoord3svARB, glMultiTexCoord3svARB, NULL,
+ 399),
+ NAME_FUNC_OFFSET(19481, glMultiTexCoord4dARB, glMultiTexCoord4dARB, NULL,
+ 400),
+ NAME_FUNC_OFFSET(19499, glMultiTexCoord4dvARB, glMultiTexCoord4dvARB, NULL,
+ 401),
+ NAME_FUNC_OFFSET(19518, glMultiTexCoord4fARB, glMultiTexCoord4fARB, NULL,
+ 402),
+ NAME_FUNC_OFFSET(19536, glMultiTexCoord4fvARB, glMultiTexCoord4fvARB, NULL,
+ 403),
+ NAME_FUNC_OFFSET(19555, glMultiTexCoord4iARB, glMultiTexCoord4iARB, NULL,
+ 404),
+ NAME_FUNC_OFFSET(19573, glMultiTexCoord4ivARB, glMultiTexCoord4ivARB, NULL,
+ 405),
+ NAME_FUNC_OFFSET(19592, glMultiTexCoord4sARB, glMultiTexCoord4sARB, NULL,
+ 406),
+ NAME_FUNC_OFFSET(19610, glMultiTexCoord4svARB, glMultiTexCoord4svARB, NULL,
+ 407),
+ NAME_FUNC_OFFSET(19629, glStencilOpSeparate, glStencilOpSeparate, NULL,
+ 423),
+ NAME_FUNC_OFFSET(19652, glLoadTransposeMatrixdARB,
+ glLoadTransposeMatrixdARB, NULL, 441),
+ NAME_FUNC_OFFSET(19675, glLoadTransposeMatrixfARB,
+ glLoadTransposeMatrixfARB, NULL, 442),
+ NAME_FUNC_OFFSET(19698, glMultTransposeMatrixdARB,
+ glMultTransposeMatrixdARB, NULL, 443),
+ NAME_FUNC_OFFSET(19721, glMultTransposeMatrixfARB,
+ glMultTransposeMatrixfARB, NULL, 444),
+ NAME_FUNC_OFFSET(19744, glSampleCoverageARB, glSampleCoverageARB, NULL,
+ 445),
+ NAME_FUNC_OFFSET(19761, glCompressedTexImage1DARB,
+ glCompressedTexImage1DARB, NULL, 446),
+ NAME_FUNC_OFFSET(19784, glCompressedTexImage2DARB,
+ glCompressedTexImage2DARB, NULL, 447),
+ NAME_FUNC_OFFSET(19807, glCompressedTexImage3DARB,
+ glCompressedTexImage3DARB, NULL, 448),
+ NAME_FUNC_OFFSET(19830, glCompressedTexSubImage1DARB,
+ glCompressedTexSubImage1DARB, NULL, 449),
+ NAME_FUNC_OFFSET(19856, glCompressedTexSubImage2DARB,
+ glCompressedTexSubImage2DARB, NULL, 450),
+ NAME_FUNC_OFFSET(19882, glCompressedTexSubImage3DARB,
+ glCompressedTexSubImage3DARB, NULL, 451),
+ NAME_FUNC_OFFSET(19908, glGetCompressedTexImageARB,
+ glGetCompressedTexImageARB, NULL, 452),
+ NAME_FUNC_OFFSET(19932, glDisableVertexAttribArrayARB,
+ glDisableVertexAttribArrayARB, NULL, 453),
+ NAME_FUNC_OFFSET(19959, glEnableVertexAttribArrayARB,
+ glEnableVertexAttribArrayARB, NULL, 454),
+ NAME_FUNC_OFFSET(19985, glGetVertexAttribdvARB, glGetVertexAttribdvARB,
+ NULL, 461),
+ NAME_FUNC_OFFSET(20005, glGetVertexAttribfvARB, glGetVertexAttribfvARB,
+ NULL, 462),
+ NAME_FUNC_OFFSET(20025, glGetVertexAttribivARB, glGetVertexAttribivARB,
+ NULL, 463),
+ NAME_FUNC_OFFSET(20045, glProgramEnvParameter4dARB,
+ glProgramEnvParameter4dARB, NULL, 464),
+ NAME_FUNC_OFFSET(20068, glProgramEnvParameter4dvARB,
+ glProgramEnvParameter4dvARB, NULL, 465),
+ NAME_FUNC_OFFSET(20092, glProgramEnvParameter4fARB,
+ glProgramEnvParameter4fARB, NULL, 466),
+ NAME_FUNC_OFFSET(20115, glProgramEnvParameter4fvARB,
+ glProgramEnvParameter4fvARB, NULL, 467),
+ NAME_FUNC_OFFSET(20139, glVertexAttrib1dARB, glVertexAttrib1dARB, NULL,
+ 473),
+ NAME_FUNC_OFFSET(20156, glVertexAttrib1dvARB, glVertexAttrib1dvARB, NULL,
+ 474),
+ NAME_FUNC_OFFSET(20174, glVertexAttrib1fARB, glVertexAttrib1fARB, NULL,
+ 475),
+ NAME_FUNC_OFFSET(20191, glVertexAttrib1fvARB, glVertexAttrib1fvARB, NULL,
+ 476),
+ NAME_FUNC_OFFSET(20209, glVertexAttrib1sARB, glVertexAttrib1sARB, NULL,
+ 477),
+ NAME_FUNC_OFFSET(20226, glVertexAttrib1svARB, glVertexAttrib1svARB, NULL,
+ 478),
+ NAME_FUNC_OFFSET(20244, glVertexAttrib2dARB, glVertexAttrib2dARB, NULL,
+ 479),
+ NAME_FUNC_OFFSET(20261, glVertexAttrib2dvARB, glVertexAttrib2dvARB, NULL,
+ 480),
+ NAME_FUNC_OFFSET(20279, glVertexAttrib2fARB, glVertexAttrib2fARB, NULL,
+ 481),
+ NAME_FUNC_OFFSET(20296, glVertexAttrib2fvARB, glVertexAttrib2fvARB, NULL,
+ 482),
+ NAME_FUNC_OFFSET(20314, glVertexAttrib2sARB, glVertexAttrib2sARB, NULL,
+ 483),
+ NAME_FUNC_OFFSET(20331, glVertexAttrib2svARB, glVertexAttrib2svARB, NULL,
+ 484),
+ NAME_FUNC_OFFSET(20349, glVertexAttrib3dARB, glVertexAttrib3dARB, NULL,
+ 485),
+ NAME_FUNC_OFFSET(20366, glVertexAttrib3dvARB, glVertexAttrib3dvARB, NULL,
+ 486),
+ NAME_FUNC_OFFSET(20384, glVertexAttrib3fARB, glVertexAttrib3fARB, NULL,
+ 487),
+ NAME_FUNC_OFFSET(20401, glVertexAttrib3fvARB, glVertexAttrib3fvARB, NULL,
+ 488),
+ NAME_FUNC_OFFSET(20419, glVertexAttrib3sARB, glVertexAttrib3sARB, NULL,
+ 489),
+ NAME_FUNC_OFFSET(20436, glVertexAttrib3svARB, glVertexAttrib3svARB, NULL,
+ 490),
+ NAME_FUNC_OFFSET(20454, glVertexAttrib4NbvARB, glVertexAttrib4NbvARB, NULL,
+ 491),
+ NAME_FUNC_OFFSET(20473, glVertexAttrib4NivARB, glVertexAttrib4NivARB, NULL,
+ 492),
+ NAME_FUNC_OFFSET(20492, glVertexAttrib4NsvARB, glVertexAttrib4NsvARB, NULL,
+ 493),
+ NAME_FUNC_OFFSET(20511, glVertexAttrib4NubARB, glVertexAttrib4NubARB, NULL,
+ 494),
+ NAME_FUNC_OFFSET(20530, glVertexAttrib4NubvARB, glVertexAttrib4NubvARB,
+ NULL, 495),
+ NAME_FUNC_OFFSET(20550, glVertexAttrib4NuivARB, glVertexAttrib4NuivARB,
+ NULL, 496),
+ NAME_FUNC_OFFSET(20570, glVertexAttrib4NusvARB, glVertexAttrib4NusvARB,
+ NULL, 497),
+ NAME_FUNC_OFFSET(20590, glVertexAttrib4bvARB, glVertexAttrib4bvARB, NULL,
+ 498),
+ NAME_FUNC_OFFSET(20608, glVertexAttrib4dARB, glVertexAttrib4dARB, NULL,
+ 499),
+ NAME_FUNC_OFFSET(20625, glVertexAttrib4dvARB, glVertexAttrib4dvARB, NULL,
+ 500),
+ NAME_FUNC_OFFSET(20643, glVertexAttrib4fARB, glVertexAttrib4fARB, NULL,
+ 501),
+ NAME_FUNC_OFFSET(20660, glVertexAttrib4fvARB, glVertexAttrib4fvARB, NULL,
+ 502),
+ NAME_FUNC_OFFSET(20678, glVertexAttrib4ivARB, glVertexAttrib4ivARB, NULL,
+ 503),
+ NAME_FUNC_OFFSET(20696, glVertexAttrib4sARB, glVertexAttrib4sARB, NULL,
+ 504),
+ NAME_FUNC_OFFSET(20713, glVertexAttrib4svARB, glVertexAttrib4svARB, NULL,
+ 505),
+ NAME_FUNC_OFFSET(20731, glVertexAttrib4ubvARB, glVertexAttrib4ubvARB, NULL,
+ 506),
+ NAME_FUNC_OFFSET(20750, glVertexAttrib4uivARB, glVertexAttrib4uivARB, NULL,
+ 507),
+ NAME_FUNC_OFFSET(20769, glVertexAttrib4usvARB, glVertexAttrib4usvARB, NULL,
+ 508),
+ NAME_FUNC_OFFSET(20788, glVertexAttribPointerARB, glVertexAttribPointerARB,
+ NULL, 509),
NAME_FUNC_OFFSET(20810, glBindBufferARB, glBindBufferARB, NULL, 510),
NAME_FUNC_OFFSET(20823, glBufferDataARB, glBufferDataARB, NULL, 511),
NAME_FUNC_OFFSET(20836, glBufferSubDataARB, glBufferSubDataARB, NULL, 512),
NAME_FUNC_OFFSET(20852, glDeleteBuffersARB, glDeleteBuffersARB, NULL, 513),
NAME_FUNC_OFFSET(20868, glGenBuffersARB, glGenBuffersARB, NULL, 514),
- NAME_FUNC_OFFSET(20881, glGetBufferParameterivARB, glGetBufferParameterivARB, NULL, 515),
- NAME_FUNC_OFFSET(20904, glGetBufferPointervARB, glGetBufferPointervARB, NULL, 516),
- NAME_FUNC_OFFSET(20924, glGetBufferSubDataARB, glGetBufferSubDataARB, NULL, 517),
+ NAME_FUNC_OFFSET(20881, glGetBufferParameterivARB,
+ glGetBufferParameterivARB, NULL, 515),
+ NAME_FUNC_OFFSET(20904, glGetBufferPointervARB, glGetBufferPointervARB,
+ NULL, 516),
+ NAME_FUNC_OFFSET(20924, glGetBufferSubDataARB, glGetBufferSubDataARB, NULL,
+ 517),
NAME_FUNC_OFFSET(20943, glIsBufferARB, glIsBufferARB, NULL, 518),
NAME_FUNC_OFFSET(20954, glMapBufferARB, glMapBufferARB, NULL, 519),
NAME_FUNC_OFFSET(20966, glUnmapBufferARB, glUnmapBufferARB, NULL, 520),
@@ -2635,14 +3206,19 @@ static const glprocs_table_t static_functions[] = {
NAME_FUNC_OFFSET(20993, glDeleteQueriesARB, glDeleteQueriesARB, NULL, 522),
NAME_FUNC_OFFSET(21009, glEndQueryARB, glEndQueryARB, NULL, 523),
NAME_FUNC_OFFSET(21020, glGenQueriesARB, glGenQueriesARB, NULL, 524),
- NAME_FUNC_OFFSET(21033, glGetQueryObjectivARB, glGetQueryObjectivARB, NULL, 525),
- NAME_FUNC_OFFSET(21052, glGetQueryObjectuivARB, glGetQueryObjectuivARB, NULL, 526),
+ NAME_FUNC_OFFSET(21033, glGetQueryObjectivARB, glGetQueryObjectivARB, NULL,
+ 525),
+ NAME_FUNC_OFFSET(21052, glGetQueryObjectuivARB, glGetQueryObjectuivARB,
+ NULL, 526),
NAME_FUNC_OFFSET(21072, glGetQueryivARB, glGetQueryivARB, NULL, 527),
NAME_FUNC_OFFSET(21085, glIsQueryARB, glIsQueryARB, NULL, 528),
NAME_FUNC_OFFSET(21095, glCompileShaderARB, glCompileShaderARB, NULL, 530),
- NAME_FUNC_OFFSET(21111, glGetActiveUniformARB, glGetActiveUniformARB, NULL, 535),
- NAME_FUNC_OFFSET(21130, glGetShaderSourceARB, glGetShaderSourceARB, NULL, 541),
- NAME_FUNC_OFFSET(21148, glGetUniformLocationARB, glGetUniformLocationARB, NULL, 542),
+ NAME_FUNC_OFFSET(21111, glGetActiveUniformARB, glGetActiveUniformARB, NULL,
+ 535),
+ NAME_FUNC_OFFSET(21130, glGetShaderSourceARB, glGetShaderSourceARB, NULL,
+ 541),
+ NAME_FUNC_OFFSET(21148, glGetUniformLocationARB, glGetUniformLocationARB,
+ NULL, 542),
NAME_FUNC_OFFSET(21169, glGetUniformfvARB, glGetUniformfvARB, NULL, 543),
NAME_FUNC_OFFSET(21184, glGetUniformivARB, glGetUniformivARB, NULL, 544),
NAME_FUNC_OFFSET(21199, glLinkProgramARB, glLinkProgramARB, NULL, 545),
@@ -2663,60 +3239,106 @@ static const glprocs_table_t static_functions[] = {
NAME_FUNC_OFFSET(21390, glUniform4fvARB, glUniform4fvARB, NULL, 560),
NAME_FUNC_OFFSET(21403, glUniform4iARB, glUniform4iARB, NULL, 561),
NAME_FUNC_OFFSET(21415, glUniform4ivARB, glUniform4ivARB, NULL, 562),
- NAME_FUNC_OFFSET(21428, glUniformMatrix2fvARB, glUniformMatrix2fvARB, NULL, 563),
- NAME_FUNC_OFFSET(21447, glUniformMatrix3fvARB, glUniformMatrix3fvARB, NULL, 564),
- NAME_FUNC_OFFSET(21466, glUniformMatrix4fvARB, glUniformMatrix4fvARB, NULL, 565),
- NAME_FUNC_OFFSET(21485, glUseProgramObjectARB, glUseProgramObjectARB, NULL, 566),
- NAME_FUNC_OFFSET(21498, glValidateProgramARB, glValidateProgramARB, NULL, 567),
- NAME_FUNC_OFFSET(21516, glBindAttribLocationARB, glBindAttribLocationARB, NULL, 568),
- NAME_FUNC_OFFSET(21537, glGetActiveAttribARB, glGetActiveAttribARB, NULL, 569),
- NAME_FUNC_OFFSET(21555, glGetAttribLocationARB, glGetAttribLocationARB, NULL, 570),
+ NAME_FUNC_OFFSET(21428, glUniformMatrix2fvARB, glUniformMatrix2fvARB, NULL,
+ 563),
+ NAME_FUNC_OFFSET(21447, glUniformMatrix3fvARB, glUniformMatrix3fvARB, NULL,
+ 564),
+ NAME_FUNC_OFFSET(21466, glUniformMatrix4fvARB, glUniformMatrix4fvARB, NULL,
+ 565),
+ NAME_FUNC_OFFSET(21485, glUseProgramObjectARB, glUseProgramObjectARB, NULL,
+ 566),
+ NAME_FUNC_OFFSET(21498, glValidateProgramARB, glValidateProgramARB, NULL,
+ 567),
+ NAME_FUNC_OFFSET(21516, glBindAttribLocationARB, glBindAttribLocationARB,
+ NULL, 568),
+ NAME_FUNC_OFFSET(21537, glGetActiveAttribARB, glGetActiveAttribARB, NULL,
+ 569),
+ NAME_FUNC_OFFSET(21555, glGetAttribLocationARB, glGetAttribLocationARB,
+ NULL, 570),
NAME_FUNC_OFFSET(21575, glDrawBuffersARB, glDrawBuffersARB, NULL, 571),
NAME_FUNC_OFFSET(21589, glDrawBuffersARB, glDrawBuffersARB, NULL, 571),
NAME_FUNC_OFFSET(21606, glDrawBuffersARB, glDrawBuffersARB, NULL, 571),
- NAME_FUNC_OFFSET(21622, glDrawArraysInstancedARB, glDrawArraysInstancedARB, NULL, 573),
- NAME_FUNC_OFFSET(21647, glDrawArraysInstancedARB, glDrawArraysInstancedARB, NULL, 573),
- NAME_FUNC_OFFSET(21669, glDrawElementsInstancedARB, glDrawElementsInstancedARB, NULL, 574),
- NAME_FUNC_OFFSET(21696, glDrawElementsInstancedARB, glDrawElementsInstancedARB, NULL, 574),
- NAME_FUNC_OFFSET(21720, glRenderbufferStorageMultisample, glRenderbufferStorageMultisample, NULL, 575),
- NAME_FUNC_OFFSET(21756, glBlendEquationSeparateiARB, glBlendEquationSeparateiARB, NULL, 597),
- NAME_FUNC_OFFSET(21790, glBlendEquationiARB, glBlendEquationiARB, NULL, 598),
- NAME_FUNC_OFFSET(21816, glBlendFuncSeparateiARB, glBlendFuncSeparateiARB, NULL, 599),
+ NAME_FUNC_OFFSET(21622, glDrawArraysInstancedARB, glDrawArraysInstancedARB,
+ NULL, 573),
+ NAME_FUNC_OFFSET(21647, glDrawArraysInstancedARB, glDrawArraysInstancedARB,
+ NULL, 573),
+ NAME_FUNC_OFFSET(21669, glDrawElementsInstancedARB,
+ glDrawElementsInstancedARB, NULL, 574),
+ NAME_FUNC_OFFSET(21696, glDrawElementsInstancedARB,
+ glDrawElementsInstancedARB, NULL, 574),
+ NAME_FUNC_OFFSET(21720, glRenderbufferStorageMultisample,
+ glRenderbufferStorageMultisample, NULL, 575),
+ NAME_FUNC_OFFSET(21756, glBlendEquationSeparateiARB,
+ glBlendEquationSeparateiARB, NULL, 597),
+ NAME_FUNC_OFFSET(21790, glBlendEquationiARB, glBlendEquationiARB, NULL,
+ 598),
+ NAME_FUNC_OFFSET(21816, glBlendFuncSeparateiARB, glBlendFuncSeparateiARB,
+ NULL, 599),
NAME_FUNC_OFFSET(21846, glBlendFunciARB, glBlendFunciARB, NULL, 600),
- NAME_FUNC_OFFSET(21868, gl_dispatch_stub_698, gl_dispatch_stub_698, NULL, 698),
- NAME_FUNC_OFFSET(21884, gl_dispatch_stub_699, gl_dispatch_stub_699, NULL, 699),
- NAME_FUNC_OFFSET(21903, glPointParameterfEXT, glPointParameterfEXT, NULL, 706),
- NAME_FUNC_OFFSET(21921, glPointParameterfEXT, glPointParameterfEXT, NULL, 706),
- NAME_FUNC_OFFSET(21942, glPointParameterfEXT, glPointParameterfEXT, NULL, 706),
- NAME_FUNC_OFFSET(21964, glPointParameterfvEXT, glPointParameterfvEXT, NULL, 707),
- NAME_FUNC_OFFSET(21983, glPointParameterfvEXT, glPointParameterfvEXT, NULL, 707),
- NAME_FUNC_OFFSET(22005, glPointParameterfvEXT, glPointParameterfvEXT, NULL, 707),
- NAME_FUNC_OFFSET(22028, glSecondaryColor3bEXT, glSecondaryColor3bEXT, NULL, 710),
- NAME_FUNC_OFFSET(22047, glSecondaryColor3bvEXT, glSecondaryColor3bvEXT, NULL, 711),
- NAME_FUNC_OFFSET(22067, glSecondaryColor3dEXT, glSecondaryColor3dEXT, NULL, 712),
- NAME_FUNC_OFFSET(22086, glSecondaryColor3dvEXT, glSecondaryColor3dvEXT, NULL, 713),
- NAME_FUNC_OFFSET(22106, glSecondaryColor3fEXT, glSecondaryColor3fEXT, NULL, 714),
- NAME_FUNC_OFFSET(22125, glSecondaryColor3fvEXT, glSecondaryColor3fvEXT, NULL, 715),
- NAME_FUNC_OFFSET(22145, glSecondaryColor3iEXT, glSecondaryColor3iEXT, NULL, 716),
- NAME_FUNC_OFFSET(22164, glSecondaryColor3ivEXT, glSecondaryColor3ivEXT, NULL, 717),
- NAME_FUNC_OFFSET(22184, glSecondaryColor3sEXT, glSecondaryColor3sEXT, NULL, 718),
- NAME_FUNC_OFFSET(22203, glSecondaryColor3svEXT, glSecondaryColor3svEXT, NULL, 719),
- NAME_FUNC_OFFSET(22223, glSecondaryColor3ubEXT, glSecondaryColor3ubEXT, NULL, 720),
- NAME_FUNC_OFFSET(22243, glSecondaryColor3ubvEXT, glSecondaryColor3ubvEXT, NULL, 721),
- NAME_FUNC_OFFSET(22264, glSecondaryColor3uiEXT, glSecondaryColor3uiEXT, NULL, 722),
- NAME_FUNC_OFFSET(22284, glSecondaryColor3uivEXT, glSecondaryColor3uivEXT, NULL, 723),
- NAME_FUNC_OFFSET(22305, glSecondaryColor3usEXT, glSecondaryColor3usEXT, NULL, 724),
- NAME_FUNC_OFFSET(22325, glSecondaryColor3usvEXT, glSecondaryColor3usvEXT, NULL, 725),
- NAME_FUNC_OFFSET(22346, glSecondaryColorPointerEXT, glSecondaryColorPointerEXT, NULL, 726),
- NAME_FUNC_OFFSET(22370, glMultiDrawArraysEXT, glMultiDrawArraysEXT, NULL, 727),
- NAME_FUNC_OFFSET(22388, glMultiDrawElementsEXT, glMultiDrawElementsEXT, NULL, 728),
- NAME_FUNC_OFFSET(22408, glFogCoordPointerEXT, glFogCoordPointerEXT, NULL, 729),
+ NAME_FUNC_OFFSET(21868, gl_dispatch_stub_698, gl_dispatch_stub_698, NULL,
+ 698),
+ NAME_FUNC_OFFSET(21884, gl_dispatch_stub_699, gl_dispatch_stub_699, NULL,
+ 699),
+ NAME_FUNC_OFFSET(21903, glPointParameterfEXT, glPointParameterfEXT, NULL,
+ 706),
+ NAME_FUNC_OFFSET(21921, glPointParameterfEXT, glPointParameterfEXT, NULL,
+ 706),
+ NAME_FUNC_OFFSET(21942, glPointParameterfEXT, glPointParameterfEXT, NULL,
+ 706),
+ NAME_FUNC_OFFSET(21964, glPointParameterfvEXT, glPointParameterfvEXT, NULL,
+ 707),
+ NAME_FUNC_OFFSET(21983, glPointParameterfvEXT, glPointParameterfvEXT, NULL,
+ 707),
+ NAME_FUNC_OFFSET(22005, glPointParameterfvEXT, glPointParameterfvEXT, NULL,
+ 707),
+ NAME_FUNC_OFFSET(22028, glSecondaryColor3bEXT, glSecondaryColor3bEXT, NULL,
+ 710),
+ NAME_FUNC_OFFSET(22047, glSecondaryColor3bvEXT, glSecondaryColor3bvEXT,
+ NULL, 711),
+ NAME_FUNC_OFFSET(22067, glSecondaryColor3dEXT, glSecondaryColor3dEXT, NULL,
+ 712),
+ NAME_FUNC_OFFSET(22086, glSecondaryColor3dvEXT, glSecondaryColor3dvEXT,
+ NULL, 713),
+ NAME_FUNC_OFFSET(22106, glSecondaryColor3fEXT, glSecondaryColor3fEXT, NULL,
+ 714),
+ NAME_FUNC_OFFSET(22125, glSecondaryColor3fvEXT, glSecondaryColor3fvEXT,
+ NULL, 715),
+ NAME_FUNC_OFFSET(22145, glSecondaryColor3iEXT, glSecondaryColor3iEXT, NULL,
+ 716),
+ NAME_FUNC_OFFSET(22164, glSecondaryColor3ivEXT, glSecondaryColor3ivEXT,
+ NULL, 717),
+ NAME_FUNC_OFFSET(22184, glSecondaryColor3sEXT, glSecondaryColor3sEXT, NULL,
+ 718),
+ NAME_FUNC_OFFSET(22203, glSecondaryColor3svEXT, glSecondaryColor3svEXT,
+ NULL, 719),
+ NAME_FUNC_OFFSET(22223, glSecondaryColor3ubEXT, glSecondaryColor3ubEXT,
+ NULL, 720),
+ NAME_FUNC_OFFSET(22243, glSecondaryColor3ubvEXT, glSecondaryColor3ubvEXT,
+ NULL, 721),
+ NAME_FUNC_OFFSET(22264, glSecondaryColor3uiEXT, glSecondaryColor3uiEXT,
+ NULL, 722),
+ NAME_FUNC_OFFSET(22284, glSecondaryColor3uivEXT, glSecondaryColor3uivEXT,
+ NULL, 723),
+ NAME_FUNC_OFFSET(22305, glSecondaryColor3usEXT, glSecondaryColor3usEXT,
+ NULL, 724),
+ NAME_FUNC_OFFSET(22325, glSecondaryColor3usvEXT, glSecondaryColor3usvEXT,
+ NULL, 725),
+ NAME_FUNC_OFFSET(22346, glSecondaryColorPointerEXT,
+ glSecondaryColorPointerEXT, NULL, 726),
+ NAME_FUNC_OFFSET(22370, glMultiDrawArraysEXT, glMultiDrawArraysEXT, NULL,
+ 727),
+ NAME_FUNC_OFFSET(22388, glMultiDrawElementsEXT, glMultiDrawElementsEXT,
+ NULL, 728),
+ NAME_FUNC_OFFSET(22408, glFogCoordPointerEXT, glFogCoordPointerEXT, NULL,
+ 729),
NAME_FUNC_OFFSET(22426, glFogCoorddEXT, glFogCoorddEXT, NULL, 730),
NAME_FUNC_OFFSET(22438, glFogCoorddvEXT, glFogCoorddvEXT, NULL, 731),
NAME_FUNC_OFFSET(22451, glFogCoordfEXT, glFogCoordfEXT, NULL, 732),
NAME_FUNC_OFFSET(22463, glFogCoordfvEXT, glFogCoordfvEXT, NULL, 733),
- NAME_FUNC_OFFSET(22476, glBlendFuncSeparateEXT, glBlendFuncSeparateEXT, NULL, 735),
- NAME_FUNC_OFFSET(22496, glBlendFuncSeparateEXT, glBlendFuncSeparateEXT, NULL, 735),
+ NAME_FUNC_OFFSET(22476, glBlendFuncSeparateEXT, glBlendFuncSeparateEXT,
+ NULL, 735),
+ NAME_FUNC_OFFSET(22496, glBlendFuncSeparateEXT, glBlendFuncSeparateEXT,
+ NULL, 735),
NAME_FUNC_OFFSET(22520, glWindowPos2dMESA, glWindowPos2dMESA, NULL, 752),
NAME_FUNC_OFFSET(22534, glWindowPos2dMESA, glWindowPos2dMESA, NULL, 752),
NAME_FUNC_OFFSET(22551, glWindowPos2dvMESA, glWindowPos2dvMESA, NULL, 753),
@@ -2752,39 +3374,69 @@ static const glprocs_table_t static_functions[] = {
NAME_FUNC_OFFSET(23032, glBindProgramNV, glBindProgramNV, NULL, 786),
NAME_FUNC_OFFSET(23049, glDeleteProgramsNV, glDeleteProgramsNV, NULL, 787),
NAME_FUNC_OFFSET(23069, glGenProgramsNV, glGenProgramsNV, NULL, 789),
- NAME_FUNC_OFFSET(23086, glGetVertexAttribPointervNV, glGetVertexAttribPointervNV, NULL, 795),
- NAME_FUNC_OFFSET(23112, glGetVertexAttribPointervNV, glGetVertexAttribPointervNV, NULL, 795),
+ NAME_FUNC_OFFSET(23086, glGetVertexAttribPointervNV,
+ glGetVertexAttribPointervNV, NULL, 795),
+ NAME_FUNC_OFFSET(23112, glGetVertexAttribPointervNV,
+ glGetVertexAttribPointervNV, NULL, 795),
NAME_FUNC_OFFSET(23141, glIsProgramNV, glIsProgramNV, NULL, 799),
- NAME_FUNC_OFFSET(23156, glPointParameteriNV, glPointParameteriNV, NULL, 863),
- NAME_FUNC_OFFSET(23174, glPointParameterivNV, glPointParameterivNV, NULL, 864),
- NAME_FUNC_OFFSET(23193, gl_dispatch_stub_867, gl_dispatch_stub_867, NULL, 867),
- NAME_FUNC_OFFSET(23214, gl_dispatch_stub_869, gl_dispatch_stub_869, NULL, 869),
- NAME_FUNC_OFFSET(23230, glPrimitiveRestartIndexNV, glPrimitiveRestartIndexNV, NULL, 876),
- NAME_FUNC_OFFSET(23254, gl_dispatch_stub_879, gl_dispatch_stub_879, NULL, 879),
- NAME_FUNC_OFFSET(23278, gl_dispatch_stub_879, gl_dispatch_stub_879, NULL, 879),
- NAME_FUNC_OFFSET(23305, glBindFramebufferEXT, glBindFramebufferEXT, NULL, 880),
- NAME_FUNC_OFFSET(23323, glBindRenderbufferEXT, glBindRenderbufferEXT, NULL, 881),
- NAME_FUNC_OFFSET(23342, glCheckFramebufferStatusEXT, glCheckFramebufferStatusEXT, NULL, 882),
- NAME_FUNC_OFFSET(23367, glDeleteFramebuffersEXT, glDeleteFramebuffersEXT, NULL, 883),
- NAME_FUNC_OFFSET(23388, glDeleteRenderbuffersEXT, glDeleteRenderbuffersEXT, NULL, 884),
- NAME_FUNC_OFFSET(23410, glFramebufferRenderbufferEXT, glFramebufferRenderbufferEXT, NULL, 885),
- NAME_FUNC_OFFSET(23436, glFramebufferTexture1DEXT, glFramebufferTexture1DEXT, NULL, 886),
- NAME_FUNC_OFFSET(23459, glFramebufferTexture2DEXT, glFramebufferTexture2DEXT, NULL, 887),
- NAME_FUNC_OFFSET(23482, glFramebufferTexture3DEXT, glFramebufferTexture3DEXT, NULL, 888),
- NAME_FUNC_OFFSET(23505, glGenFramebuffersEXT, glGenFramebuffersEXT, NULL, 889),
- NAME_FUNC_OFFSET(23523, glGenRenderbuffersEXT, glGenRenderbuffersEXT, NULL, 890),
- NAME_FUNC_OFFSET(23542, glGenerateMipmapEXT, glGenerateMipmapEXT, NULL, 891),
- NAME_FUNC_OFFSET(23559, glGetFramebufferAttachmentParameterivEXT, glGetFramebufferAttachmentParameterivEXT, NULL, 892),
- NAME_FUNC_OFFSET(23597, glGetRenderbufferParameterivEXT, glGetRenderbufferParameterivEXT, NULL, 893),
+ NAME_FUNC_OFFSET(23156, glPointParameteriNV, glPointParameteriNV, NULL,
+ 863),
+ NAME_FUNC_OFFSET(23174, glPointParameterivNV, glPointParameterivNV, NULL,
+ 864),
+ NAME_FUNC_OFFSET(23193, gl_dispatch_stub_867, gl_dispatch_stub_867, NULL,
+ 867),
+ NAME_FUNC_OFFSET(23214, gl_dispatch_stub_869, gl_dispatch_stub_869, NULL,
+ 869),
+ NAME_FUNC_OFFSET(23230, glPrimitiveRestartIndexNV,
+ glPrimitiveRestartIndexNV, NULL, 876),
+ NAME_FUNC_OFFSET(23254, gl_dispatch_stub_879, gl_dispatch_stub_879, NULL,
+ 879),
+ NAME_FUNC_OFFSET(23278, gl_dispatch_stub_879, gl_dispatch_stub_879, NULL,
+ 879),
+ NAME_FUNC_OFFSET(23305, glBindFramebufferEXT, glBindFramebufferEXT, NULL,
+ 880),
+ NAME_FUNC_OFFSET(23323, glBindRenderbufferEXT, glBindRenderbufferEXT, NULL,
+ 881),
+ NAME_FUNC_OFFSET(23342, glCheckFramebufferStatusEXT,
+ glCheckFramebufferStatusEXT, NULL, 882),
+ NAME_FUNC_OFFSET(23367, glDeleteFramebuffersEXT, glDeleteFramebuffersEXT,
+ NULL, 883),
+ NAME_FUNC_OFFSET(23388, glDeleteRenderbuffersEXT, glDeleteRenderbuffersEXT,
+ NULL, 884),
+ NAME_FUNC_OFFSET(23410, glFramebufferRenderbufferEXT,
+ glFramebufferRenderbufferEXT, NULL, 885),
+ NAME_FUNC_OFFSET(23436, glFramebufferTexture1DEXT,
+ glFramebufferTexture1DEXT, NULL, 886),
+ NAME_FUNC_OFFSET(23459, glFramebufferTexture2DEXT,
+ glFramebufferTexture2DEXT, NULL, 887),
+ NAME_FUNC_OFFSET(23482, glFramebufferTexture3DEXT,
+ glFramebufferTexture3DEXT, NULL, 888),
+ NAME_FUNC_OFFSET(23505, glGenFramebuffersEXT, glGenFramebuffersEXT, NULL,
+ 889),
+ NAME_FUNC_OFFSET(23523, glGenRenderbuffersEXT, glGenRenderbuffersEXT, NULL,
+ 890),
+ NAME_FUNC_OFFSET(23542, glGenerateMipmapEXT, glGenerateMipmapEXT, NULL,
+ 891),
+ NAME_FUNC_OFFSET(23559, glGetFramebufferAttachmentParameterivEXT,
+ glGetFramebufferAttachmentParameterivEXT, NULL, 892),
+ NAME_FUNC_OFFSET(23597, glGetRenderbufferParameterivEXT,
+ glGetRenderbufferParameterivEXT, NULL, 893),
NAME_FUNC_OFFSET(23626, glIsFramebufferEXT, glIsFramebufferEXT, NULL, 894),
- NAME_FUNC_OFFSET(23642, glIsRenderbufferEXT, glIsRenderbufferEXT, NULL, 895),
- NAME_FUNC_OFFSET(23659, glRenderbufferStorageEXT, glRenderbufferStorageEXT, NULL, 896),
- NAME_FUNC_OFFSET(23681, gl_dispatch_stub_897, gl_dispatch_stub_897, NULL, 897),
- NAME_FUNC_OFFSET(23699, glBindFragDataLocationEXT, glBindFragDataLocationEXT, NULL, 900),
- NAME_FUNC_OFFSET(23722, glGetFragDataLocationEXT, glGetFragDataLocationEXT, NULL, 901),
+ NAME_FUNC_OFFSET(23642, glIsRenderbufferEXT, glIsRenderbufferEXT, NULL,
+ 895),
+ NAME_FUNC_OFFSET(23659, glRenderbufferStorageEXT, glRenderbufferStorageEXT,
+ NULL, 896),
+ NAME_FUNC_OFFSET(23681, gl_dispatch_stub_897, gl_dispatch_stub_897, NULL,
+ 897),
+ NAME_FUNC_OFFSET(23699, glBindFragDataLocationEXT,
+ glBindFragDataLocationEXT, NULL, 900),
+ NAME_FUNC_OFFSET(23722, glGetFragDataLocationEXT, glGetFragDataLocationEXT,
+ NULL, 901),
NAME_FUNC_OFFSET(23744, glGetUniformuivEXT, glGetUniformuivEXT, NULL, 902),
- NAME_FUNC_OFFSET(23760, glGetVertexAttribIivEXT, glGetVertexAttribIivEXT, NULL, 903),
- NAME_FUNC_OFFSET(23781, glGetVertexAttribIuivEXT, glGetVertexAttribIuivEXT, NULL, 904),
+ NAME_FUNC_OFFSET(23760, glGetVertexAttribIivEXT, glGetVertexAttribIivEXT,
+ NULL, 903),
+ NAME_FUNC_OFFSET(23781, glGetVertexAttribIuivEXT, glGetVertexAttribIuivEXT,
+ NULL, 904),
NAME_FUNC_OFFSET(23803, glUniform1uiEXT, glUniform1uiEXT, NULL, 905),
NAME_FUNC_OFFSET(23816, glUniform1uivEXT, glUniform1uivEXT, NULL, 906),
NAME_FUNC_OFFSET(23830, glUniform2uiEXT, glUniform2uiEXT, NULL, 907),
@@ -2793,48 +3445,89 @@ static const glprocs_table_t static_functions[] = {
NAME_FUNC_OFFSET(23870, glUniform3uivEXT, glUniform3uivEXT, NULL, 910),
NAME_FUNC_OFFSET(23884, glUniform4uiEXT, glUniform4uiEXT, NULL, 911),
NAME_FUNC_OFFSET(23897, glUniform4uivEXT, glUniform4uivEXT, NULL, 912),
- NAME_FUNC_OFFSET(23911, glVertexAttribI1iEXT, glVertexAttribI1iEXT, NULL, 913),
- NAME_FUNC_OFFSET(23929, glVertexAttribI1ivEXT, glVertexAttribI1ivEXT, NULL, 914),
- NAME_FUNC_OFFSET(23948, glVertexAttribI1uiEXT, glVertexAttribI1uiEXT, NULL, 915),
- NAME_FUNC_OFFSET(23967, glVertexAttribI1uivEXT, glVertexAttribI1uivEXT, NULL, 916),
- NAME_FUNC_OFFSET(23987, glVertexAttribI2iEXT, glVertexAttribI2iEXT, NULL, 917),
- NAME_FUNC_OFFSET(24005, glVertexAttribI2ivEXT, glVertexAttribI2ivEXT, NULL, 918),
- NAME_FUNC_OFFSET(24024, glVertexAttribI2uiEXT, glVertexAttribI2uiEXT, NULL, 919),
- NAME_FUNC_OFFSET(24043, glVertexAttribI2uivEXT, glVertexAttribI2uivEXT, NULL, 920),
- NAME_FUNC_OFFSET(24063, glVertexAttribI3iEXT, glVertexAttribI3iEXT, NULL, 921),
- NAME_FUNC_OFFSET(24081, glVertexAttribI3ivEXT, glVertexAttribI3ivEXT, NULL, 922),
- NAME_FUNC_OFFSET(24100, glVertexAttribI3uiEXT, glVertexAttribI3uiEXT, NULL, 923),
- NAME_FUNC_OFFSET(24119, glVertexAttribI3uivEXT, glVertexAttribI3uivEXT, NULL, 924),
- NAME_FUNC_OFFSET(24139, glVertexAttribI4bvEXT, glVertexAttribI4bvEXT, NULL, 925),
- NAME_FUNC_OFFSET(24158, glVertexAttribI4iEXT, glVertexAttribI4iEXT, NULL, 926),
- NAME_FUNC_OFFSET(24176, glVertexAttribI4ivEXT, glVertexAttribI4ivEXT, NULL, 927),
- NAME_FUNC_OFFSET(24195, glVertexAttribI4svEXT, glVertexAttribI4svEXT, NULL, 928),
- NAME_FUNC_OFFSET(24214, glVertexAttribI4ubvEXT, glVertexAttribI4ubvEXT, NULL, 929),
- NAME_FUNC_OFFSET(24234, glVertexAttribI4uiEXT, glVertexAttribI4uiEXT, NULL, 930),
- NAME_FUNC_OFFSET(24253, glVertexAttribI4uivEXT, glVertexAttribI4uivEXT, NULL, 931),
- NAME_FUNC_OFFSET(24273, glVertexAttribI4usvEXT, glVertexAttribI4usvEXT, NULL, 932),
- NAME_FUNC_OFFSET(24293, glVertexAttribIPointerEXT, glVertexAttribIPointerEXT, NULL, 933),
- NAME_FUNC_OFFSET(24316, glFramebufferTextureLayerEXT, glFramebufferTextureLayerEXT, NULL, 934),
- NAME_FUNC_OFFSET(24342, glFramebufferTextureLayerEXT, glFramebufferTextureLayerEXT, NULL, 934),
- NAME_FUNC_OFFSET(24371, glColorMaskIndexedEXT, glColorMaskIndexedEXT, NULL, 935),
- NAME_FUNC_OFFSET(24384, glDisableIndexedEXT, glDisableIndexedEXT, NULL, 936),
+ NAME_FUNC_OFFSET(23911, glVertexAttribI1iEXT, glVertexAttribI1iEXT, NULL,
+ 913),
+ NAME_FUNC_OFFSET(23929, glVertexAttribI1ivEXT, glVertexAttribI1ivEXT, NULL,
+ 914),
+ NAME_FUNC_OFFSET(23948, glVertexAttribI1uiEXT, glVertexAttribI1uiEXT, NULL,
+ 915),
+ NAME_FUNC_OFFSET(23967, glVertexAttribI1uivEXT, glVertexAttribI1uivEXT,
+ NULL, 916),
+ NAME_FUNC_OFFSET(23987, glVertexAttribI2iEXT, glVertexAttribI2iEXT, NULL,
+ 917),
+ NAME_FUNC_OFFSET(24005, glVertexAttribI2ivEXT, glVertexAttribI2ivEXT, NULL,
+ 918),
+ NAME_FUNC_OFFSET(24024, glVertexAttribI2uiEXT, glVertexAttribI2uiEXT, NULL,
+ 919),
+ NAME_FUNC_OFFSET(24043, glVertexAttribI2uivEXT, glVertexAttribI2uivEXT,
+ NULL, 920),
+ NAME_FUNC_OFFSET(24063, glVertexAttribI3iEXT, glVertexAttribI3iEXT, NULL,
+ 921),
+ NAME_FUNC_OFFSET(24081, glVertexAttribI3ivEXT, glVertexAttribI3ivEXT, NULL,
+ 922),
+ NAME_FUNC_OFFSET(24100, glVertexAttribI3uiEXT, glVertexAttribI3uiEXT, NULL,
+ 923),
+ NAME_FUNC_OFFSET(24119, glVertexAttribI3uivEXT, glVertexAttribI3uivEXT,
+ NULL, 924),
+ NAME_FUNC_OFFSET(24139, glVertexAttribI4bvEXT, glVertexAttribI4bvEXT, NULL,
+ 925),
+ NAME_FUNC_OFFSET(24158, glVertexAttribI4iEXT, glVertexAttribI4iEXT, NULL,
+ 926),
+ NAME_FUNC_OFFSET(24176, glVertexAttribI4ivEXT, glVertexAttribI4ivEXT, NULL,
+ 927),
+ NAME_FUNC_OFFSET(24195, glVertexAttribI4svEXT, glVertexAttribI4svEXT, NULL,
+ 928),
+ NAME_FUNC_OFFSET(24214, glVertexAttribI4ubvEXT, glVertexAttribI4ubvEXT,
+ NULL, 929),
+ NAME_FUNC_OFFSET(24234, glVertexAttribI4uiEXT, glVertexAttribI4uiEXT, NULL,
+ 930),
+ NAME_FUNC_OFFSET(24253, glVertexAttribI4uivEXT, glVertexAttribI4uivEXT,
+ NULL, 931),
+ NAME_FUNC_OFFSET(24273, glVertexAttribI4usvEXT, glVertexAttribI4usvEXT,
+ NULL, 932),
+ NAME_FUNC_OFFSET(24293, glVertexAttribIPointerEXT,
+ glVertexAttribIPointerEXT, NULL, 933),
+ NAME_FUNC_OFFSET(24316, glFramebufferTextureLayerEXT,
+ glFramebufferTextureLayerEXT, NULL, 934),
+ NAME_FUNC_OFFSET(24342, glFramebufferTextureLayerEXT,
+ glFramebufferTextureLayerEXT, NULL, 934),
+ NAME_FUNC_OFFSET(24371, glColorMaskIndexedEXT, glColorMaskIndexedEXT, NULL,
+ 935),
+ NAME_FUNC_OFFSET(24384, glDisableIndexedEXT, glDisableIndexedEXT, NULL,
+ 936),
NAME_FUNC_OFFSET(24395, glEnableIndexedEXT, glEnableIndexedEXT, NULL, 937),
- NAME_FUNC_OFFSET(24405, glGetBooleanIndexedvEXT, glGetBooleanIndexedvEXT, NULL, 938),
- NAME_FUNC_OFFSET(24421, glGetIntegerIndexedvEXT, glGetIntegerIndexedvEXT, NULL, 939),
- NAME_FUNC_OFFSET(24437, glIsEnabledIndexedEXT, glIsEnabledIndexedEXT, NULL, 940),
- NAME_FUNC_OFFSET(24450, glGetTexParameterIivEXT, glGetTexParameterIivEXT, NULL, 943),
- NAME_FUNC_OFFSET(24471, glGetTexParameterIuivEXT, glGetTexParameterIuivEXT, NULL, 944),
- NAME_FUNC_OFFSET(24493, glTexParameterIivEXT, glTexParameterIivEXT, NULL, 945),
- NAME_FUNC_OFFSET(24511, glTexParameterIuivEXT, glTexParameterIuivEXT, NULL, 946),
- NAME_FUNC_OFFSET(24530, glBeginConditionalRenderNV, glBeginConditionalRenderNV, NULL, 947),
- NAME_FUNC_OFFSET(24555, glEndConditionalRenderNV, glEndConditionalRenderNV, NULL, 948),
- NAME_FUNC_OFFSET(24578, glBeginTransformFeedbackEXT, glBeginTransformFeedbackEXT, NULL, 949),
- NAME_FUNC_OFFSET(24603, glBindBufferBaseEXT, glBindBufferBaseEXT, NULL, 950),
- NAME_FUNC_OFFSET(24620, glBindBufferRangeEXT, glBindBufferRangeEXT, NULL, 952),
- NAME_FUNC_OFFSET(24638, glEndTransformFeedbackEXT, glEndTransformFeedbackEXT, NULL, 953),
- NAME_FUNC_OFFSET(24661, glGetTransformFeedbackVaryingEXT, glGetTransformFeedbackVaryingEXT, NULL, 954),
- NAME_FUNC_OFFSET(24691, glTransformFeedbackVaryingsEXT, glTransformFeedbackVaryingsEXT, NULL, 955),
- NAME_FUNC_OFFSET(24719, glProvokingVertexEXT, glProvokingVertexEXT, NULL, 956),
+ NAME_FUNC_OFFSET(24405, glGetBooleanIndexedvEXT, glGetBooleanIndexedvEXT,
+ NULL, 938),
+ NAME_FUNC_OFFSET(24421, glGetIntegerIndexedvEXT, glGetIntegerIndexedvEXT,
+ NULL, 939),
+ NAME_FUNC_OFFSET(24437, glIsEnabledIndexedEXT, glIsEnabledIndexedEXT, NULL,
+ 940),
+ NAME_FUNC_OFFSET(24450, glGetTexParameterIivEXT, glGetTexParameterIivEXT,
+ NULL, 943),
+ NAME_FUNC_OFFSET(24471, glGetTexParameterIuivEXT, glGetTexParameterIuivEXT,
+ NULL, 944),
+ NAME_FUNC_OFFSET(24493, glTexParameterIivEXT, glTexParameterIivEXT, NULL,
+ 945),
+ NAME_FUNC_OFFSET(24511, glTexParameterIuivEXT, glTexParameterIuivEXT, NULL,
+ 946),
+ NAME_FUNC_OFFSET(24530, glBeginConditionalRenderNV,
+ glBeginConditionalRenderNV, NULL, 947),
+ NAME_FUNC_OFFSET(24555, glEndConditionalRenderNV, glEndConditionalRenderNV,
+ NULL, 948),
+ NAME_FUNC_OFFSET(24578, glBeginTransformFeedbackEXT,
+ glBeginTransformFeedbackEXT, NULL, 949),
+ NAME_FUNC_OFFSET(24603, glBindBufferBaseEXT, glBindBufferBaseEXT, NULL,
+ 950),
+ NAME_FUNC_OFFSET(24620, glBindBufferRangeEXT, glBindBufferRangeEXT, NULL,
+ 952),
+ NAME_FUNC_OFFSET(24638, glEndTransformFeedbackEXT,
+ glEndTransformFeedbackEXT, NULL, 953),
+ NAME_FUNC_OFFSET(24661, glGetTransformFeedbackVaryingEXT,
+ glGetTransformFeedbackVaryingEXT, NULL, 954),
+ NAME_FUNC_OFFSET(24691, glTransformFeedbackVaryingsEXT,
+ glTransformFeedbackVaryingsEXT, NULL, 955),
+ NAME_FUNC_OFFSET(24719, glProvokingVertexEXT, glProvokingVertexEXT, NULL,
+ 956),
NAME_FUNC_OFFSET(-1, NULL, NULL, NULL, 0)
};
diff --git a/glx/glthread.c b/glx/glthread.c
index 5da7e433c..fd4c6cc09 100644
--- a/glx/glthread.c
+++ b/glx/glthread.c
@@ -22,13 +22,11 @@
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
-
/*
* XXX There's probably some work to do in order to make this file
* truly reusable outside of Mesa.
*/
-
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#include <X11/Xfuncproto.h>
@@ -38,7 +36,6 @@
#include <stdio.h>
#include "glthread.h"
-
/*
* This file should still compile even when THREADS is not defined.
* This is to make things easier to deal with on the makefile scene..
@@ -53,7 +50,6 @@
#define GET_TSD_ERROR "_glthread_: failed to get thread specific data"
#define SET_TSD_ERROR "_glthread_: thread failed to set thread specific data"
-
/*
* Magic number to determine if a TSD object has been initialized.
* Kind of a hack but there doesn't appear to be a better cross-platform
@@ -61,8 +57,6 @@
*/
#define INIT_MAGIC 0xff8adc98
-
-
/*
* POSIX Threads -- The best way to go if your platform supports them.
* Solaris >= 2.5 have POSIX threads, IRIX >= 6.4 reportedly
@@ -75,44 +69,41 @@
_X_EXPORT unsigned long
_glthread_GetID(void)
{
- return (unsigned long) pthread_self();
+ return (unsigned long) pthread_self();
}
-
void
-_glthread_InitTSD(_glthread_TSD *tsd)
+_glthread_InitTSD(_glthread_TSD * tsd)
{
- if (pthread_key_create(&tsd->key, NULL/*free*/) != 0) {
- perror(INIT_TSD_ERROR);
- exit(-1);
- }
- tsd->initMagic = INIT_MAGIC;
+ if (pthread_key_create(&tsd->key, NULL /*free */ ) != 0) {
+ perror(INIT_TSD_ERROR);
+ exit(-1);
+ }
+ tsd->initMagic = INIT_MAGIC;
}
-
void *
-_glthread_GetTSD(_glthread_TSD *tsd)
+_glthread_GetTSD(_glthread_TSD * tsd)
{
- if (tsd->initMagic != (int) INIT_MAGIC) {
- _glthread_InitTSD(tsd);
- }
- return pthread_getspecific(tsd->key);
+ if (tsd->initMagic != (int) INIT_MAGIC) {
+ _glthread_InitTSD(tsd);
+ }
+ return pthread_getspecific(tsd->key);
}
-
void
-_glthread_SetTSD(_glthread_TSD *tsd, void *ptr)
+_glthread_SetTSD(_glthread_TSD * tsd, void *ptr)
{
- if (tsd->initMagic != (int) INIT_MAGIC) {
- _glthread_InitTSD(tsd);
- }
- if (pthread_setspecific(tsd->key, ptr) != 0) {
- perror(SET_TSD_ERROR);
- exit(-1);
- }
+ if (tsd->initMagic != (int) INIT_MAGIC) {
+ _glthread_InitTSD(tsd);
+ }
+ if (pthread_setspecific(tsd->key, ptr) != 0) {
+ perror(SET_TSD_ERROR);
+ exit(-1);
+ }
}
-#endif /* PTHREADS */
+#endif /* PTHREADS */
/*
* Win32 Threads. The only available option for Windows 95/NT.
@@ -121,65 +112,64 @@ _glthread_SetTSD(_glthread_TSD *tsd, void *ptr)
*/
#ifdef WIN32_THREADS
-void FreeTSD(_glthread_TSD *p)
+void
+FreeTSD(_glthread_TSD * p)
{
- if (p->initMagic==INIT_MAGIC) {
- TlsFree(p->key);
- p->initMagic=0;
- }
+ if (p->initMagic == INIT_MAGIC) {
+ TlsFree(p->key);
+ p->initMagic = 0;
+ }
}
-void InsteadOf_exit(int nCode)
+void
+InsteadOf_exit(int nCode)
{
- DWORD dwErr=GetLastError();
+ DWORD dwErr = GetLastError();
}
unsigned long
_glthread_GetID(void)
{
- return GetCurrentThreadId();
+ return GetCurrentThreadId();
}
-
void
-_glthread_InitTSD(_glthread_TSD *tsd)
+_glthread_InitTSD(_glthread_TSD * tsd)
{
- tsd->key = TlsAlloc();
- if (tsd->key == TLS_OUT_OF_INDEXES) {
- perror("Mesa:_glthread_InitTSD");
- InsteadOf_exit(-1);
- }
- tsd->initMagic = INIT_MAGIC;
+ tsd->key = TlsAlloc();
+ if (tsd->key == TLS_OUT_OF_INDEXES) {
+ perror("Mesa:_glthread_InitTSD");
+ InsteadOf_exit(-1);
+ }
+ tsd->initMagic = INIT_MAGIC;
}
-
void *
-_glthread_GetTSD(_glthread_TSD *tsd)
+_glthread_GetTSD(_glthread_TSD * tsd)
{
- if (tsd->initMagic != INIT_MAGIC) {
- _glthread_InitTSD(tsd);
- }
- return TlsGetValue(tsd->key);
+ if (tsd->initMagic != INIT_MAGIC) {
+ _glthread_InitTSD(tsd);
+ }
+ return TlsGetValue(tsd->key);
}
-
void
-_glthread_SetTSD(_glthread_TSD *tsd, void *ptr)
+_glthread_SetTSD(_glthread_TSD * tsd, void *ptr)
{
- /* the following code assumes that the _glthread_TSD has been initialized
- to zero at creation */
- if (tsd->initMagic != INIT_MAGIC) {
- _glthread_InitTSD(tsd);
- }
- if (TlsSetValue(tsd->key, ptr) == 0) {
- perror("Mesa:_glthread_SetTSD");
- InsteadOf_exit(-1);
- }
+ /* the following code assumes that the _glthread_TSD has been initialized
+ to zero at creation */
+ if (tsd->initMagic != INIT_MAGIC) {
+ _glthread_InitTSD(tsd);
+ }
+ if (TlsSetValue(tsd->key, ptr) == 0) {
+ perror("Mesa:_glthread_SetTSD");
+ InsteadOf_exit(-1);
+ }
}
-#endif /* WIN32_THREADS */
+#endif /* WIN32_THREADS */
-#else /* THREADS */
+#else /* THREADS */
/*
* no-op functions
@@ -188,31 +178,27 @@ _glthread_SetTSD(_glthread_TSD *tsd, void *ptr)
_X_EXPORT unsigned long
_glthread_GetID(void)
{
- return 0;
+ return 0;
}
-
void
-_glthread_InitTSD(_glthread_TSD *tsd)
+_glthread_InitTSD(_glthread_TSD * tsd)
{
- (void) tsd;
+ (void) tsd;
}
-
void *
-_glthread_GetTSD(_glthread_TSD *tsd)
+_glthread_GetTSD(_glthread_TSD * tsd)
{
- (void) tsd;
- return NULL;
+ (void) tsd;
+ return NULL;
}
-
void
-_glthread_SetTSD(_glthread_TSD *tsd, void *ptr)
+_glthread_SetTSD(_glthread_TSD * tsd, void *ptr)
{
- (void) tsd;
- (void) ptr;
+ (void) tsd;
+ (void) ptr;
}
-
-#endif /* THREADS */
+#endif /* THREADS */
diff --git a/glx/glthread.h b/glx/glthread.h
index 532401a73..62c9bd4f1 100644
--- a/glx/glthread.h
+++ b/glx/glthread.h
@@ -22,7 +22,6 @@
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
-
/*
* Thread support for gl dispatch.
*
@@ -63,14 +62,13 @@
#ifndef GLTHREAD_H
#define GLTHREAD_H
-
#if defined(USE_MGL_NAMESPACE)
#define _glapi_Dispatch _mglapi_Dispatch
#endif
#if (defined(PTHREADS) || defined(WIN32_THREADS)) \
&& !defined(THREADS)
-# define THREADS
+#define THREADS
#endif
#ifdef VMS
@@ -87,11 +85,11 @@
* proper compiling for MT-safe libc etc.
*/
#if defined(PTHREADS)
-#include <pthread.h> /* POSIX threads headers */
+#include <pthread.h> /* POSIX threads headers */
typedef struct {
- pthread_key_t key;
- int initMagic;
+ pthread_key_t key;
+ int initMagic;
} _glthread_TSD;
typedef pthread_t _glthread_Thread;
@@ -113,10 +111,7 @@ typedef pthread_mutex_t _glthread_Mutex;
#define _glthread_UNLOCK_MUTEX(name) \
(void) pthread_mutex_unlock(&(name))
-#endif /* PTHREADS */
-
-
-
+#endif /* PTHREADS */
/*
* Solaris threads. Use only up to Solaris 2.4.
@@ -125,9 +120,6 @@ typedef pthread_mutex_t _glthread_Mutex;
* use -D_REENTRANT if using gcc.
*/
-
-
-
/*
* Windows threads. Should work with Windows NT and 95.
* IMPORTANT: Link with multithreaded runtime library when THREADS are
@@ -137,8 +129,8 @@ typedef pthread_mutex_t _glthread_Mutex;
#include <windows.h>
typedef struct {
- DWORD key;
- int initMagic;
+ DWORD key;
+ int initMagic;
} _glthread_TSD;
typedef HANDLE _glthread_Thread;
@@ -151,7 +143,7 @@ typedef CRITICAL_SECTION _glthread_Mutex;
#define _glthread_LOCK_MUTEX(name) EnterCriticalSection(&name)
#define _glthread_UNLOCK_MUTEX(name) LeaveCriticalSection(&name)
-#endif /* WIN32_THREADS */
+#endif /* WIN32_THREADS */
/*
* BeOS threads. R5.x required.
@@ -162,16 +154,16 @@ typedef CRITICAL_SECTION _glthread_Mutex;
#include <support/TLS.h>
typedef struct {
- int32 key;
- int initMagic;
+ int32 key;
+ int initMagic;
} _glthread_TSD;
typedef thread_id _glthread_Thread;
/* Use Benaphore, aka speeder semaphore */
typedef struct {
- int32 lock;
- sem_id sem;
+ int32 lock;
+ sem_id sem;
} benaphore;
typedef benaphore _glthread_Mutex;
@@ -182,9 +174,7 @@ typedef benaphore _glthread_Mutex;
if (atomic_add(&(name.lock), 1) >= 1) acquire_sem(name.sem)
#define _glthread_UNLOCK_MUTEX(name) if (atomic_add(&(name.lock), -1) > 1) release_sem(name.sem)
-#endif /* BEOS_THREADS */
-
-
+#endif /* BEOS_THREADS */
#ifndef THREADS
@@ -208,44 +198,37 @@ typedef int _glthread_Mutex;
#define _glthread_UNLOCK_MUTEX(name) (void) name
-#endif /* THREADS */
-
-
+#endif /* THREADS */
/*
* Platform independent thread specific data API.
*/
extern unsigned long
-_glthread_GetID(void);
-
+ _glthread_GetID(void);
extern void
-_glthread_InitTSD(_glthread_TSD *);
-
-
-extern void *
-_glthread_GetTSD(_glthread_TSD *);
+ _glthread_InitTSD(_glthread_TSD *);
+extern void *_glthread_GetTSD(_glthread_TSD *);
extern void
-_glthread_SetTSD(_glthread_TSD *, void *);
+ _glthread_SetTSD(_glthread_TSD *, void *);
#if defined(GLX_USE_TLS)
-extern TLS struct _glapi_table * _glapi_tls_Dispatch;
+extern TLS struct _glapi_table *_glapi_tls_Dispatch;
#define GET_DISPATCH() _glapi_tls_Dispatch
#elif !defined(GL_CALL)
-# if defined(THREADS)
-# define GET_DISPATCH() \
+#if defined(THREADS)
+#define GET_DISPATCH() \
((__builtin_expect( _glapi_Dispatch != NULL, 1 )) \
? _glapi_Dispatch : _glapi_get_dispatch())
-# else
-# define GET_DISPATCH() _glapi_Dispatch
-# endif /* defined(THREADS) */
-#endif /* ndef GL_CALL */
-
+#else
+#define GET_DISPATCH() _glapi_Dispatch
+#endif /* defined(THREADS) */
+#endif /* ndef GL_CALL */
-#endif /* THREADS_H */
+#endif /* THREADS_H */
diff --git a/glx/glxbyteorder.h b/glx/glxbyteorder.h
index cdf6b15f0..73f0f7df7 100644
--- a/glx/glxbyteorder.h
+++ b/glx/glxbyteorder.h
@@ -51,11 +51,11 @@
#define bswap_32(value) \
(((uint32_t)bswap_16((uint16_t)((value) & 0xffff)) << 16) | \
(uint32_t)bswap_16((uint16_t)((value) >> 16)))
-
+
#define bswap_64(value) \
(((uint64_t)bswap_32((uint32_t)((value) & 0xffffffff)) \
<< 32) | \
(uint64_t)bswap_32((uint32_t)((value) >> 32)))
#endif
-#endif /* !defined(__GLXBYTEORDER_H__) */
+#endif /* !defined(__GLXBYTEORDER_H__) */
diff --git a/glx/glxcmds.c b/glx/glxcmds.c
index d5b764fd0..24fed8f63 100644
--- a/glx/glxcmds.c
+++ b/glx/glxcmds.c
@@ -51,15 +51,16 @@
#include "indirect_util.h"
static int
-validGlxScreen(ClientPtr client, int screen, __GLXscreen **pGlxScreen, int *err)
+validGlxScreen(ClientPtr client, int screen, __GLXscreen ** pGlxScreen,
+ int *err)
{
/*
- ** Check if screen exists.
- */
+ ** Check if screen exists.
+ */
if (screen < 0 || screen >= screenInfo.numScreens) {
- client->errorValue = screen;
- *err = BadValue;
- return FALSE;
+ client->errorValue = screen;
+ *err = BadValue;
+ return FALSE;
}
*pGlxScreen = glxGetScreen(screenInfo.screens[screen]);
@@ -67,16 +68,16 @@ validGlxScreen(ClientPtr client, int screen, __GLXscreen **pGlxScreen, int *err)
}
static int
-validGlxFBConfig(ClientPtr client, __GLXscreen *pGlxScreen, XID id,
- __GLXconfig **config, int *err)
+validGlxFBConfig(ClientPtr client, __GLXscreen * pGlxScreen, XID id,
+ __GLXconfig ** config, int *err)
{
__GLXconfig *m;
for (m = pGlxScreen->fbconfigs; m != NULL; m = m->next)
- if (m->fbconfigID == id) {
- *config = m;
- return TRUE;
- }
+ if (m->fbconfigID == id) {
+ *config = m;
+ return TRUE;
+ }
client->errorValue = id;
*err = __glXError(GLXBadFBConfig);
@@ -85,16 +86,16 @@ validGlxFBConfig(ClientPtr client, __GLXscreen *pGlxScreen, XID id,
}
static int
-validGlxVisual(ClientPtr client, __GLXscreen *pGlxScreen, XID id,
- __GLXconfig **config, int *err)
+validGlxVisual(ClientPtr client, __GLXscreen * pGlxScreen, XID id,
+ __GLXconfig ** config, int *err)
{
int i;
for (i = 0; i < pGlxScreen->numVisuals; i++)
- if (pGlxScreen->visuals[i]->visualID == id) {
- *config = pGlxScreen->visuals[i];
- return TRUE;
- }
+ if (pGlxScreen->visuals[i]->visualID == id) {
+ *config = pGlxScreen->visuals[i];
+ return TRUE;
+ }
client->errorValue = id;
*err = BadValue;
@@ -103,28 +104,28 @@ validGlxVisual(ClientPtr client, __GLXscreen *pGlxScreen, XID id,
}
static int
-validGlxFBConfigForWindow(ClientPtr client, __GLXconfig *config,
- DrawablePtr pDraw, int *err)
+validGlxFBConfigForWindow(ClientPtr client, __GLXconfig * config,
+ DrawablePtr pDraw, int *err)
{
ScreenPtr pScreen = pDraw->pScreen;
VisualPtr pVisual = NULL;
XID vid;
int i;
- vid = wVisual((WindowPtr)pDraw);
+ vid = wVisual((WindowPtr) pDraw);
for (i = 0; i < pScreen->numVisuals; i++) {
- if (pScreen->visuals[i].vid == vid) {
- pVisual = &pScreen->visuals[i];
- break;
- }
+ if (pScreen->visuals[i].vid == vid) {
+ pVisual = &pScreen->visuals[i];
+ break;
+ }
}
/* FIXME: What exactly should we check here... */
if (pVisual->class != glxConvertToXVisualType(config->visualType) ||
- !(config->drawableType & GLX_WINDOW_BIT)) {
- client->errorValue = pDraw->id;
- *err = BadMatch;
- return FALSE;
+ !(config->drawableType & GLX_WINDOW_BIT)) {
+ client->errorValue = pDraw->id;
+ *err = BadMatch;
+ return FALSE;
}
return TRUE;
@@ -132,15 +133,15 @@ validGlxFBConfigForWindow(ClientPtr client, __GLXconfig *config,
static int
validGlxContext(ClientPtr client, XID id, int access_mode,
- __GLXcontext **context, int *err)
+ __GLXcontext ** context, int *err)
{
*err = dixLookupResourceByType((pointer *) context, id,
- __glXContextRes, client, access_mode);
+ __glXContextRes, client, access_mode);
if (*err != Success || (*context)->idExists == GL_FALSE) {
- client->errorValue = id;
- if (*err == BadValue || *err == Success)
- *err = __glXError(GLXBadContext);
- return FALSE;
+ client->errorValue = id;
+ if (*err == BadValue || *err == Success)
+ *err = __glXError(GLXBadContext);
+ return FALSE;
}
return TRUE;
@@ -148,65 +149,66 @@ validGlxContext(ClientPtr client, XID id, int access_mode,
static int
validGlxDrawable(ClientPtr client, XID id, int type, int access_mode,
- __GLXdrawable **drawable, int *err)
+ __GLXdrawable ** drawable, int *err)
{
int rc;
rc = dixLookupResourceByType((pointer *) drawable, id,
- __glXDrawableRes, client, access_mode);
+ __glXDrawableRes, client, access_mode);
if (rc != Success && rc != BadValue) {
- *err = rc;
- client->errorValue = id;
- return FALSE;
+ *err = rc;
+ client->errorValue = id;
+ return FALSE;
}
/* If the ID of the glx drawable we looked up doesn't match the id
* we looked for, it's because we looked it up under the X
* drawable ID (see DoCreateGLXDrawable). */
if (rc == BadValue ||
- (*drawable)->drawId != id ||
- (type != GLX_DRAWABLE_ANY && type != (*drawable)->type)) {
- client->errorValue = id;
- switch (type) {
- case GLX_DRAWABLE_WINDOW:
- *err = __glXError(GLXBadWindow);
- return FALSE;
- case GLX_DRAWABLE_PIXMAP:
- *err = __glXError(GLXBadPixmap);
- return FALSE;
- case GLX_DRAWABLE_PBUFFER:
- *err = __glXError(GLXBadPbuffer);
- return FALSE;
- case GLX_DRAWABLE_ANY:
- *err = __glXError(GLXBadDrawable);
- return FALSE;
- }
+ (*drawable)->drawId != id ||
+ (type != GLX_DRAWABLE_ANY && type != (*drawable)->type)) {
+ client->errorValue = id;
+ switch (type) {
+ case GLX_DRAWABLE_WINDOW:
+ *err = __glXError(GLXBadWindow);
+ return FALSE;
+ case GLX_DRAWABLE_PIXMAP:
+ *err = __glXError(GLXBadPixmap);
+ return FALSE;
+ case GLX_DRAWABLE_PBUFFER:
+ *err = __glXError(GLXBadPbuffer);
+ return FALSE;
+ case GLX_DRAWABLE_ANY:
+ *err = __glXError(GLXBadDrawable);
+ return FALSE;
+ }
}
return TRUE;
}
void
-__glXContextDestroy(__GLXcontext *context)
+__glXContextDestroy(__GLXcontext * context)
{
__glXFlushContextCache();
}
-static void __glXdirectContextDestroy(__GLXcontext *context)
+static void
+__glXdirectContextDestroy(__GLXcontext * context)
{
__glXContextDestroy(context);
free(context);
}
-static __GLXcontext *__glXdirectContextCreate(__GLXscreen *screen,
- __GLXconfig *modes,
- __GLXcontext *shareContext)
+static __GLXcontext *
+__glXdirectContextCreate(__GLXscreen * screen,
+ __GLXconfig * modes, __GLXcontext * shareContext)
{
__GLXcontext *context;
- context = calloc(1, sizeof (__GLXcontext));
+ context = calloc(1, sizeof(__GLXcontext));
if (context == NULL)
- return NULL;
+ return NULL;
context->destroy = __glXdirectContextDestroy;
@@ -222,84 +224,86 @@ static __GLXcontext *__glXdirectContextCreate(__GLXscreen *screen,
*/
static int
-DoCreateContext(__GLXclientState *cl, GLXContextID gcId,
- GLXContextID shareList, __GLXconfig *config,
- __GLXscreen *pGlxScreen, GLboolean isDirect)
+DoCreateContext(__GLXclientState * cl, GLXContextID gcId,
+ GLXContextID shareList, __GLXconfig * config,
+ __GLXscreen * pGlxScreen, GLboolean isDirect)
{
ClientPtr client = cl->client;
__GLXcontext *glxc, *shareglxc;
int err;
-
+
LEGAL_NEW_RESOURCE(gcId, client);
/*
- ** Find the display list space that we want to share.
- **
- ** NOTE: In a multithreaded X server, we would need to keep a reference
- ** count for each display list so that if one client detroyed a list that
- ** another client was using, the list would not really be freed until it
- ** was no longer in use. Since this sample implementation has no support
- ** for multithreaded servers, we don't do this.
- */
+ ** Find the display list space that we want to share.
+ **
+ ** NOTE: In a multithreaded X server, we would need to keep a reference
+ ** count for each display list so that if one client detroyed a list that
+ ** another client was using, the list would not really be freed until it
+ ** was no longer in use. Since this sample implementation has no support
+ ** for multithreaded servers, we don't do this.
+ */
if (shareList == None) {
- shareglxc = 0;
- } else {
- if (!validGlxContext(client, shareList, DixReadAccess,
- &shareglxc, &err))
- return err;
-
- if (shareglxc->isDirect) {
- /*
- ** NOTE: no support for sharing display lists between direct
- ** contexts, even if they are in the same address space.
- */
+ shareglxc = 0;
+ }
+ else {
+ if (!validGlxContext(client, shareList, DixReadAccess,
+ &shareglxc, &err))
+ return err;
+
+ if (shareglxc->isDirect) {
+ /*
+ ** NOTE: no support for sharing display lists between direct
+ ** contexts, even if they are in the same address space.
+ */
#if 0
/* Disabling this code seems to allow shared display lists
* and texture objects to work. We'll leave it disabled for now.
*/
- client->errorValue = shareList;
- return BadMatch;
+ client->errorValue = shareList;
+ return BadMatch;
#endif
- } else {
- /*
- ** Create an indirect context regardless of what the client asked
- ** for; this way we can share display list space with shareList.
- */
- isDirect = GL_FALSE;
- }
+ }
+ else {
+ /*
+ ** Create an indirect context regardless of what the client asked
+ ** for; this way we can share display list space with shareList.
+ */
+ isDirect = GL_FALSE;
+ }
}
/*
- ** Allocate memory for the new context
- */
+ ** Allocate memory for the new context
+ */
if (!isDirect)
- glxc = pGlxScreen->createContext(pGlxScreen, config, shareglxc);
+ glxc = pGlxScreen->createContext(pGlxScreen, config, shareglxc);
else
- glxc = __glXdirectContextCreate(pGlxScreen, config, shareglxc);
+ glxc = __glXdirectContextCreate(pGlxScreen, config, shareglxc);
if (!glxc) {
- return BadAlloc;
+ return BadAlloc;
}
/*
- ** Initially, setup the part of the context that could be used by
- ** a GL core that needs windowing information (e.g., Mesa).
- */
+ ** Initially, setup the part of the context that could be used by
+ ** a GL core that needs windowing information (e.g., Mesa).
+ */
glxc->pGlxScreen = pGlxScreen;
glxc->config = config;
/*
- ** Register this context as a resource.
- */
- if (!AddResource(gcId, __glXContextRes, (pointer)glxc)) {
- (*glxc->destroy)(glxc);
- client->errorValue = gcId;
- return BadAlloc;
- }
-
+ ** Register this context as a resource.
+ */
+ if (!AddResource(gcId, __glXContextRes, (pointer) glxc)) {
+ (*glxc->destroy) (glxc);
+ client->errorValue = gcId;
+ return BadAlloc;
+ }
+
/*
- ** Finally, now that everything is working, setup the rest of the
- ** context.
- */
+ ** Finally, now that everything is working, setup the rest of the
+ ** context.
+ */
glxc->id = gcId;
glxc->share_id = shareList;
glxc->idExists = GL_TRUE;
@@ -312,7 +316,8 @@ DoCreateContext(__GLXclientState *cl, GLXContextID gcId,
return Success;
}
-int __glXDisp_CreateContext(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_CreateContext(__GLXclientState * cl, GLbyte * pc)
{
ClientPtr client = cl->client;
xGLXCreateContextReq *req = (xGLXCreateContextReq *) pc;
@@ -323,15 +328,16 @@ int __glXDisp_CreateContext(__GLXclientState *cl, GLbyte *pc)
REQUEST_SIZE_MATCH(xGLXCreateContextReq);
if (!validGlxScreen(cl->client, req->screen, &pGlxScreen, &err))
- return err;
+ return err;
if (!validGlxVisual(cl->client, pGlxScreen, req->visual, &config, &err))
- return err;
+ return err;
return DoCreateContext(cl, req->context, req->shareList,
- config, pGlxScreen, req->isDirect);
+ config, pGlxScreen, req->isDirect);
}
-int __glXDisp_CreateNewContext(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_CreateNewContext(__GLXclientState * cl, GLbyte * pc)
{
ClientPtr client = cl->client;
xGLXCreateNewContextReq *req = (xGLXCreateNewContextReq *) pc;
@@ -342,19 +348,20 @@ int __glXDisp_CreateNewContext(__GLXclientState *cl, GLbyte *pc)
REQUEST_SIZE_MATCH(xGLXCreateNewContextReq);
if (!validGlxScreen(cl->client, req->screen, &pGlxScreen, &err))
- return err;
+ return err;
if (!validGlxFBConfig(cl->client, pGlxScreen, req->fbconfig, &config, &err))
- return err;
+ return err;
return DoCreateContext(cl, req->context, req->shareList,
- config, pGlxScreen, req->isDirect);
+ config, pGlxScreen, req->isDirect);
}
-int __glXDisp_CreateContextWithConfigSGIX(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_CreateContextWithConfigSGIX(__GLXclientState * cl, GLbyte * pc)
{
ClientPtr client = cl->client;
- xGLXCreateContextWithConfigSGIXReq *req =
- (xGLXCreateContextWithConfigSGIXReq *) pc;
+ xGLXCreateContextWithConfigSGIXReq *req =
+ (xGLXCreateContextWithConfigSGIXReq *) pc;
__GLXconfig *config;
__GLXscreen *pGlxScreen;
int err;
@@ -362,15 +369,16 @@ int __glXDisp_CreateContextWithConfigSGIX(__GLXclientState *cl, GLbyte *pc)
REQUEST_SIZE_MATCH(xGLXCreateContextWithConfigSGIXReq);
if (!validGlxScreen(cl->client, req->screen, &pGlxScreen, &err))
- return err;
+ return err;
if (!validGlxFBConfig(cl->client, pGlxScreen, req->fbconfig, &config, &err))
- return err;
+ return err;
return DoCreateContext(cl, req->context, req->shareList,
- config, pGlxScreen, req->isDirect);
+ config, pGlxScreen, req->isDirect);
}
-int __glXDisp_DestroyContext(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_DestroyContext(__GLXclientState * cl, GLbyte * pc)
{
ClientPtr client = cl->client;
xGLXDestroyContextReq *req = (xGLXDestroyContextReq *) pc;
@@ -380,8 +388,8 @@ int __glXDisp_DestroyContext(__GLXclientState *cl, GLbyte *pc)
REQUEST_SIZE_MATCH(xGLXDestroyContextReq);
if (!validGlxContext(cl->client, req->context, DixDestroyAccess,
- &glxc, &err))
- return err;
+ &glxc, &err))
+ return err;
glxc->idExists = GL_FALSE;
if (!glxc->isCurrent)
@@ -399,11 +407,12 @@ int __glXDisp_DestroyContext(__GLXclientState *cl, GLbyte *pc)
* way to destruction. Notice that DoMakeCurrent calls validGlxContext
* for new contexts but __glXLookupContextByTag for previous contexts.
*/
-__GLXcontext *__glXLookupContextByTag(__GLXclientState *cl, GLXContextTag tag)
+__GLXcontext *
+__glXLookupContextByTag(__GLXclientState * cl, GLXContextTag tag)
{
__GLXcontext *ret;
- if (dixLookupResourceByType((void **)&ret, tag, __glXContextRes,
+ if (dixLookupResourceByType((void **) &ret, tag, __glXContextRes,
cl->client, DixUseAccess) == Success)
return ret;
@@ -412,24 +421,26 @@ __GLXcontext *__glXLookupContextByTag(__GLXclientState *cl, GLXContextTag tag)
/*****************************************************************************/
-static void StopUsingContext(__GLXcontext *glxc)
+static void
+StopUsingContext(__GLXcontext * glxc)
{
if (glxc) {
- if (glxc == __glXLastContext) {
- /* Tell server GL library */
- __glXLastContext = 0;
- }
- glxc->isCurrent = GL_FALSE;
- if (!glxc->idExists) {
+ if (glxc == __glXLastContext) {
+ /* Tell server GL library */
+ __glXLastContext = 0;
+ }
+ glxc->isCurrent = GL_FALSE;
+ if (!glxc->idExists) {
FreeResourceByType(glxc->id, __glXContextRes, FALSE);
- }
+ }
}
}
-static void StartUsingContext(__GLXclientState *cl, __GLXcontext *glxc)
+static void
+StartUsingContext(__GLXclientState * cl, __GLXcontext * glxc)
{
glxc->isCurrent = GL_TRUE;
- __glXLastContext = glxc;
+ __glXLastContext = glxc;
}
/**
@@ -439,29 +450,29 @@ static void StartUsingContext(__GLXclientState *cl, __GLXcontext *glxc)
* sure it's an X window and create a GLX drawable one the fly.
*/
static __GLXdrawable *
-__glXGetDrawable(__GLXcontext *glxc, GLXDrawable drawId, ClientPtr client,
- int *error)
+__glXGetDrawable(__GLXcontext * glxc, GLXDrawable drawId, ClientPtr client,
+ int *error)
{
DrawablePtr pDraw;
__GLXdrawable *pGlxDraw;
int rc;
if (validGlxDrawable(client, drawId, GLX_DRAWABLE_ANY,
- DixWriteAccess, &pGlxDraw, &rc)) {
- if (glxc != NULL && pGlxDraw->config != glxc->config) {
- client->errorValue = drawId;
- *error = BadMatch;
- return NULL;
- }
+ DixWriteAccess, &pGlxDraw, &rc)) {
+ if (glxc != NULL && pGlxDraw->config != glxc->config) {
+ client->errorValue = drawId;
+ *error = BadMatch;
+ return NULL;
+ }
- return pGlxDraw;
+ return pGlxDraw;
}
/* No active context and an unknown drawable, bail. */
if (glxc == NULL) {
- client->errorValue = drawId;
- *error = BadMatch;
- return NULL;
+ client->errorValue = drawId;
+ *error = BadMatch;
+ return NULL;
}
/* The drawId wasn't a GLX drawable. Make sure it's a window and
@@ -471,30 +482,30 @@ __glXGetDrawable(__GLXcontext *glxc, GLXDrawable drawId, ClientPtr client,
rc = dixLookupDrawable(&pDraw, drawId, client, 0, DixGetAttrAccess);
if (rc != Success || pDraw->type != DRAWABLE_WINDOW) {
- client->errorValue = drawId;
- *error = __glXError(GLXBadDrawable);
- return NULL;
+ client->errorValue = drawId;
+ *error = __glXError(GLXBadDrawable);
+ return NULL;
}
if (pDraw->pScreen != glxc->pGlxScreen->pScreen) {
- client->errorValue = pDraw->pScreen->myNum;
- *error = BadMatch;
- return NULL;
+ client->errorValue = pDraw->pScreen->myNum;
+ *error = BadMatch;
+ return NULL;
}
if (!validGlxFBConfigForWindow(client, glxc->config, pDraw, error))
- return NULL;
+ return NULL;
pGlxDraw = glxc->pGlxScreen->createDrawable(client, glxc->pGlxScreen,
- pDraw, drawId,
- GLX_DRAWABLE_WINDOW,
- drawId, glxc->config);
+ pDraw, drawId,
+ GLX_DRAWABLE_WINDOW,
+ drawId, glxc->config);
/* since we are creating the drawablePrivate, drawId should be new */
if (!AddResource(drawId, __glXDrawableRes, pGlxDraw)) {
- pGlxDraw->destroy (pGlxDraw);
- *error = BadAlloc;
- return NULL;
+ pGlxDraw->destroy(pGlxDraw);
+ *error = BadAlloc;
+ return NULL;
}
return pGlxDraw;
@@ -506,9 +517,9 @@ __glXGetDrawable(__GLXcontext *glxc, GLXDrawable drawId, ClientPtr client,
*/
static int
-DoMakeCurrent(__GLXclientState *cl,
- GLXDrawable drawId, GLXDrawable readId,
- GLXContextID contextId, GLXContextTag tag)
+DoMakeCurrent(__GLXclientState * cl,
+ GLXDrawable drawId, GLXDrawable readId,
+ GLXContextID contextId, GLXContextTag tag)
{
ClientPtr client = cl->client;
xGLXMakeCurrentReply reply;
@@ -516,121 +527,123 @@ DoMakeCurrent(__GLXclientState *cl,
__GLXdrawable *drawPriv = NULL;
__GLXdrawable *readPriv = NULL;
int error;
- GLuint mask;
+ GLuint mask;
/*
- ** If one is None and the other isn't, it's a bad match.
- */
+ ** If one is None and the other isn't, it's a bad match.
+ */
- mask = (drawId == None) ? (1 << 0) : 0;
- mask |= (readId == None) ? (1 << 1) : 0;
+ mask = (drawId == None) ? (1 << 0) : 0;
+ mask |= (readId == None) ? (1 << 1) : 0;
mask |= (contextId == None) ? (1 << 2) : 0;
- if ( (mask != 0x00) && (mask != 0x07) ) {
- return BadMatch;
+ if ((mask != 0x00) && (mask != 0x07)) {
+ return BadMatch;
}
-
+
/*
- ** Lookup old context. If we have one, it must be in a usable state.
- */
+ ** Lookup old context. If we have one, it must be in a usable state.
+ */
if (tag != 0) {
- prevglxc = __glXLookupContextByTag(cl, tag);
- if (!prevglxc) {
- /*
- ** Tag for previous context is invalid.
- */
- return __glXError(GLXBadContextTag);
- }
- if (prevglxc->renderMode != GL_RENDER) {
- /* Oops. Not in render mode render. */
- client->errorValue = prevglxc->id;
- return __glXError(GLXBadContextState);
- }
- } else {
- prevglxc = 0;
+ prevglxc = __glXLookupContextByTag(cl, tag);
+ if (!prevglxc) {
+ /*
+ ** Tag for previous context is invalid.
+ */
+ return __glXError(GLXBadContextTag);
+ }
+ if (prevglxc->renderMode != GL_RENDER) {
+ /* Oops. Not in render mode render. */
+ client->errorValue = prevglxc->id;
+ return __glXError(GLXBadContextState);
+ }
+ }
+ else {
+ prevglxc = 0;
}
/*
- ** Lookup new context. It must not be current for someone else.
- */
+ ** Lookup new context. It must not be current for someone else.
+ */
if (contextId != None) {
- int status;
+ int status;
- if (!validGlxContext(client, contextId, DixUseAccess, &glxc, &error))
- return error;
- if ((glxc != prevglxc) && glxc->isCurrent) {
- /* Context is current to somebody else */
- return BadAccess;
- }
+ if (!validGlxContext(client, contextId, DixUseAccess, &glxc, &error))
+ return error;
+ if ((glxc != prevglxc) && glxc->isCurrent) {
+ /* Context is current to somebody else */
+ return BadAccess;
+ }
- assert( drawId != None );
- assert( readId != None );
+ assert(drawId != None);
+ assert(readId != None);
- drawPriv = __glXGetDrawable(glxc, drawId, client, &status);
- if (drawPriv == NULL)
- return status;
+ drawPriv = __glXGetDrawable(glxc, drawId, client, &status);
+ if (drawPriv == NULL)
+ return status;
- readPriv = __glXGetDrawable(glxc, readId, client, &status);
- if (readPriv == NULL)
- return status;
+ readPriv = __glXGetDrawable(glxc, readId, client, &status);
+ if (readPriv == NULL)
+ return status;
- } else {
- /* Switching to no context. Ignore new drawable. */
- glxc = 0;
- drawPriv = 0;
- readPriv = 0;
}
-
+ else {
+ /* Switching to no context. Ignore new drawable. */
+ glxc = 0;
+ drawPriv = 0;
+ readPriv = 0;
+ }
if (prevglxc) {
- /*
- ** Flush the previous context if needed.
- */
- if (prevglxc->hasUnflushedCommands) {
- if (__glXForceCurrent(cl, tag, (int *)&error)) {
- CALL_Flush( GET_DISPATCH(), () );
- prevglxc->hasUnflushedCommands = GL_FALSE;
- } else {
- return error;
- }
- }
-
- /*
- ** Make the previous context not current.
- */
- if (!(*prevglxc->loseCurrent)(prevglxc)) {
- return __glXError(GLXBadContext);
- }
- __glXFlushContextCache();
- if (!prevglxc->isDirect) {
- prevglxc->drawPriv = NULL;
- prevglxc->readPriv = NULL;
- }
- }
-
+ /*
+ ** Flush the previous context if needed.
+ */
+ if (prevglxc->hasUnflushedCommands) {
+ if (__glXForceCurrent(cl, tag, (int *) &error)) {
+ CALL_Flush(GET_DISPATCH(), ());
+ prevglxc->hasUnflushedCommands = GL_FALSE;
+ }
+ else {
+ return error;
+ }
+ }
+
+ /*
+ ** Make the previous context not current.
+ */
+ if (!(*prevglxc->loseCurrent) (prevglxc)) {
+ return __glXError(GLXBadContext);
+ }
+ __glXFlushContextCache();
+ if (!prevglxc->isDirect) {
+ prevglxc->drawPriv = NULL;
+ prevglxc->readPriv = NULL;
+ }
+ }
if ((glxc != 0) && !glxc->isDirect) {
- glxc->drawPriv = drawPriv;
- glxc->readPriv = readPriv;
+ glxc->drawPriv = drawPriv;
+ glxc->readPriv = readPriv;
- /* make the context current */
- if (!(*glxc->makeCurrent)(glxc)) {
- glxc->drawPriv = NULL;
- glxc->readPriv = NULL;
- return __glXError(GLXBadContext);
- }
+ /* make the context current */
+ if (!(*glxc->makeCurrent) (glxc)) {
+ glxc->drawPriv = NULL;
+ glxc->readPriv = NULL;
+ return __glXError(GLXBadContext);
+ }
- glxc->isCurrent = GL_TRUE;
+ glxc->isCurrent = GL_TRUE;
}
StopUsingContext(prevglxc);
if (glxc) {
- StartUsingContext(cl, glxc);
- reply.contextTag = glxc->id;
- } else {
- reply.contextTag = 0;
+ StartUsingContext(cl, glxc);
+ reply.contextTag = glxc->id;
+ }
+ else {
+ reply.contextTag = 0;
}
reply.length = 0;
@@ -638,47 +651,52 @@ DoMakeCurrent(__GLXclientState *cl,
reply.sequenceNumber = client->sequence;
if (client->swapped) {
- __glXSwapMakeCurrentReply(client, &reply);
- } else {
- WriteToClient(client, sz_xGLXMakeCurrentReply, (char *)&reply);
+ __glXSwapMakeCurrentReply(client, &reply);
+ }
+ else {
+ WriteToClient(client, sz_xGLXMakeCurrentReply, (char *) &reply);
}
return Success;
}
-int __glXDisp_MakeCurrent(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_MakeCurrent(__GLXclientState * cl, GLbyte * pc)
{
ClientPtr client = cl->client;
xGLXMakeCurrentReq *req = (xGLXMakeCurrentReq *) pc;
REQUEST_SIZE_MATCH(xGLXMakeCurrentReq);
- return DoMakeCurrent( cl, req->drawable, req->drawable,
- req->context, req->oldContextTag );
+ return DoMakeCurrent(cl, req->drawable, req->drawable,
+ req->context, req->oldContextTag);
}
-int __glXDisp_MakeContextCurrent(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_MakeContextCurrent(__GLXclientState * cl, GLbyte * pc)
{
ClientPtr client = cl->client;
xGLXMakeContextCurrentReq *req = (xGLXMakeContextCurrentReq *) pc;
REQUEST_SIZE_MATCH(xGLXMakeContextCurrentReq);
- return DoMakeCurrent( cl, req->drawable, req->readdrawable,
- req->context, req->oldContextTag );
+ return DoMakeCurrent(cl, req->drawable, req->readdrawable,
+ req->context, req->oldContextTag);
}
-int __glXDisp_MakeCurrentReadSGI(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_MakeCurrentReadSGI(__GLXclientState * cl, GLbyte * pc)
{
ClientPtr client = cl->client;
xGLXMakeCurrentReadSGIReq *req = (xGLXMakeCurrentReadSGIReq *) pc;
REQUEST_SIZE_MATCH(xGLXMakeCurrentReadSGIReq);
- return DoMakeCurrent( cl, req->drawable, req->readable,
- req->context, req->oldContextTag );
+ return DoMakeCurrent(cl, req->drawable, req->readable,
+ req->context, req->oldContextTag);
}
-int __glXDisp_IsDirect(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_IsDirect(__GLXclientState * cl, GLbyte * pc)
{
ClientPtr client = cl->client;
xGLXIsDirectReq *req = (xGLXIsDirectReq *) pc;
@@ -689,7 +707,7 @@ int __glXDisp_IsDirect(__GLXclientState *cl, GLbyte *pc)
REQUEST_SIZE_MATCH(xGLXIsDirectReq);
if (!validGlxContext(cl->client, req->context, DixReadAccess, &glxc, &err))
- return err;
+ return err;
reply.isDirect = glxc->isDirect;
reply.length = 0;
@@ -697,15 +715,17 @@ int __glXDisp_IsDirect(__GLXclientState *cl, GLbyte *pc)
reply.sequenceNumber = client->sequence;
if (client->swapped) {
- __glXSwapIsDirectReply(client, &reply);
- } else {
- WriteToClient(client, sz_xGLXIsDirectReply, (char *)&reply);
+ __glXSwapIsDirectReply(client, &reply);
+ }
+ else {
+ WriteToClient(client, sz_xGLXIsDirectReply, (char *) &reply);
}
return Success;
}
-int __glXDisp_QueryVersion(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_QueryVersion(__GLXclientState * cl, GLbyte * pc)
{
ClientPtr client = cl->client;
xGLXQueryVersionReq *req = (xGLXQueryVersionReq *) pc;
@@ -716,14 +736,14 @@ int __glXDisp_QueryVersion(__GLXclientState *cl, GLbyte *pc)
major = req->majorVersion;
minor = req->minorVersion;
- (void)major;
- (void)minor;
+ (void) major;
+ (void) minor;
/*
- ** Server should take into consideration the version numbers sent by the
- ** client if it wants to work with older clients; however, in this
- ** implementation the server just returns its version number.
- */
+ ** Server should take into consideration the version numbers sent by the
+ ** client if it wants to work with older clients; however, in this
+ ** implementation the server just returns its version number.
+ */
reply.majorVersion = glxMajorVersion;
reply.minorVersion = glxMinorVersion;
reply.length = 0;
@@ -731,17 +751,19 @@ int __glXDisp_QueryVersion(__GLXclientState *cl, GLbyte *pc)
reply.sequenceNumber = client->sequence;
if (client->swapped) {
- __glXSwapQueryVersionReply(client, &reply);
- } else {
- WriteToClient(client, sz_xGLXQueryVersionReply, (char *)&reply);
+ __glXSwapQueryVersionReply(client, &reply);
+ }
+ else {
+ WriteToClient(client, sz_xGLXQueryVersionReply, (char *) &reply);
}
return Success;
}
-int __glXDisp_WaitGL(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_WaitGL(__GLXclientState * cl, GLbyte * pc)
{
ClientPtr client = cl->client;
- xGLXWaitGLReq *req = (xGLXWaitGLReq *)pc;
+ xGLXWaitGLReq *req = (xGLXWaitGLReq *) pc;
GLXContextTag tag;
__GLXcontext *glxc = NULL;
int error;
@@ -750,26 +772,27 @@ int __glXDisp_WaitGL(__GLXclientState *cl, GLbyte *pc)
tag = req->contextTag;
if (tag) {
- glxc = __glXLookupContextByTag(cl, tag);
- if (!glxc)
- return __glXError(GLXBadContextTag);
-
- if (!__glXForceCurrent(cl, req->contextTag, &error))
- return error;
+ glxc = __glXLookupContextByTag(cl, tag);
+ if (!glxc)
+ return __glXError(GLXBadContextTag);
+
+ if (!__glXForceCurrent(cl, req->contextTag, &error))
+ return error;
- CALL_Finish( GET_DISPATCH(), () );
+ CALL_Finish(GET_DISPATCH(), ());
}
if (glxc && glxc->drawPriv->waitGL)
- (*glxc->drawPriv->waitGL)(glxc->drawPriv);
+ (*glxc->drawPriv->waitGL) (glxc->drawPriv);
return Success;
}
-int __glXDisp_WaitX(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_WaitX(__GLXclientState * cl, GLbyte * pc)
{
ClientPtr client = cl->client;
- xGLXWaitXReq *req = (xGLXWaitXReq *)pc;
+ xGLXWaitXReq *req = (xGLXWaitXReq *) pc;
GLXContextTag tag;
__GLXcontext *glxc = NULL;
int error;
@@ -778,21 +801,22 @@ int __glXDisp_WaitX(__GLXclientState *cl, GLbyte *pc)
tag = req->contextTag;
if (tag) {
- glxc = __glXLookupContextByTag(cl, tag);
- if (!glxc)
- return __glXError(GLXBadContextTag);
-
- if (!__glXForceCurrent(cl, req->contextTag, &error))
- return error;
+ glxc = __glXLookupContextByTag(cl, tag);
+ if (!glxc)
+ return __glXError(GLXBadContextTag);
+
+ if (!__glXForceCurrent(cl, req->contextTag, &error))
+ return error;
}
if (glxc && glxc->drawPriv->waitX)
- (*glxc->drawPriv->waitX)(glxc->drawPriv);
+ (*glxc->drawPriv->waitX) (glxc->drawPriv);
return Success;
}
-int __glXDisp_CopyContext(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_CopyContext(__GLXclientState * cl, GLbyte * pc)
{
ClientPtr client = cl->client;
xGLXCopyContextReq *req = (xGLXCopyContextReq *) pc;
@@ -810,62 +834,62 @@ int __glXDisp_CopyContext(__GLXclientState *cl, GLbyte *pc)
tag = req->contextTag;
mask = req->mask;
if (!validGlxContext(cl->client, source, DixReadAccess, &src, &error))
- return error;
+ return error;
if (!validGlxContext(cl->client, dest, DixWriteAccess, &dst, &error))
- return error;
+ return error;
/*
- ** They must be in the same address space, and same screen.
- ** NOTE: no support for direct rendering contexts here.
- */
- if (src->isDirect || dst->isDirect ||
- (src->pGlxScreen != dst->pGlxScreen)) {
- client->errorValue = source;
- return BadMatch;
+ ** They must be in the same address space, and same screen.
+ ** NOTE: no support for direct rendering contexts here.
+ */
+ if (src->isDirect || dst->isDirect || (src->pGlxScreen != dst->pGlxScreen)) {
+ client->errorValue = source;
+ return BadMatch;
}
/*
- ** The destination context must not be current for any client.
- */
+ ** The destination context must not be current for any client.
+ */
if (dst->isCurrent) {
- client->errorValue = dest;
- return BadAccess;
+ client->errorValue = dest;
+ return BadAccess;
}
if (tag) {
- __GLXcontext *tagcx = __glXLookupContextByTag(cl, tag);
-
- if (!tagcx) {
- return __glXError(GLXBadContextTag);
- }
- if (tagcx != src) {
- /*
- ** This would be caused by a faulty implementation of the client
- ** library.
- */
- return BadMatch;
- }
- /*
- ** In this case, glXCopyContext is in both GL and X streams, in terms
- ** of sequentiality.
- */
- if (__glXForceCurrent(cl, tag, &error)) {
- /*
- ** Do whatever is needed to make sure that all preceding requests
- ** in both streams are completed before the copy is executed.
- */
- CALL_Finish( GET_DISPATCH(), () );
- tagcx->hasUnflushedCommands = GL_FALSE;
- } else {
- return error;
- }
+ __GLXcontext *tagcx = __glXLookupContextByTag(cl, tag);
+
+ if (!tagcx) {
+ return __glXError(GLXBadContextTag);
+ }
+ if (tagcx != src) {
+ /*
+ ** This would be caused by a faulty implementation of the client
+ ** library.
+ */
+ return BadMatch;
+ }
+ /*
+ ** In this case, glXCopyContext is in both GL and X streams, in terms
+ ** of sequentiality.
+ */
+ if (__glXForceCurrent(cl, tag, &error)) {
+ /*
+ ** Do whatever is needed to make sure that all preceding requests
+ ** in both streams are completed before the copy is executed.
+ */
+ CALL_Finish(GET_DISPATCH(), ());
+ tagcx->hasUnflushedCommands = GL_FALSE;
+ }
+ else {
+ return error;
+ }
}
/*
- ** Issue copy. The only reason for failure is a bad mask.
- */
- if (!(*dst->copy)(dst, src, mask)) {
- client->errorValue = mask;
- return BadValue;
+ ** Issue copy. The only reason for failure is a bad mask.
+ */
+ if (!(*dst->copy) (dst, src, mask)) {
+ client->errorValue = mask;
+ return BadValue;
}
return Success;
}
@@ -879,7 +903,8 @@ enum {
GLX_VIS_CONFIG_TOTAL = GLX_VIS_CONFIG_UNPAIRED + GLX_VIS_CONFIG_PAIRED
};
-int __glXDisp_GetVisualConfigs(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_GetVisualConfigs(__GLXclientState * cl, GLbyte * pc)
{
xGLXGetVisualConfigsReq *req = (xGLXGetVisualConfigsReq *) pc;
ClientPtr client = cl->client;
@@ -888,85 +913,87 @@ int __glXDisp_GetVisualConfigs(__GLXclientState *cl, GLbyte *pc)
__GLXconfig *modes;
CARD32 buf[GLX_VIS_CONFIG_TOTAL];
int p, i, err;
+
__GLX_DECLARE_SWAP_VARIABLES;
__GLX_DECLARE_SWAP_ARRAY_VARIABLES;
REQUEST_SIZE_MATCH(xGLXGetVisualConfigsReq);
if (!validGlxScreen(cl->client, req->screen, &pGlxScreen, &err))
- return err;
+ return err;
reply.numVisuals = pGlxScreen->numVisuals;
reply.numProps = GLX_VIS_CONFIG_TOTAL;
- reply.length = (reply.numVisuals * __GLX_SIZE_CARD32 * GLX_VIS_CONFIG_TOTAL) >> 2;
+ reply.length =
+ (reply.numVisuals * __GLX_SIZE_CARD32 * GLX_VIS_CONFIG_TOTAL) >> 2;
reply.type = X_Reply;
reply.sequenceNumber = client->sequence;
if (client->swapped) {
- __GLX_SWAP_SHORT(&reply.sequenceNumber);
- __GLX_SWAP_INT(&reply.length);
- __GLX_SWAP_INT(&reply.numVisuals);
- __GLX_SWAP_INT(&reply.numProps);
+ __GLX_SWAP_SHORT(&reply.sequenceNumber);
+ __GLX_SWAP_INT(&reply.length);
+ __GLX_SWAP_INT(&reply.numVisuals);
+ __GLX_SWAP_INT(&reply.numProps);
}
- WriteToClient(client, sz_xGLXGetVisualConfigsReply, (char *)&reply);
+ WriteToClient(client, sz_xGLXGetVisualConfigsReply, (char *) &reply);
for (i = 0; i < pGlxScreen->numVisuals; i++) {
- modes = pGlxScreen->visuals[i];
-
- p = 0;
- buf[p++] = modes->visualID;
- buf[p++] = glxConvertToXVisualType( modes->visualType );
- buf[p++] = (modes->renderType & GLX_RGBA_BIT) ? GL_TRUE : GL_FALSE;
-
- buf[p++] = modes->redBits;
- buf[p++] = modes->greenBits;
- buf[p++] = modes->blueBits;
- buf[p++] = modes->alphaBits;
- buf[p++] = modes->accumRedBits;
- buf[p++] = modes->accumGreenBits;
- buf[p++] = modes->accumBlueBits;
- buf[p++] = modes->accumAlphaBits;
-
- buf[p++] = modes->doubleBufferMode;
- buf[p++] = modes->stereoMode;
-
- buf[p++] = modes->rgbBits;
- buf[p++] = modes->depthBits;
- buf[p++] = modes->stencilBits;
- buf[p++] = modes->numAuxBuffers;
- buf[p++] = modes->level;
-
- assert(p == GLX_VIS_CONFIG_UNPAIRED);
- /*
- ** Add token/value pairs for extensions.
- */
- buf[p++] = GLX_VISUAL_CAVEAT_EXT;
- buf[p++] = modes->visualRating;
- buf[p++] = GLX_TRANSPARENT_TYPE;
- buf[p++] = modes->transparentPixel;
- buf[p++] = GLX_TRANSPARENT_RED_VALUE;
- buf[p++] = modes->transparentRed;
- buf[p++] = GLX_TRANSPARENT_GREEN_VALUE;
- buf[p++] = modes->transparentGreen;
- buf[p++] = GLX_TRANSPARENT_BLUE_VALUE;
- buf[p++] = modes->transparentBlue;
- buf[p++] = GLX_TRANSPARENT_ALPHA_VALUE;
- buf[p++] = modes->transparentAlpha;
- buf[p++] = GLX_TRANSPARENT_INDEX_VALUE;
- buf[p++] = modes->transparentIndex;
- buf[p++] = GLX_SAMPLES_SGIS;
- buf[p++] = modes->samples;
- buf[p++] = GLX_SAMPLE_BUFFERS_SGIS;
- buf[p++] = modes->sampleBuffers;
- buf[p++] = 0; /* copy over visualSelectGroup (GLX_VISUAL_SELECT_GROUP_SGIX)? */
- buf[p++] = 0;
-
- assert(p == GLX_VIS_CONFIG_TOTAL);
- if (client->swapped) {
- __GLX_SWAP_INT_ARRAY(buf, p);
- }
- WriteToClient(client, __GLX_SIZE_CARD32 * p, (char *)buf);
+ modes = pGlxScreen->visuals[i];
+
+ p = 0;
+ buf[p++] = modes->visualID;
+ buf[p++] = glxConvertToXVisualType(modes->visualType);
+ buf[p++] = (modes->renderType & GLX_RGBA_BIT) ? GL_TRUE : GL_FALSE;
+
+ buf[p++] = modes->redBits;
+ buf[p++] = modes->greenBits;
+ buf[p++] = modes->blueBits;
+ buf[p++] = modes->alphaBits;
+ buf[p++] = modes->accumRedBits;
+ buf[p++] = modes->accumGreenBits;
+ buf[p++] = modes->accumBlueBits;
+ buf[p++] = modes->accumAlphaBits;
+
+ buf[p++] = modes->doubleBufferMode;
+ buf[p++] = modes->stereoMode;
+
+ buf[p++] = modes->rgbBits;
+ buf[p++] = modes->depthBits;
+ buf[p++] = modes->stencilBits;
+ buf[p++] = modes->numAuxBuffers;
+ buf[p++] = modes->level;
+
+ assert(p == GLX_VIS_CONFIG_UNPAIRED);
+ /*
+ ** Add token/value pairs for extensions.
+ */
+ buf[p++] = GLX_VISUAL_CAVEAT_EXT;
+ buf[p++] = modes->visualRating;
+ buf[p++] = GLX_TRANSPARENT_TYPE;
+ buf[p++] = modes->transparentPixel;
+ buf[p++] = GLX_TRANSPARENT_RED_VALUE;
+ buf[p++] = modes->transparentRed;
+ buf[p++] = GLX_TRANSPARENT_GREEN_VALUE;
+ buf[p++] = modes->transparentGreen;
+ buf[p++] = GLX_TRANSPARENT_BLUE_VALUE;
+ buf[p++] = modes->transparentBlue;
+ buf[p++] = GLX_TRANSPARENT_ALPHA_VALUE;
+ buf[p++] = modes->transparentAlpha;
+ buf[p++] = GLX_TRANSPARENT_INDEX_VALUE;
+ buf[p++] = modes->transparentIndex;
+ buf[p++] = GLX_SAMPLES_SGIS;
+ buf[p++] = modes->samples;
+ buf[p++] = GLX_SAMPLE_BUFFERS_SGIS;
+ buf[p++] = modes->sampleBuffers;
+ buf[p++] = 0; /* copy over visualSelectGroup (GLX_VISUAL_SELECT_GROUP_SGIX)? */
+ buf[p++] = 0;
+
+ assert(p == GLX_VIS_CONFIG_TOTAL);
+ if (client->swapped) {
+ __GLX_SWAP_INT_ARRAY(buf, p);
+ }
+ WriteToClient(client, __GLX_SIZE_CARD32 * p, (char *) buf);
}
return Success;
}
@@ -984,7 +1011,7 @@ int __glXDisp_GetVisualConfigs(__GLXclientState *cl, GLbyte *pc)
*/
static int
-DoGetFBConfigs(__GLXclientState *cl, unsigned screen)
+DoGetFBConfigs(__GLXclientState * cl, unsigned screen)
{
ClientPtr client = cl->client;
xGLXGetFBConfigsReply reply;
@@ -992,11 +1019,12 @@ DoGetFBConfigs(__GLXclientState *cl, unsigned screen)
CARD32 buf[__GLX_FBCONFIG_ATTRIBS_LENGTH];
int p, err;
__GLXconfig *modes;
+
__GLX_DECLARE_SWAP_VARIABLES;
__GLX_DECLARE_SWAP_ARRAY_VARIABLES;
if (!validGlxScreen(cl->client, screen, &pGlxScreen, &err))
- return err;
+ return err;
reply.numFBConfigs = pGlxScreen->numFBConfigs;
reply.numAttribs = __GLX_TOTAL_FBCONFIG_ATTRIBS;
@@ -1005,92 +1033,96 @@ DoGetFBConfigs(__GLXclientState *cl, unsigned screen)
reply.sequenceNumber = client->sequence;
if (client->swapped) {
- __GLX_SWAP_SHORT(&reply.sequenceNumber);
- __GLX_SWAP_INT(&reply.length);
- __GLX_SWAP_INT(&reply.numFBConfigs);
- __GLX_SWAP_INT(&reply.numAttribs);
+ __GLX_SWAP_SHORT(&reply.sequenceNumber);
+ __GLX_SWAP_INT(&reply.length);
+ __GLX_SWAP_INT(&reply.numFBConfigs);
+ __GLX_SWAP_INT(&reply.numAttribs);
}
- WriteToClient(client, sz_xGLXGetFBConfigsReply, (char *)&reply);
+ WriteToClient(client, sz_xGLXGetFBConfigsReply, (char *) &reply);
for (modes = pGlxScreen->fbconfigs; modes != NULL; modes = modes->next) {
- p = 0;
+ p = 0;
#define WRITE_PAIR(tag,value) \
do { buf[p++] = tag ; buf[p++] = value ; } while( 0 )
- WRITE_PAIR( GLX_VISUAL_ID, modes->visualID );
- WRITE_PAIR( GLX_FBCONFIG_ID, modes->fbconfigID );
- WRITE_PAIR( GLX_X_RENDERABLE, GL_TRUE );
-
- WRITE_PAIR( GLX_RGBA,
- (modes->renderType & GLX_RGBA_BIT) ? GL_TRUE : GL_FALSE );
- WRITE_PAIR( GLX_RENDER_TYPE, modes->renderType );
- WRITE_PAIR( GLX_DOUBLEBUFFER, modes->doubleBufferMode );
- WRITE_PAIR( GLX_STEREO, modes->stereoMode );
-
- WRITE_PAIR( GLX_BUFFER_SIZE, modes->rgbBits );
- WRITE_PAIR( GLX_LEVEL, modes->level );
- WRITE_PAIR( GLX_AUX_BUFFERS, modes->numAuxBuffers );
- WRITE_PAIR( GLX_RED_SIZE, modes->redBits );
- WRITE_PAIR( GLX_GREEN_SIZE, modes->greenBits );
- WRITE_PAIR( GLX_BLUE_SIZE, modes->blueBits );
- WRITE_PAIR( GLX_ALPHA_SIZE, modes->alphaBits );
- WRITE_PAIR( GLX_ACCUM_RED_SIZE, modes->accumRedBits );
- WRITE_PAIR( GLX_ACCUM_GREEN_SIZE, modes->accumGreenBits );
- WRITE_PAIR( GLX_ACCUM_BLUE_SIZE, modes->accumBlueBits );
- WRITE_PAIR( GLX_ACCUM_ALPHA_SIZE, modes->accumAlphaBits );
- WRITE_PAIR( GLX_DEPTH_SIZE, modes->depthBits );
- WRITE_PAIR( GLX_STENCIL_SIZE, modes->stencilBits );
- WRITE_PAIR( GLX_X_VISUAL_TYPE, modes->visualType );
- WRITE_PAIR( GLX_CONFIG_CAVEAT, modes->visualRating );
- WRITE_PAIR( GLX_TRANSPARENT_TYPE, modes->transparentPixel );
- WRITE_PAIR( GLX_TRANSPARENT_RED_VALUE, modes->transparentRed );
- WRITE_PAIR( GLX_TRANSPARENT_GREEN_VALUE, modes->transparentGreen );
- WRITE_PAIR( GLX_TRANSPARENT_BLUE_VALUE, modes->transparentBlue );
- WRITE_PAIR( GLX_TRANSPARENT_ALPHA_VALUE, modes->transparentAlpha );
- WRITE_PAIR( GLX_TRANSPARENT_INDEX_VALUE, modes->transparentIndex );
- WRITE_PAIR( GLX_SWAP_METHOD_OML, modes->swapMethod );
- WRITE_PAIR( GLX_SAMPLES_SGIS, modes->samples );
- WRITE_PAIR( GLX_SAMPLE_BUFFERS_SGIS, modes->sampleBuffers );
- /* GLX_VISUAL_SELECT_GROUP_SGIX ? */
- WRITE_PAIR( GLX_DRAWABLE_TYPE, modes->drawableType );
- WRITE_PAIR( GLX_BIND_TO_TEXTURE_RGB_EXT, modes->bindToTextureRgb );
- WRITE_PAIR( GLX_BIND_TO_TEXTURE_RGBA_EXT, modes->bindToTextureRgba );
- WRITE_PAIR( GLX_BIND_TO_MIPMAP_TEXTURE_EXT, modes->bindToMipmapTexture );
- WRITE_PAIR( GLX_BIND_TO_TEXTURE_TARGETS_EXT, modes->bindToTextureTargets );
-
- if (client->swapped) {
- __GLX_SWAP_INT_ARRAY(buf, __GLX_FBCONFIG_ATTRIBS_LENGTH);
- }
- WriteToClient(client, __GLX_SIZE_CARD32 * __GLX_FBCONFIG_ATTRIBS_LENGTH,
- (char *)buf);
+ WRITE_PAIR(GLX_VISUAL_ID, modes->visualID);
+ WRITE_PAIR(GLX_FBCONFIG_ID, modes->fbconfigID);
+ WRITE_PAIR(GLX_X_RENDERABLE, GL_TRUE);
+
+ WRITE_PAIR(GLX_RGBA,
+ (modes->renderType & GLX_RGBA_BIT) ? GL_TRUE : GL_FALSE);
+ WRITE_PAIR(GLX_RENDER_TYPE, modes->renderType);
+ WRITE_PAIR(GLX_DOUBLEBUFFER, modes->doubleBufferMode);
+ WRITE_PAIR(GLX_STEREO, modes->stereoMode);
+
+ WRITE_PAIR(GLX_BUFFER_SIZE, modes->rgbBits);
+ WRITE_PAIR(GLX_LEVEL, modes->level);
+ WRITE_PAIR(GLX_AUX_BUFFERS, modes->numAuxBuffers);
+ WRITE_PAIR(GLX_RED_SIZE, modes->redBits);
+ WRITE_PAIR(GLX_GREEN_SIZE, modes->greenBits);
+ WRITE_PAIR(GLX_BLUE_SIZE, modes->blueBits);
+ WRITE_PAIR(GLX_ALPHA_SIZE, modes->alphaBits);
+ WRITE_PAIR(GLX_ACCUM_RED_SIZE, modes->accumRedBits);
+ WRITE_PAIR(GLX_ACCUM_GREEN_SIZE, modes->accumGreenBits);
+ WRITE_PAIR(GLX_ACCUM_BLUE_SIZE, modes->accumBlueBits);
+ WRITE_PAIR(GLX_ACCUM_ALPHA_SIZE, modes->accumAlphaBits);
+ WRITE_PAIR(GLX_DEPTH_SIZE, modes->depthBits);
+ WRITE_PAIR(GLX_STENCIL_SIZE, modes->stencilBits);
+ WRITE_PAIR(GLX_X_VISUAL_TYPE, modes->visualType);
+ WRITE_PAIR(GLX_CONFIG_CAVEAT, modes->visualRating);
+ WRITE_PAIR(GLX_TRANSPARENT_TYPE, modes->transparentPixel);
+ WRITE_PAIR(GLX_TRANSPARENT_RED_VALUE, modes->transparentRed);
+ WRITE_PAIR(GLX_TRANSPARENT_GREEN_VALUE, modes->transparentGreen);
+ WRITE_PAIR(GLX_TRANSPARENT_BLUE_VALUE, modes->transparentBlue);
+ WRITE_PAIR(GLX_TRANSPARENT_ALPHA_VALUE, modes->transparentAlpha);
+ WRITE_PAIR(GLX_TRANSPARENT_INDEX_VALUE, modes->transparentIndex);
+ WRITE_PAIR(GLX_SWAP_METHOD_OML, modes->swapMethod);
+ WRITE_PAIR(GLX_SAMPLES_SGIS, modes->samples);
+ WRITE_PAIR(GLX_SAMPLE_BUFFERS_SGIS, modes->sampleBuffers);
+ /* GLX_VISUAL_SELECT_GROUP_SGIX ? */
+ WRITE_PAIR(GLX_DRAWABLE_TYPE, modes->drawableType);
+ WRITE_PAIR(GLX_BIND_TO_TEXTURE_RGB_EXT, modes->bindToTextureRgb);
+ WRITE_PAIR(GLX_BIND_TO_TEXTURE_RGBA_EXT, modes->bindToTextureRgba);
+ WRITE_PAIR(GLX_BIND_TO_MIPMAP_TEXTURE_EXT, modes->bindToMipmapTexture);
+ WRITE_PAIR(GLX_BIND_TO_TEXTURE_TARGETS_EXT,
+ modes->bindToTextureTargets);
+
+ if (client->swapped) {
+ __GLX_SWAP_INT_ARRAY(buf, __GLX_FBCONFIG_ATTRIBS_LENGTH);
+ }
+ WriteToClient(client, __GLX_SIZE_CARD32 * __GLX_FBCONFIG_ATTRIBS_LENGTH,
+ (char *) buf);
}
return Success;
}
-
-int __glXDisp_GetFBConfigs(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_GetFBConfigs(__GLXclientState * cl, GLbyte * pc)
{
ClientPtr client = cl->client;
xGLXGetFBConfigsReq *req = (xGLXGetFBConfigsReq *) pc;
+
REQUEST_SIZE_MATCH(xGLXGetFBConfigsReq);
return DoGetFBConfigs(cl, req->screen);
}
-int __glXDisp_GetFBConfigsSGIX(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_GetFBConfigsSGIX(__GLXclientState * cl, GLbyte * pc)
{
ClientPtr client = cl->client;
xGLXGetFBConfigsSGIXReq *req = (xGLXGetFBConfigsSGIXReq *) pc;
+
/* work around mesa bug, don't use REQUEST_SIZE_MATCH */
REQUEST_AT_LEAST_SIZE(xGLXGetFBConfigsSGIXReq);
return DoGetFBConfigs(cl, req->screen);
}
GLboolean
-__glXDrawableInit(__GLXdrawable *drawable,
- __GLXscreen *screen, DrawablePtr pDraw, int type,
- XID drawId, __GLXconfig *config)
+__glXDrawableInit(__GLXdrawable * drawable,
+ __GLXscreen * screen, DrawablePtr pDraw, int type,
+ XID drawId, __GLXconfig * config)
{
drawable->pDraw = pDraw;
drawable->type = type;
@@ -1102,29 +1134,29 @@ __glXDrawableInit(__GLXdrawable *drawable,
}
void
-__glXDrawableRelease(__GLXdrawable *drawable)
+__glXDrawableRelease(__GLXdrawable * drawable)
{
}
-static int
-DoCreateGLXDrawable(ClientPtr client, __GLXscreen *pGlxScreen,
- __GLXconfig *config, DrawablePtr pDraw, XID drawableId,
- XID glxDrawableId, int type)
+static int
+DoCreateGLXDrawable(ClientPtr client, __GLXscreen * pGlxScreen,
+ __GLXconfig * config, DrawablePtr pDraw, XID drawableId,
+ XID glxDrawableId, int type)
{
__GLXdrawable *pGlxDraw;
if (pGlxScreen->pScreen != pDraw->pScreen)
- return BadMatch;
+ return BadMatch;
pGlxDraw = pGlxScreen->createDrawable(client, pGlxScreen, pDraw,
- drawableId, type,
- glxDrawableId, config);
+ drawableId, type,
+ glxDrawableId, config);
if (pGlxDraw == NULL)
- return BadAlloc;
+ return BadAlloc;
if (!AddResource(glxDrawableId, __glXDrawableRes, pGlxDraw)) {
- pGlxDraw->destroy (pGlxDraw);
- return BadAlloc;
+ pGlxDraw->destroy(pGlxDraw);
+ return BadAlloc;
}
/*
@@ -1132,17 +1164,17 @@ DoCreateGLXDrawable(ClientPtr client, __GLXscreen *pGlxScreen,
* so we get called regardless of destruction order.
*/
if (drawableId != glxDrawableId && type == GLX_DRAWABLE_WINDOW &&
- !AddResource(pDraw->id, __glXDrawableRes, pGlxDraw)) {
- pGlxDraw->destroy (pGlxDraw);
- return BadAlloc;
+ !AddResource(pDraw->id, __glXDrawableRes, pGlxDraw)) {
+ pGlxDraw->destroy(pGlxDraw);
+ return BadAlloc;
}
return Success;
}
static int
-DoCreateGLXPixmap(ClientPtr client, __GLXscreen *pGlxScreen, __GLXconfig *config,
- XID drawableId, XID glxDrawableId)
+DoCreateGLXPixmap(ClientPtr client, __GLXscreen * pGlxScreen,
+ __GLXconfig * config, XID drawableId, XID glxDrawableId)
{
DrawablePtr pDraw;
int err;
@@ -1151,25 +1183,25 @@ DoCreateGLXPixmap(ClientPtr client, __GLXscreen *pGlxScreen, __GLXconfig *config
err = dixLookupDrawable(&pDraw, drawableId, client, 0, DixAddAccess);
if (err != Success) {
- client->errorValue = drawableId;
- return err;
+ client->errorValue = drawableId;
+ return err;
}
if (pDraw->type != DRAWABLE_PIXMAP) {
- client->errorValue = drawableId;
- return BadPixmap;
+ client->errorValue = drawableId;
+ return BadPixmap;
}
err = DoCreateGLXDrawable(client, pGlxScreen, config, pDraw, drawableId,
- glxDrawableId, GLX_DRAWABLE_PIXMAP);
+ glxDrawableId, GLX_DRAWABLE_PIXMAP);
- ((PixmapPtr)pDraw)->refcnt++;
+ ((PixmapPtr) pDraw)->refcnt++;
return err;
}
static void
determineTextureTarget(ClientPtr client, XID glxDrawableID,
- CARD32 *attribs, CARD32 numAttribs)
+ CARD32 *attribs, CARD32 numAttribs)
{
GLenum target = 0;
GLenum format = 0;
@@ -1177,40 +1209,41 @@ determineTextureTarget(ClientPtr client, XID glxDrawableID,
__GLXdrawable *pGlxDraw;
if (!validGlxDrawable(client, glxDrawableID, GLX_DRAWABLE_PIXMAP,
- DixWriteAccess, &pGlxDraw, &err))
- /* We just added it in CreatePixmap, so we should never get here. */
- return;
+ DixWriteAccess, &pGlxDraw, &err))
+ /* We just added it in CreatePixmap, so we should never get here. */
+ return;
for (i = 0; i < numAttribs; i++) {
- if (attribs[2 * i] == GLX_TEXTURE_TARGET_EXT) {
- switch (attribs[2 * i + 1]) {
- case GLX_TEXTURE_2D_EXT:
- target = GL_TEXTURE_2D;
- break;
- case GLX_TEXTURE_RECTANGLE_EXT:
- target = GL_TEXTURE_RECTANGLE_ARB;
- break;
- }
- }
-
- if (attribs[2 * i] == GLX_TEXTURE_FORMAT_EXT)
- format = attribs[2 * i + 1];
- }
-
+ if (attribs[2 * i] == GLX_TEXTURE_TARGET_EXT) {
+ switch (attribs[2 * i + 1]) {
+ case GLX_TEXTURE_2D_EXT:
+ target = GL_TEXTURE_2D;
+ break;
+ case GLX_TEXTURE_RECTANGLE_EXT:
+ target = GL_TEXTURE_RECTANGLE_ARB;
+ break;
+ }
+ }
+
+ if (attribs[2 * i] == GLX_TEXTURE_FORMAT_EXT)
+ format = attribs[2 * i + 1];
+ }
+
if (!target) {
- int w = pGlxDraw->pDraw->width, h = pGlxDraw->pDraw->height;
-
- if (h & (h - 1) || w & (w - 1))
- target = GL_TEXTURE_RECTANGLE_ARB;
- else
- target = GL_TEXTURE_2D;
+ int w = pGlxDraw->pDraw->width, h = pGlxDraw->pDraw->height;
+
+ if (h & (h - 1) || w & (w - 1))
+ target = GL_TEXTURE_RECTANGLE_ARB;
+ else
+ target = GL_TEXTURE_2D;
}
pGlxDraw->target = target;
pGlxDraw->format = format;
}
-int __glXDisp_CreateGLXPixmap(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_CreateGLXPixmap(__GLXclientState * cl, GLbyte * pc)
{
ClientPtr client = cl->client;
xGLXCreateGLXPixmapReq *req = (xGLXCreateGLXPixmapReq *) pc;
@@ -1221,15 +1254,16 @@ int __glXDisp_CreateGLXPixmap(__GLXclientState *cl, GLbyte *pc)
REQUEST_SIZE_MATCH(xGLXCreateGLXPixmapReq);
if (!validGlxScreen(cl->client, req->screen, &pGlxScreen, &err))
- return err;
+ return err;
if (!validGlxVisual(cl->client, pGlxScreen, req->visual, &config, &err))
- return err;
+ return err;
return DoCreateGLXPixmap(cl->client, pGlxScreen, config,
- req->pixmap, req->glxpixmap);
+ req->pixmap, req->glxpixmap);
}
-int __glXDisp_CreatePixmap(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_CreatePixmap(__GLXclientState * cl, GLbyte * pc)
{
ClientPtr client = cl->client;
xGLXCreatePixmapReq *req = (xGLXCreatePixmapReq *) pc;
@@ -1239,32 +1273,33 @@ int __glXDisp_CreatePixmap(__GLXclientState *cl, GLbyte *pc)
REQUEST_AT_LEAST_SIZE(xGLXCreatePixmapReq);
if (req->numAttribs > (UINT32_MAX >> 3)) {
- client->errorValue = req->numAttribs;
- return BadValue;
+ client->errorValue = req->numAttribs;
+ return BadValue;
}
REQUEST_FIXED_SIZE(xGLXCreatePixmapReq, req->numAttribs << 3);
if (!validGlxScreen(cl->client, req->screen, &pGlxScreen, &err))
- return err;
+ return err;
if (!validGlxFBConfig(cl->client, pGlxScreen, req->fbconfig, &config, &err))
- return err;
+ return err;
err = DoCreateGLXPixmap(cl->client, pGlxScreen, config,
- req->pixmap, req->glxpixmap);
+ req->pixmap, req->glxpixmap);
if (err != Success)
- return err;
+ return err;
determineTextureTarget(cl->client, req->glxpixmap,
- (CARD32*) (req + 1), req->numAttribs);
+ (CARD32 *) (req + 1), req->numAttribs);
return Success;
}
-int __glXDisp_CreateGLXPixmapWithConfigSGIX(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_CreateGLXPixmapWithConfigSGIX(__GLXclientState * cl, GLbyte * pc)
{
ClientPtr client = cl->client;
- xGLXCreateGLXPixmapWithConfigSGIXReq *req =
- (xGLXCreateGLXPixmapWithConfigSGIXReq *) pc;
+ xGLXCreateGLXPixmapWithConfigSGIXReq *req =
+ (xGLXCreateGLXPixmapWithConfigSGIXReq *) pc;
__GLXconfig *config;
__GLXscreen *pGlxScreen;
int err;
@@ -1272,30 +1307,31 @@ int __glXDisp_CreateGLXPixmapWithConfigSGIX(__GLXclientState *cl, GLbyte *pc)
REQUEST_SIZE_MATCH(xGLXCreateGLXPixmapWithConfigSGIXReq);
if (!validGlxScreen(cl->client, req->screen, &pGlxScreen, &err))
- return err;
+ return err;
if (!validGlxFBConfig(cl->client, pGlxScreen, req->fbconfig, &config, &err))
- return err;
+ return err;
return DoCreateGLXPixmap(cl->client, pGlxScreen,
- config, req->pixmap, req->glxpixmap);
+ config, req->pixmap, req->glxpixmap);
}
-
-static int DoDestroyDrawable(__GLXclientState *cl, XID glxdrawable, int type)
+static int
+DoDestroyDrawable(__GLXclientState * cl, XID glxdrawable, int type)
{
__GLXdrawable *pGlxDraw;
int err;
if (!validGlxDrawable(cl->client, glxdrawable, type,
- DixDestroyAccess, &pGlxDraw, &err))
- return err;
+ DixDestroyAccess, &pGlxDraw, &err))
+ return err;
FreeResource(glxdrawable, FALSE);
return Success;
}
-int __glXDisp_DestroyGLXPixmap(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_DestroyGLXPixmap(__GLXclientState * cl, GLbyte * pc)
{
ClientPtr client = cl->client;
xGLXDestroyGLXPixmapReq *req = (xGLXDestroyGLXPixmapReq *) pc;
@@ -1305,7 +1341,8 @@ int __glXDisp_DestroyGLXPixmap(__GLXclientState *cl, GLbyte *pc)
return DoDestroyDrawable(cl, req->glxpixmap, GLX_DRAWABLE_PIXMAP);
}
-int __glXDisp_DestroyPixmap(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_DestroyPixmap(__GLXclientState * cl, GLbyte * pc)
{
ClientPtr client = cl->client;
xGLXDestroyPixmapReq *req = (xGLXDestroyPixmapReq *) pc;
@@ -1319,23 +1356,24 @@ int __glXDisp_DestroyPixmap(__GLXclientState *cl, GLbyte *pc)
static int
DoCreatePbuffer(ClientPtr client, int screenNum, XID fbconfigId,
- int width, int height, XID glxDrawableId)
+ int width, int height, XID glxDrawableId)
{
- __GLXconfig *config;
- __GLXscreen *pGlxScreen;
- PixmapPtr pPixmap;
- int err;
+ __GLXconfig *config;
+ __GLXscreen *pGlxScreen;
+ PixmapPtr pPixmap;
+ int err;
LEGAL_NEW_RESOURCE(glxDrawableId, client);
if (!validGlxScreen(client, screenNum, &pGlxScreen, &err))
- return err;
+ return err;
if (!validGlxFBConfig(client, pGlxScreen, fbconfigId, &config, &err))
- return err;
+ return err;
__glXenterServer(GL_FALSE);
pPixmap = (*pGlxScreen->pScreen->CreatePixmap) (pGlxScreen->pScreen,
- width, height, config->rgbBits, 0);
+ width, height,
+ config->rgbBits, 0);
__glXleaveServer(GL_FALSE);
/* Assign the pixmap the same id as the pbuffer and add it as a
@@ -1343,24 +1381,25 @@ DoCreatePbuffer(ClientPtr client, int screenNum, XID fbconfigId,
* pbuffer is destroyed. */
pPixmap->drawable.id = glxDrawableId;
if (!AddResource(pPixmap->drawable.id, RT_PIXMAP, pPixmap))
- return BadAlloc;
+ return BadAlloc;
return DoCreateGLXDrawable(client, pGlxScreen, config, &pPixmap->drawable,
- glxDrawableId, glxDrawableId,
- GLX_DRAWABLE_PBUFFER);
+ glxDrawableId, glxDrawableId,
+ GLX_DRAWABLE_PBUFFER);
}
-int __glXDisp_CreatePbuffer(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_CreatePbuffer(__GLXclientState * cl, GLbyte * pc)
{
ClientPtr client = cl->client;
- xGLXCreatePbufferReq *req = (xGLXCreatePbufferReq *) pc;
- CARD32 *attrs;
- int width, height, i;
+ xGLXCreatePbufferReq *req = (xGLXCreatePbufferReq *) pc;
+ CARD32 *attrs;
+ int width, height, i;
REQUEST_AT_LEAST_SIZE(xGLXCreatePbufferReq);
if (req->numAttribs > (UINT32_MAX >> 3)) {
- client->errorValue = req->numAttribs;
- return BadValue;
+ client->errorValue = req->numAttribs;
+ return BadValue;
}
REQUEST_FIXED_SIZE(xGLXCreatePbufferReq, req->numAttribs << 3);
@@ -1369,25 +1408,26 @@ int __glXDisp_CreatePbuffer(__GLXclientState *cl, GLbyte *pc)
height = 0;
for (i = 0; i < req->numAttribs; i++) {
- switch (attrs[i * 2]) {
- case GLX_PBUFFER_WIDTH:
- width = attrs[i * 2 + 1];
- break;
- case GLX_PBUFFER_HEIGHT:
- height = attrs[i * 2 + 1];
- break;
- case GLX_LARGEST_PBUFFER:
- case GLX_PRESERVED_CONTENTS:
- /* FIXME: huh... */
- break;
- }
+ switch (attrs[i * 2]) {
+ case GLX_PBUFFER_WIDTH:
+ width = attrs[i * 2 + 1];
+ break;
+ case GLX_PBUFFER_HEIGHT:
+ height = attrs[i * 2 + 1];
+ break;
+ case GLX_LARGEST_PBUFFER:
+ case GLX_PRESERVED_CONTENTS:
+ /* FIXME: huh... */
+ break;
+ }
}
return DoCreatePbuffer(cl->client, req->screen, req->fbconfig,
- width, height, req->pbuffer);
+ width, height, req->pbuffer);
}
-int __glXDisp_CreateGLXPbufferSGIX(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_CreateGLXPbufferSGIX(__GLXclientState * cl, GLbyte * pc)
{
ClientPtr client = cl->client;
xGLXCreateGLXPbufferSGIXReq *req = (xGLXCreateGLXPbufferSGIXReq *) pc;
@@ -1395,10 +1435,11 @@ int __glXDisp_CreateGLXPbufferSGIX(__GLXclientState *cl, GLbyte *pc)
REQUEST_AT_LEAST_SIZE(xGLXCreateGLXPbufferSGIXReq);
return DoCreatePbuffer(cl->client, req->screen, req->fbconfig,
- req->width, req->height, req->pbuffer);
+ req->width, req->height, req->pbuffer);
}
-int __glXDisp_DestroyPbuffer(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_DestroyPbuffer(__GLXclientState * cl, GLbyte * pc)
{
ClientPtr client = cl->client;
xGLXDestroyPbufferReq *req = (xGLXDestroyPbufferReq *) pc;
@@ -1408,7 +1449,8 @@ int __glXDisp_DestroyPbuffer(__GLXclientState *cl, GLbyte *pc)
return DoDestroyDrawable(cl, req->pbuffer, GLX_DRAWABLE_PBUFFER);
}
-int __glXDisp_DestroyGLXPbufferSGIX(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_DestroyGLXPbufferSGIX(__GLXclientState * cl, GLbyte * pc)
{
ClientPtr client = cl->client;
xGLXDestroyGLXPbufferSGIXReq *req = (xGLXDestroyGLXPbufferSGIXReq *) pc;
@@ -1420,107 +1462,113 @@ int __glXDisp_DestroyGLXPbufferSGIX(__GLXclientState *cl, GLbyte *pc)
static int
DoChangeDrawableAttributes(ClientPtr client, XID glxdrawable,
- int numAttribs, CARD32 *attribs)
+ int numAttribs, CARD32 *attribs)
{
__GLXdrawable *pGlxDraw;
int i, err;
if (!validGlxDrawable(client, glxdrawable, GLX_DRAWABLE_ANY,
- DixSetAttrAccess, &pGlxDraw, &err))
- return err;
+ DixSetAttrAccess, &pGlxDraw, &err))
+ return err;
for (i = 0; i < numAttribs; i++) {
- switch(attribs[i * 2]) {
- case GLX_EVENT_MASK:
- /* All we do is to record the event mask so we can send it
- * back when queried. We never actually clobber the
- * pbuffers, so we never need to send out the event. */
- pGlxDraw->eventMask = attribs[i * 2 + 1];
- break;
- }
+ switch (attribs[i * 2]) {
+ case GLX_EVENT_MASK:
+ /* All we do is to record the event mask so we can send it
+ * back when queried. We never actually clobber the
+ * pbuffers, so we never need to send out the event. */
+ pGlxDraw->eventMask = attribs[i * 2 + 1];
+ break;
+ }
}
return Success;
}
-int __glXDisp_ChangeDrawableAttributes(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_ChangeDrawableAttributes(__GLXclientState * cl, GLbyte * pc)
{
ClientPtr client = cl->client;
xGLXChangeDrawableAttributesReq *req =
- (xGLXChangeDrawableAttributesReq *) pc;
+ (xGLXChangeDrawableAttributesReq *) pc;
REQUEST_AT_LEAST_SIZE(xGLXChangeDrawableAttributesReq);
if (req->numAttribs > (UINT32_MAX >> 3)) {
- client->errorValue = req->numAttribs;
- return BadValue;
+ client->errorValue = req->numAttribs;
+ return BadValue;
}
#if 0
/* mesa sends an additional 8 bytes */
REQUEST_FIXED_SIZE(xGLXChangeDrawableAttributesReq, req->numAttribs << 3);
#else
- if (((sizeof(xGLXChangeDrawableAttributesReq) + (req->numAttribs << 3)) >> 2) < client->req_len)
- return BadLength;
+ if (((sizeof(xGLXChangeDrawableAttributesReq) +
+ (req->numAttribs << 3)) >> 2) < client->req_len)
+ return BadLength;
#endif
return DoChangeDrawableAttributes(cl->client, req->drawable,
- req->numAttribs, (CARD32 *) (req + 1));
+ req->numAttribs, (CARD32 *) (req + 1));
}
-int __glXDisp_ChangeDrawableAttributesSGIX(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_ChangeDrawableAttributesSGIX(__GLXclientState * cl, GLbyte * pc)
{
ClientPtr client = cl->client;
xGLXChangeDrawableAttributesSGIXReq *req =
- (xGLXChangeDrawableAttributesSGIXReq *)pc;
+ (xGLXChangeDrawableAttributesSGIXReq *) pc;
REQUEST_AT_LEAST_SIZE(xGLXChangeDrawableAttributesSGIXReq);
if (req->numAttribs > (UINT32_MAX >> 3)) {
- client->errorValue = req->numAttribs;
- return BadValue;
+ client->errorValue = req->numAttribs;
+ return BadValue;
}
- REQUEST_FIXED_SIZE(xGLXChangeDrawableAttributesSGIXReq, req->numAttribs << 3);
+ REQUEST_FIXED_SIZE(xGLXChangeDrawableAttributesSGIXReq,
+ req->numAttribs << 3);
return DoChangeDrawableAttributes(cl->client, req->drawable,
- req->numAttribs, (CARD32 *) (req + 1));
+ req->numAttribs, (CARD32 *) (req + 1));
}
-int __glXDisp_CreateWindow(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_CreateWindow(__GLXclientState * cl, GLbyte * pc)
{
- xGLXCreateWindowReq *req = (xGLXCreateWindowReq *) pc;
- __GLXconfig *config;
- __GLXscreen *pGlxScreen;
- ClientPtr client = cl->client;
- DrawablePtr pDraw;
- int err;
+ xGLXCreateWindowReq *req = (xGLXCreateWindowReq *) pc;
+ __GLXconfig *config;
+ __GLXscreen *pGlxScreen;
+ ClientPtr client = cl->client;
+ DrawablePtr pDraw;
+ int err;
REQUEST_AT_LEAST_SIZE(xGLXCreateWindowReq);
if (req->numAttribs > (UINT32_MAX >> 3)) {
- client->errorValue = req->numAttribs;
- return BadValue;
+ client->errorValue = req->numAttribs;
+ return BadValue;
}
REQUEST_FIXED_SIZE(xGLXCreateWindowReq, req->numAttribs << 3);
LEGAL_NEW_RESOURCE(req->glxwindow, client);
if (!validGlxScreen(client, req->screen, &pGlxScreen, &err))
- return err;
+ return err;
if (!validGlxFBConfig(client, pGlxScreen, req->fbconfig, &config, &err))
- return err;
+ return err;
err = dixLookupDrawable(&pDraw, req->window, client, 0, DixAddAccess);
if (err != Success || pDraw->type != DRAWABLE_WINDOW) {
- client->errorValue = req->window;
- return BadWindow;
+ client->errorValue = req->window;
+ return BadWindow;
}
if (!validGlxFBConfigForWindow(client, config, pDraw, &err))
- return err;
+ return err;
return DoCreateGLXDrawable(client, pGlxScreen, config,
- pDraw, req->window,
- req->glxwindow, GLX_DRAWABLE_WINDOW);
+ pDraw, req->window,
+ req->glxwindow, GLX_DRAWABLE_WINDOW);
}
-int __glXDisp_DestroyWindow(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_DestroyWindow(__GLXclientState * cl, GLbyte * pc)
{
ClientPtr client = cl->client;
xGLXDestroyWindowReq *req = (xGLXDestroyWindowReq *) pc;
@@ -1531,7 +1579,6 @@ int __glXDisp_DestroyWindow(__GLXclientState *cl, GLbyte *pc)
return DoDestroyDrawable(cl, req->glxwindow, GLX_DRAWABLE_WINDOW);
}
-
/*****************************************************************************/
/*
@@ -1539,7 +1586,8 @@ int __glXDisp_DestroyWindow(__GLXclientState *cl, GLbyte *pc)
** this time that is of value. Consequently, this code must be
** implemented by somebody other than SGI.
*/
-int __glXDisp_SwapBuffers(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_SwapBuffers(__GLXclientState * cl, GLbyte * pc)
{
ClientPtr client = cl->client;
xGLXSwapBuffersReq *req = (xGLXSwapBuffersReq *) pc;
@@ -1554,41 +1602,41 @@ int __glXDisp_SwapBuffers(__GLXclientState *cl, GLbyte *pc)
tag = req->contextTag;
drawId = req->drawable;
if (tag) {
- glxc = __glXLookupContextByTag(cl, tag);
- if (!glxc) {
- return __glXError(GLXBadContextTag);
- }
- /*
- ** The calling thread is swapping its current drawable. In this case,
- ** glxSwapBuffers is in both GL and X streams, in terms of
- ** sequentiality.
- */
- if (__glXForceCurrent(cl, tag, &error)) {
- /*
- ** Do whatever is needed to make sure that all preceding requests
- ** in both streams are completed before the swap is executed.
- */
- CALL_Finish( GET_DISPATCH(), () );
- glxc->hasUnflushedCommands = GL_FALSE;
- } else {
- return error;
- }
+ glxc = __glXLookupContextByTag(cl, tag);
+ if (!glxc) {
+ return __glXError(GLXBadContextTag);
+ }
+ /*
+ ** The calling thread is swapping its current drawable. In this case,
+ ** glxSwapBuffers is in both GL and X streams, in terms of
+ ** sequentiality.
+ */
+ if (__glXForceCurrent(cl, tag, &error)) {
+ /*
+ ** Do whatever is needed to make sure that all preceding requests
+ ** in both streams are completed before the swap is executed.
+ */
+ CALL_Finish(GET_DISPATCH(), ());
+ glxc->hasUnflushedCommands = GL_FALSE;
+ }
+ else {
+ return error;
+ }
}
pGlxDraw = __glXGetDrawable(glxc, drawId, client, &error);
if (pGlxDraw == NULL)
- return error;
+ return error;
if (pGlxDraw->type == DRAWABLE_WINDOW &&
- (*pGlxDraw->swapBuffers)(cl->client, pGlxDraw) == GL_FALSE)
- return __glXError(GLXBadDrawable);
+ (*pGlxDraw->swapBuffers) (cl->client, pGlxDraw) == GL_FALSE)
+ return __glXError(GLXBadDrawable);
return Success;
}
-
static int
-DoQueryContext(__GLXclientState *cl, GLXContextID gcId)
+DoQueryContext(__GLXclientState * cl, GLXContextID gcId)
{
ClientPtr client = cl->client;
__GLXcontext *ctx;
@@ -1599,7 +1647,7 @@ DoQueryContext(__GLXclientState *cl, GLXContextID gcId)
int err;
if (!validGlxContext(cl->client, gcId, DixReadAccess, &ctx, &err))
- return err;
+ return err;
nProps = 3;
reply.length = nProps << 1;
@@ -1608,30 +1656,32 @@ DoQueryContext(__GLXclientState *cl, GLXContextID gcId)
reply.n = nProps;
nReplyBytes = reply.length << 2;
- sendBuf = (int *)malloc((size_t)nReplyBytes);
+ sendBuf = (int *) malloc((size_t) nReplyBytes);
if (sendBuf == NULL) {
- return __glXError(GLXBadContext); /* XXX: Is this correct? */
+ return __glXError(GLXBadContext); /* XXX: Is this correct? */
}
pSendBuf = sendBuf;
*pSendBuf++ = GLX_SHARE_CONTEXT_EXT;
- *pSendBuf++ = (int)(ctx->share_id);
+ *pSendBuf++ = (int) (ctx->share_id);
*pSendBuf++ = GLX_VISUAL_ID_EXT;
- *pSendBuf++ = (int)(ctx->config->visualID);
+ *pSendBuf++ = (int) (ctx->config->visualID);
*pSendBuf++ = GLX_SCREEN_EXT;
- *pSendBuf++ = (int)(ctx->pGlxScreen->pScreen->myNum);
+ *pSendBuf++ = (int) (ctx->pGlxScreen->pScreen->myNum);
if (client->swapped) {
- __glXSwapQueryContextInfoEXTReply(client, &reply, sendBuf);
- } else {
- WriteToClient(client, sz_xGLXQueryContextInfoEXTReply, (char *)&reply);
- WriteToClient(client, nReplyBytes, (char *)sendBuf);
+ __glXSwapQueryContextInfoEXTReply(client, &reply, sendBuf);
}
- free((char *)sendBuf);
+ else {
+ WriteToClient(client, sz_xGLXQueryContextInfoEXTReply, (char *) &reply);
+ WriteToClient(client, nReplyBytes, (char *) sendBuf);
+ }
+ free((char *) sendBuf);
return Success;
}
-int __glXDisp_QueryContextInfoEXT(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_QueryContextInfoEXT(__GLXclientState * cl, GLbyte * pc)
{
ClientPtr client = cl->client;
xGLXQueryContextInfoEXTReq *req = (xGLXQueryContextInfoEXTReq *) pc;
@@ -1641,7 +1691,8 @@ int __glXDisp_QueryContextInfoEXT(__GLXclientState *cl, GLbyte *pc)
return DoQueryContext(cl, req->context);
}
-int __glXDisp_QueryContext(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_QueryContext(__GLXclientState * cl, GLbyte * pc)
{
ClientPtr client = cl->client;
xGLXQueryContextReq *req = (xGLXQueryContextReq *) pc;
@@ -1651,93 +1702,93 @@ int __glXDisp_QueryContext(__GLXclientState *cl, GLbyte *pc)
return DoQueryContext(cl, req->context);
}
-int __glXDisp_BindTexImageEXT(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_BindTexImageEXT(__GLXclientState * cl, GLbyte * pc)
{
xGLXVendorPrivateReq *req = (xGLXVendorPrivateReq *) pc;
- ClientPtr client = cl->client;
- __GLXcontext *context;
- __GLXdrawable *pGlxDraw;
- GLXDrawable drawId;
- int buffer;
- int error;
- CARD32 num_attribs;
+ ClientPtr client = cl->client;
+ __GLXcontext *context;
+ __GLXdrawable *pGlxDraw;
+ GLXDrawable drawId;
+ int buffer;
+ int error;
+ CARD32 num_attribs;
if ((sizeof(xGLXVendorPrivateReq) + 12) >> 2 > client->req_len)
- return BadLength;
+ return BadLength;
pc += __GLX_VENDPRIV_HDR_SIZE;
drawId = *((CARD32 *) (pc));
- buffer = *((INT32 *) (pc + 4));
+ buffer = *((INT32 *) (pc + 4));
num_attribs = *((CARD32 *) (pc + 8));
if (num_attribs > (UINT32_MAX >> 3)) {
- client->errorValue = num_attribs;
- return BadValue;
+ client->errorValue = num_attribs;
+ return BadValue;
}
REQUEST_FIXED_SIZE(xGLXVendorPrivateReq, 12 + (num_attribs << 3));
if (buffer != GLX_FRONT_LEFT_EXT)
- return __glXError(GLXBadPixmap);
+ return __glXError(GLXBadPixmap);
- context = __glXForceCurrent (cl, req->contextTag, &error);
+ context = __glXForceCurrent(cl, req->contextTag, &error);
if (!context)
- return error;
+ return error;
if (!validGlxDrawable(client, drawId, GLX_DRAWABLE_PIXMAP,
- DixReadAccess, &pGlxDraw, &error))
- return error;
+ DixReadAccess, &pGlxDraw, &error))
+ return error;
if (!context->textureFromPixmap)
- return __glXError(GLXUnsupportedPrivateRequest);
+ return __glXError(GLXUnsupportedPrivateRequest);
- return context->textureFromPixmap->bindTexImage(context,
- buffer,
- pGlxDraw);
+ return context->textureFromPixmap->bindTexImage(context, buffer, pGlxDraw);
}
-int __glXDisp_ReleaseTexImageEXT(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_ReleaseTexImageEXT(__GLXclientState * cl, GLbyte * pc)
{
xGLXVendorPrivateReq *req = (xGLXVendorPrivateReq *) pc;
- ClientPtr client = cl->client;
- __GLXdrawable *pGlxDraw;
- __GLXcontext *context;
- GLXDrawable drawId;
- int buffer;
- int error;
+ ClientPtr client = cl->client;
+ __GLXdrawable *pGlxDraw;
+ __GLXcontext *context;
+ GLXDrawable drawId;
+ int buffer;
+ int error;
REQUEST_FIXED_SIZE(xGLXVendorPrivateReq, 8);
pc += __GLX_VENDPRIV_HDR_SIZE;
drawId = *((CARD32 *) (pc));
- buffer = *((INT32 *) (pc + 4));
-
- context = __glXForceCurrent (cl, req->contextTag, &error);
+ buffer = *((INT32 *) (pc + 4));
+
+ context = __glXForceCurrent(cl, req->contextTag, &error);
if (!context)
- return error;
+ return error;
if (!validGlxDrawable(client, drawId, GLX_DRAWABLE_PIXMAP,
- DixReadAccess, &pGlxDraw, &error))
- return error;
+ DixReadAccess, &pGlxDraw, &error))
+ return error;
if (!context->textureFromPixmap)
- return __glXError(GLXUnsupportedPrivateRequest);
+ return __glXError(GLXUnsupportedPrivateRequest);
return context->textureFromPixmap->releaseTexImage(context,
- buffer,
- pGlxDraw);
+ buffer, pGlxDraw);
}
-int __glXDisp_CopySubBufferMESA(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_CopySubBufferMESA(__GLXclientState * cl, GLbyte * pc)
{
xGLXVendorPrivateReq *req = (xGLXVendorPrivateReq *) pc;
- GLXContextTag tag = req->contextTag;
- __GLXcontext *glxc = NULL;
- __GLXdrawable *pGlxDraw;
- ClientPtr client = cl->client;
- GLXDrawable drawId;
- int error;
- int x, y, width, height;
+ GLXContextTag tag = req->contextTag;
+ __GLXcontext *glxc = NULL;
+ __GLXdrawable *pGlxDraw;
+ ClientPtr client = cl->client;
+ GLXDrawable drawId;
+ int error;
+ int x, y, width, height;
(void) client;
(void) req;
@@ -1747,43 +1798,44 @@ int __glXDisp_CopySubBufferMESA(__GLXclientState *cl, GLbyte *pc)
pc += __GLX_VENDPRIV_HDR_SIZE;
drawId = *((CARD32 *) (pc));
- x = *((INT32 *) (pc + 4));
- y = *((INT32 *) (pc + 8));
- width = *((INT32 *) (pc + 12));
- height = *((INT32 *) (pc + 16));
+ x = *((INT32 *) (pc + 4));
+ y = *((INT32 *) (pc + 8));
+ width = *((INT32 *) (pc + 12));
+ height = *((INT32 *) (pc + 16));
if (tag) {
- glxc = __glXLookupContextByTag(cl, tag);
- if (!glxc) {
- return __glXError(GLXBadContextTag);
- }
- /*
- ** The calling thread is swapping its current drawable. In this case,
- ** glxSwapBuffers is in both GL and X streams, in terms of
- ** sequentiality.
- */
- if (__glXForceCurrent(cl, tag, &error)) {
- /*
- ** Do whatever is needed to make sure that all preceding requests
- ** in both streams are completed before the swap is executed.
- */
- CALL_Finish( GET_DISPATCH(), () );
- glxc->hasUnflushedCommands = GL_FALSE;
- } else {
- return error;
- }
+ glxc = __glXLookupContextByTag(cl, tag);
+ if (!glxc) {
+ return __glXError(GLXBadContextTag);
+ }
+ /*
+ ** The calling thread is swapping its current drawable. In this case,
+ ** glxSwapBuffers is in both GL and X streams, in terms of
+ ** sequentiality.
+ */
+ if (__glXForceCurrent(cl, tag, &error)) {
+ /*
+ ** Do whatever is needed to make sure that all preceding requests
+ ** in both streams are completed before the swap is executed.
+ */
+ CALL_Finish(GET_DISPATCH(), ());
+ glxc->hasUnflushedCommands = GL_FALSE;
+ }
+ else {
+ return error;
+ }
}
pGlxDraw = __glXGetDrawable(glxc, drawId, client, &error);
if (!pGlxDraw)
- return error;
+ return error;
if (pGlxDraw == NULL ||
- pGlxDraw->type != GLX_DRAWABLE_WINDOW ||
- pGlxDraw->copySubBuffer == NULL)
- return __glXError(GLXBadDrawable);
+ pGlxDraw->type != GLX_DRAWABLE_WINDOW ||
+ pGlxDraw->copySubBuffer == NULL)
+ return __glXError(GLXBadDrawable);
- (*pGlxDraw->copySubBuffer)(pGlxDraw, x, y, width, height);
+ (*pGlxDraw->copySubBuffer) (pGlxDraw, x, y, width, height);
return Success;
}
@@ -1792,7 +1844,7 @@ int __glXDisp_CopySubBufferMESA(__GLXclientState *cl, GLbyte *pc)
** Get drawable attributes
*/
static int
-DoGetDrawableAttributes(__GLXclientState *cl, XID drawId)
+DoGetDrawableAttributes(__GLXclientState * cl, XID drawId)
{
ClientPtr client = cl->client;
xGLXGetDrawableAttributesReply reply;
@@ -1801,8 +1853,8 @@ DoGetDrawableAttributes(__GLXclientState *cl, XID drawId)
int numAttribs, error;
if (!validGlxDrawable(client, drawId, GLX_DRAWABLE_ANY,
- DixGetAttrAccess, &pGlxDraw, &error))
- return error;
+ DixGetAttrAccess, &pGlxDraw, &error))
+ return error;
numAttribs = 3;
reply.length = numAttribs << 1;
@@ -1812,28 +1864,30 @@ DoGetDrawableAttributes(__GLXclientState *cl, XID drawId)
attributes[0] = GLX_TEXTURE_TARGET_EXT;
attributes[1] = pGlxDraw->target == GL_TEXTURE_2D ? GLX_TEXTURE_2D_EXT :
- GLX_TEXTURE_RECTANGLE_EXT;
+ GLX_TEXTURE_RECTANGLE_EXT;
attributes[2] = GLX_Y_INVERTED_EXT;
attributes[3] = GL_FALSE;
attributes[4] = GLX_EVENT_MASK;
attributes[5] = pGlxDraw->eventMask;
if (client->swapped) {
- __glXSwapGetDrawableAttributesReply(client, &reply, attributes);
- } else {
- WriteToClient(client, sz_xGLXGetDrawableAttributesReply,
- (char *)&reply);
- WriteToClient(client, reply.length * sizeof (CARD32),
- (char *)attributes);
+ __glXSwapGetDrawableAttributesReply(client, &reply, attributes);
+ }
+ else {
+ WriteToClient(client, sz_xGLXGetDrawableAttributesReply,
+ (char *) &reply);
+ WriteToClient(client, reply.length * sizeof(CARD32),
+ (char *) attributes);
}
return Success;
}
-int __glXDisp_GetDrawableAttributes(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_GetDrawableAttributes(__GLXclientState * cl, GLbyte * pc)
{
ClientPtr client = cl->client;
- xGLXGetDrawableAttributesReq *req = (xGLXGetDrawableAttributesReq *)pc;
+ xGLXGetDrawableAttributesReq *req = (xGLXGetDrawableAttributesReq *) pc;
/* this should be REQUEST_SIZE_MATCH, but mesa sends an additional 4 bytes */
REQUEST_AT_LEAST_SIZE(xGLXGetDrawableAttributesReq);
@@ -1841,12 +1895,13 @@ int __glXDisp_GetDrawableAttributes(__GLXclientState *cl, GLbyte *pc)
return DoGetDrawableAttributes(cl, req->drawable);
}
-int __glXDisp_GetDrawableAttributesSGIX(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_GetDrawableAttributesSGIX(__GLXclientState * cl, GLbyte * pc)
{
ClientPtr client = cl->client;
xGLXGetDrawableAttributesSGIXReq *req =
- (xGLXGetDrawableAttributesSGIXReq *)pc;
-
+ (xGLXGetDrawableAttributesSGIXReq *) pc;
+
REQUEST_SIZE_MATCH(xGLXGetDrawableAttributesSGIXReq);
return DoGetDrawableAttributes(cl, req->drawable);
@@ -1862,28 +1917,30 @@ int __glXDisp_GetDrawableAttributesSGIX(__GLXclientState *cl, GLbyte *pc)
/*
** Execute all the drawing commands in a request.
*/
-int __glXDisp_Render(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_Render(__GLXclientState * cl, GLbyte * pc)
{
xGLXRenderReq *req;
- ClientPtr client= cl->client;
+ ClientPtr client = cl->client;
int left, cmdlen, error;
int commandsDone;
CARD16 opcode;
__GLXrenderHeader *hdr;
__GLXcontext *glxc;
+
__GLX_DECLARE_SWAP_VARIABLES;
REQUEST_AT_LEAST_SIZE(xGLXRenderReq);
req = (xGLXRenderReq *) pc;
if (client->swapped) {
- __GLX_SWAP_SHORT(&req->length);
- __GLX_SWAP_INT(&req->contextTag);
+ __GLX_SWAP_SHORT(&req->length);
+ __GLX_SWAP_INT(&req->contextTag);
}
glxc = __glXForceCurrent(cl, req->contextTag, &error);
if (!glxc) {
- return error;
+ return error;
}
commandsDone = 0;
@@ -1892,278 +1949,284 @@ int __glXDisp_Render(__GLXclientState *cl, GLbyte *pc)
while (left > 0) {
__GLXrenderSizeData entry;
int extra;
- __GLXdispatchRenderProcPtr proc;
- int err;
-
- if (left < sizeof(__GLXrenderHeader))
- return BadLength;
-
- /*
- ** Verify that the header length and the overall length agree.
- ** Also, each command must be word aligned.
- */
- hdr = (__GLXrenderHeader *) pc;
- if (client->swapped) {
- __GLX_SWAP_SHORT(&hdr->length);
- __GLX_SWAP_SHORT(&hdr->opcode);
- }
- cmdlen = hdr->length;
- opcode = hdr->opcode;
-
- /*
- ** Check for core opcodes and grab entry data.
- */
- err = __glXGetProtocolSizeData(& Render_dispatch_info, opcode, & entry);
- proc = (__GLXdispatchRenderProcPtr)
- __glXGetProtocolDecodeFunction(& Render_dispatch_info,
- opcode, client->swapped);
-
- if ((err < 0) || (proc == NULL)) {
- client->errorValue = commandsDone;
- return __glXError(GLXBadRenderRequest);
- }
+ __GLXdispatchRenderProcPtr proc;
+ int err;
+
+ if (left < sizeof(__GLXrenderHeader))
+ return BadLength;
+
+ /*
+ ** Verify that the header length and the overall length agree.
+ ** Also, each command must be word aligned.
+ */
+ hdr = (__GLXrenderHeader *) pc;
+ if (client->swapped) {
+ __GLX_SWAP_SHORT(&hdr->length);
+ __GLX_SWAP_SHORT(&hdr->opcode);
+ }
+ cmdlen = hdr->length;
+ opcode = hdr->opcode;
+
+ /*
+ ** Check for core opcodes and grab entry data.
+ */
+ err = __glXGetProtocolSizeData(&Render_dispatch_info, opcode, &entry);
+ proc = (__GLXdispatchRenderProcPtr)
+ __glXGetProtocolDecodeFunction(&Render_dispatch_info,
+ opcode, client->swapped);
+
+ if ((err < 0) || (proc == NULL)) {
+ client->errorValue = commandsDone;
+ return __glXError(GLXBadRenderRequest);
+ }
if (entry.varsize) {
/* variable size command */
- extra = (*entry.varsize)(pc + __GLX_RENDER_HDR_SIZE,
- client->swapped);
+ extra = (*entry.varsize) (pc + __GLX_RENDER_HDR_SIZE,
+ client->swapped);
if (extra < 0) {
extra = 0;
}
if (cmdlen != __GLX_PAD(entry.bytes + extra)) {
return BadLength;
}
- } else {
+ }
+ else {
/* constant size command */
if (cmdlen != __GLX_PAD(entry.bytes)) {
return BadLength;
}
}
- if (left < cmdlen) {
- return BadLength;
- }
-
- /*
- ** Skip over the header and execute the command. We allow the
- ** caller to trash the command memory. This is useful especially
- ** for things that require double alignment - they can just shift
- ** the data towards lower memory (trashing the header) by 4 bytes
- ** and achieve the required alignment.
- */
- (*proc)(pc + __GLX_RENDER_HDR_SIZE);
- pc += cmdlen;
- left -= cmdlen;
- commandsDone++;
+ if (left < cmdlen) {
+ return BadLength;
+ }
+
+ /*
+ ** Skip over the header and execute the command. We allow the
+ ** caller to trash the command memory. This is useful especially
+ ** for things that require double alignment - they can just shift
+ ** the data towards lower memory (trashing the header) by 4 bytes
+ ** and achieve the required alignment.
+ */
+ (*proc) (pc + __GLX_RENDER_HDR_SIZE);
+ pc += cmdlen;
+ left -= cmdlen;
+ commandsDone++;
}
glxc->hasUnflushedCommands = GL_TRUE;
return Success;
}
-
/*
** Execute a large rendering request (one that spans multiple X requests).
*/
-int __glXDisp_RenderLarge(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_RenderLarge(__GLXclientState * cl, GLbyte * pc)
{
xGLXRenderLargeReq *req;
- ClientPtr client= cl->client;
+ ClientPtr client = cl->client;
size_t dataBytes;
__GLXrenderLargeHeader *hdr;
__GLXcontext *glxc;
int error;
CARD16 opcode;
+
__GLX_DECLARE_SWAP_VARIABLES;
-
+
req = (xGLXRenderLargeReq *) pc;
if (client->swapped) {
- __GLX_SWAP_SHORT(&req->length);
- __GLX_SWAP_INT(&req->contextTag);
- __GLX_SWAP_INT(&req->dataBytes);
- __GLX_SWAP_SHORT(&req->requestNumber);
- __GLX_SWAP_SHORT(&req->requestTotal);
+ __GLX_SWAP_SHORT(&req->length);
+ __GLX_SWAP_INT(&req->contextTag);
+ __GLX_SWAP_INT(&req->dataBytes);
+ __GLX_SWAP_SHORT(&req->requestNumber);
+ __GLX_SWAP_SHORT(&req->requestTotal);
}
glxc = __glXForceCurrent(cl, req->contextTag, &error);
if (!glxc) {
- /* Reset in case this isn't 1st request. */
- __glXResetLargeCommandStatus(cl);
- return error;
+ /* Reset in case this isn't 1st request. */
+ __glXResetLargeCommandStatus(cl);
+ return error;
}
dataBytes = req->dataBytes;
/*
- ** Check the request length.
- */
+ ** Check the request length.
+ */
if ((req->length << 2) != __GLX_PAD(dataBytes) + sz_xGLXRenderLargeReq) {
- client->errorValue = req->length;
- /* Reset in case this isn't 1st request. */
- __glXResetLargeCommandStatus(cl);
- return BadLength;
+ client->errorValue = req->length;
+ /* Reset in case this isn't 1st request. */
+ __glXResetLargeCommandStatus(cl);
+ return BadLength;
}
pc += sz_xGLXRenderLargeReq;
-
+
if (cl->largeCmdRequestsSoFar == 0) {
- __GLXrenderSizeData entry;
- int extra;
- size_t cmdlen;
- int err;
-
- /*
- ** This is the first request of a multi request command.
- ** Make enough space in the buffer, then copy the entire request.
- */
- if (req->requestNumber != 1) {
- client->errorValue = req->requestNumber;
- return __glXError(GLXBadLargeRequest);
- }
-
- hdr = (__GLXrenderLargeHeader *) pc;
- if (client->swapped) {
- __GLX_SWAP_INT(&hdr->length);
- __GLX_SWAP_INT(&hdr->opcode);
- }
- cmdlen = hdr->length;
- opcode = hdr->opcode;
-
- /*
- ** Check for core opcodes and grab entry data.
- */
- err = __glXGetProtocolSizeData(& Render_dispatch_info, opcode, & entry);
- if (err < 0) {
- client->errorValue = opcode;
- return __glXError(GLXBadLargeRequest);
- }
-
- if (entry.varsize) {
- /*
- ** If it's a variable-size command (a command whose length must
- ** be computed from its parameters), all the parameters needed
- ** will be in the 1st request, so it's okay to do this.
- */
- extra = (*entry.varsize)(pc + __GLX_RENDER_LARGE_HDR_SIZE,
- client->swapped);
- if (extra < 0) {
- extra = 0;
- }
- /* large command's header is 4 bytes longer, so add 4 */
- if (cmdlen != __GLX_PAD(entry.bytes + 4 + extra)) {
- return BadLength;
- }
- } else {
- /* constant size command */
- if (cmdlen != __GLX_PAD(entry.bytes + 4)) {
- return BadLength;
- }
- }
- /*
- ** Make enough space in the buffer, then copy the entire request.
- */
- if (cl->largeCmdBufSize < cmdlen) {
- if (!cl->largeCmdBuf) {
- cl->largeCmdBuf = (GLbyte *) malloc(cmdlen);
- } else {
- cl->largeCmdBuf = (GLbyte *) realloc(cl->largeCmdBuf, cmdlen);
- }
- if (!cl->largeCmdBuf) {
- return BadAlloc;
- }
- cl->largeCmdBufSize = cmdlen;
- }
- memcpy(cl->largeCmdBuf, pc, dataBytes);
-
- cl->largeCmdBytesSoFar = dataBytes;
- cl->largeCmdBytesTotal = cmdlen;
- cl->largeCmdRequestsSoFar = 1;
- cl->largeCmdRequestsTotal = req->requestTotal;
- return Success;
-
- } else {
- /*
- ** We are receiving subsequent (i.e. not the first) requests of a
- ** multi request command.
- */
-
- /*
- ** Check the request number and the total request count.
- */
- if (req->requestNumber != cl->largeCmdRequestsSoFar + 1) {
- client->errorValue = req->requestNumber;
- __glXResetLargeCommandStatus(cl);
- return __glXError(GLXBadLargeRequest);
- }
- if (req->requestTotal != cl->largeCmdRequestsTotal) {
- client->errorValue = req->requestTotal;
- __glXResetLargeCommandStatus(cl);
- return __glXError(GLXBadLargeRequest);
- }
-
- /*
- ** Check that we didn't get too much data.
- */
- if ((cl->largeCmdBytesSoFar + dataBytes) > cl->largeCmdBytesTotal) {
- client->errorValue = dataBytes;
- __glXResetLargeCommandStatus(cl);
- return __glXError(GLXBadLargeRequest);
- }
- memcpy(cl->largeCmdBuf + cl->largeCmdBytesSoFar, pc, dataBytes);
- cl->largeCmdBytesSoFar += dataBytes;
- cl->largeCmdRequestsSoFar++;
-
- if (req->requestNumber == cl->largeCmdRequestsTotal) {
- __GLXdispatchRenderProcPtr proc;
-
- /*
- ** This is the last request; it must have enough bytes to complete
- ** the command.
- */
- /* NOTE: the two pad macros have been added below; they are needed
- ** because the client library pads the total byte count, but not
- ** the per-request byte counts. The Protocol Encoding says the
- ** total byte count should not be padded, so a proposal will be
- ** made to the ARB to relax the padding constraint on the total
- ** byte count, thus preserving backward compatibility. Meanwhile,
- ** the padding done below fixes a bug that did not allow
- ** large commands of odd sizes to be accepted by the server.
- */
- if (__GLX_PAD(cl->largeCmdBytesSoFar) !=
- __GLX_PAD(cl->largeCmdBytesTotal)) {
- client->errorValue = dataBytes;
- __glXResetLargeCommandStatus(cl);
- return __glXError(GLXBadLargeRequest);
- }
- hdr = (__GLXrenderLargeHeader *) cl->largeCmdBuf;
- /*
- ** The opcode and length field in the header had already been
- ** swapped when the first request was received.
- **
- ** Use the opcode to index into the procedure table.
- */
- opcode = hdr->opcode;
-
- proc = (__GLXdispatchRenderProcPtr)
- __glXGetProtocolDecodeFunction(& Render_dispatch_info, opcode,
- client->swapped);
- if (proc == NULL) {
- client->errorValue = opcode;
- return __glXError(GLXBadLargeRequest);
- }
-
- /*
- ** Skip over the header and execute the command.
- */
- (*proc)(cl->largeCmdBuf + __GLX_RENDER_LARGE_HDR_SIZE);
- glxc->hasUnflushedCommands = GL_TRUE;
-
- /*
- ** Reset for the next RenderLarge series.
- */
- __glXResetLargeCommandStatus(cl);
- } else {
- /*
- ** This is neither the first nor the last request.
- */
- }
- return Success;
+ __GLXrenderSizeData entry;
+ int extra;
+ size_t cmdlen;
+ int err;
+
+ /*
+ ** This is the first request of a multi request command.
+ ** Make enough space in the buffer, then copy the entire request.
+ */
+ if (req->requestNumber != 1) {
+ client->errorValue = req->requestNumber;
+ return __glXError(GLXBadLargeRequest);
+ }
+
+ hdr = (__GLXrenderLargeHeader *) pc;
+ if (client->swapped) {
+ __GLX_SWAP_INT(&hdr->length);
+ __GLX_SWAP_INT(&hdr->opcode);
+ }
+ cmdlen = hdr->length;
+ opcode = hdr->opcode;
+
+ /*
+ ** Check for core opcodes and grab entry data.
+ */
+ err = __glXGetProtocolSizeData(&Render_dispatch_info, opcode, &entry);
+ if (err < 0) {
+ client->errorValue = opcode;
+ return __glXError(GLXBadLargeRequest);
+ }
+
+ if (entry.varsize) {
+ /*
+ ** If it's a variable-size command (a command whose length must
+ ** be computed from its parameters), all the parameters needed
+ ** will be in the 1st request, so it's okay to do this.
+ */
+ extra = (*entry.varsize) (pc + __GLX_RENDER_LARGE_HDR_SIZE,
+ client->swapped);
+ if (extra < 0) {
+ extra = 0;
+ }
+ /* large command's header is 4 bytes longer, so add 4 */
+ if (cmdlen != __GLX_PAD(entry.bytes + 4 + extra)) {
+ return BadLength;
+ }
+ }
+ else {
+ /* constant size command */
+ if (cmdlen != __GLX_PAD(entry.bytes + 4)) {
+ return BadLength;
+ }
+ }
+ /*
+ ** Make enough space in the buffer, then copy the entire request.
+ */
+ if (cl->largeCmdBufSize < cmdlen) {
+ if (!cl->largeCmdBuf) {
+ cl->largeCmdBuf = (GLbyte *) malloc(cmdlen);
+ }
+ else {
+ cl->largeCmdBuf = (GLbyte *) realloc(cl->largeCmdBuf, cmdlen);
+ }
+ if (!cl->largeCmdBuf) {
+ return BadAlloc;
+ }
+ cl->largeCmdBufSize = cmdlen;
+ }
+ memcpy(cl->largeCmdBuf, pc, dataBytes);
+
+ cl->largeCmdBytesSoFar = dataBytes;
+ cl->largeCmdBytesTotal = cmdlen;
+ cl->largeCmdRequestsSoFar = 1;
+ cl->largeCmdRequestsTotal = req->requestTotal;
+ return Success;
+
+ }
+ else {
+ /*
+ ** We are receiving subsequent (i.e. not the first) requests of a
+ ** multi request command.
+ */
+
+ /*
+ ** Check the request number and the total request count.
+ */
+ if (req->requestNumber != cl->largeCmdRequestsSoFar + 1) {
+ client->errorValue = req->requestNumber;
+ __glXResetLargeCommandStatus(cl);
+ return __glXError(GLXBadLargeRequest);
+ }
+ if (req->requestTotal != cl->largeCmdRequestsTotal) {
+ client->errorValue = req->requestTotal;
+ __glXResetLargeCommandStatus(cl);
+ return __glXError(GLXBadLargeRequest);
+ }
+
+ /*
+ ** Check that we didn't get too much data.
+ */
+ if ((cl->largeCmdBytesSoFar + dataBytes) > cl->largeCmdBytesTotal) {
+ client->errorValue = dataBytes;
+ __glXResetLargeCommandStatus(cl);
+ return __glXError(GLXBadLargeRequest);
+ }
+ memcpy(cl->largeCmdBuf + cl->largeCmdBytesSoFar, pc, dataBytes);
+ cl->largeCmdBytesSoFar += dataBytes;
+ cl->largeCmdRequestsSoFar++;
+
+ if (req->requestNumber == cl->largeCmdRequestsTotal) {
+ __GLXdispatchRenderProcPtr proc;
+
+ /*
+ ** This is the last request; it must have enough bytes to complete
+ ** the command.
+ */
+ /* NOTE: the two pad macros have been added below; they are needed
+ ** because the client library pads the total byte count, but not
+ ** the per-request byte counts. The Protocol Encoding says the
+ ** total byte count should not be padded, so a proposal will be
+ ** made to the ARB to relax the padding constraint on the total
+ ** byte count, thus preserving backward compatibility. Meanwhile,
+ ** the padding done below fixes a bug that did not allow
+ ** large commands of odd sizes to be accepted by the server.
+ */
+ if (__GLX_PAD(cl->largeCmdBytesSoFar) !=
+ __GLX_PAD(cl->largeCmdBytesTotal)) {
+ client->errorValue = dataBytes;
+ __glXResetLargeCommandStatus(cl);
+ return __glXError(GLXBadLargeRequest);
+ }
+ hdr = (__GLXrenderLargeHeader *) cl->largeCmdBuf;
+ /*
+ ** The opcode and length field in the header had already been
+ ** swapped when the first request was received.
+ **
+ ** Use the opcode to index into the procedure table.
+ */
+ opcode = hdr->opcode;
+
+ proc = (__GLXdispatchRenderProcPtr)
+ __glXGetProtocolDecodeFunction(&Render_dispatch_info, opcode,
+ client->swapped);
+ if (proc == NULL) {
+ client->errorValue = opcode;
+ return __glXError(GLXBadLargeRequest);
+ }
+
+ /*
+ ** Skip over the header and execute the command.
+ */
+ (*proc) (cl->largeCmdBuf + __GLX_RENDER_LARGE_HDR_SIZE);
+ glxc->hasUnflushedCommands = GL_TRUE;
+
+ /*
+ ** Reset for the next RenderLarge series.
+ */
+ __glXResetLargeCommandStatus(cl);
+ }
+ else {
+ /*
+ ** This is neither the first nor the last request.
+ */
+ }
+ return Success;
}
}
@@ -2174,7 +2237,8 @@ int __glXDisp_RenderLarge(__GLXclientState *cl, GLbyte *pc)
** allocating the entry points in the dispatch table.
*/
-int __glXDisp_VendorPrivate(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_VendorPrivate(__GLXclientState * cl, GLbyte * pc)
{
ClientPtr client = cl->client;
xGLXVendorPrivateReq *req = (xGLXVendorPrivateReq *) pc;
@@ -2184,18 +2248,19 @@ int __glXDisp_VendorPrivate(__GLXclientState *cl, GLbyte *pc)
REQUEST_AT_LEAST_SIZE(xGLXVendorPrivateReq);
proc = (__GLXdispatchVendorPrivProcPtr)
- __glXGetProtocolDecodeFunction(& VendorPriv_dispatch_info,
- vendorcode, 0);
+ __glXGetProtocolDecodeFunction(&VendorPriv_dispatch_info,
+ vendorcode, 0);
if (proc != NULL) {
- (*proc)(cl, (GLbyte*)req);
- return Success;
+ (*proc) (cl, (GLbyte *) req);
+ return Success;
}
cl->client->errorValue = req->vendorCode;
return __glXError(GLXUnsupportedPrivateRequest);
}
-int __glXDisp_VendorPrivateWithReply(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_VendorPrivateWithReply(__GLXclientState * cl, GLbyte * pc)
{
ClientPtr client = cl->client;
xGLXVendorPrivateReq *req = (xGLXVendorPrivateReq *) pc;
@@ -2205,17 +2270,18 @@ int __glXDisp_VendorPrivateWithReply(__GLXclientState *cl, GLbyte *pc)
REQUEST_AT_LEAST_SIZE(xGLXVendorPrivateReq);
proc = (__GLXdispatchVendorPrivProcPtr)
- __glXGetProtocolDecodeFunction(& VendorPriv_dispatch_info,
- vendorcode, 0);
+ __glXGetProtocolDecodeFunction(&VendorPriv_dispatch_info,
+ vendorcode, 0);
if (proc != NULL) {
- return (*proc)(cl, (GLbyte*)req);
+ return (*proc) (cl, (GLbyte *) req);
}
cl->client->errorValue = vendorcode;
return __glXError(GLXUnsupportedPrivateRequest);
}
-int __glXDisp_QueryExtensionsString(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_QueryExtensionsString(__GLXclientState * cl, GLbyte * pc)
{
ClientPtr client = cl->client;
xGLXQueryExtensionsStringReq *req = (xGLXQueryExtensionsStringReq *) pc;
@@ -2228,7 +2294,7 @@ int __glXDisp_QueryExtensionsString(__GLXclientState *cl, GLbyte *pc)
REQUEST_SIZE_MATCH(xGLXQueryExtensionsStringReq);
if (!validGlxScreen(client, req->screen, &pGlxScreen, &err))
- return err;
+ return err;
n = strlen(pGlxScreen->GLXextensions) + 1;
length = __GLX_PAD(n) >> 2;
@@ -2237,7 +2303,7 @@ int __glXDisp_QueryExtensionsString(__GLXclientState *cl, GLbyte *pc)
reply.length = length;
reply.n = n;
- /* Allocate buffer to make sure it's a multiple of 4 bytes big.*/
+ /* Allocate buffer to make sure it's a multiple of 4 bytes big. */
buf = (char *) malloc(length << 2);
if (buf == NULL)
return BadAlloc;
@@ -2245,16 +2311,19 @@ int __glXDisp_QueryExtensionsString(__GLXclientState *cl, GLbyte *pc)
if (client->swapped) {
glxSwapQueryExtensionsStringReply(client, &reply, buf);
- } else {
- WriteToClient(client, sz_xGLXQueryExtensionsStringReply,(char *)&reply);
- WriteToClient(client, (int)(length << 2), (char *)buf);
+ }
+ else {
+ WriteToClient(client, sz_xGLXQueryExtensionsStringReply,
+ (char *) &reply);
+ WriteToClient(client, (int) (length << 2), (char *) buf);
}
free(buf);
return Success;
}
-int __glXDisp_QueryServerString(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_QueryServerString(__GLXclientState * cl, GLbyte * pc)
{
ClientPtr client = cl->client;
xGLXQueryServerStringReq *req = (xGLXQueryServerStringReq *) pc;
@@ -2269,24 +2338,24 @@ int __glXDisp_QueryServerString(__GLXclientState *cl, GLbyte *pc)
REQUEST_SIZE_MATCH(xGLXQueryServerStringReq);
if (!validGlxScreen(client, req->screen, &pGlxScreen, &err))
- return err;
-
- switch(req->name) {
- case GLX_VENDOR:
- ptr = pGlxScreen->GLXvendor;
- break;
- case GLX_VERSION:
- /* Return to the server version rather than the screen version
- * to prevent confusion when they do not match.
- */
- snprintf(ver_str, 16, "%d.%d", glxMajorVersion, glxMinorVersion);
- ptr = ver_str;
- break;
- case GLX_EXTENSIONS:
- ptr = pGlxScreen->GLXextensions;
- break;
- default:
- return BadValue;
+ return err;
+
+ switch (req->name) {
+ case GLX_VENDOR:
+ ptr = pGlxScreen->GLXvendor;
+ break;
+ case GLX_VERSION:
+ /* Return to the server version rather than the screen version
+ * to prevent confusion when they do not match.
+ */
+ snprintf(ver_str, 16, "%d.%d", glxMajorVersion, glxMinorVersion);
+ ptr = ver_str;
+ break;
+ case GLX_EXTENSIONS:
+ ptr = pGlxScreen->GLXextensions;
+ break;
+ default:
+ return BadValue;
}
n = strlen(ptr) + 1;
@@ -2304,26 +2373,28 @@ int __glXDisp_QueryServerString(__GLXclientState *cl, GLbyte *pc)
if (client->swapped) {
glxSwapQueryServerStringReply(client, &reply, buf);
- } else {
- WriteToClient(client, sz_xGLXQueryServerStringReply, (char *)&reply);
- WriteToClient(client, (int)(length << 2), buf);
+ }
+ else {
+ WriteToClient(client, sz_xGLXQueryServerStringReply, (char *) &reply);
+ WriteToClient(client, (int) (length << 2), buf);
}
free(buf);
return Success;
}
-int __glXDisp_ClientInfo(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_ClientInfo(__GLXclientState * cl, GLbyte * pc)
{
ClientPtr client = cl->client;
xGLXClientInfoReq *req = (xGLXClientInfoReq *) pc;
const char *buf;
-
+
REQUEST_AT_LEAST_SIZE(xGLXClientInfoReq);
- buf = (const char *)(req+1);
+ buf = (const char *) (req + 1);
if (!memchr(buf, 0, (client->req_len << 2) - sizeof(xGLXClientInfoReq)))
- return BadLength;
+ return BadLength;
cl->GLClientmajorVersion = req->major;
cl->GLClientminorVersion = req->minor;
diff --git a/glx/glxcmdsswap.c b/glx/glxcmdsswap.c
index 76e6fb629..e8520d6cb 100644
--- a/glx/glxcmdsswap.c
+++ b/glx/glxcmdsswap.c
@@ -48,7 +48,6 @@
#include "indirect_table.h"
#include "indirect_util.h"
-
/************************************************************************/
/*
@@ -58,10 +57,12 @@
** it is called at the end of the unswapped routine.
*/
-int __glXDispSwap_CreateContext(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_CreateContext(__GLXclientState * cl, GLbyte * pc)
{
ClientPtr client = cl->client;
xGLXCreateContextReq *req = (xGLXCreateContextReq *) pc;
+
__GLX_DECLARE_SWAP_VARIABLES;
REQUEST_SIZE_MATCH(xGLXCreateContextReq);
@@ -75,10 +76,12 @@ int __glXDispSwap_CreateContext(__GLXclientState *cl, GLbyte *pc)
return __glXDisp_CreateContext(cl, pc);
}
-int __glXDispSwap_CreateNewContext(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_CreateNewContext(__GLXclientState * cl, GLbyte * pc)
{
ClientPtr client = cl->client;
xGLXCreateNewContextReq *req = (xGLXCreateNewContextReq *) pc;
+
__GLX_DECLARE_SWAP_VARIABLES;
REQUEST_SIZE_MATCH(xGLXCreateNewContextReq);
@@ -93,11 +96,12 @@ int __glXDispSwap_CreateNewContext(__GLXclientState *cl, GLbyte *pc)
return __glXDisp_CreateNewContext(cl, pc);
}
-int __glXDispSwap_CreateContextWithConfigSGIX(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_CreateContextWithConfigSGIX(__GLXclientState * cl, GLbyte * pc)
{
ClientPtr client = cl->client;
xGLXCreateContextWithConfigSGIXReq *req =
- (xGLXCreateContextWithConfigSGIXReq *) pc;
+ (xGLXCreateContextWithConfigSGIXReq *) pc;
__GLX_DECLARE_SWAP_VARIABLES;
REQUEST_SIZE_MATCH(xGLXCreateContextWithConfigSGIXReq);
@@ -112,10 +116,12 @@ int __glXDispSwap_CreateContextWithConfigSGIX(__GLXclientState *cl, GLbyte *pc)
return __glXDisp_CreateContextWithConfigSGIX(cl, pc);
}
-int __glXDispSwap_DestroyContext(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_DestroyContext(__GLXclientState * cl, GLbyte * pc)
{
ClientPtr client = cl->client;
xGLXDestroyContextReq *req = (xGLXDestroyContextReq *) pc;
+
__GLX_DECLARE_SWAP_VARIABLES;
REQUEST_SIZE_MATCH(xGLXDestroyContextReq);
@@ -126,10 +132,12 @@ int __glXDispSwap_DestroyContext(__GLXclientState *cl, GLbyte *pc)
return __glXDisp_DestroyContext(cl, pc);
}
-int __glXDispSwap_MakeCurrent(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_MakeCurrent(__GLXclientState * cl, GLbyte * pc)
{
ClientPtr client = cl->client;
xGLXMakeCurrentReq *req = (xGLXMakeCurrentReq *) pc;
+
__GLX_DECLARE_SWAP_VARIABLES;
REQUEST_SIZE_MATCH(xGLXMakeCurrentReq);
@@ -142,10 +150,12 @@ int __glXDispSwap_MakeCurrent(__GLXclientState *cl, GLbyte *pc)
return __glXDisp_MakeCurrent(cl, pc);
}
-int __glXDispSwap_MakeContextCurrent(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_MakeContextCurrent(__GLXclientState * cl, GLbyte * pc)
{
ClientPtr client = cl->client;
xGLXMakeContextCurrentReq *req = (xGLXMakeContextCurrentReq *) pc;
+
__GLX_DECLARE_SWAP_VARIABLES;
REQUEST_SIZE_MATCH(xGLXMakeContextCurrentReq);
@@ -159,10 +169,12 @@ int __glXDispSwap_MakeContextCurrent(__GLXclientState *cl, GLbyte *pc)
return __glXDisp_MakeContextCurrent(cl, pc);
}
-int __glXDispSwap_MakeCurrentReadSGI(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_MakeCurrentReadSGI(__GLXclientState * cl, GLbyte * pc)
{
ClientPtr client = cl->client;
xGLXMakeCurrentReadSGIReq *req = (xGLXMakeCurrentReadSGIReq *) pc;
+
__GLX_DECLARE_SWAP_VARIABLES;
REQUEST_SIZE_MATCH(xGLXMakeCurrentReadSGIReq);
@@ -176,10 +188,12 @@ int __glXDispSwap_MakeCurrentReadSGI(__GLXclientState *cl, GLbyte *pc)
return __glXDisp_MakeCurrentReadSGI(cl, pc);
}
-int __glXDispSwap_IsDirect(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_IsDirect(__GLXclientState * cl, GLbyte * pc)
{
ClientPtr client = cl->client;
xGLXIsDirectReq *req = (xGLXIsDirectReq *) pc;
+
__GLX_DECLARE_SWAP_VARIABLES;
REQUEST_SIZE_MATCH(xGLXIsDirectReq);
@@ -190,10 +204,12 @@ int __glXDispSwap_IsDirect(__GLXclientState *cl, GLbyte *pc)
return __glXDisp_IsDirect(cl, pc);
}
-int __glXDispSwap_QueryVersion(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_QueryVersion(__GLXclientState * cl, GLbyte * pc)
{
ClientPtr client = cl->client;
xGLXQueryVersionReq *req = (xGLXQueryVersionReq *) pc;
+
__GLX_DECLARE_SWAP_VARIABLES;
REQUEST_SIZE_MATCH(xGLXQueryVersionReq);
@@ -205,10 +221,12 @@ int __glXDispSwap_QueryVersion(__GLXclientState *cl, GLbyte *pc)
return __glXDisp_QueryVersion(cl, pc);
}
-int __glXDispSwap_WaitGL(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_WaitGL(__GLXclientState * cl, GLbyte * pc)
{
ClientPtr client = cl->client;
xGLXWaitGLReq *req = (xGLXWaitGLReq *) pc;
+
__GLX_DECLARE_SWAP_VARIABLES;
REQUEST_SIZE_MATCH(xGLXWaitGLReq);
@@ -219,10 +237,12 @@ int __glXDispSwap_WaitGL(__GLXclientState *cl, GLbyte *pc)
return __glXDisp_WaitGL(cl, pc);
}
-int __glXDispSwap_WaitX(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_WaitX(__GLXclientState * cl, GLbyte * pc)
{
ClientPtr client = cl->client;
xGLXWaitXReq *req = (xGLXWaitXReq *) pc;
+
__GLX_DECLARE_SWAP_VARIABLES;
REQUEST_SIZE_MATCH(xGLXWaitXReq);
@@ -233,10 +253,12 @@ int __glXDispSwap_WaitX(__GLXclientState *cl, GLbyte *pc)
return __glXDisp_WaitX(cl, pc);
}
-int __glXDispSwap_CopyContext(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_CopyContext(__GLXclientState * cl, GLbyte * pc)
{
ClientPtr client = cl->client;
xGLXCopyContextReq *req = (xGLXCopyContextReq *) pc;
+
__GLX_DECLARE_SWAP_VARIABLES;
REQUEST_SIZE_MATCH(xGLXCopyContextReq);
@@ -249,10 +271,12 @@ int __glXDispSwap_CopyContext(__GLXclientState *cl, GLbyte *pc)
return __glXDisp_CopyContext(cl, pc);
}
-int __glXDispSwap_GetVisualConfigs(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_GetVisualConfigs(__GLXclientState * cl, GLbyte * pc)
{
ClientPtr client = cl->client;
xGLXGetVisualConfigsReq *req = (xGLXGetVisualConfigsReq *) pc;
+
__GLX_DECLARE_SWAP_VARIABLES;
REQUEST_SIZE_MATCH(xGLXGetVisualConfigsReq);
@@ -261,10 +285,12 @@ int __glXDispSwap_GetVisualConfigs(__GLXclientState *cl, GLbyte *pc)
return __glXDisp_GetVisualConfigs(cl, pc);
}
-int __glXDispSwap_GetFBConfigs(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_GetFBConfigs(__GLXclientState * cl, GLbyte * pc)
{
ClientPtr client = cl->client;
xGLXGetFBConfigsReq *req = (xGLXGetFBConfigsReq *) pc;
+
__GLX_DECLARE_SWAP_VARIABLES;
REQUEST_SIZE_MATCH(xGLXGetFBConfigsReq);
@@ -273,10 +299,12 @@ int __glXDispSwap_GetFBConfigs(__GLXclientState *cl, GLbyte *pc)
return __glXDisp_GetFBConfigs(cl, pc);
}
-int __glXDispSwap_GetFBConfigsSGIX(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_GetFBConfigsSGIX(__GLXclientState * cl, GLbyte * pc)
{
ClientPtr client = cl->client;
xGLXGetFBConfigsSGIXReq *req = (xGLXGetFBConfigsSGIXReq *) pc;
+
__GLX_DECLARE_SWAP_VARIABLES;
REQUEST_AT_LEAST_SIZE(xGLXGetFBConfigsSGIXReq);
@@ -285,10 +313,12 @@ int __glXDispSwap_GetFBConfigsSGIX(__GLXclientState *cl, GLbyte *pc)
return __glXDisp_GetFBConfigsSGIX(cl, pc);
}
-int __glXDispSwap_CreateGLXPixmap(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_CreateGLXPixmap(__GLXclientState * cl, GLbyte * pc)
{
ClientPtr client = cl->client;
xGLXCreateGLXPixmapReq *req = (xGLXCreateGLXPixmapReq *) pc;
+
__GLX_DECLARE_SWAP_VARIABLES;
REQUEST_SIZE_MATCH(xGLXCreateGLXPixmapReq);
@@ -302,11 +332,13 @@ int __glXDispSwap_CreateGLXPixmap(__GLXclientState *cl, GLbyte *pc)
return __glXDisp_CreateGLXPixmap(cl, pc);
}
-int __glXDispSwap_CreatePixmap(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_CreatePixmap(__GLXclientState * cl, GLbyte * pc)
{
ClientPtr client = cl->client;
xGLXCreatePixmapReq *req = (xGLXCreatePixmapReq *) pc;
CARD32 *attribs;
+
__GLX_DECLARE_SWAP_VARIABLES;
__GLX_DECLARE_SWAP_ARRAY_VARIABLES;
@@ -320,21 +352,22 @@ int __glXDispSwap_CreatePixmap(__GLXclientState *cl, GLbyte *pc)
__GLX_SWAP_INT(&req->numAttribs);
if (req->numAttribs > (UINT32_MAX >> 3)) {
- client->errorValue = req->numAttribs;
- return BadValue;
+ client->errorValue = req->numAttribs;
+ return BadValue;
}
REQUEST_FIXED_SIZE(xGLXCreatePixmapReq, req->numAttribs << 3);
- attribs = (CARD32*)(req + 1);
+ attribs = (CARD32 *) (req + 1);
__GLX_SWAP_INT_ARRAY(attribs, req->numAttribs << 1);
return __glXDisp_CreatePixmap(cl, pc);
}
-int __glXDispSwap_CreateGLXPixmapWithConfigSGIX(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_CreateGLXPixmapWithConfigSGIX(__GLXclientState * cl, GLbyte * pc)
{
ClientPtr client = cl->client;
- xGLXCreateGLXPixmapWithConfigSGIXReq *req =
- (xGLXCreateGLXPixmapWithConfigSGIXReq *) pc;
+ xGLXCreateGLXPixmapWithConfigSGIXReq *req =
+ (xGLXCreateGLXPixmapWithConfigSGIXReq *) pc;
__GLX_DECLARE_SWAP_VARIABLES;
REQUEST_SIZE_MATCH(xGLXCreateGLXPixmapWithConfigSGIXReq);
@@ -348,10 +381,12 @@ int __glXDispSwap_CreateGLXPixmapWithConfigSGIX(__GLXclientState *cl, GLbyte *pc
return __glXDisp_CreateGLXPixmapWithConfigSGIX(cl, pc);
}
-int __glXDispSwap_DestroyGLXPixmap(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_DestroyGLXPixmap(__GLXclientState * cl, GLbyte * pc)
{
ClientPtr client = cl->client;
xGLXDestroyGLXPixmapReq *req = (xGLXDestroyGLXPixmapReq *) pc;
+
__GLX_DECLARE_SWAP_VARIABLES;
REQUEST_SIZE_MATCH(xGLXDestroyGLXPixmapReq);
@@ -362,10 +397,12 @@ int __glXDispSwap_DestroyGLXPixmap(__GLXclientState *cl, GLbyte *pc)
return __glXDisp_DestroyGLXPixmap(cl, pc);
}
-int __glXDispSwap_DestroyPixmap(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_DestroyPixmap(__GLXclientState * cl, GLbyte * pc)
{
ClientPtr client = cl->client;
xGLXDestroyGLXPixmapReq *req = (xGLXDestroyGLXPixmapReq *) pc;
+
__GLX_DECLARE_SWAP_VARIABLES;
REQUEST_AT_LEAST_SIZE(xGLXDestroyGLXPixmapReq);
@@ -376,10 +413,12 @@ int __glXDispSwap_DestroyPixmap(__GLXclientState *cl, GLbyte *pc)
return __glXDisp_DestroyGLXPixmap(cl, pc);
}
-int __glXDispSwap_QueryContext(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_QueryContext(__GLXclientState * cl, GLbyte * pc)
{
ClientPtr client = cl->client;
- xGLXQueryContextReq *req = (xGLXQueryContextReq *) pc;
+ xGLXQueryContextReq *req = (xGLXQueryContextReq *) pc;
+
__GLX_DECLARE_SWAP_VARIABLES;
REQUEST_SIZE_MATCH(xGLXQueryContextReq);
@@ -389,10 +428,12 @@ int __glXDispSwap_QueryContext(__GLXclientState *cl, GLbyte *pc)
return __glXDisp_QueryContext(cl, pc);
}
-int __glXDispSwap_CreatePbuffer(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_CreatePbuffer(__GLXclientState * cl, GLbyte * pc)
{
ClientPtr client = cl->client;
- xGLXCreatePbufferReq *req = (xGLXCreatePbufferReq *) pc;
+ xGLXCreatePbufferReq *req = (xGLXCreatePbufferReq *) pc;
+
__GLX_DECLARE_SWAP_VARIABLES;
__GLX_DECLARE_SWAP_ARRAY_VARIABLES;
CARD32 *attribs;
@@ -405,20 +446,22 @@ int __glXDispSwap_CreatePbuffer(__GLXclientState *cl, GLbyte *pc)
__GLX_SWAP_INT(&req->numAttribs);
if (req->numAttribs > (UINT32_MAX >> 3)) {
- client->errorValue = req->numAttribs;
- return BadValue;
+ client->errorValue = req->numAttribs;
+ return BadValue;
}
REQUEST_FIXED_SIZE(xGLXCreatePbufferReq, req->numAttribs << 3);
- attribs = (CARD32*)(req + 1);
+ attribs = (CARD32 *) (req + 1);
__GLX_SWAP_INT_ARRAY(attribs, req->numAttribs << 1);
return __glXDisp_CreatePbuffer(cl, pc);
}
-int __glXDispSwap_CreateGLXPbufferSGIX(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_CreateGLXPbufferSGIX(__GLXclientState * cl, GLbyte * pc)
{
ClientPtr client = cl->client;
- xGLXCreateGLXPbufferSGIXReq *req = (xGLXCreateGLXPbufferSGIXReq *) pc;
+ xGLXCreateGLXPbufferSGIXReq *req = (xGLXCreateGLXPbufferSGIXReq *) pc;
+
__GLX_DECLARE_SWAP_VARIABLES;
REQUEST_AT_LEAST_SIZE(xGLXCreateGLXPbufferSGIXReq);
@@ -432,10 +475,12 @@ int __glXDispSwap_CreateGLXPbufferSGIX(__GLXclientState *cl, GLbyte *pc)
return __glXDisp_CreateGLXPbufferSGIX(cl, pc);
}
-int __glXDispSwap_DestroyPbuffer(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_DestroyPbuffer(__GLXclientState * cl, GLbyte * pc)
{
ClientPtr client = cl->client;
xGLXDestroyPbufferReq *req = (xGLXDestroyPbufferReq *) pc;
+
__GLX_DECLARE_SWAP_VARIABLES;
REQUEST_SIZE_MATCH(xGLXDestroyPbufferReq);
@@ -445,10 +490,12 @@ int __glXDispSwap_DestroyPbuffer(__GLXclientState *cl, GLbyte *pc)
return __glXDisp_DestroyPbuffer(cl, pc);
}
-int __glXDispSwap_DestroyGLXPbufferSGIX(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_DestroyGLXPbufferSGIX(__GLXclientState * cl, GLbyte * pc)
{
ClientPtr client = cl->client;
xGLXDestroyGLXPbufferSGIXReq *req = (xGLXDestroyGLXPbufferSGIXReq *) pc;
+
__GLX_DECLARE_SWAP_VARIABLES;
REQUEST_SIZE_MATCH(xGLXDestroyGLXPbufferSGIXReq);
@@ -458,11 +505,12 @@ int __glXDispSwap_DestroyGLXPbufferSGIX(__GLXclientState *cl, GLbyte *pc)
return __glXDisp_DestroyGLXPbufferSGIX(cl, pc);
}
-int __glXDispSwap_ChangeDrawableAttributes(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_ChangeDrawableAttributes(__GLXclientState * cl, GLbyte * pc)
{
ClientPtr client = cl->client;
xGLXChangeDrawableAttributesReq *req =
- (xGLXChangeDrawableAttributesReq *) pc;
+ (xGLXChangeDrawableAttributesReq *) pc;
__GLX_DECLARE_SWAP_VARIABLES;
__GLX_DECLARE_SWAP_ARRAY_VARIABLES;
CARD32 *attribs;
@@ -473,24 +521,25 @@ int __glXDispSwap_ChangeDrawableAttributes(__GLXclientState *cl, GLbyte *pc)
__GLX_SWAP_INT(&req->numAttribs);
if (req->numAttribs > (UINT32_MAX >> 3)) {
- client->errorValue = req->numAttribs;
- return BadValue;
+ client->errorValue = req->numAttribs;
+ return BadValue;
}
- if (((sizeof(xGLXChangeDrawableAttributesReq) + (req->numAttribs << 3)) >> 2) < client->req_len)
- return BadLength;
+ if (((sizeof(xGLXChangeDrawableAttributesReq) +
+ (req->numAttribs << 3)) >> 2) < client->req_len)
+ return BadLength;
- attribs = (CARD32*)(req + 1);
+ attribs = (CARD32 *) (req + 1);
__GLX_SWAP_INT_ARRAY(attribs, req->numAttribs << 1);
return __glXDisp_ChangeDrawableAttributes(cl, pc);
}
-int __glXDispSwap_ChangeDrawableAttributesSGIX(__GLXclientState *cl,
- GLbyte *pc)
+int
+__glXDispSwap_ChangeDrawableAttributesSGIX(__GLXclientState * cl, GLbyte * pc)
{
ClientPtr client = cl->client;
xGLXChangeDrawableAttributesSGIXReq *req =
- (xGLXChangeDrawableAttributesSGIXReq *) pc;
+ (xGLXChangeDrawableAttributesSGIXReq *) pc;
__GLX_DECLARE_SWAP_VARIABLES;
__GLX_DECLARE_SWAP_ARRAY_VARIABLES;
CARD32 *attribs;
@@ -501,20 +550,23 @@ int __glXDispSwap_ChangeDrawableAttributesSGIX(__GLXclientState *cl,
__GLX_SWAP_INT(&req->numAttribs);
if (req->numAttribs > (UINT32_MAX >> 3)) {
- client->errorValue = req->numAttribs;
- return BadValue;
+ client->errorValue = req->numAttribs;
+ return BadValue;
}
- REQUEST_FIXED_SIZE(xGLXChangeDrawableAttributesSGIXReq, req->numAttribs << 3);
- attribs = (CARD32*)(req + 1);
+ REQUEST_FIXED_SIZE(xGLXChangeDrawableAttributesSGIXReq,
+ req->numAttribs << 3);
+ attribs = (CARD32 *) (req + 1);
__GLX_SWAP_INT_ARRAY(attribs, req->numAttribs << 1);
return __glXDisp_ChangeDrawableAttributesSGIX(cl, pc);
}
-int __glXDispSwap_CreateWindow(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_CreateWindow(__GLXclientState * cl, GLbyte * pc)
{
ClientPtr client = cl->client;
xGLXCreateWindowReq *req = (xGLXCreateWindowReq *) pc;
+
__GLX_DECLARE_SWAP_VARIABLES;
__GLX_DECLARE_SWAP_ARRAY_VARIABLES;
CARD32 *attribs;
@@ -528,20 +580,22 @@ int __glXDispSwap_CreateWindow(__GLXclientState *cl, GLbyte *pc)
__GLX_SWAP_INT(&req->numAttribs);
if (req->numAttribs > (UINT32_MAX >> 3)) {
- client->errorValue = req->numAttribs;
- return BadValue;
+ client->errorValue = req->numAttribs;
+ return BadValue;
}
REQUEST_FIXED_SIZE(xGLXCreateWindowReq, req->numAttribs << 3);
- attribs = (CARD32*)(req + 1);
+ attribs = (CARD32 *) (req + 1);
__GLX_SWAP_INT_ARRAY(attribs, req->numAttribs << 1);
return __glXDisp_CreateWindow(cl, pc);
}
-int __glXDispSwap_DestroyWindow(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_DestroyWindow(__GLXclientState * cl, GLbyte * pc)
{
ClientPtr client = cl->client;
xGLXDestroyWindowReq *req = (xGLXDestroyWindowReq *) pc;
+
__GLX_DECLARE_SWAP_VARIABLES;
REQUEST_AT_LEAST_SIZE(xGLXDestroyWindowReq);
@@ -551,10 +605,12 @@ int __glXDispSwap_DestroyWindow(__GLXclientState *cl, GLbyte *pc)
return __glXDisp_DestroyWindow(cl, pc);
}
-int __glXDispSwap_SwapBuffers(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_SwapBuffers(__GLXclientState * cl, GLbyte * pc)
{
ClientPtr client = cl->client;
xGLXSwapBuffersReq *req = (xGLXSwapBuffersReq *) pc;
+
__GLX_DECLARE_SWAP_VARIABLES;
REQUEST_SIZE_MATCH(xGLXSwapBuffersReq);
@@ -566,10 +622,12 @@ int __glXDispSwap_SwapBuffers(__GLXclientState *cl, GLbyte *pc)
return __glXDisp_SwapBuffers(cl, pc);
}
-int __glXDispSwap_UseXFont(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_UseXFont(__GLXclientState * cl, GLbyte * pc)
{
ClientPtr client = cl->client;
xGLXUseXFontReq *req = (xGLXUseXFontReq *) pc;
+
__GLX_DECLARE_SWAP_VARIABLES;
REQUEST_SIZE_MATCH(xGLXUseXFontReq);
@@ -584,11 +642,12 @@ int __glXDispSwap_UseXFont(__GLXclientState *cl, GLbyte *pc)
return __glXDisp_UseXFont(cl, pc);
}
-
-int __glXDispSwap_QueryExtensionsString(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_QueryExtensionsString(__GLXclientState * cl, GLbyte * pc)
{
ClientPtr client = cl->client;
- xGLXQueryExtensionsStringReq *req = (xGLXQueryExtensionsStringReq *)pc;
+ xGLXQueryExtensionsStringReq *req = (xGLXQueryExtensionsStringReq *) pc;
+
__GLX_DECLARE_SWAP_VARIABLES;
REQUEST_SIZE_MATCH(xGLXQueryExtensionsStringReq);
@@ -599,10 +658,12 @@ int __glXDispSwap_QueryExtensionsString(__GLXclientState *cl, GLbyte *pc)
return __glXDisp_QueryExtensionsString(cl, pc);
}
-int __glXDispSwap_QueryServerString(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_QueryServerString(__GLXclientState * cl, GLbyte * pc)
{
ClientPtr client = cl->client;
- xGLXQueryServerStringReq *req = (xGLXQueryServerStringReq *)pc;
+ xGLXQueryServerStringReq *req = (xGLXQueryServerStringReq *) pc;
+
__GLX_DECLARE_SWAP_VARIABLES;
REQUEST_SIZE_MATCH(xGLXQueryServerStringReq);
@@ -614,10 +675,12 @@ int __glXDispSwap_QueryServerString(__GLXclientState *cl, GLbyte *pc)
return __glXDisp_QueryServerString(cl, pc);
}
-int __glXDispSwap_ClientInfo(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_ClientInfo(__GLXclientState * cl, GLbyte * pc)
{
ClientPtr client = cl->client;
- xGLXClientInfoReq *req = (xGLXClientInfoReq *)pc;
+ xGLXClientInfoReq *req = (xGLXClientInfoReq *) pc;
+
__GLX_DECLARE_SWAP_VARIABLES;
REQUEST_AT_LEAST_SIZE(xGLXClientInfoReq);
@@ -630,10 +693,12 @@ int __glXDispSwap_ClientInfo(__GLXclientState *cl, GLbyte *pc)
return __glXDisp_ClientInfo(cl, pc);
}
-int __glXDispSwap_QueryContextInfoEXT(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_QueryContextInfoEXT(__GLXclientState * cl, GLbyte * pc)
{
ClientPtr client = cl->client;
xGLXQueryContextInfoEXTReq *req = (xGLXQueryContextInfoEXTReq *) pc;
+
__GLX_DECLARE_SWAP_VARIABLES;
REQUEST_SIZE_MATCH(xGLXQueryContextInfoEXTReq);
@@ -644,39 +709,43 @@ int __glXDispSwap_QueryContextInfoEXT(__GLXclientState *cl, GLbyte *pc)
return __glXDisp_QueryContextInfoEXT(cl, pc);
}
-int __glXDispSwap_BindTexImageEXT(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_BindTexImageEXT(__GLXclientState * cl, GLbyte * pc)
{
ClientPtr client = cl->client;
xGLXVendorPrivateReq *req = (xGLXVendorPrivateReq *) pc;
- GLXDrawable *drawId;
- int *buffer;
- CARD32 *num_attribs;
+ GLXDrawable *drawId;
+ int *buffer;
+ CARD32 *num_attribs;
+
__GLX_DECLARE_SWAP_VARIABLES;
if ((sizeof(xGLXVendorPrivateReq) + 12) >> 2 > client->req_len)
- return BadLength;
+ return BadLength;
pc += __GLX_VENDPRIV_HDR_SIZE;
drawId = ((GLXDrawable *) (pc));
- buffer = ((int *) (pc + 4));
+ buffer = ((int *) (pc + 4));
num_attribs = ((CARD32 *) (pc + 8));
-
+
__GLX_SWAP_SHORT(&req->length);
__GLX_SWAP_INT(&req->contextTag);
__GLX_SWAP_INT(drawId);
__GLX_SWAP_INT(buffer);
__GLX_SWAP_INT(num_attribs);
- return __glXDisp_BindTexImageEXT(cl, (GLbyte *)pc);
+ return __glXDisp_BindTexImageEXT(cl, (GLbyte *) pc);
}
-int __glXDispSwap_ReleaseTexImageEXT(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_ReleaseTexImageEXT(__GLXclientState * cl, GLbyte * pc)
{
ClientPtr client = cl->client;
xGLXVendorPrivateReq *req = (xGLXVendorPrivateReq *) pc;
- GLXDrawable *drawId;
- int *buffer;
+ GLXDrawable *drawId;
+ int *buffer;
+
__GLX_DECLARE_SWAP_VARIABLES;
REQUEST_FIXED_SIZE(xGLXVendorPrivateReq, 8);
@@ -684,22 +753,24 @@ int __glXDispSwap_ReleaseTexImageEXT(__GLXclientState *cl, GLbyte *pc)
pc += __GLX_VENDPRIV_HDR_SIZE;
drawId = ((GLXDrawable *) (pc));
- buffer = ((int *) (pc + 4));
-
+ buffer = ((int *) (pc + 4));
+
__GLX_SWAP_SHORT(&req->length);
__GLX_SWAP_INT(&req->contextTag);
__GLX_SWAP_INT(drawId);
__GLX_SWAP_INT(buffer);
- return __glXDisp_ReleaseTexImageEXT(cl, (GLbyte *)pc);
+ return __glXDisp_ReleaseTexImageEXT(cl, (GLbyte *) pc);
}
-int __glXDispSwap_CopySubBufferMESA(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_CopySubBufferMESA(__GLXclientState * cl, GLbyte * pc)
{
ClientPtr client = cl->client;
xGLXVendorPrivateReq *req = (xGLXVendorPrivateReq *) pc;
- GLXDrawable *drawId;
- int *buffer;
+ GLXDrawable *drawId;
+ int *buffer;
+
__GLX_DECLARE_SWAP_VARIABLES;
REQUEST_FIXED_SIZE(xGLXVendorPrivateReq, 20);
@@ -721,11 +792,13 @@ int __glXDispSwap_CopySubBufferMESA(__GLXclientState *cl, GLbyte *pc)
}
-int __glXDispSwap_GetDrawableAttributesSGIX(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_GetDrawableAttributesSGIX(__GLXclientState * cl, GLbyte * pc)
{
ClientPtr client = cl->client;
- xGLXVendorPrivateWithReplyReq *req = (xGLXVendorPrivateWithReplyReq *)pc;
+ xGLXVendorPrivateWithReplyReq *req = (xGLXVendorPrivateWithReplyReq *) pc;
CARD32 *data;
+
__GLX_DECLARE_SWAP_VARIABLES;
REQUEST_SIZE_MATCH(xGLXGetDrawableAttributesSGIXReq);
@@ -738,10 +811,12 @@ int __glXDispSwap_GetDrawableAttributesSGIX(__GLXclientState *cl, GLbyte *pc)
return __glXDisp_GetDrawableAttributesSGIX(cl, pc);
}
-int __glXDispSwap_GetDrawableAttributes(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_GetDrawableAttributes(__GLXclientState * cl, GLbyte * pc)
{
ClientPtr client = cl->client;
- xGLXGetDrawableAttributesReq *req = (xGLXGetDrawableAttributesReq *)pc;
+ xGLXGetDrawableAttributesReq *req = (xGLXGetDrawableAttributesReq *) pc;
+
__GLX_DECLARE_SWAP_VARIABLES;
REQUEST_AT_LEAST_SIZE(xGLXGetDrawableAttributesReq);
@@ -752,93 +827,107 @@ int __glXDispSwap_GetDrawableAttributes(__GLXclientState *cl, GLbyte *pc)
return __glXDisp_GetDrawableAttributes(cl, pc);
}
-
/************************************************************************/
/*
** Swap replies.
*/
-void __glXSwapMakeCurrentReply(ClientPtr client, xGLXMakeCurrentReply *reply)
+void
+__glXSwapMakeCurrentReply(ClientPtr client, xGLXMakeCurrentReply * reply)
{
__GLX_DECLARE_SWAP_VARIABLES;
__GLX_SWAP_SHORT(&reply->sequenceNumber);
__GLX_SWAP_INT(&reply->length);
__GLX_SWAP_INT(&reply->contextTag);
- WriteToClient(client, sz_xGLXMakeCurrentReply, (char *)reply);
+ WriteToClient(client, sz_xGLXMakeCurrentReply, (char *) reply);
}
-void __glXSwapIsDirectReply(ClientPtr client, xGLXIsDirectReply *reply)
+void
+__glXSwapIsDirectReply(ClientPtr client, xGLXIsDirectReply * reply)
{
__GLX_DECLARE_SWAP_VARIABLES;
__GLX_SWAP_SHORT(&reply->sequenceNumber);
__GLX_SWAP_INT(&reply->length);
- WriteToClient(client, sz_xGLXIsDirectReply, (char *)reply);
+ WriteToClient(client, sz_xGLXIsDirectReply, (char *) reply);
}
-void __glXSwapQueryVersionReply(ClientPtr client, xGLXQueryVersionReply *reply)
+void
+__glXSwapQueryVersionReply(ClientPtr client, xGLXQueryVersionReply * reply)
{
__GLX_DECLARE_SWAP_VARIABLES;
__GLX_SWAP_SHORT(&reply->sequenceNumber);
__GLX_SWAP_INT(&reply->length);
__GLX_SWAP_INT(&reply->majorVersion);
__GLX_SWAP_INT(&reply->minorVersion);
- WriteToClient(client, sz_xGLXQueryVersionReply, (char *)reply);
+ WriteToClient(client, sz_xGLXQueryVersionReply, (char *) reply);
}
-void glxSwapQueryExtensionsStringReply(ClientPtr client,
- xGLXQueryExtensionsStringReply *reply, char *buf)
+void
+glxSwapQueryExtensionsStringReply(ClientPtr client,
+ xGLXQueryExtensionsStringReply * reply,
+ char *buf)
{
int length = reply->length;
+
__GLX_DECLARE_SWAP_VARIABLES;
__GLX_DECLARE_SWAP_ARRAY_VARIABLES;
__GLX_SWAP_SHORT(&reply->sequenceNumber);
__GLX_SWAP_INT(&reply->length);
__GLX_SWAP_INT(&reply->n);
- WriteToClient(client, sz_xGLXQueryExtensionsStringReply, (char *)reply);
- __GLX_SWAP_INT_ARRAY((int *)buf, length);
+ WriteToClient(client, sz_xGLXQueryExtensionsStringReply, (char *) reply);
+ __GLX_SWAP_INT_ARRAY((int *) buf, length);
WriteToClient(client, length << 2, buf);
}
-void glxSwapQueryServerStringReply(ClientPtr client,
- xGLXQueryServerStringReply *reply, char *buf)
+void
+glxSwapQueryServerStringReply(ClientPtr client,
+ xGLXQueryServerStringReply * reply, char *buf)
{
int length = reply->length;
+
__GLX_DECLARE_SWAP_VARIABLES;
__GLX_SWAP_SHORT(&reply->sequenceNumber);
__GLX_SWAP_INT(&reply->length);
__GLX_SWAP_INT(&reply->n);
- WriteToClient(client, sz_xGLXQueryServerStringReply, (char *)reply);
+ WriteToClient(client, sz_xGLXQueryServerStringReply, (char *) reply);
/** no swap is needed for an array of chars **/
/* __GLX_SWAP_INT_ARRAY((int *)buf, length); */
WriteToClient(client, length << 2, buf);
}
-void __glXSwapQueryContextInfoEXTReply(ClientPtr client, xGLXQueryContextInfoEXTReply *reply, int *buf)
+void
+__glXSwapQueryContextInfoEXTReply(ClientPtr client,
+ xGLXQueryContextInfoEXTReply * reply,
+ int *buf)
{
int length = reply->length;
+
__GLX_DECLARE_SWAP_VARIABLES;
__GLX_DECLARE_SWAP_ARRAY_VARIABLES;
__GLX_SWAP_SHORT(&reply->sequenceNumber);
__GLX_SWAP_INT(&reply->length);
__GLX_SWAP_INT(&reply->n);
- WriteToClient(client, sz_xGLXQueryContextInfoEXTReply, (char *)reply);
- __GLX_SWAP_INT_ARRAY((int *)buf, length);
- WriteToClient(client, length << 2, (char *)buf);
+ WriteToClient(client, sz_xGLXQueryContextInfoEXTReply, (char *) reply);
+ __GLX_SWAP_INT_ARRAY((int *) buf, length);
+ WriteToClient(client, length << 2, (char *) buf);
}
-void __glXSwapGetDrawableAttributesReply(ClientPtr client,
- xGLXGetDrawableAttributesReply *reply, CARD32 *buf)
+void
+__glXSwapGetDrawableAttributesReply(ClientPtr client,
+ xGLXGetDrawableAttributesReply * reply,
+ CARD32 *buf)
{
int length = reply->length;
+
__GLX_DECLARE_SWAP_VARIABLES;
__GLX_DECLARE_SWAP_ARRAY_VARIABLES;
__GLX_SWAP_SHORT(&reply->sequenceNumber);
__GLX_SWAP_INT(&reply->length);
__GLX_SWAP_INT(&reply->numAttribs);
- WriteToClient(client, sz_xGLXGetDrawableAttributesReply, (char *)reply);
- __GLX_SWAP_INT_ARRAY((int *)buf, length);
- WriteToClient(client, length << 2, (char *)buf);
+ WriteToClient(client, sz_xGLXGetDrawableAttributesReply, (char *) reply);
+ __GLX_SWAP_INT_ARRAY((int *) buf, length);
+ WriteToClient(client, length << 2, (char *) buf);
}
/************************************************************************/
@@ -848,7 +937,8 @@ void __glXSwapGetDrawableAttributesReply(ClientPtr client,
** client library to send batches of GL rendering commands.
*/
-int __glXDispSwap_Render(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_Render(__GLXclientState * cl, GLbyte * pc)
{
return __glXDisp_Render(cl, pc);
}
@@ -856,7 +946,8 @@ int __glXDispSwap_Render(__GLXclientState *cl, GLbyte *pc)
/*
** Execute a large rendering request (one that spans multiple X requests).
*/
-int __glXDispSwap_RenderLarge(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_RenderLarge(__GLXclientState * cl, GLbyte * pc)
{
return __glXDisp_RenderLarge(cl, pc);
}
@@ -868,7 +959,8 @@ int __glXDispSwap_RenderLarge(__GLXclientState *cl, GLbyte *pc)
** allocating these entry points in the dispatch table.
*/
-int __glXDispSwap_VendorPrivate(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_VendorPrivate(__GLXclientState * cl, GLbyte * pc)
{
xGLXVendorPrivateReq *req;
GLint vendorcode;
@@ -883,19 +975,19 @@ int __glXDispSwap_VendorPrivate(__GLXclientState *cl, GLbyte *pc)
vendorcode = req->vendorCode;
proc = (__GLXdispatchVendorPrivProcPtr)
- __glXGetProtocolDecodeFunction(& VendorPriv_dispatch_info,
- vendorcode, 1);
+ __glXGetProtocolDecodeFunction(&VendorPriv_dispatch_info,
+ vendorcode, 1);
if (proc != NULL) {
- (*proc)(cl, (GLbyte*)req);
- return Success;
+ (*proc) (cl, (GLbyte *) req);
+ return Success;
}
cl->client->errorValue = req->vendorCode;
return __glXError(GLXUnsupportedPrivateRequest);
}
-
-int __glXDispSwap_VendorPrivateWithReply(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_VendorPrivateWithReply(__GLXclientState * cl, GLbyte * pc)
{
xGLXVendorPrivateWithReplyReq *req;
GLint vendorcode;
@@ -910,10 +1002,10 @@ int __glXDispSwap_VendorPrivateWithReply(__GLXclientState *cl, GLbyte *pc)
vendorcode = req->vendorCode;
proc = (__GLXdispatchVendorPrivProcPtr)
- __glXGetProtocolDecodeFunction(& VendorPriv_dispatch_info,
- vendorcode, 1);
+ __glXGetProtocolDecodeFunction(&VendorPriv_dispatch_info,
+ vendorcode, 1);
if (proc != NULL) {
- return (*proc)(cl, (GLbyte*)req);
+ return (*proc) (cl, (GLbyte *) req);
}
cl->client->errorValue = req->vendorCode;
diff --git a/glx/glxcontext.h b/glx/glxcontext.h
index 65d51f507..ef2c4dbd5 100644
--- a/glx/glxcontext.h
+++ b/glx/glxcontext.h
@@ -37,95 +37,88 @@
typedef struct __GLXtextureFromPixmap __GLXtextureFromPixmap;
struct __GLXtextureFromPixmap {
- int (*bindTexImage) (__GLXcontext *baseContext,
- int buffer,
- __GLXdrawable *pixmap);
- int (*releaseTexImage) (__GLXcontext *baseContext,
- int buffer,
- __GLXdrawable *pixmap);
+ int (*bindTexImage) (__GLXcontext * baseContext,
+ int buffer, __GLXdrawable * pixmap);
+ int (*releaseTexImage) (__GLXcontext * baseContext,
+ int buffer, __GLXdrawable * pixmap);
};
-
struct __GLXcontext {
- void (*destroy) (__GLXcontext *context);
- int (*makeCurrent) (__GLXcontext *context);
- int (*loseCurrent) (__GLXcontext *context);
- int (*copy) (__GLXcontext *dst,
- __GLXcontext *src,
- unsigned long mask);
- Bool (*wait) (__GLXcontext *context,
- __GLXclientState *cl,
- int *error);
+ void (*destroy) (__GLXcontext * context);
+ int (*makeCurrent) (__GLXcontext * context);
+ int (*loseCurrent) (__GLXcontext * context);
+ int (*copy) (__GLXcontext * dst, __GLXcontext * src, unsigned long mask);
+ Bool (*wait) (__GLXcontext * context, __GLXclientState * cl, int *error);
__GLXtextureFromPixmap *textureFromPixmap;
/*
- ** list of context structs
- */
+ ** list of context structs
+ */
__GLXcontext *last;
__GLXcontext *next;
/*
- ** config struct for this context
- */
+ ** config struct for this context
+ */
__GLXconfig *config;
/*
- ** Pointer to screen info data for this context. This is set
- ** when the context is created.
- */
+ ** Pointer to screen info data for this context. This is set
+ ** when the context is created.
+ */
__GLXscreen *pGlxScreen;
/*
- ** The XID of this context.
- */
+ ** The XID of this context.
+ */
XID id;
/*
- ** The XID of the shareList context.
- */
+ ** The XID of the shareList context.
+ */
XID share_id;
/*
- ** Whether this context's ID still exists.
- */
+ ** Whether this context's ID still exists.
+ */
GLboolean idExists;
-
+
/*
- ** Whether this context is current for some client.
- */
+ ** Whether this context is current for some client.
+ */
GLboolean isCurrent;
-
+
/*
- ** Whether this context is a direct rendering context.
- */
+ ** Whether this context is a direct rendering context.
+ */
GLboolean isDirect;
/*
- ** This flag keeps track of whether there are unflushed GL commands.
- */
+ ** This flag keeps track of whether there are unflushed GL commands.
+ */
GLboolean hasUnflushedCommands;
-
+
/*
- ** Current rendering mode for this context.
- */
+ ** Current rendering mode for this context.
+ */
GLenum renderMode;
-
+
/*
- ** Buffers for feedback and selection.
- */
+ ** Buffers for feedback and selection.
+ */
GLfloat *feedbackBuf;
- GLint feedbackBufSize; /* number of elements allocated */
+ GLint feedbackBufSize; /* number of elements allocated */
GLuint *selectBuf;
- GLint selectBufSize; /* number of elements allocated */
+ GLint selectBufSize; /* number of elements allocated */
/*
- ** The drawable private this context is bound to
- */
+ ** The drawable private this context is bound to
+ */
__GLXdrawable *drawPriv;
__GLXdrawable *readPriv;
};
-void __glXContextDestroy(__GLXcontext *context);
+void __glXContextDestroy(__GLXcontext * context);
-#endif /* !__GLX_context_h__ */
+#endif /* !__GLX_context_h__ */
diff --git a/glx/glxdrawable.h b/glx/glxdrawable.h
index 2a365c505..007658961 100644
--- a/glx/glxdrawable.h
+++ b/glx/glxdrawable.h
@@ -44,34 +44,34 @@ enum {
};
struct __GLXdrawable {
- void (*destroy)(__GLXdrawable *private);
- GLboolean (*swapBuffers)(ClientPtr client, __GLXdrawable *);
- void (*copySubBuffer)(__GLXdrawable *drawable,
- int x, int y, int w, int h);
- void (*waitX)(__GLXdrawable *);
- void (*waitGL)(__GLXdrawable *);
+ void (*destroy) (__GLXdrawable * private);
+ GLboolean(*swapBuffers) (ClientPtr client, __GLXdrawable *);
+ void (*copySubBuffer) (__GLXdrawable * drawable,
+ int x, int y, int w, int h);
+ void (*waitX) (__GLXdrawable *);
+ void (*waitGL) (__GLXdrawable *);
DrawablePtr pDraw;
XID drawId;
/*
- ** Either GLX_DRAWABLE_PIXMAP, GLX_DRAWABLE_WINDOW or
- ** GLX_DRAWABLE_PBUFFER.
- */
+ ** Either GLX_DRAWABLE_PIXMAP, GLX_DRAWABLE_WINDOW or
+ ** GLX_DRAWABLE_PBUFFER.
+ */
int type;
/*
- ** Configuration of the visual to which this drawable was created.
- */
+ ** Configuration of the visual to which this drawable was created.
+ */
__GLXconfig *config;
GLenum target;
GLenum format;
/*
- ** Event mask
- */
+ ** Event mask
+ */
unsigned long eventMask;
};
-#endif /* !__GLX_drawable_h__ */
+#endif /* !__GLX_drawable_h__ */
diff --git a/glx/glxdri.c b/glx/glxdri.c
index 326f53915..9b8b66f0c 100644
--- a/glx/glxdri.c
+++ b/glx/glxdri.c
@@ -62,17 +62,17 @@
#include "dispatch.h"
#include "extension_string.h"
-typedef struct __GLXDRIscreen __GLXDRIscreen;
-typedef struct __GLXDRIcontext __GLXDRIcontext;
+typedef struct __GLXDRIscreen __GLXDRIscreen;
+typedef struct __GLXDRIcontext __GLXDRIcontext;
typedef struct __GLXDRIdrawable __GLXDRIdrawable;
struct __GLXDRIscreen {
- __GLXscreen base;
- __DRIscreen *driScreen;
- void *driver;
+ __GLXscreen base;
+ __DRIscreen *driScreen;
+ void *driver;
- xf86EnterVTProc *enterVT;
- xf86LeaveVTProc *leaveVT;
+ xf86EnterVTProc *enterVT;
+ xf86LeaveVTProc *leaveVT;
const __DRIcoreExtension *core;
const __DRIlegacyExtension *legacy;
@@ -116,128 +116,127 @@ __glXDRIleaveServer(GLboolean rendering)
int i;
for (i = 0; rendering && i < screenInfo.numScreens; i++) {
- __GLXDRIscreen * const screen =
- (__GLXDRIscreen *) glxGetScreen(screenInfo.screens[i]);
- GLuint lastOverride = screen->lastTexOffsetOverride;
-
- if (lastOverride) {
- __GLXDRIdrawable **texOffsetOverride = screen->texOffsetOverride;
- int j;
-
- for (j = 0; j < lastOverride; j++) {
- __GLXDRIdrawable *pGlxPix = texOffsetOverride[j];
-
- if (pGlxPix && pGlxPix->texname) {
- pGlxPix->offset =
- screen->texOffsetStart((PixmapPtr)pGlxPix->base.pDraw);
- }
- }
- }
+ __GLXDRIscreen *const screen =
+ (__GLXDRIscreen *) glxGetScreen(screenInfo.screens[i]);
+ GLuint lastOverride = screen->lastTexOffsetOverride;
+
+ if (lastOverride) {
+ __GLXDRIdrawable **texOffsetOverride = screen->texOffsetOverride;
+ int j;
+
+ for (j = 0; j < lastOverride; j++) {
+ __GLXDRIdrawable *pGlxPix = texOffsetOverride[j];
+
+ if (pGlxPix && pGlxPix->texname) {
+ pGlxPix->offset =
+ screen->texOffsetStart((PixmapPtr) pGlxPix->base.pDraw);
+ }
+ }
+ }
}
DRIBlockHandler(NULL, NULL, NULL);
for (i = 0; rendering && i < screenInfo.numScreens; i++) {
- __GLXDRIscreen * const screen =
- (__GLXDRIscreen *) glxGetScreen(screenInfo.screens[i]);
- GLuint lastOverride = screen->lastTexOffsetOverride;
-
- if (lastOverride) {
- __GLXDRIdrawable **texOffsetOverride = screen->texOffsetOverride;
- int j;
-
- for (j = 0; j < lastOverride; j++) {
- __GLXDRIdrawable *pGlxPix = texOffsetOverride[j];
-
- if (pGlxPix && pGlxPix->texname) {
- screen->texOffset->setTexOffset(pGlxPix->ctx->driContext,
- pGlxPix->texname,
- pGlxPix->offset,
- pGlxPix->base.pDraw->depth,
- ((PixmapPtr)pGlxPix->base.pDraw)->devKind);
- }
- }
- }
+ __GLXDRIscreen *const screen =
+ (__GLXDRIscreen *) glxGetScreen(screenInfo.screens[i]);
+ GLuint lastOverride = screen->lastTexOffsetOverride;
+
+ if (lastOverride) {
+ __GLXDRIdrawable **texOffsetOverride = screen->texOffsetOverride;
+ int j;
+
+ for (j = 0; j < lastOverride; j++) {
+ __GLXDRIdrawable *pGlxPix = texOffsetOverride[j];
+
+ if (pGlxPix && pGlxPix->texname) {
+ screen->texOffset->setTexOffset(pGlxPix->ctx->driContext,
+ pGlxPix->texname,
+ pGlxPix->offset,
+ pGlxPix->base.pDraw->depth,
+ ((PixmapPtr) pGlxPix->base.
+ pDraw)->devKind);
+ }
+ }
+ }
}
}
-
+
static void
__glXDRIenterServer(GLboolean rendering)
{
int i;
for (i = 0; rendering && i < screenInfo.numScreens; i++) {
- __GLXDRIscreen * const screen = (__GLXDRIscreen *)
- glxGetScreen(screenInfo.screens[i]);
+ __GLXDRIscreen *const screen = (__GLXDRIscreen *)
+ glxGetScreen(screenInfo.screens[i]);
- if (screen->lastTexOffsetOverride) {
- CALL_Flush(GET_DISPATCH(), ());
- break;
- }
+ if (screen->lastTexOffsetOverride) {
+ CALL_Flush(GET_DISPATCH(), ());
+ break;
+ }
}
DRIWakeupHandler(NULL, 0, NULL);
}
-
static void
-__glXDRIdoReleaseTexImage(__GLXDRIscreen *screen, __GLXDRIdrawable *drawable)
+__glXDRIdoReleaseTexImage(__GLXDRIscreen * screen, __GLXDRIdrawable * drawable)
{
GLuint lastOverride = screen->lastTexOffsetOverride;
if (lastOverride) {
- __GLXDRIdrawable **texOffsetOverride = screen->texOffsetOverride;
- int i;
+ __GLXDRIdrawable **texOffsetOverride = screen->texOffsetOverride;
+ int i;
- for (i = 0; i < lastOverride; i++) {
- if (texOffsetOverride[i] == drawable) {
- if (screen->texOffsetFinish)
- screen->texOffsetFinish((PixmapPtr)drawable->base.pDraw);
+ for (i = 0; i < lastOverride; i++) {
+ if (texOffsetOverride[i] == drawable) {
+ if (screen->texOffsetFinish)
+ screen->texOffsetFinish((PixmapPtr) drawable->base.pDraw);
- texOffsetOverride[i] = NULL;
+ texOffsetOverride[i] = NULL;
- if (i + 1 == lastOverride) {
- lastOverride = 0;
+ if (i + 1 == lastOverride) {
+ lastOverride = 0;
- while (i--) {
- if (texOffsetOverride[i]) {
- lastOverride = i + 1;
- break;
- }
- }
+ while (i--) {
+ if (texOffsetOverride[i]) {
+ lastOverride = i + 1;
+ break;
+ }
+ }
- screen->lastTexOffsetOverride = lastOverride;
+ screen->lastTexOffsetOverride = lastOverride;
- break;
- }
- }
- }
+ break;
+ }
+ }
+ }
}
}
-
static void
-__glXDRIdrawableDestroy(__GLXdrawable *drawable)
+__glXDRIdrawableDestroy(__GLXdrawable * drawable)
{
__GLXDRIdrawable *private = (__GLXDRIdrawable *) drawable;
__GLXDRIscreen *screen;
int i;
for (i = 0; i < screenInfo.numScreens; i++) {
- screen = (__GLXDRIscreen *) glxGetScreen(screenInfo.screens[i]);
- __glXDRIdoReleaseTexImage(screen, private);
+ screen = (__GLXDRIscreen *) glxGetScreen(screenInfo.screens[i]);
+ __glXDRIdoReleaseTexImage(screen, private);
}
/* If the X window was destroyed, the dri DestroyWindow hook will
* aready have taken care of this, so only call if pDraw isn't NULL. */
if (drawable->pDraw != NULL) {
- screen = (__GLXDRIscreen *) glxGetScreen(drawable->pDraw->pScreen);
- (*screen->core->destroyDrawable)(private->driDrawable);
+ screen = (__GLXDRIscreen *) glxGetScreen(drawable->pDraw->pScreen);
+ (*screen->core->destroyDrawable) (private->driDrawable);
- __glXenterServer(GL_FALSE);
- DRIDestroyDrawable(drawable->pDraw->pScreen,
- serverClient, drawable->pDraw);
- __glXleaveServer(GL_FALSE);
+ __glXenterServer(GL_FALSE);
+ DRIDestroyDrawable(drawable->pDraw->pScreen,
+ serverClient, drawable->pDraw);
+ __glXleaveServer(GL_FALSE);
}
__glXDrawableRelease(drawable);
@@ -246,46 +245,44 @@ __glXDRIdrawableDestroy(__GLXdrawable *drawable)
}
static GLboolean
-__glXDRIdrawableSwapBuffers(ClientPtr client, __GLXdrawable *basePrivate)
+__glXDRIdrawableSwapBuffers(ClientPtr client, __GLXdrawable * basePrivate)
{
__GLXDRIdrawable *private = (__GLXDRIdrawable *) basePrivate;
__GLXDRIscreen *screen =
- (__GLXDRIscreen *) glxGetScreen(basePrivate->pDraw->pScreen);
+ (__GLXDRIscreen *) glxGetScreen(basePrivate->pDraw->pScreen);
- (*screen->core->swapBuffers)(private->driDrawable);
+ (*screen->core->swapBuffers) (private->driDrawable);
return TRUE;
}
-
static int
-__glXDRIdrawableSwapInterval(__GLXdrawable *baseDrawable, int interval)
+__glXDRIdrawableSwapInterval(__GLXdrawable * baseDrawable, int interval)
{
__GLXDRIdrawable *draw = (__GLXDRIdrawable *) baseDrawable;
__GLXDRIscreen *screen =
- (__GLXDRIscreen *) glxGetScreen(baseDrawable->pDraw->pScreen);
+ (__GLXDRIscreen *) glxGetScreen(baseDrawable->pDraw->pScreen);
if (screen->swapControl)
- screen->swapControl->setSwapInterval(draw->driDrawable, interval);
+ screen->swapControl->setSwapInterval(draw->driDrawable, interval);
return 0;
}
-
static void
-__glXDRIdrawableCopySubBuffer(__GLXdrawable *basePrivate,
- int x, int y, int w, int h)
+__glXDRIdrawableCopySubBuffer(__GLXdrawable * basePrivate,
+ int x, int y, int w, int h)
{
__GLXDRIdrawable *private = (__GLXDRIdrawable *) basePrivate;
__GLXDRIscreen *screen = (__GLXDRIscreen *)
- glxGetScreen(basePrivate->pDraw->pScreen);
+ glxGetScreen(basePrivate->pDraw->pScreen);
if (screen->copySubBuffer)
- screen->copySubBuffer->copySubBuffer(private->driDrawable, x, y, w, h);
+ screen->copySubBuffer->copySubBuffer(private->driDrawable, x, y, w, h);
}
static void
-__glXDRIcontextDestroy(__GLXcontext *baseContext)
+__glXDRIcontextDestroy(__GLXcontext * baseContext)
{
__GLXDRIcontext *context = (__GLXDRIcontext *) baseContext;
__GLXDRIscreen *screen = (__GLXDRIscreen *) context->base.pGlxScreen;
@@ -295,7 +292,7 @@ __glXDRIcontextDestroy(__GLXcontext *baseContext)
__glXenterServer(GL_FALSE);
retval = DRIDestroyContext(baseContext->pGlxScreen->pScreen,
- context->hwContextID);
+ context->hwContextID);
__glXleaveServer(GL_FALSE);
__glXContextDestroy(&context->base);
@@ -303,54 +300,52 @@ __glXDRIcontextDestroy(__GLXcontext *baseContext)
}
static int
-__glXDRIcontextMakeCurrent(__GLXcontext *baseContext)
+__glXDRIcontextMakeCurrent(__GLXcontext * baseContext)
{
__GLXDRIcontext *context = (__GLXDRIcontext *) baseContext;
__GLXDRIscreen *screen = (__GLXDRIscreen *) context->base.pGlxScreen;
__GLXDRIdrawable *draw = (__GLXDRIdrawable *) baseContext->drawPriv;
__GLXDRIdrawable *read = (__GLXDRIdrawable *) baseContext->readPriv;
- return (*screen->core->bindContext)(context->driContext,
- draw->driDrawable,
- read->driDrawable);
-}
+ return (*screen->core->bindContext) (context->driContext,
+ draw->driDrawable, read->driDrawable);
+}
static int
-__glXDRIcontextLoseCurrent(__GLXcontext *baseContext)
+__glXDRIcontextLoseCurrent(__GLXcontext * baseContext)
{
__GLXDRIcontext *context = (__GLXDRIcontext *) baseContext;
__GLXDRIscreen *screen = (__GLXDRIscreen *) context->base.pGlxScreen;
- return (*screen->core->unbindContext)(context->driContext);
+ return (*screen->core->unbindContext) (context->driContext);
}
static int
-__glXDRIcontextCopy(__GLXcontext *baseDst, __GLXcontext *baseSrc,
- unsigned long mask)
+__glXDRIcontextCopy(__GLXcontext * baseDst, __GLXcontext * baseSrc,
+ unsigned long mask)
{
__GLXDRIcontext *dst = (__GLXDRIcontext *) baseDst;
__GLXDRIcontext *src = (__GLXDRIcontext *) baseSrc;
__GLXDRIscreen *screen = (__GLXDRIscreen *) dst->base.pGlxScreen;
- return (*screen->core->copyContext)(dst->driContext,
- src->driContext, mask);
+ return (*screen->core->copyContext) (dst->driContext,
+ src->driContext, mask);
}
static void
-glxFillAlphaChannel (CARD32 *pixels, CARD32 rowstride, int width, int height)
+glxFillAlphaChannel(CARD32 *pixels, CARD32 rowstride, int width, int height)
{
int i;
CARD32 *p, *end;
rowstride /= 4;
-
- for (i = 0; i < height; i++)
- {
- p = pixels;
- end = p + width;
- while (p < end)
- *p++ |= 0xFF000000;
- pixels += rowstride;
+
+ for (i = 0; i < height; i++) {
+ p = pixels;
+ end = p + width;
+ while (p < end)
+ *p++ |= 0xFF000000;
+ pixels += rowstride;
}
}
@@ -360,7 +355,7 @@ testTexOffset(__GLXDRIscreen * const screen, PixmapPtr pPixmap)
Bool ret;
if (!screen->texOffsetStart || !screen->texOffset)
- return FALSE;
+ return FALSE;
__glXenterServer(GL_FALSE);
ret = screen->texOffsetStart(pPixmap) != ~0ULL;
@@ -382,195 +377,191 @@ testTexOffset(__GLXDRIscreen * const screen, PixmapPtr pPixmap)
*/
static int
-__glXDRIbindTexImage(__GLXcontext *baseContext,
- int buffer,
- __GLXdrawable *glxPixmap)
+__glXDRIbindTexImage(__GLXcontext * baseContext,
+ int buffer, __GLXdrawable * glxPixmap)
{
- RegionPtr pRegion = NULL;
- PixmapPtr pixmap;
- int bpp, override = 0, texname;
- GLenum format, type;
+ RegionPtr pRegion = NULL;
+ PixmapPtr pixmap;
+ int bpp, override = 0, texname;
+ GLenum format, type;
ScreenPtr pScreen = glxPixmap->pDraw->pScreen;
__GLXDRIdrawable *driDraw = (__GLXDRIdrawable *) glxPixmap;
- __GLXDRIscreen * const screen = (__GLXDRIscreen *) glxGetScreen(pScreen);
+ __GLXDRIscreen *const screen = (__GLXDRIscreen *) glxGetScreen(pScreen);
CALL_GetIntegerv(GET_DISPATCH(), (glxPixmap->target == GL_TEXTURE_2D ?
- GL_TEXTURE_BINDING_2D :
- GL_TEXTURE_BINDING_RECTANGLE_NV,
- &texname));
+ GL_TEXTURE_BINDING_2D :
+ GL_TEXTURE_BINDING_RECTANGLE_NV,
+ &texname));
if (!texname)
- return __glXError(GLXBadContextState);
+ return __glXError(GLXBadContextState);
pixmap = (PixmapPtr) glxPixmap->pDraw;
if (testTexOffset(screen, pixmap)) {
- __GLXDRIdrawable **texOffsetOverride = screen->texOffsetOverride;
- int i, firstEmpty = 16;
+ __GLXDRIdrawable **texOffsetOverride = screen->texOffsetOverride;
+ int i, firstEmpty = 16;
- for (i = 0; i < 16; i++) {
- if (texOffsetOverride[i] == driDraw)
- goto alreadyin;
+ for (i = 0; i < 16; i++) {
+ if (texOffsetOverride[i] == driDraw)
+ goto alreadyin;
- if (firstEmpty == 16 && !texOffsetOverride[i])
- firstEmpty = i;
- }
+ if (firstEmpty == 16 && !texOffsetOverride[i])
+ firstEmpty = i;
+ }
- if (firstEmpty == 16) {
- ErrorF("%s: Failed to register texture offset override\n", __func__);
- goto nooverride;
- }
+ if (firstEmpty == 16) {
+ ErrorF("%s: Failed to register texture offset override\n",
+ __func__);
+ goto nooverride;
+ }
- if (firstEmpty >= screen->lastTexOffsetOverride)
- screen->lastTexOffsetOverride = firstEmpty + 1;
+ if (firstEmpty >= screen->lastTexOffsetOverride)
+ screen->lastTexOffsetOverride = firstEmpty + 1;
- texOffsetOverride[firstEmpty] = driDraw;
+ texOffsetOverride[firstEmpty] = driDraw;
-alreadyin:
- override = 1;
+ alreadyin:
+ override = 1;
- driDraw->ctx = (__GLXDRIcontext*)baseContext;
+ driDraw->ctx = (__GLXDRIcontext *) baseContext;
- if (texname == driDraw->texname)
- return Success;
+ if (texname == driDraw->texname)
+ return Success;
- driDraw->texname = texname;
+ driDraw->texname = texname;
- screen->texOffset->setTexOffset(driDraw->ctx->driContext, texname, 0,
- pixmap->drawable.depth,
- pixmap->devKind);
+ screen->texOffset->setTexOffset(driDraw->ctx->driContext, texname, 0,
+ pixmap->drawable.depth,
+ pixmap->devKind);
}
-nooverride:
+ nooverride:
if (!driDraw->pDamage) {
- if (!override) {
- driDraw->pDamage = DamageCreate(NULL, NULL, DamageReportNone,
- TRUE, pScreen, NULL);
- if (!driDraw->pDamage)
- return BadAlloc;
-
- DamageRegister ((DrawablePtr) pixmap, driDraw->pDamage);
- }
-
- pRegion = NULL;
- } else {
- pRegion = DamageRegion(driDraw->pDamage);
- if (RegionNil(pRegion))
- return Success;
+ if (!override) {
+ driDraw->pDamage = DamageCreate(NULL, NULL, DamageReportNone,
+ TRUE, pScreen, NULL);
+ if (!driDraw->pDamage)
+ return BadAlloc;
+
+ DamageRegister((DrawablePtr) pixmap, driDraw->pDamage);
+ }
+
+ pRegion = NULL;
+ }
+ else {
+ pRegion = DamageRegion(driDraw->pDamage);
+ if (RegionNil(pRegion))
+ return Success;
}
/* XXX 24bpp packed, 8, etc */
if (pixmap->drawable.depth >= 24) {
- bpp = 4;
- format = GL_BGRA;
- type =
+ bpp = 4;
+ format = GL_BGRA;
+ type =
#if X_BYTE_ORDER == X_BIG_ENDIAN
- !override ? GL_UNSIGNED_INT_8_8_8_8_REV :
+ !override ? GL_UNSIGNED_INT_8_8_8_8_REV :
#endif
- GL_UNSIGNED_BYTE;
- } else {
- bpp = 2;
- format = GL_RGB;
- type = GL_UNSIGNED_SHORT_5_6_5;
+ GL_UNSIGNED_BYTE;
+ }
+ else {
+ bpp = 2;
+ format = GL_RGB;
+ type = GL_UNSIGNED_SHORT_5_6_5;
}
- if (pRegion == NULL)
- {
- void *data = NULL;
-
- if (!override) {
- unsigned pitch = PixmapBytePad(pixmap->drawable.width,
- pixmap->drawable.depth);
-
- data = malloc(pitch * pixmap->drawable.height);
-
- __glXenterServer(GL_FALSE);
- pScreen->GetImage(&pixmap->drawable, 0 /*pixmap->drawable.x*/,
- 0 /*pixmap->drawable.y*/, pixmap->drawable.width,
- pixmap->drawable.height, ZPixmap, ~0, data);
- __glXleaveServer(GL_FALSE);
-
- if (pixmap->drawable.depth == 24)
- glxFillAlphaChannel(data,
- pitch,
- pixmap->drawable.width,
- pixmap->drawable.height);
-
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ROW_LENGTH,
- pitch / bpp) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_PIXELS, 0) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_ROWS, 0) );
- }
-
- CALL_TexImage2D( GET_DISPATCH(),
- (glxPixmap->target,
- 0,
- bpp == 4 ? 4 : 3,
- pixmap->drawable.width,
- pixmap->drawable.height,
- 0,
- format,
- type,
- data) );
-
- free(data);
- } else if (!override) {
+ if (pRegion == NULL) {
+ void *data = NULL;
+
+ if (!override) {
+ unsigned pitch = PixmapBytePad(pixmap->drawable.width,
+ pixmap->drawable.depth);
+
+ data = malloc(pitch * pixmap->drawable.height);
+
+ __glXenterServer(GL_FALSE);
+ pScreen->GetImage(&pixmap->drawable, 0 /*pixmap->drawable.x */ ,
+ 0 /*pixmap->drawable.y */ ,
+ pixmap->drawable.width,
+ pixmap->drawable.height, ZPixmap, ~0, data);
+ __glXleaveServer(GL_FALSE);
+
+ if (pixmap->drawable.depth == 24)
+ glxFillAlphaChannel(data,
+ pitch,
+ pixmap->drawable.width,
+ pixmap->drawable.height);
+
+ CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_ROW_LENGTH,
+ pitch / bpp));
+ CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_SKIP_PIXELS, 0));
+ CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_SKIP_ROWS, 0));
+ }
+
+ CALL_TexImage2D(GET_DISPATCH(),
+ (glxPixmap->target,
+ 0,
+ bpp == 4 ? 4 : 3,
+ pixmap->drawable.width,
+ pixmap->drawable.height, 0, format, type, data));
+
+ free(data);
+ }
+ else if (!override) {
int i, numRects;
- BoxPtr p;
-
- numRects = RegionNumRects (pRegion);
- p = RegionRects (pRegion);
-
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_PIXELS, 0) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_ROWS, 0) );
-
- for (i = 0; i < numRects; i++)
- {
- unsigned pitch = PixmapBytePad(p[i].x2 - p[i].x1,
- pixmap->drawable.depth);
- void *data = malloc(pitch * (p[i].y2 - p[i].y1));
-
- __glXenterServer(GL_FALSE);
- pScreen->GetImage(&pixmap->drawable, /*pixmap->drawable.x +*/ p[i].x1,
- /*pixmap->drawable.y*/ + p[i].y1, p[i].x2 - p[i].x1,
- p[i].y2 - p[i].y1, ZPixmap, ~0, data);
- __glXleaveServer(GL_FALSE);
-
- if (pixmap->drawable.depth == 24)
- glxFillAlphaChannel(data,
- pitch,
- p[i].x2 - p[i].x1,
- p[i].y2 - p[i].y1);
-
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ROW_LENGTH,
- pitch / bpp) );
-
- CALL_TexSubImage2D( GET_DISPATCH(),
- (glxPixmap->target,
- 0,
- p[i].x1, p[i].y1,
- p[i].x2 - p[i].x1, p[i].y2 - p[i].y1,
- format,
- type,
- data) );
-
- free(data);
- }
+ BoxPtr p;
+
+ numRects = RegionNumRects(pRegion);
+ p = RegionRects(pRegion);
+
+ CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_SKIP_PIXELS, 0));
+ CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_SKIP_ROWS, 0));
+
+ for (i = 0; i < numRects; i++) {
+ unsigned pitch = PixmapBytePad(p[i].x2 - p[i].x1,
+ pixmap->drawable.depth);
+ void *data = malloc(pitch * (p[i].y2 - p[i].y1));
+
+ __glXenterServer(GL_FALSE);
+ pScreen->GetImage(&pixmap->drawable, /*pixmap->drawable.x + */
+ p[i].x1,
+ /*pixmap->drawable.y */ +p[i].y1,
+ p[i].x2 - p[i].x1,
+ p[i].y2 - p[i].y1, ZPixmap, ~0, data);
+ __glXleaveServer(GL_FALSE);
+
+ if (pixmap->drawable.depth == 24)
+ glxFillAlphaChannel(data,
+ pitch,
+ p[i].x2 - p[i].x1, p[i].y2 - p[i].y1);
+
+ CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_ROW_LENGTH,
+ pitch / bpp));
+
+ CALL_TexSubImage2D(GET_DISPATCH(),
+ (glxPixmap->target,
+ 0,
+ p[i].x1, p[i].y1,
+ p[i].x2 - p[i].x1, p[i].y2 - p[i].y1,
+ format, type, data));
+
+ free(data);
+ }
}
if (!override)
- DamageEmpty(driDraw->pDamage);
+ DamageEmpty(driDraw->pDamage);
return Success;
}
static int
-__glXDRIreleaseTexImage(__GLXcontext *baseContext,
- int buffer,
- __GLXdrawable *pixmap)
+__glXDRIreleaseTexImage(__GLXcontext * baseContext,
+ int buffer, __GLXdrawable * pixmap)
{
__GLXDRIscreen *screen =
- (__GLXDRIscreen *) glxGetScreen(pixmap->pDraw->pScreen);
+ (__GLXDRIscreen *) glxGetScreen(pixmap->pDraw->pScreen);
__GLXDRIdrawable *drawable = (__GLXDRIdrawable *) pixmap;
__glXDRIdoReleaseTexImage(screen, drawable);
@@ -584,7 +575,7 @@ static __GLXtextureFromPixmap __glXDRItextureFromPixmap = {
};
static void
-__glXDRIscreenDestroy(__GLXscreen *baseScreen)
+__glXDRIscreenDestroy(__GLXscreen * baseScreen)
{
int i;
@@ -597,18 +588,18 @@ __glXDRIscreenDestroy(__GLXscreen *baseScreen)
__glXScreenDestroy(baseScreen);
if (screen->driConfigs) {
- for (i = 0; screen->driConfigs[i] != NULL; i++)
- free((__DRIconfig **)screen->driConfigs[i]);
- free(screen->driConfigs);
+ for (i = 0; screen->driConfigs[i] != NULL; i++)
+ free((__DRIconfig **) screen->driConfigs[i]);
+ free(screen->driConfigs);
}
free(screen);
}
static __GLXcontext *
-__glXDRIscreenCreateContext(__GLXscreen *baseScreen,
- __GLXconfig *glxConfig,
- __GLXcontext *baseShareContext)
+__glXDRIscreenCreateContext(__GLXscreen * baseScreen,
+ __GLXconfig * glxConfig,
+ __GLXcontext * baseShareContext)
{
__GLXDRIscreen *screen = (__GLXDRIscreen *) baseScreen;
__GLXDRIcontext *context, *shareContext;
@@ -622,55 +613,51 @@ __glXDRIscreenCreateContext(__GLXscreen *baseScreen,
shareContext = (__GLXDRIcontext *) baseShareContext;
if (shareContext)
- driShare = shareContext->driContext;
+ driShare = shareContext->driContext;
else
- driShare = NULL;
+ driShare = NULL;
if (baseShareContext && baseShareContext->isDirect)
return NULL;
context = calloc(1, sizeof *context);
if (context == NULL)
- return NULL;
+ return NULL;
- context->base.destroy = __glXDRIcontextDestroy;
- context->base.makeCurrent = __glXDRIcontextMakeCurrent;
- context->base.loseCurrent = __glXDRIcontextLoseCurrent;
- context->base.copy = __glXDRIcontextCopy;
+ context->base.destroy = __glXDRIcontextDestroy;
+ context->base.makeCurrent = __glXDRIcontextMakeCurrent;
+ context->base.loseCurrent = __glXDRIcontextLoseCurrent;
+ context->base.copy = __glXDRIcontextCopy;
context->base.textureFromPixmap = &__glXDRItextureFromPixmap;
/* Find the requested X visual */
visual = pScreen->visuals;
for (i = 0; i < pScreen->numVisuals; i++, visual++)
- if (visual->vid == glxConfig->visualID)
- break;
+ if (visual->vid == glxConfig->visualID)
+ break;
if (i == pScreen->numVisuals)
- return NULL;
+ return NULL;
context->hwContextID = FakeClientID(0);
__glXenterServer(GL_FALSE);
retval = DRICreateContext(baseScreen->pScreen, visual,
- context->hwContextID, &hwContext);
+ context->hwContextID, &hwContext);
__glXleaveServer(GL_FALSE);
if (!retval)
- return NULL;
+ return NULL;
- context->driContext =
- screen->legacy->createNewContext(screen->driScreen,
- config->driConfig,
- 0, /* render type */
- driShare,
- hwContext,
- context);
+ context->driContext = screen->legacy->createNewContext(screen->driScreen, config->driConfig, 0, /* render type */
+ driShare,
+ hwContext, context);
if (context->driContext == NULL) {
- __glXenterServer(GL_FALSE);
- retval = DRIDestroyContext(baseScreen->pScreen, context->hwContextID);
- __glXleaveServer(GL_FALSE);
- free(context);
- return NULL;
+ __glXenterServer(GL_FALSE);
+ retval = DRIDestroyContext(baseScreen->pScreen, context->hwContextID);
+ __glXleaveServer(GL_FALSE);
+ free(context);
+ return NULL;
}
return &context->base;
@@ -678,12 +665,10 @@ __glXDRIscreenCreateContext(__GLXscreen *baseScreen,
static __GLXdrawable *
__glXDRIscreenCreateDrawable(ClientPtr client,
- __GLXscreen *screen,
- DrawablePtr pDraw,
- XID drawId,
- int type,
- XID glxDrawId,
- __GLXconfig *glxConfig)
+ __GLXscreen * screen,
+ DrawablePtr pDraw,
+ XID drawId,
+ int type, XID glxDrawId, __GLXconfig * glxConfig)
{
__GLXDRIscreen *driScreen = (__GLXDRIscreen *) screen;
__GLXDRIconfig *config = (__GLXDRIconfig *) glxConfig;
@@ -693,57 +678,57 @@ __glXDRIscreenCreateDrawable(ClientPtr client,
private = calloc(1, sizeof *private);
if (private == NULL)
- return NULL;
+ return NULL;
if (!__glXDrawableInit(&private->base, screen,
- pDraw, type, glxDrawId, glxConfig)) {
+ pDraw, type, glxDrawId, glxConfig)) {
free(private);
- return NULL;
+ return NULL;
}
- private->base.destroy = __glXDRIdrawableDestroy;
- private->base.swapBuffers = __glXDRIdrawableSwapBuffers;
+ private->base.destroy = __glXDRIdrawableDestroy;
+ private->base.swapBuffers = __glXDRIdrawableSwapBuffers;
private->base.copySubBuffer = __glXDRIdrawableCopySubBuffer;
- private->base.waitX = NULL;
- private->base.waitGL = NULL;
+ private->base.waitX = NULL;
+ private->base.waitGL = NULL;
__glXenterServer(GL_FALSE);
retval = DRICreateDrawable(screen->pScreen, serverClient,
- pDraw, &hwDrawable);
+ pDraw, &hwDrawable);
__glXleaveServer(GL_FALSE);
if (!retval) {
free(private);
- return NULL;
+ return NULL;
}
/* The last argument is 'attrs', which is used with pbuffers which
* we currently don't support. */
private->driDrawable =
- (driScreen->legacy->createNewDrawable)(driScreen->driScreen,
- config->driConfig,
- hwDrawable, 0, NULL, private);
+ (driScreen->legacy->createNewDrawable) (driScreen->driScreen,
+ config->driConfig,
+ hwDrawable, 0, NULL, private);
if (private->driDrawable == NULL) {
- __glXenterServer(GL_FALSE);
- DRIDestroyDrawable(screen->pScreen, serverClient, pDraw);
- __glXleaveServer(GL_FALSE);
- free(private);
- return NULL;
+ __glXenterServer(GL_FALSE);
+ DRIDestroyDrawable(screen->pScreen, serverClient, pDraw);
+ __glXleaveServer(GL_FALSE);
+ free(private);
+ return NULL;
}
return &private->base;
}
static GLboolean
-getDrawableInfo(__DRIdrawable *driDrawable,
- unsigned int *index, unsigned int *stamp,
- int *x, int *y, int *width, int *height,
- int *numClipRects, drm_clip_rect_t **ppClipRects,
- int *backX, int *backY,
- int *numBackClipRects, drm_clip_rect_t **ppBackClipRects,
- void *data)
+getDrawableInfo(__DRIdrawable * driDrawable,
+ unsigned int *index, unsigned int *stamp,
+ int *x, int *y, int *width, int *height,
+ int *numClipRects, drm_clip_rect_t ** ppClipRects,
+ int *backX, int *backY,
+ int *numBackClipRects, drm_clip_rect_t ** ppBackClipRects,
+ void *data)
{
__GLXDRIdrawable *drawable = data;
ScreenPtr pScreen;
@@ -753,72 +738,72 @@ getDrawableInfo(__DRIdrawable *driDrawable,
/* If the X window has been destroyed, give up here. */
if (drawable->base.pDraw == NULL)
- return GL_FALSE;
+ return GL_FALSE;
pScreen = drawable->base.pDraw->pScreen;
__glXenterServer(GL_FALSE);
retval = DRIGetDrawableInfo(pScreen, drawable->base.pDraw, index, stamp,
- x, y, width, height,
- numClipRects, &pClipRects,
- backX, backY,
- numBackClipRects, &pBackClipRects);
+ x, y, width, height,
+ numClipRects, &pClipRects,
+ backX, backY,
+ numBackClipRects, &pBackClipRects);
__glXleaveServer(GL_FALSE);
if (retval && *numClipRects > 0) {
- size = sizeof (drm_clip_rect_t) * *numClipRects;
- *ppClipRects = malloc(size);
-
- /* Clip cliprects to screen dimensions (redirected windows) */
- if (*ppClipRects != NULL) {
- int i, j;
-
- for (i = 0, j = 0; i < *numClipRects; i++) {
- (*ppClipRects)[j].x1 = max(pClipRects[i].x1, 0);
- (*ppClipRects)[j].y1 = max(pClipRects[i].y1, 0);
- (*ppClipRects)[j].x2 = min(pClipRects[i].x2, pScreen->width);
- (*ppClipRects)[j].y2 = min(pClipRects[i].y2, pScreen->height);
-
- if ((*ppClipRects)[j].x1 < (*ppClipRects)[j].x2 &&
- (*ppClipRects)[j].y1 < (*ppClipRects)[j].y2) {
- j++;
- }
- }
-
- if (*numClipRects != j) {
- *numClipRects = j;
- *ppClipRects = realloc(*ppClipRects,
- sizeof (drm_clip_rect_t) *
- *numClipRects);
- }
- } else
- *numClipRects = 0;
+ size = sizeof(drm_clip_rect_t) * *numClipRects;
+ *ppClipRects = malloc(size);
+
+ /* Clip cliprects to screen dimensions (redirected windows) */
+ if (*ppClipRects != NULL) {
+ int i, j;
+
+ for (i = 0, j = 0; i < *numClipRects; i++) {
+ (*ppClipRects)[j].x1 = max(pClipRects[i].x1, 0);
+ (*ppClipRects)[j].y1 = max(pClipRects[i].y1, 0);
+ (*ppClipRects)[j].x2 = min(pClipRects[i].x2, pScreen->width);
+ (*ppClipRects)[j].y2 = min(pClipRects[i].y2, pScreen->height);
+
+ if ((*ppClipRects)[j].x1 < (*ppClipRects)[j].x2 &&
+ (*ppClipRects)[j].y1 < (*ppClipRects)[j].y2) {
+ j++;
+ }
+ }
+
+ if (*numClipRects != j) {
+ *numClipRects = j;
+ *ppClipRects = realloc(*ppClipRects,
+ sizeof(drm_clip_rect_t) * *numClipRects);
+ }
+ }
+ else
+ *numClipRects = 0;
}
else {
- *ppClipRects = NULL;
- *numClipRects = 0;
+ *ppClipRects = NULL;
+ *numClipRects = 0;
}
-
+
if (retval && *numBackClipRects > 0) {
- size = sizeof (drm_clip_rect_t) * *numBackClipRects;
- *ppBackClipRects = malloc(size);
- if (*ppBackClipRects != NULL)
- memcpy (*ppBackClipRects, pBackClipRects, size);
- else
- *numBackClipRects = 0;
+ size = sizeof(drm_clip_rect_t) * *numBackClipRects;
+ *ppBackClipRects = malloc(size);
+ if (*ppBackClipRects != NULL)
+ memcpy(*ppBackClipRects, pBackClipRects, size);
+ else
+ *numBackClipRects = 0;
}
else {
- *ppBackClipRects = NULL;
- *numBackClipRects = 0;
+ *ppBackClipRects = NULL;
+ *numBackClipRects = 0;
}
return retval;
}
-static void __glXReportDamage(__DRIdrawable *driDraw,
- int x, int y,
- drm_clip_rect_t *rects, int num_rects,
- GLboolean front_buffer,
- void *data)
+static void
+__glXReportDamage(__DRIdrawable * driDraw,
+ int x, int y,
+ drm_clip_rect_t * rects, int num_rects,
+ GLboolean front_buffer, void *data)
{
__GLXDRIdrawable *drawable = data;
DrawablePtr pDraw = drawable->base.pDraw;
@@ -827,29 +812,29 @@ static void __glXReportDamage(__DRIdrawable *driDraw,
__glXenterServer(GL_FALSE);
if (RegionInitBoxes(&region, (BoxPtr) rects, num_rects)) {
- RegionTranslate(&region, pDraw->x, pDraw->y);
- DamageDamageRegion(pDraw, &region);
- RegionUninit(&region);
+ RegionTranslate(&region, pDraw->x, pDraw->y);
+ DamageDamageRegion(pDraw, &region);
+ RegionUninit(&region);
}
else {
- while (num_rects--) {
- RegionInit (&region, (BoxPtr) rects++, 1);
- RegionTranslate(&region, pDraw->x, pDraw->y);
- DamageDamageRegion(pDraw, &region);
- RegionUninit(&region);
- }
+ while (num_rects--) {
+ RegionInit(&region, (BoxPtr) rects++, 1);
+ RegionTranslate(&region, pDraw->x, pDraw->y);
+ DamageDamageRegion(pDraw, &region);
+ RegionUninit(&region);
+ }
}
__glXleaveServer(GL_FALSE);
}
static const __DRIgetDrawableInfoExtension getDrawableInfoExtension = {
- { __DRI_GET_DRAWABLE_INFO, __DRI_GET_DRAWABLE_INFO_VERSION },
+ {__DRI_GET_DRAWABLE_INFO, __DRI_GET_DRAWABLE_INFO_VERSION},
getDrawableInfo
};
static const __DRIdamageExtension damageExtension = {
- { __DRI_DAMAGE, __DRI_DAMAGE_VERSION },
+ {__DRI_DAMAGE, __DRI_DAMAGE_VERSION},
__glXReportDamage,
};
@@ -860,39 +845,37 @@ static const __DRIextension *loader_extensions[] = {
NULL
};
-
-
static Bool
-glxDRIEnterVT (int index, int flags)
+glxDRIEnterVT(int index, int flags)
{
ScrnInfoPtr scrn = xf86Screens[index];
- Bool ret;
- __GLXDRIscreen *screen = (__GLXDRIscreen *)
- glxGetScreen(screenInfo.screens[index]);
+ Bool ret;
+ __GLXDRIscreen *screen = (__GLXDRIscreen *)
+ glxGetScreen(screenInfo.screens[index]);
LogMessage(X_INFO, "AIGLX: Resuming AIGLX clients after VT switch\n");
scrn->EnterVT = screen->enterVT;
- ret = scrn->EnterVT (index, flags);
+ ret = scrn->EnterVT(index, flags);
screen->enterVT = scrn->EnterVT;
scrn->EnterVT = glxDRIEnterVT;
if (!ret)
- return FALSE;
-
+ return FALSE;
+
glxResumeClients();
return TRUE;
}
static void
-glxDRILeaveVT (int index, int flags)
+glxDRILeaveVT(int index, int flags)
{
ScrnInfoPtr scrn = xf86Screens[index];
__GLXDRIscreen *screen = (__GLXDRIscreen *)
- glxGetScreen(screenInfo.screens[index]);
+ glxGetScreen(screenInfo.screens[index]);
LogMessage(X_INFO, "AIGLX: Suspending AIGLX clients for VT switch\n");
@@ -905,7 +888,7 @@ glxDRILeaveVT (int index, int flags)
}
static void
-initializeExtensions(__GLXDRIscreen *screen)
+initializeExtensions(__GLXDRIscreen * screen)
{
const __DRIextension **extensions;
int i;
@@ -914,86 +897,88 @@ initializeExtensions(__GLXDRIscreen *screen)
for (i = 0; extensions[i]; i++) {
#ifdef __DRI_READ_DRAWABLE
- if (strcmp(extensions[i]->name, __DRI_READ_DRAWABLE) == 0) {
- __glXEnableExtension(screen->glx_enable_bits,
- "GLX_SGI_make_current_read");
-
- LogMessage(X_INFO, "AIGLX: enabled GLX_SGI_make_current_read\n");
- }
+ if (strcmp(extensions[i]->name, __DRI_READ_DRAWABLE) == 0) {
+ __glXEnableExtension(screen->glx_enable_bits,
+ "GLX_SGI_make_current_read");
+
+ LogMessage(X_INFO, "AIGLX: enabled GLX_SGI_make_current_read\n");
+ }
#endif
#ifdef __DRI_COPY_SUB_BUFFER
- if (strcmp(extensions[i]->name, __DRI_COPY_SUB_BUFFER) == 0) {
- screen->copySubBuffer = (__DRIcopySubBufferExtension *) extensions[i];
- __glXEnableExtension(screen->glx_enable_bits,
- "GLX_MESA_copy_sub_buffer");
-
- LogMessage(X_INFO, "AIGLX: enabled GLX_MESA_copy_sub_buffer\n");
- }
+ if (strcmp(extensions[i]->name, __DRI_COPY_SUB_BUFFER) == 0) {
+ screen->copySubBuffer =
+ (__DRIcopySubBufferExtension *) extensions[i];
+ __glXEnableExtension(screen->glx_enable_bits,
+ "GLX_MESA_copy_sub_buffer");
+
+ LogMessage(X_INFO, "AIGLX: enabled GLX_MESA_copy_sub_buffer\n");
+ }
#endif
#ifdef __DRI_SWAP_CONTROL
- if (strcmp(extensions[i]->name, __DRI_SWAP_CONTROL) == 0) {
- screen->swapControl = (__DRIswapControlExtension *) extensions[i];
- __glXEnableExtension(screen->glx_enable_bits,
- "GLX_SGI_swap_control");
- __glXEnableExtension(screen->glx_enable_bits,
- "GLX_MESA_swap_control");
-
- LogMessage(X_INFO, "AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control\n");
- }
+ if (strcmp(extensions[i]->name, __DRI_SWAP_CONTROL) == 0) {
+ screen->swapControl = (__DRIswapControlExtension *) extensions[i];
+ __glXEnableExtension(screen->glx_enable_bits,
+ "GLX_SGI_swap_control");
+ __glXEnableExtension(screen->glx_enable_bits,
+ "GLX_MESA_swap_control");
+
+ LogMessage(X_INFO,
+ "AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control\n");
+ }
#endif
#ifdef __DRI_TEX_OFFSET
- if (strcmp(extensions[i]->name, __DRI_TEX_OFFSET) == 0) {
- screen->texOffset = (__DRItexOffsetExtension *) extensions[i];
- LogMessage(X_INFO, "AIGLX: enabled GLX_texture_from_pixmap with driver support\n");
- }
+ if (strcmp(extensions[i]->name, __DRI_TEX_OFFSET) == 0) {
+ screen->texOffset = (__DRItexOffsetExtension *) extensions[i];
+ LogMessage(X_INFO,
+ "AIGLX: enabled GLX_texture_from_pixmap with driver support\n");
+ }
#endif
- /* Ignore unknown extensions */
+ /* Ignore unknown extensions */
}
}
-
+
static __GLXscreen *
__glXDRIscreenProbe(ScreenPtr pScreen)
{
drm_handle_t hSAREA;
drmAddress pSAREA = NULL;
char *BusID;
- __DRIversion ddx_version;
- __DRIversion dri_version;
- __DRIversion drm_version;
- __DRIframebuffer framebuffer;
- int fd = -1;
- int status;
+ __DRIversion ddx_version;
+ __DRIversion dri_version;
+ __DRIversion drm_version;
+ __DRIframebuffer framebuffer;
+ int fd = -1;
+ int status;
drm_magic_t magic;
drmVersionPtr version;
int newlyopened;
char *driverName;
- drm_handle_t hFB;
- int junk;
+ drm_handle_t hFB;
+ int junk;
__GLXDRIscreen *screen;
Bool isCapable;
size_t buffer_size;
ScrnInfoPtr pScrn = xf86Screens[pScreen->myNum];
if (!xf86LoaderCheckSymbol("DRIQueryDirectRenderingCapable") ||
- !DRIQueryDirectRenderingCapable(pScreen, &isCapable) ||
- !isCapable) {
- LogMessage(X_INFO,
- "AIGLX: Screen %d is not DRI capable\n", pScreen->myNum);
- return NULL;
+ !DRIQueryDirectRenderingCapable(pScreen, &isCapable) || !isCapable) {
+ LogMessage(X_INFO,
+ "AIGLX: Screen %d is not DRI capable\n", pScreen->myNum);
+ return NULL;
}
screen = calloc(1, sizeof *screen);
if (screen == NULL)
- return NULL;
+ return NULL;
- screen->base.destroy = __glXDRIscreenDestroy;
- screen->base.createContext = __glXDRIscreenCreateContext;
+ screen->base.destroy = __glXDRIscreenDestroy;
+ screen->base.createContext = __glXDRIscreenCreateContext;
screen->base.createDrawable = __glXDRIscreenCreateDrawable;
- screen->base.swapInterval = __glXDRIdrawableSwapInterval;
- screen->base.pScreen = pScreen;
+ screen->base.swapInterval = __glXDRIdrawableSwapInterval;
+ screen->base.pScreen = pScreen;
__glXInitExtensionEnableBits(screen->glx_enable_bits);
@@ -1003,62 +988,61 @@ __glXDRIscreenProbe(ScreenPtr pScreen)
dri_version.patch = XF86DRI_PATCH_VERSION;
if (!DRIOpenConnection(pScreen, &hSAREA, &BusID)) {
- LogMessage(X_ERROR, "AIGLX error: DRIOpenConnection failed\n");
- goto handle_error;
+ LogMessage(X_ERROR, "AIGLX error: DRIOpenConnection failed\n");
+ goto handle_error;
}
fd = drmOpenOnce(NULL, BusID, &newlyopened);
if (fd < 0) {
- LogMessage(X_ERROR, "AIGLX error: drmOpenOnce failed (%s)\n",
- strerror(-fd));
- goto handle_error;
+ LogMessage(X_ERROR, "AIGLX error: drmOpenOnce failed (%s)\n",
+ strerror(-fd));
+ goto handle_error;
}
if (drmGetMagic(fd, &magic)) {
- LogMessage(X_ERROR, "AIGLX error: drmGetMagic failed\n");
- goto handle_error;
+ LogMessage(X_ERROR, "AIGLX error: drmGetMagic failed\n");
+ goto handle_error;
}
version = drmGetVersion(fd);
if (version) {
- drm_version.major = version->version_major;
- drm_version.minor = version->version_minor;
- drm_version.patch = version->version_patchlevel;
- drmFreeVersion(version);
+ drm_version.major = version->version_major;
+ drm_version.minor = version->version_minor;
+ drm_version.patch = version->version_patchlevel;
+ drmFreeVersion(version);
}
else {
- drm_version.major = -1;
- drm_version.minor = -1;
- drm_version.patch = -1;
+ drm_version.major = -1;
+ drm_version.minor = -1;
+ drm_version.patch = -1;
}
if (newlyopened && !DRIAuthConnection(pScreen, magic)) {
- LogMessage(X_ERROR, "AIGLX error: DRIAuthConnection failed\n");
- goto handle_error;
+ LogMessage(X_ERROR, "AIGLX error: DRIAuthConnection failed\n");
+ goto handle_error;
}
/* Get device name (like "tdfx") and the ddx version numbers.
* We'll check the version in each DRI driver's "createNewScreen"
* function. */
if (!DRIGetClientDriverName(pScreen,
- &ddx_version.major,
- &ddx_version.minor,
- &ddx_version.patch,
- &driverName)) {
- LogMessage(X_ERROR, "AIGLX error: DRIGetClientDriverName failed\n");
- goto handle_error;
+ &ddx_version.major,
+ &ddx_version.minor,
+ &ddx_version.patch, &driverName)) {
+ LogMessage(X_ERROR, "AIGLX error: DRIGetClientDriverName failed\n");
+ goto handle_error;
}
screen->driver = glxProbeDriver(driverName,
- (void **)&screen->core,
- __DRI_CORE, __DRI_CORE_VERSION,
- (void **)&screen->legacy,
- __DRI_LEGACY, __DRI_LEGACY_VERSION);
+ (void **) &screen->core,
+ __DRI_CORE, __DRI_CORE_VERSION,
+ (void **) &screen->legacy,
+ __DRI_LEGACY, __DRI_LEGACY_VERSION);
if (screen->driver == NULL) {
goto handle_error;
}
-
+
/*
* Get device-specific info. pDevPriv will point to a struct
* (such as DRIRADEONRec in xfree86/driver/ati/radeon_dri.h) that
@@ -1066,22 +1050,22 @@ __glXDRIscreenProbe(ScreenPtr pScreen)
* buffers, DRM mmap handles, etc.
*/
if (!DRIGetDeviceInfo(pScreen, &hFB, &junk,
- &framebuffer.size, &framebuffer.stride,
- &framebuffer.dev_priv_size, &framebuffer.dev_priv)) {
- LogMessage(X_ERROR, "AIGLX error: XF86DRIGetDeviceInfo failed\n");
- goto handle_error;
+ &framebuffer.size, &framebuffer.stride,
+ &framebuffer.dev_priv_size, &framebuffer.dev_priv)) {
+ LogMessage(X_ERROR, "AIGLX error: XF86DRIGetDeviceInfo failed\n");
+ goto handle_error;
}
framebuffer.width = pScreen->width;
framebuffer.height = pScreen->height;
/* Map the framebuffer region. */
- status = drmMap(fd, hFB, framebuffer.size,
- (drmAddressPtr)&framebuffer.base);
+ status = drmMap(fd, hFB, framebuffer.size,
+ (drmAddressPtr) & framebuffer.base);
if (status != 0) {
- LogMessage(X_ERROR, "AIGLX error: drmMap of framebuffer failed (%s)\n",
- strerror(-status));
- goto handle_error;
+ LogMessage(X_ERROR, "AIGLX error: drmMap of framebuffer failed (%s)\n",
+ strerror(-status));
+ goto handle_error;
}
/* Map the SAREA region. Further mmap regions may be setup in
@@ -1089,37 +1073,35 @@ __glXDRIscreenProbe(ScreenPtr pScreen)
*/
status = drmMap(fd, hSAREA, SAREA_MAX, &pSAREA);
if (status != 0) {
- LogMessage(X_ERROR, "AIGLX error: drmMap of SAREA failed (%s)\n",
- strerror(-status));
- goto handle_error;
+ LogMessage(X_ERROR, "AIGLX error: drmMap of SAREA failed (%s)\n",
+ strerror(-status));
+ goto handle_error;
}
-
+
screen->driScreen =
- (*screen->legacy->createNewScreen)(pScreen->myNum,
- &ddx_version,
- &dri_version,
- &drm_version,
- &framebuffer,
- pSAREA,
- fd,
- loader_extensions,
- &screen->driConfigs,
- screen);
+ (*screen->legacy->createNewScreen) (pScreen->myNum,
+ &ddx_version,
+ &dri_version,
+ &drm_version,
+ &framebuffer,
+ pSAREA,
+ fd,
+ loader_extensions,
+ &screen->driConfigs, screen);
if (screen->driScreen == NULL) {
- LogMessage(X_ERROR,
- "AIGLX error: Calling driver entry point failed\n");
- goto handle_error;
+ LogMessage(X_ERROR, "AIGLX error: Calling driver entry point failed\n");
+ goto handle_error;
}
screen->base.fbconfigs = glxConvertConfigs(screen->core,
- screen->driConfigs,
- GLX_WINDOW_BIT);
+ screen->driConfigs,
+ GLX_WINDOW_BIT);
initializeExtensions(screen);
DRIGetTexOffsetFuncs(pScreen, &screen->texOffsetStart,
- &screen->texOffsetFinish);
+ &screen->texOffsetFinish);
__glXScreenInit(&screen->base, pScreen);
@@ -1129,11 +1111,11 @@ __glXDRIscreenProbe(ScreenPtr pScreen)
*/
buffer_size = __glXGetExtensionString(screen->glx_enable_bits, NULL);
if (buffer_size > 0) {
- free(screen->base.GLXextensions);
+ free(screen->base.GLXextensions);
- screen->base.GLXextensions = xnfalloc(buffer_size);
- (void) __glXGetExtensionString(screen->glx_enable_bits,
- screen->base.GLXextensions);
+ screen->base.GLXextensions = xnfalloc(buffer_size);
+ (void) __glXGetExtensionString(screen->glx_enable_bits,
+ screen->base.GLXextensions);
}
__glXsetEnterLeaveServerFuncs(__glXDRIenterServer, __glXDRIleaveServer);
@@ -1143,20 +1125,19 @@ __glXDRIscreenProbe(ScreenPtr pScreen)
screen->leaveVT = pScrn->LeaveVT;
pScrn->LeaveVT = glxDRILeaveVT;
- LogMessage(X_INFO,
- "AIGLX: Loaded and initialized %s\n", driverName);
+ LogMessage(X_INFO, "AIGLX: Loaded and initialized %s\n", driverName);
return &screen->base;
handle_error:
if (pSAREA != NULL)
- drmUnmap(pSAREA, SAREA_MAX);
+ drmUnmap(pSAREA, SAREA_MAX);
if (framebuffer.base != NULL)
- drmUnmap((drmAddress)framebuffer.base, framebuffer.size);
+ drmUnmap((drmAddress) framebuffer.base, framebuffer.size);
if (fd >= 0)
- drmCloseOnce(fd);
+ drmCloseOnce(fd);
DRICloseConnection(pScreen);
diff --git a/glx/glxdri2.c b/glx/glxdri2.c
index 5e524db99..aa38295fa 100644
--- a/glx/glxdri2.c
+++ b/glx/glxdri2.c
@@ -54,18 +54,18 @@
#include "dispatch.h"
#include "extension_string.h"
-typedef struct __GLXDRIscreen __GLXDRIscreen;
-typedef struct __GLXDRIcontext __GLXDRIcontext;
+typedef struct __GLXDRIscreen __GLXDRIscreen;
+typedef struct __GLXDRIcontext __GLXDRIcontext;
typedef struct __GLXDRIdrawable __GLXDRIdrawable;
struct __GLXDRIscreen {
- __GLXscreen base;
- __DRIscreen *driScreen;
- void *driver;
- int fd;
+ __GLXscreen base;
+ __DRIscreen *driScreen;
+ void *driver;
+ int fd;
- xf86EnterVTProc *enterVT;
- xf86LeaveVTProc *leaveVT;
+ xf86EnterVTProc *enterVT;
+ xf86LeaveVTProc *leaveVT;
const __DRIcoreExtension *core;
const __DRIdri2Extension *dri2;
@@ -79,16 +79,16 @@ struct __GLXDRIscreen {
};
struct __GLXDRIcontext {
- __GLXcontext base;
- __DRIcontext *driContext;
+ __GLXcontext base;
+ __DRIcontext *driContext;
};
#define MAX_DRAWABLE_BUFFERS 5
struct __GLXDRIdrawable {
- __GLXdrawable base;
- __DRIdrawable *driDrawable;
- __GLXDRIscreen *screen;
+ __GLXdrawable base;
+ __DRIdrawable *driDrawable;
+ __GLXDRIscreen *screen;
/* Dimensions as last reported by DRI2GetBuffers. */
int width;
@@ -98,12 +98,12 @@ struct __GLXDRIdrawable {
};
static void
-__glXDRIdrawableDestroy(__GLXdrawable *drawable)
+__glXDRIdrawableDestroy(__GLXdrawable * drawable)
{
__GLXDRIdrawable *private = (__GLXDRIdrawable *) drawable;
const __DRIcoreExtension *core = private->screen->core;
-
- (*core->destroyDrawable)(private->driDrawable);
+
+ (*core->destroyDrawable) (private->driDrawable);
__glXDrawableRelease(drawable);
@@ -111,8 +111,8 @@ __glXDRIdrawableDestroy(__GLXdrawable *drawable)
}
static void
-__glXDRIdrawableCopySubBuffer(__GLXdrawable *drawable,
- int x, int y, int w, int h)
+__glXDRIdrawableCopySubBuffer(__GLXdrawable * drawable,
+ int x, int y, int w, int h)
{
__GLXDRIdrawable *private = (__GLXDRIdrawable *) drawable;
BoxRec box;
@@ -125,11 +125,11 @@ __glXDRIdrawableCopySubBuffer(__GLXdrawable *drawable,
RegionInit(&region, &box, 0);
DRI2CopyRegion(drawable->pDraw, &region,
- DRI2BufferFrontLeft, DRI2BufferBackLeft);
+ DRI2BufferFrontLeft, DRI2BufferBackLeft);
}
static void
-__glXDRIdrawableWaitX(__GLXdrawable *drawable)
+__glXDRIdrawableWaitX(__GLXdrawable * drawable)
{
__GLXDRIdrawable *private = (__GLXDRIdrawable *) drawable;
BoxRec box;
@@ -142,11 +142,11 @@ __glXDRIdrawableWaitX(__GLXdrawable *drawable)
RegionInit(&region, &box, 0);
DRI2CopyRegion(drawable->pDraw, &region,
- DRI2BufferFakeFrontLeft, DRI2BufferFrontLeft);
+ DRI2BufferFakeFrontLeft, DRI2BufferFrontLeft);
}
static void
-__glXDRIdrawableWaitGL(__GLXdrawable *drawable)
+__glXDRIdrawableWaitGL(__GLXdrawable * drawable)
{
__GLXDRIdrawable *private = (__GLXDRIdrawable *) drawable;
BoxRec box;
@@ -159,34 +159,34 @@ __glXDRIdrawableWaitGL(__GLXdrawable *drawable)
RegionInit(&region, &box, 0);
DRI2CopyRegion(drawable->pDraw, &region,
- DRI2BufferFrontLeft, DRI2BufferFakeFrontLeft);
+ DRI2BufferFrontLeft, DRI2BufferFakeFrontLeft);
}
static void
__glXdriSwapEvent(ClientPtr client, void *data, int type, CARD64 ust,
- CARD64 msc, CARD32 sbc)
+ CARD64 msc, CARD32 sbc)
{
__GLXdrawable *drawable = data;
xGLXBufferSwapComplete2 wire;
if (!(drawable->eventMask & GLX_BUFFER_SWAP_COMPLETE_INTEL_MASK))
- return;
+ return;
wire.type = __glXEventBase + GLX_BufferSwapComplete;
switch (type) {
case DRI2_EXCHANGE_COMPLETE:
- wire.event_type = GLX_EXCHANGE_COMPLETE_INTEL;
- break;
+ wire.event_type = GLX_EXCHANGE_COMPLETE_INTEL;
+ break;
case DRI2_BLIT_COMPLETE:
- wire.event_type = GLX_BLIT_COMPLETE_INTEL;
- break;
+ wire.event_type = GLX_BLIT_COMPLETE_INTEL;
+ break;
case DRI2_FLIP_COMPLETE:
- wire.event_type = GLX_FLIP_COMPLETE_INTEL;
- break;
+ wire.event_type = GLX_FLIP_COMPLETE_INTEL;
+ break;
default:
- /* unknown swap completion type */
- wire.event_type = 0;
- break;
+ /* unknown swap completion type */
+ wire.event_type = 0;
+ break;
}
wire.drawable = drawable->drawId;
wire.ust_hi = ust >> 32;
@@ -205,7 +205,7 @@ __glXdriSwapEvent(ClientPtr client, void *data, int type, CARD64 ust,
* swap should happen, then perform the copy when we receive it.
*/
static GLboolean
-__glXDRIdrawableSwapBuffers(ClientPtr client, __GLXdrawable *drawable)
+__glXDRIdrawableSwapBuffers(ClientPtr client, __GLXdrawable * drawable)
{
__GLXDRIdrawable *priv = (__GLXDRIdrawable *) drawable;
__GLXDRIscreen *screen = priv->screen;
@@ -213,26 +213,26 @@ __glXDRIdrawableSwapBuffers(ClientPtr client, __GLXdrawable *drawable)
#if __DRI2_FLUSH_VERSION >= 3
if (screen->flush) {
- (*screen->flush->flush)(priv->driDrawable);
- (*screen->flush->invalidate)(priv->driDrawable);
+ (*screen->flush->flush) (priv->driDrawable);
+ (*screen->flush->invalidate) (priv->driDrawable);
}
#else
if (screen->flush)
- (*screen->flush->flushInvalidate)(priv->driDrawable);
+ (*screen->flush->flushInvalidate) (priv->driDrawable);
#endif
if (DRI2SwapBuffers(client, drawable->pDraw, 0, 0, 0, &unused,
- __glXdriSwapEvent, drawable) != Success)
- return FALSE;
+ __glXdriSwapEvent, drawable) != Success)
+ return FALSE;
return TRUE;
}
static int
-__glXDRIdrawableSwapInterval(__GLXdrawable *drawable, int interval)
+__glXDRIdrawableSwapInterval(__GLXdrawable * drawable, int interval)
{
- if (interval <= 0) /* || interval > BIGNUM? */
- return GLX_BAD_VALUE;
+ if (interval <= 0) /* || interval > BIGNUM? */
+ return GLX_BAD_VALUE;
DRI2SwapInterval(drawable->pDraw, interval);
@@ -240,57 +240,56 @@ __glXDRIdrawableSwapInterval(__GLXdrawable *drawable, int interval)
}
static void
-__glXDRIcontextDestroy(__GLXcontext *baseContext)
+__glXDRIcontextDestroy(__GLXcontext * baseContext)
{
__GLXDRIcontext *context = (__GLXDRIcontext *) baseContext;
__GLXDRIscreen *screen = (__GLXDRIscreen *) context->base.pGlxScreen;
- (*screen->core->destroyContext)(context->driContext);
+ (*screen->core->destroyContext) (context->driContext);
__glXContextDestroy(&context->base);
free(context);
}
static int
-__glXDRIcontextMakeCurrent(__GLXcontext *baseContext)
+__glXDRIcontextMakeCurrent(__GLXcontext * baseContext)
{
__GLXDRIcontext *context = (__GLXDRIcontext *) baseContext;
__GLXDRIdrawable *draw = (__GLXDRIdrawable *) baseContext->drawPriv;
__GLXDRIdrawable *read = (__GLXDRIdrawable *) baseContext->readPriv;
__GLXDRIscreen *screen = (__GLXDRIscreen *) context->base.pGlxScreen;
- return (*screen->core->bindContext)(context->driContext,
- draw->driDrawable,
- read->driDrawable);
-}
+ return (*screen->core->bindContext) (context->driContext,
+ draw->driDrawable, read->driDrawable);
+}
static int
-__glXDRIcontextLoseCurrent(__GLXcontext *baseContext)
+__glXDRIcontextLoseCurrent(__GLXcontext * baseContext)
{
__GLXDRIcontext *context = (__GLXDRIcontext *) baseContext;
__GLXDRIscreen *screen = (__GLXDRIscreen *) context->base.pGlxScreen;
- return (*screen->core->unbindContext)(context->driContext);
+ return (*screen->core->unbindContext) (context->driContext);
}
static int
-__glXDRIcontextCopy(__GLXcontext *baseDst, __GLXcontext *baseSrc,
- unsigned long mask)
+__glXDRIcontextCopy(__GLXcontext * baseDst, __GLXcontext * baseSrc,
+ unsigned long mask)
{
__GLXDRIcontext *dst = (__GLXDRIcontext *) baseDst;
__GLXDRIcontext *src = (__GLXDRIcontext *) baseSrc;
__GLXDRIscreen *screen = (__GLXDRIscreen *) dst->base.pGlxScreen;
- return (*screen->core->copyContext)(dst->driContext,
- src->driContext, mask);
+ return (*screen->core->copyContext) (dst->driContext,
+ src->driContext, mask);
}
static Bool
-__glXDRIcontextWait(__GLXcontext *baseContext,
- __GLXclientState *cl, int *error)
+__glXDRIcontextWait(__GLXcontext * baseContext,
+ __GLXclientState * cl, int *error)
{
if (DRI2WaitSwap(cl->client, baseContext->drawPriv->pDraw)) {
- *error = cl->client->noClientException;
- return TRUE;
+ *error = cl->client->noClientException;
+ return TRUE;
}
return FALSE;
@@ -299,9 +298,8 @@ __glXDRIcontextWait(__GLXcontext *baseContext,
#ifdef __DRI_TEX_BUFFER
static int
-__glXDRIbindTexImage(__GLXcontext *baseContext,
- int buffer,
- __GLXdrawable *glxPixmap)
+__glXDRIbindTexImage(__GLXcontext * baseContext,
+ int buffer, __GLXdrawable * glxPixmap)
{
__GLXDRIdrawable *drawable = (__GLXDRIdrawable *) glxPixmap;
const __DRItexBufferExtension *texBuffer = drawable->screen->texBuffer;
@@ -312,25 +310,23 @@ __glXDRIbindTexImage(__GLXcontext *baseContext,
#if __DRI_TEX_BUFFER_VERSION >= 2
if (texBuffer->base.version >= 2 && texBuffer->setTexBuffer2 != NULL) {
- (*texBuffer->setTexBuffer2)(context->driContext,
- glxPixmap->target,
- glxPixmap->format,
- drawable->driDrawable);
- } else
+ (*texBuffer->setTexBuffer2) (context->driContext,
+ glxPixmap->target,
+ glxPixmap->format, drawable->driDrawable);
+ }
+ else
#endif
{
- texBuffer->setTexBuffer(context->driContext,
- glxPixmap->target,
- drawable->driDrawable);
+ texBuffer->setTexBuffer(context->driContext,
+ glxPixmap->target, drawable->driDrawable);
}
return Success;
}
static int
-__glXDRIreleaseTexImage(__GLXcontext *baseContext,
- int buffer,
- __GLXdrawable *pixmap)
+__glXDRIreleaseTexImage(__GLXcontext * baseContext,
+ int buffer, __GLXdrawable * pixmap)
{
/* FIXME: Just unbind the texture? */
return Success;
@@ -339,17 +335,15 @@ __glXDRIreleaseTexImage(__GLXcontext *baseContext,
#else
static int
-__glXDRIbindTexImage(__GLXcontext *baseContext,
- int buffer,
- __GLXdrawable *glxPixmap)
+__glXDRIbindTexImage(__GLXcontext * baseContext,
+ int buffer, __GLXdrawable * glxPixmap)
{
return Success;
}
static int
-__glXDRIreleaseTexImage(__GLXcontext *baseContext,
- int buffer,
- __GLXdrawable *pixmap)
+__glXDRIreleaseTexImage(__GLXcontext * baseContext,
+ int buffer, __GLXdrawable * pixmap)
{
return Success;
}
@@ -362,31 +356,31 @@ static __GLXtextureFromPixmap __glXDRItextureFromPixmap = {
};
static void
-__glXDRIscreenDestroy(__GLXscreen *baseScreen)
+__glXDRIscreenDestroy(__GLXscreen * baseScreen)
{
int i;
__GLXDRIscreen *screen = (__GLXDRIscreen *) baseScreen;
- (*screen->core->destroyScreen)(screen->driScreen);
+ (*screen->core->destroyScreen) (screen->driScreen);
dlclose(screen->driver);
__glXScreenDestroy(baseScreen);
if (screen->driConfigs) {
- for (i = 0; screen->driConfigs[i] != NULL; i++)
- free((__DRIconfig **)screen->driConfigs[i]);
- free(screen->driConfigs);
+ for (i = 0; screen->driConfigs[i] != NULL; i++)
+ free((__DRIconfig **) screen->driConfigs[i]);
+ free(screen->driConfigs);
}
free(screen);
}
static __GLXcontext *
-__glXDRIscreenCreateContext(__GLXscreen *baseScreen,
- __GLXconfig *glxConfig,
- __GLXcontext *baseShareContext)
+__glXDRIscreenCreateContext(__GLXscreen * baseScreen,
+ __GLXconfig * glxConfig,
+ __GLXcontext * baseShareContext)
{
__GLXDRIscreen *screen = (__GLXDRIscreen *) baseScreen;
__GLXDRIcontext *context, *shareContext;
@@ -395,27 +389,27 @@ __glXDRIscreenCreateContext(__GLXscreen *baseScreen,
shareContext = (__GLXDRIcontext *) baseShareContext;
if (shareContext)
- driShare = shareContext->driContext;
+ driShare = shareContext->driContext;
else
- driShare = NULL;
+ driShare = NULL;
context = calloc(1, sizeof *context);
if (context == NULL)
- return NULL;
+ return NULL;
- context->base.destroy = __glXDRIcontextDestroy;
- context->base.makeCurrent = __glXDRIcontextMakeCurrent;
- context->base.loseCurrent = __glXDRIcontextLoseCurrent;
- context->base.copy = __glXDRIcontextCopy;
+ context->base.destroy = __glXDRIcontextDestroy;
+ context->base.makeCurrent = __glXDRIcontextMakeCurrent;
+ context->base.loseCurrent = __glXDRIcontextLoseCurrent;
+ context->base.copy = __glXDRIcontextCopy;
context->base.textureFromPixmap = &__glXDRItextureFromPixmap;
- context->base.wait = __glXDRIcontextWait;
+ context->base.wait = __glXDRIcontextWait;
context->driContext =
- (*screen->dri2->createNewContext)(screen->driScreen,
- config->driConfig,
- driShare, context);
+ (*screen->dri2->createNewContext) (screen->driScreen,
+ config->driConfig,
+ driShare, context);
if (context->driContext == NULL) {
- free(context);
+ free(context);
return NULL;
}
@@ -430,18 +424,16 @@ __glXDRIinvalidateBuffers(DrawablePtr pDraw, void *priv, XID id)
__GLXDRIscreen *screen = private->screen;
if (screen->flush)
- (*screen->flush->invalidate)(private->driDrawable);
+ (*screen->flush->invalidate) (private->driDrawable);
#endif
}
static __GLXdrawable *
__glXDRIscreenCreateDrawable(ClientPtr client,
- __GLXscreen *screen,
- DrawablePtr pDraw,
- XID drawId,
- int type,
- XID glxDrawId,
- __GLXconfig *glxConfig)
+ __GLXscreen * screen,
+ DrawablePtr pDraw,
+ XID drawId,
+ int type, XID glxDrawId, __GLXconfig * glxConfig)
{
__GLXDRIscreen *driScreen = (__GLXDRIscreen *) screen;
__GLXDRIconfig *config = (__GLXDRIconfig *) glxConfig;
@@ -449,39 +441,39 @@ __glXDRIscreenCreateDrawable(ClientPtr client,
private = calloc(1, sizeof *private);
if (private == NULL)
- return NULL;
+ return NULL;
private->screen = driScreen;
if (!__glXDrawableInit(&private->base, screen,
- pDraw, type, glxDrawId, glxConfig)) {
+ pDraw, type, glxDrawId, glxConfig)) {
free(private);
- return NULL;
+ return NULL;
}
- private->base.destroy = __glXDRIdrawableDestroy;
- private->base.swapBuffers = __glXDRIdrawableSwapBuffers;
+ private->base.destroy = __glXDRIdrawableDestroy;
+ private->base.swapBuffers = __glXDRIdrawableSwapBuffers;
private->base.copySubBuffer = __glXDRIdrawableCopySubBuffer;
- private->base.waitGL = __glXDRIdrawableWaitGL;
- private->base.waitX = __glXDRIdrawableWaitX;
+ private->base.waitGL = __glXDRIdrawableWaitGL;
+ private->base.waitX = __glXDRIdrawableWaitX;
if (DRI2CreateDrawable(client, pDraw, drawId,
- __glXDRIinvalidateBuffers, private)) {
- free(private);
- return NULL;
+ __glXDRIinvalidateBuffers, private)) {
+ free(private);
+ return NULL;
}
private->driDrawable =
- (*driScreen->dri2->createNewDrawable)(driScreen->driScreen,
- config->driConfig, private);
+ (*driScreen->dri2->createNewDrawable) (driScreen->driScreen,
+ config->driConfig, private);
return &private->base;
}
static __DRIbuffer *
-dri2GetBuffers(__DRIdrawable *driDrawable,
- int *width, int *height,
- unsigned int *attachments, int count,
- int *out_count, void *loaderPrivate)
+dri2GetBuffers(__DRIdrawable * driDrawable,
+ int *width, int *height,
+ unsigned int *attachments, int count,
+ int *out_count, void *loaderPrivate)
{
__GLXDRIdrawable *private = loaderPrivate;
DRI2BufferPtr *buffers;
@@ -489,12 +481,12 @@ dri2GetBuffers(__DRIdrawable *driDrawable,
int j;
buffers = DRI2GetBuffers(private->base.pDraw,
- width, height, attachments, count, out_count);
+ width, height, attachments, count, out_count);
if (*out_count > MAX_DRAWABLE_BUFFERS) {
- *out_count = 0;
- return NULL;
+ *out_count = 0;
+ return NULL;
}
-
+
private->width = *width;
private->height = *height;
@@ -502,19 +494,19 @@ dri2GetBuffers(__DRIdrawable *driDrawable,
* __DRIbuffer tokens. */
j = 0;
for (i = 0; i < *out_count; i++) {
- /* Do not send the real front buffer of a window to the client.
- */
- if ((private->base.pDraw->type == DRAWABLE_WINDOW)
- && (buffers[i]->attachment == DRI2BufferFrontLeft)) {
- continue;
- }
-
- private->buffers[j].attachment = buffers[i]->attachment;
- private->buffers[j].name = buffers[i]->name;
- private->buffers[j].pitch = buffers[i]->pitch;
- private->buffers[j].cpp = buffers[i]->cpp;
- private->buffers[j].flags = buffers[i]->flags;
- j++;
+ /* Do not send the real front buffer of a window to the client.
+ */
+ if ((private->base.pDraw->type == DRAWABLE_WINDOW)
+ && (buffers[i]->attachment == DRI2BufferFrontLeft)) {
+ continue;
+ }
+
+ private->buffers[j].attachment = buffers[i]->attachment;
+ private->buffers[j].name = buffers[i]->name;
+ private->buffers[j].pitch = buffers[i]->pitch;
+ private->buffers[j].cpp = buffers[i]->cpp;
+ private->buffers[j].flags = buffers[i]->flags;
+ j++;
}
*out_count = j;
@@ -522,10 +514,10 @@ dri2GetBuffers(__DRIdrawable *driDrawable,
}
static __DRIbuffer *
-dri2GetBuffersWithFormat(__DRIdrawable *driDrawable,
- int *width, int *height,
- unsigned int *attachments, int count,
- int *out_count, void *loaderPrivate)
+dri2GetBuffersWithFormat(__DRIdrawable * driDrawable,
+ int *width, int *height,
+ unsigned int *attachments, int count,
+ int *out_count, void *loaderPrivate)
{
__GLXDRIdrawable *private = loaderPrivate;
DRI2BufferPtr *buffers;
@@ -533,11 +525,11 @@ dri2GetBuffersWithFormat(__DRIdrawable *driDrawable,
int j = 0;
buffers = DRI2GetBuffersWithFormat(private->base.pDraw,
- width, height, attachments, count,
- out_count);
+ width, height, attachments, count,
+ out_count);
if (*out_count > MAX_DRAWABLE_BUFFERS) {
- *out_count = 0;
- return NULL;
+ *out_count = 0;
+ return NULL;
}
private->width = *width;
@@ -546,34 +538,34 @@ dri2GetBuffersWithFormat(__DRIdrawable *driDrawable,
/* This assumes the DRI2 buffer attachment tokens matches the
* __DRIbuffer tokens. */
for (i = 0; i < *out_count; i++) {
- /* Do not send the real front buffer of a window to the client.
- */
- if ((private->base.pDraw->type == DRAWABLE_WINDOW)
- && (buffers[i]->attachment == DRI2BufferFrontLeft)) {
- continue;
- }
-
- private->buffers[j].attachment = buffers[i]->attachment;
- private->buffers[j].name = buffers[i]->name;
- private->buffers[j].pitch = buffers[i]->pitch;
- private->buffers[j].cpp = buffers[i]->cpp;
- private->buffers[j].flags = buffers[i]->flags;
- j++;
+ /* Do not send the real front buffer of a window to the client.
+ */
+ if ((private->base.pDraw->type == DRAWABLE_WINDOW)
+ && (buffers[i]->attachment == DRI2BufferFrontLeft)) {
+ continue;
+ }
+
+ private->buffers[j].attachment = buffers[i]->attachment;
+ private->buffers[j].name = buffers[i]->name;
+ private->buffers[j].pitch = buffers[i]->pitch;
+ private->buffers[j].cpp = buffers[i]->cpp;
+ private->buffers[j].flags = buffers[i]->flags;
+ j++;
}
*out_count = j;
return private->buffers;
}
-static void
-dri2FlushFrontBuffer(__DRIdrawable *driDrawable, void *loaderPrivate)
+static void
+dri2FlushFrontBuffer(__DRIdrawable * driDrawable, void *loaderPrivate)
{
(void) driDrawable;
__glXDRIdrawableWaitGL((__GLXdrawable *) loaderPrivate);
}
static const __DRIdri2LoaderExtension loaderExtension = {
- { __DRI_DRI2_LOADER, __DRI_DRI2_LOADER_VERSION },
+ {__DRI_DRI2_LOADER, __DRI_DRI2_LOADER_VERSION},
dri2GetBuffers,
dri2FlushFrontBuffer,
dri2GetBuffersWithFormat,
@@ -581,7 +573,7 @@ static const __DRIdri2LoaderExtension loaderExtension = {
#ifdef __DRI_USE_INVALIDATE
static const __DRIuseInvalidateExtension dri2UseInvalidate = {
- { __DRI_USE_INVALIDATE, __DRI_USE_INVALIDATE_VERSION }
+ {__DRI_USE_INVALIDATE, __DRI_USE_INVALIDATE_VERSION}
};
#endif
@@ -595,36 +587,36 @@ static const __DRIextension *loader_extensions[] = {
};
static Bool
-glxDRIEnterVT (int index, int flags)
+glxDRIEnterVT(int index, int flags)
{
ScrnInfoPtr scrn = xf86Screens[index];
- Bool ret;
- __GLXDRIscreen *screen = (__GLXDRIscreen *)
- glxGetScreen(screenInfo.screens[index]);
+ Bool ret;
+ __GLXDRIscreen *screen = (__GLXDRIscreen *)
+ glxGetScreen(screenInfo.screens[index]);
LogMessage(X_INFO, "AIGLX: Resuming AIGLX clients after VT switch\n");
scrn->EnterVT = screen->enterVT;
- ret = scrn->EnterVT (index, flags);
+ ret = scrn->EnterVT(index, flags);
screen->enterVT = scrn->EnterVT;
scrn->EnterVT = glxDRIEnterVT;
if (!ret)
- return FALSE;
-
+ return FALSE;
+
glxResumeClients();
return TRUE;
}
static void
-glxDRILeaveVT (int index, int flags)
+glxDRILeaveVT(int index, int flags)
{
ScrnInfoPtr scrn = xf86Screens[index];
__GLXDRIscreen *screen = (__GLXDRIscreen *)
- glxGetScreen(screenInfo.screens[index]);
+ glxGetScreen(screenInfo.screens[index]);
LogMessage(X_INFO, "AIGLX: Suspending AIGLX clients for VT switch\n");
@@ -637,7 +629,7 @@ glxDRILeaveVT (int index, int flags)
}
static void
-initializeExtensions(__GLXDRIscreen *screen)
+initializeExtensions(__GLXDRIscreen * screen)
{
ScreenPtr pScreen = screen->base.pScreen;
const __DRIextension **extensions;
@@ -645,48 +637,46 @@ initializeExtensions(__GLXDRIscreen *screen)
extensions = screen->core->getExtensions(screen->driScreen);
- __glXEnableExtension(screen->glx_enable_bits,
- "GLX_MESA_copy_sub_buffer");
+ __glXEnableExtension(screen->glx_enable_bits, "GLX_MESA_copy_sub_buffer");
LogMessage(X_INFO, "AIGLX: enabled GLX_MESA_copy_sub_buffer\n");
__glXEnableExtension(screen->glx_enable_bits, "GLX_INTEL_swap_event");
LogMessage(X_INFO, "AIGLX: enabled GLX_INTEL_swap_event\n");
if (DRI2HasSwapControl(pScreen)) {
- __glXEnableExtension(screen->glx_enable_bits,
- "GLX_SGI_swap_control");
- __glXEnableExtension(screen->glx_enable_bits,
- "GLX_MESA_swap_control");
- LogMessage(X_INFO, "AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control\n");
+ __glXEnableExtension(screen->glx_enable_bits, "GLX_SGI_swap_control");
+ __glXEnableExtension(screen->glx_enable_bits, "GLX_MESA_swap_control");
+ LogMessage(X_INFO,
+ "AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control\n");
}
for (i = 0; extensions[i]; i++) {
#ifdef __DRI_READ_DRAWABLE
- if (strcmp(extensions[i]->name, __DRI_READ_DRAWABLE) == 0) {
- __glXEnableExtension(screen->glx_enable_bits,
- "GLX_SGI_make_current_read");
+ if (strcmp(extensions[i]->name, __DRI_READ_DRAWABLE) == 0) {
+ __glXEnableExtension(screen->glx_enable_bits,
+ "GLX_SGI_make_current_read");
- LogMessage(X_INFO, "AIGLX: enabled GLX_SGI_make_current_read\n");
- }
+ LogMessage(X_INFO, "AIGLX: enabled GLX_SGI_make_current_read\n");
+ }
#endif
#ifdef __DRI_TEX_BUFFER
- if (strcmp(extensions[i]->name, __DRI_TEX_BUFFER) == 0) {
- screen->texBuffer =
- (const __DRItexBufferExtension *) extensions[i];
- /* GLX_EXT_texture_from_pixmap is always enabled. */
- LogMessage(X_INFO, "AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects\n");
- }
+ if (strcmp(extensions[i]->name, __DRI_TEX_BUFFER) == 0) {
+ screen->texBuffer = (const __DRItexBufferExtension *) extensions[i];
+ /* GLX_EXT_texture_from_pixmap is always enabled. */
+ LogMessage(X_INFO,
+ "AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects\n");
+ }
#endif
#ifdef __DRI2_FLUSH
- if (strcmp(extensions[i]->name, __DRI2_FLUSH) == 0 &&
- extensions[i]->version >= 3) {
- screen->flush = (__DRI2flushExtension *) extensions[i];
- }
+ if (strcmp(extensions[i]->name, __DRI2_FLUSH) == 0 &&
+ extensions[i]->version >= 3) {
+ screen->flush = (__DRI2flushExtension *) extensions[i];
+ }
#endif
- /* Ignore unknown extensions */
+ /* Ignore unknown extensions */
}
}
@@ -700,49 +690,48 @@ __glXDRIscreenProbe(ScreenPtr pScreen)
screen = calloc(1, sizeof *screen);
if (screen == NULL)
- return NULL;
+ return NULL;
if (!xf86LoaderCheckSymbol("DRI2Connect") ||
- !DRI2Connect(pScreen, DRI2DriverDRI,
- &screen->fd, &driverName, &deviceName)) {
- LogMessage(X_INFO,
- "AIGLX: Screen %d is not DRI2 capable\n", pScreen->myNum);
- return NULL;
+ !DRI2Connect(pScreen, DRI2DriverDRI,
+ &screen->fd, &driverName, &deviceName)) {
+ LogMessage(X_INFO,
+ "AIGLX: Screen %d is not DRI2 capable\n", pScreen->myNum);
+ return NULL;
}
- screen->base.destroy = __glXDRIscreenDestroy;
- screen->base.createContext = __glXDRIscreenCreateContext;
+ screen->base.destroy = __glXDRIscreenDestroy;
+ screen->base.createContext = __glXDRIscreenCreateContext;
screen->base.createDrawable = __glXDRIscreenCreateDrawable;
- screen->base.swapInterval = __glXDRIdrawableSwapInterval;
- screen->base.pScreen = pScreen;
+ screen->base.swapInterval = __glXDRIdrawableSwapInterval;
+ screen->base.pScreen = pScreen;
__glXInitExtensionEnableBits(screen->glx_enable_bits);
- screen->driver = glxProbeDriver(driverName, (void **)&screen->core, __DRI_CORE, 1,
- (void **)&screen->dri2, __DRI_DRI2, 1);
+ screen->driver =
+ glxProbeDriver(driverName, (void **) &screen->core, __DRI_CORE, 1,
+ (void **) &screen->dri2, __DRI_DRI2, 1);
if (screen->driver == NULL) {
goto handle_error;
}
-
+
screen->driScreen =
- (*screen->dri2->createNewScreen)(pScreen->myNum,
- screen->fd,
- loader_extensions,
- &screen->driConfigs,
- screen);
+ (*screen->dri2->createNewScreen) (pScreen->myNum,
+ screen->fd,
+ loader_extensions,
+ &screen->driConfigs, screen);
if (screen->driScreen == NULL) {
- LogMessage(X_ERROR,
- "AIGLX error: Calling driver entry point failed\n");
- goto handle_error;
+ LogMessage(X_ERROR, "AIGLX error: Calling driver entry point failed\n");
+ goto handle_error;
}
initializeExtensions(screen);
screen->base.fbconfigs = glxConvertConfigs(screen->core, screen->driConfigs,
- GLX_WINDOW_BIT |
- GLX_PIXMAP_BIT |
- GLX_PBUFFER_BIT);
+ GLX_WINDOW_BIT |
+ GLX_PIXMAP_BIT |
+ GLX_PBUFFER_BIT);
__glXScreenInit(&screen->base, pScreen);
@@ -752,11 +741,11 @@ __glXDRIscreenProbe(ScreenPtr pScreen)
*/
buffer_size = __glXGetExtensionString(screen->glx_enable_bits, NULL);
if (buffer_size > 0) {
- free(screen->base.GLXextensions);
+ free(screen->base.GLXextensions);
- screen->base.GLXextensions = xnfalloc(buffer_size);
- (void) __glXGetExtensionString(screen->glx_enable_bits,
- screen->base.GLXextensions);
+ screen->base.GLXextensions = xnfalloc(buffer_size);
+ (void) __glXGetExtensionString(screen->glx_enable_bits,
+ screen->base.GLXextensions);
}
/* We're going to assume (perhaps incorrectly?) that all DRI2-enabled
@@ -770,14 +759,13 @@ __glXDRIscreenProbe(ScreenPtr pScreen)
*/
screen->base.GLXmajor = 1;
screen->base.GLXminor = 4;
-
+
screen->enterVT = pScrn->EnterVT;
- pScrn->EnterVT = glxDRIEnterVT;
+ pScrn->EnterVT = glxDRIEnterVT;
screen->leaveVT = pScrn->LeaveVT;
pScrn->LeaveVT = glxDRILeaveVT;
- LogMessage(X_INFO,
- "AIGLX: Loaded and initialized %s\n", driverName);
+ LogMessage(X_INFO, "AIGLX: Loaded and initialized %s\n", driverName);
return &screen->base;
diff --git a/glx/glxdricommon.c b/glx/glxdricommon.c
index 9149e0db1..44d5a3e7b 100644
--- a/glx/glxdricommon.c
+++ b/glx/glxdricommon.c
@@ -41,88 +41,90 @@
#include "glxdricommon.h"
static int
-getUST(int64_t *ust)
+getUST(int64_t * ust)
{
- struct timeval tv;
-
+ struct timeval tv;
+
if (ust == NULL)
- return -EFAULT;
+ return -EFAULT;
if (gettimeofday(&tv, NULL) == 0) {
- ust[0] = (tv.tv_sec * 1000000) + tv.tv_usec;
- return 0;
- } else {
- return -errno;
+ ust[0] = (tv.tv_sec * 1000000) + tv.tv_usec;
+ return 0;
+ }
+ else {
+ return -errno;
}
}
const __DRIsystemTimeExtension systemTimeExtension = {
- { __DRI_SYSTEM_TIME, __DRI_SYSTEM_TIME_VERSION },
+ {__DRI_SYSTEM_TIME, __DRI_SYSTEM_TIME_VERSION},
getUST,
NULL,
};
-
+
#define __ATTRIB(attrib, field) \
{ attrib, offsetof(__GLXconfig, field) }
-static const struct { unsigned int attrib, offset; } attribMap[] = {
- __ATTRIB(__DRI_ATTRIB_BUFFER_SIZE, rgbBits),
- __ATTRIB(__DRI_ATTRIB_LEVEL, level),
- __ATTRIB(__DRI_ATTRIB_RED_SIZE, redBits),
- __ATTRIB(__DRI_ATTRIB_GREEN_SIZE, greenBits),
- __ATTRIB(__DRI_ATTRIB_BLUE_SIZE, blueBits),
- __ATTRIB(__DRI_ATTRIB_ALPHA_SIZE, alphaBits),
- __ATTRIB(__DRI_ATTRIB_DEPTH_SIZE, depthBits),
- __ATTRIB(__DRI_ATTRIB_STENCIL_SIZE, stencilBits),
- __ATTRIB(__DRI_ATTRIB_ACCUM_RED_SIZE, accumRedBits),
- __ATTRIB(__DRI_ATTRIB_ACCUM_GREEN_SIZE, accumGreenBits),
- __ATTRIB(__DRI_ATTRIB_ACCUM_BLUE_SIZE, accumBlueBits),
- __ATTRIB(__DRI_ATTRIB_ACCUM_ALPHA_SIZE, accumAlphaBits),
- __ATTRIB(__DRI_ATTRIB_SAMPLE_BUFFERS, sampleBuffers),
- __ATTRIB(__DRI_ATTRIB_SAMPLES, samples),
- __ATTRIB(__DRI_ATTRIB_DOUBLE_BUFFER, doubleBufferMode),
- __ATTRIB(__DRI_ATTRIB_STEREO, stereoMode),
- __ATTRIB(__DRI_ATTRIB_AUX_BUFFERS, numAuxBuffers),
- __ATTRIB(__DRI_ATTRIB_TRANSPARENT_TYPE, transparentPixel),
- __ATTRIB(__DRI_ATTRIB_TRANSPARENT_INDEX_VALUE, transparentPixel),
- __ATTRIB(__DRI_ATTRIB_TRANSPARENT_RED_VALUE, transparentRed),
- __ATTRIB(__DRI_ATTRIB_TRANSPARENT_GREEN_VALUE, transparentGreen),
- __ATTRIB(__DRI_ATTRIB_TRANSPARENT_BLUE_VALUE, transparentBlue),
- __ATTRIB(__DRI_ATTRIB_TRANSPARENT_ALPHA_VALUE, transparentAlpha),
- __ATTRIB(__DRI_ATTRIB_RED_MASK, redMask),
- __ATTRIB(__DRI_ATTRIB_GREEN_MASK, greenMask),
- __ATTRIB(__DRI_ATTRIB_BLUE_MASK, blueMask),
- __ATTRIB(__DRI_ATTRIB_ALPHA_MASK, alphaMask),
- __ATTRIB(__DRI_ATTRIB_MAX_PBUFFER_WIDTH, maxPbufferWidth),
- __ATTRIB(__DRI_ATTRIB_MAX_PBUFFER_HEIGHT, maxPbufferHeight),
- __ATTRIB(__DRI_ATTRIB_MAX_PBUFFER_PIXELS, maxPbufferPixels),
- __ATTRIB(__DRI_ATTRIB_OPTIMAL_PBUFFER_WIDTH, optimalPbufferWidth),
- __ATTRIB(__DRI_ATTRIB_OPTIMAL_PBUFFER_HEIGHT, optimalPbufferHeight),
- __ATTRIB(__DRI_ATTRIB_SWAP_METHOD, swapMethod),
- __ATTRIB(__DRI_ATTRIB_BIND_TO_TEXTURE_RGB, bindToTextureRgb),
- __ATTRIB(__DRI_ATTRIB_BIND_TO_TEXTURE_RGBA, bindToTextureRgba),
- __ATTRIB(__DRI_ATTRIB_BIND_TO_MIPMAP_TEXTURE, bindToMipmapTexture),
- __ATTRIB(__DRI_ATTRIB_YINVERTED, yInverted),
-};
+static const struct {
+ unsigned int attrib, offset;
+} attribMap[] = {
+__ATTRIB(__DRI_ATTRIB_BUFFER_SIZE, rgbBits),
+ __ATTRIB(__DRI_ATTRIB_LEVEL, level),
+ __ATTRIB(__DRI_ATTRIB_RED_SIZE, redBits),
+ __ATTRIB(__DRI_ATTRIB_GREEN_SIZE, greenBits),
+ __ATTRIB(__DRI_ATTRIB_BLUE_SIZE, blueBits),
+ __ATTRIB(__DRI_ATTRIB_ALPHA_SIZE, alphaBits),
+ __ATTRIB(__DRI_ATTRIB_DEPTH_SIZE, depthBits),
+ __ATTRIB(__DRI_ATTRIB_STENCIL_SIZE, stencilBits),
+ __ATTRIB(__DRI_ATTRIB_ACCUM_RED_SIZE, accumRedBits),
+ __ATTRIB(__DRI_ATTRIB_ACCUM_GREEN_SIZE, accumGreenBits),
+ __ATTRIB(__DRI_ATTRIB_ACCUM_BLUE_SIZE, accumBlueBits),
+ __ATTRIB(__DRI_ATTRIB_ACCUM_ALPHA_SIZE, accumAlphaBits),
+ __ATTRIB(__DRI_ATTRIB_SAMPLE_BUFFERS, sampleBuffers),
+ __ATTRIB(__DRI_ATTRIB_SAMPLES, samples),
+ __ATTRIB(__DRI_ATTRIB_DOUBLE_BUFFER, doubleBufferMode),
+ __ATTRIB(__DRI_ATTRIB_STEREO, stereoMode),
+ __ATTRIB(__DRI_ATTRIB_AUX_BUFFERS, numAuxBuffers),
+ __ATTRIB(__DRI_ATTRIB_TRANSPARENT_TYPE, transparentPixel),
+ __ATTRIB(__DRI_ATTRIB_TRANSPARENT_INDEX_VALUE, transparentPixel),
+ __ATTRIB(__DRI_ATTRIB_TRANSPARENT_RED_VALUE, transparentRed),
+ __ATTRIB(__DRI_ATTRIB_TRANSPARENT_GREEN_VALUE, transparentGreen),
+ __ATTRIB(__DRI_ATTRIB_TRANSPARENT_BLUE_VALUE, transparentBlue),
+ __ATTRIB(__DRI_ATTRIB_TRANSPARENT_ALPHA_VALUE, transparentAlpha),
+ __ATTRIB(__DRI_ATTRIB_RED_MASK, redMask),
+ __ATTRIB(__DRI_ATTRIB_GREEN_MASK, greenMask),
+ __ATTRIB(__DRI_ATTRIB_BLUE_MASK, blueMask),
+ __ATTRIB(__DRI_ATTRIB_ALPHA_MASK, alphaMask),
+ __ATTRIB(__DRI_ATTRIB_MAX_PBUFFER_WIDTH, maxPbufferWidth),
+ __ATTRIB(__DRI_ATTRIB_MAX_PBUFFER_HEIGHT, maxPbufferHeight),
+ __ATTRIB(__DRI_ATTRIB_MAX_PBUFFER_PIXELS, maxPbufferPixels),
+ __ATTRIB(__DRI_ATTRIB_OPTIMAL_PBUFFER_WIDTH, optimalPbufferWidth),
+ __ATTRIB(__DRI_ATTRIB_OPTIMAL_PBUFFER_HEIGHT, optimalPbufferHeight),
+ __ATTRIB(__DRI_ATTRIB_SWAP_METHOD, swapMethod),
+ __ATTRIB(__DRI_ATTRIB_BIND_TO_TEXTURE_RGB, bindToTextureRgb),
+ __ATTRIB(__DRI_ATTRIB_BIND_TO_TEXTURE_RGBA, bindToTextureRgba),
+ __ATTRIB(__DRI_ATTRIB_BIND_TO_MIPMAP_TEXTURE, bindToMipmapTexture),
+ __ATTRIB(__DRI_ATTRIB_YINVERTED, yInverted),};
#define ARRAY_SIZE(a) (sizeof (a) / sizeof ((a)[0]))
static void
-setScalar(__GLXconfig *config, unsigned int attrib, unsigned int value)
+setScalar(__GLXconfig * config, unsigned int attrib, unsigned int value)
{
int i;
for (i = 0; i < ARRAY_SIZE(attribMap); i++)
- if (attribMap[i].attrib == attrib) {
- *(unsigned int *) ((char *) config + attribMap[i].offset) = value;
- return;
- }
+ if (attribMap[i].attrib == attrib) {
+ *(unsigned int *) ((char *) config + attribMap[i].offset) = value;
+ return;
+ }
}
static __GLXconfig *
-createModeFromConfig(const __DRIcoreExtension *core,
- const __DRIconfig *driConfig,
- unsigned int visualType, unsigned int drawableType)
+createModeFromConfig(const __DRIcoreExtension * core,
+ const __DRIconfig * driConfig,
+ unsigned int visualType, unsigned int drawableType)
{
__GLXDRIconfig *config;
unsigned int attrib, value;
@@ -134,35 +136,36 @@ createModeFromConfig(const __DRIcoreExtension *core,
i = 0;
while (core->indexConfigAttrib(driConfig, i++, &attrib, &value)) {
- switch (attrib) {
- case __DRI_ATTRIB_RENDER_TYPE:
- config->config.renderType = 0;
- if (value & __DRI_ATTRIB_RGBA_BIT)
- config->config.renderType |= GLX_RGBA_BIT;
- if (value & __DRI_ATTRIB_COLOR_INDEX_BIT)
- config->config.renderType |= GLX_COLOR_INDEX_BIT;
- break;
- case __DRI_ATTRIB_CONFIG_CAVEAT:
- if (value & __DRI_ATTRIB_NON_CONFORMANT_CONFIG)
- config->config.visualRating = GLX_NON_CONFORMANT_CONFIG;
- else if (value & __DRI_ATTRIB_SLOW_BIT)
- config->config.visualRating = GLX_SLOW_CONFIG;
- else
- config->config.visualRating = GLX_NONE;
- break;
- case __DRI_ATTRIB_BIND_TO_TEXTURE_TARGETS:
- config->config.bindToTextureTargets = 0;
- if (value & __DRI_ATTRIB_TEXTURE_1D_BIT)
- config->config.bindToTextureTargets |= GLX_TEXTURE_1D_BIT_EXT;
- if (value & __DRI_ATTRIB_TEXTURE_2D_BIT)
- config->config.bindToTextureTargets |= GLX_TEXTURE_2D_BIT_EXT;
- if (value & __DRI_ATTRIB_TEXTURE_RECTANGLE_BIT)
- config->config.bindToTextureTargets |= GLX_TEXTURE_RECTANGLE_BIT_EXT;
- break;
- default:
- setScalar(&config->config, attrib, value);
- break;
- }
+ switch (attrib) {
+ case __DRI_ATTRIB_RENDER_TYPE:
+ config->config.renderType = 0;
+ if (value & __DRI_ATTRIB_RGBA_BIT)
+ config->config.renderType |= GLX_RGBA_BIT;
+ if (value & __DRI_ATTRIB_COLOR_INDEX_BIT)
+ config->config.renderType |= GLX_COLOR_INDEX_BIT;
+ break;
+ case __DRI_ATTRIB_CONFIG_CAVEAT:
+ if (value & __DRI_ATTRIB_NON_CONFORMANT_CONFIG)
+ config->config.visualRating = GLX_NON_CONFORMANT_CONFIG;
+ else if (value & __DRI_ATTRIB_SLOW_BIT)
+ config->config.visualRating = GLX_SLOW_CONFIG;
+ else
+ config->config.visualRating = GLX_NONE;
+ break;
+ case __DRI_ATTRIB_BIND_TO_TEXTURE_TARGETS:
+ config->config.bindToTextureTargets = 0;
+ if (value & __DRI_ATTRIB_TEXTURE_1D_BIT)
+ config->config.bindToTextureTargets |= GLX_TEXTURE_1D_BIT_EXT;
+ if (value & __DRI_ATTRIB_TEXTURE_2D_BIT)
+ config->config.bindToTextureTargets |= GLX_TEXTURE_2D_BIT_EXT;
+ if (value & __DRI_ATTRIB_TEXTURE_RECTANGLE_BIT)
+ config->config.bindToTextureTargets |=
+ GLX_TEXTURE_RECTANGLE_BIT_EXT;
+ break;
+ default:
+ setScalar(&config->config, attrib, value);
+ break;
+ }
}
config->config.next = NULL;
@@ -174,8 +177,8 @@ createModeFromConfig(const __DRIcoreExtension *core,
}
__GLXconfig *
-glxConvertConfigs(const __DRIcoreExtension *core,
- const __DRIconfig **configs, unsigned int drawableType)
+glxConvertConfigs(const __DRIcoreExtension * core,
+ const __DRIconfig ** configs, unsigned int drawableType)
{
__GLXconfig head, *tail;
int i;
@@ -184,23 +187,23 @@ glxConvertConfigs(const __DRIcoreExtension *core,
head.next = NULL;
for (i = 0; configs[i]; i++) {
- tail->next = createModeFromConfig(core,
- configs[i], GLX_TRUE_COLOR,
- drawableType);
- if (tail->next == NULL)
- break;
+ tail->next = createModeFromConfig(core,
+ configs[i], GLX_TRUE_COLOR,
+ drawableType);
+ if (tail->next == NULL)
+ break;
- tail = tail->next;
+ tail = tail->next;
}
for (i = 0; configs[i]; i++) {
- tail->next = createModeFromConfig(core,
- configs[i], GLX_DIRECT_COLOR,
- drawableType);
- if (tail->next == NULL)
- break;
+ tail->next = createModeFromConfig(core,
+ configs[i], GLX_DIRECT_COLOR,
+ drawableType);
+ if (tail->next == NULL)
+ break;
- tail = tail->next;
+ tail = tail->next;
}
return head.next;
@@ -210,8 +213,8 @@ static const char dri_driver_path[] = DRI_DRIVER_PATH;
void *
glxProbeDriver(const char *driverName,
- void **coreExt, const char *coreName, int coreVersion,
- void **renderExt, const char *renderName, int renderVersion)
+ void **coreExt, const char *coreName, int coreVersion,
+ void **renderExt, const char *renderName, int renderVersion)
{
int i;
void *driver;
@@ -223,41 +226,41 @@ glxProbeDriver(const char *driverName,
driver = dlopen(filename, RTLD_LAZY | RTLD_LOCAL);
if (driver == NULL) {
- LogMessage(X_ERROR, "AIGLX error: dlopen of %s failed (%s)\n",
- filename, dlerror());
- goto cleanup_failure;
+ LogMessage(X_ERROR, "AIGLX error: dlopen of %s failed (%s)\n",
+ filename, dlerror());
+ goto cleanup_failure;
}
extensions = dlsym(driver, __DRI_DRIVER_EXTENSIONS);
if (extensions == NULL) {
- LogMessage(X_ERROR, "AIGLX error: %s exports no extensions (%s)\n",
- driverName, dlerror());
- goto cleanup_failure;
+ LogMessage(X_ERROR, "AIGLX error: %s exports no extensions (%s)\n",
+ driverName, dlerror());
+ goto cleanup_failure;
}
for (i = 0; extensions[i]; i++) {
- if (strcmp(extensions[i]->name, coreName) == 0 &&
- extensions[i]->version >= coreVersion) {
- *coreExt = (void *)extensions[i];
- }
-
- if (strcmp(extensions[i]->name, renderName) == 0 &&
- extensions[i]->version >= renderVersion) {
- *renderExt = (void *)extensions[i];
- }
+ if (strcmp(extensions[i]->name, coreName) == 0 &&
+ extensions[i]->version >= coreVersion) {
+ *coreExt = (void *) extensions[i];
+ }
+
+ if (strcmp(extensions[i]->name, renderName) == 0 &&
+ extensions[i]->version >= renderVersion) {
+ *renderExt = (void *) extensions[i];
+ }
}
if (*coreExt == NULL || *renderExt == NULL) {
- LogMessage(X_ERROR,
- "AIGLX error: %s does not export required DRI extension\n",
- driverName);
- goto cleanup_failure;
+ LogMessage(X_ERROR,
+ "AIGLX error: %s does not export required DRI extension\n",
+ driverName);
+ goto cleanup_failure;
}
return driver;
-cleanup_failure:
+ cleanup_failure:
if (driver)
- dlclose(driver);
+ dlclose(driver);
*coreExt = *renderExt = NULL;
return NULL;
}
diff --git a/glx/glxdricommon.h b/glx/glxdricommon.h
index 2c55e60a6..f4fcf009e 100644
--- a/glx/glxdricommon.h
+++ b/glx/glxdricommon.h
@@ -26,21 +26,21 @@
#ifndef _GLX_dri_common_h
#define _GLX_dri_common_h
-typedef struct __GLXDRIconfig __GLXDRIconfig;
+typedef struct __GLXDRIconfig __GLXDRIconfig;
struct __GLXDRIconfig {
__GLXconfig config;
const __DRIconfig *driConfig;
};
-__GLXconfig *
-glxConvertConfigs(const __DRIcoreExtension *core,
- const __DRIconfig **configs, unsigned int drawableType);
+__GLXconfig *glxConvertConfigs(const __DRIcoreExtension * core,
+ const __DRIconfig ** configs,
+ unsigned int drawableType);
extern const __DRIsystemTimeExtension systemTimeExtension;
-void *
-glxProbeDriver(const char *name,
- void **coreExt, const char *coreName, int coreVersion,
- void **renderExt, const char *renderName, int renderVersion);
+void *glxProbeDriver(const char *name,
+ void **coreExt, const char *coreName, int coreVersion,
+ void **renderExt, const char *renderName,
+ int renderVersion);
#endif
diff --git a/glx/glxdriswrast.c b/glx/glxdriswrast.c
index d064a0536..c69b4d258 100644
--- a/glx/glxdriswrast.c
+++ b/glx/glxdriswrast.c
@@ -61,14 +61,14 @@
#endif
#endif
-typedef struct __GLXDRIscreen __GLXDRIscreen;
-typedef struct __GLXDRIcontext __GLXDRIcontext;
+typedef struct __GLXDRIscreen __GLXDRIscreen;
+typedef struct __GLXDRIcontext __GLXDRIcontext;
typedef struct __GLXDRIdrawable __GLXDRIdrawable;
struct __GLXDRIscreen {
- __GLXscreen base;
- __DRIscreen *driScreen;
- void *driver;
+ __GLXscreen base;
+ __DRIscreen *driScreen;
+ void *driver;
const __DRIcoreExtension *core;
const __DRIswrastExtension *swrast;
@@ -78,29 +78,29 @@ struct __GLXDRIscreen {
};
struct __GLXDRIcontext {
- __GLXcontext base;
- __DRIcontext *driContext;
+ __GLXcontext base;
+ __DRIcontext *driContext;
};
struct __GLXDRIdrawable {
- __GLXdrawable base;
- __DRIdrawable *driDrawable;
- __GLXDRIscreen *screen;
+ __GLXdrawable base;
+ __DRIdrawable *driDrawable;
+ __GLXDRIscreen *screen;
- GCPtr gc; /* scratch GC for span drawing */
- GCPtr swapgc; /* GC for swapping the color buffers */
+ GCPtr gc; /* scratch GC for span drawing */
+ GCPtr swapgc; /* GC for swapping the color buffers */
};
static void
-__glXDRIdrawableDestroy(__GLXdrawable *drawable)
+__glXDRIdrawableDestroy(__GLXdrawable * drawable)
{
__GLXDRIdrawable *private = (__GLXDRIdrawable *) drawable;
const __DRIcoreExtension *core = private->screen->core;
- (*core->destroyDrawable)(private->driDrawable);
+ (*core->destroyDrawable) (private->driDrawable);
- FreeGC(private->gc, (GContext)0);
- FreeGC(private->swapgc, (GContext)0);
+ FreeGC(private->gc, (GContext) 0);
+ FreeGC(private->swapgc, (GContext) 0);
__glXDrawableRelease(drawable);
@@ -108,79 +108,77 @@ __glXDRIdrawableDestroy(__GLXdrawable *drawable)
}
static GLboolean
-__glXDRIdrawableSwapBuffers(ClientPtr client, __GLXdrawable *drawable)
+__glXDRIdrawableSwapBuffers(ClientPtr client, __GLXdrawable * drawable)
{
__GLXDRIdrawable *private = (__GLXDRIdrawable *) drawable;
const __DRIcoreExtension *core = private->screen->core;
- (*core->swapBuffers)(private->driDrawable);
+ (*core->swapBuffers) (private->driDrawable);
return TRUE;
}
static void
-__glXDRIdrawableCopySubBuffer(__GLXdrawable *basePrivate,
- int x, int y, int w, int h)
+__glXDRIdrawableCopySubBuffer(__GLXdrawable * basePrivate,
+ int x, int y, int w, int h)
{
__GLXDRIdrawable *private = (__GLXDRIdrawable *) basePrivate;
const __DRIcopySubBufferExtension *copySubBuffer =
- private->screen->copySubBuffer;
+ private->screen->copySubBuffer;
if (copySubBuffer)
- (*copySubBuffer->copySubBuffer)(private->driDrawable, x, y, w, h);
+ (*copySubBuffer->copySubBuffer) (private->driDrawable, x, y, w, h);
}
static void
-__glXDRIcontextDestroy(__GLXcontext *baseContext)
+__glXDRIcontextDestroy(__GLXcontext * baseContext)
{
__GLXDRIcontext *context = (__GLXDRIcontext *) baseContext;
__GLXDRIscreen *screen = (__GLXDRIscreen *) context->base.pGlxScreen;
- (*screen->core->destroyContext)(context->driContext);
+ (*screen->core->destroyContext) (context->driContext);
__glXContextDestroy(&context->base);
free(context);
}
static int
-__glXDRIcontextMakeCurrent(__GLXcontext *baseContext)
+__glXDRIcontextMakeCurrent(__GLXcontext * baseContext)
{
__GLXDRIcontext *context = (__GLXDRIcontext *) baseContext;
__GLXDRIdrawable *draw = (__GLXDRIdrawable *) baseContext->drawPriv;
__GLXDRIdrawable *read = (__GLXDRIdrawable *) baseContext->readPriv;
__GLXDRIscreen *screen = (__GLXDRIscreen *) context->base.pGlxScreen;
- return (*screen->core->bindContext)(context->driContext,
- draw->driDrawable,
- read->driDrawable);
+ return (*screen->core->bindContext) (context->driContext,
+ draw->driDrawable, read->driDrawable);
}
static int
-__glXDRIcontextLoseCurrent(__GLXcontext *baseContext)
+__glXDRIcontextLoseCurrent(__GLXcontext * baseContext)
{
__GLXDRIcontext *context = (__GLXDRIcontext *) baseContext;
__GLXDRIscreen *screen = (__GLXDRIscreen *) context->base.pGlxScreen;
- return (*screen->core->unbindContext)(context->driContext);
+ return (*screen->core->unbindContext) (context->driContext);
}
static int
-__glXDRIcontextCopy(__GLXcontext *baseDst, __GLXcontext *baseSrc,
- unsigned long mask)
+__glXDRIcontextCopy(__GLXcontext * baseDst, __GLXcontext * baseSrc,
+ unsigned long mask)
{
__GLXDRIcontext *dst = (__GLXDRIcontext *) baseDst;
__GLXDRIcontext *src = (__GLXDRIcontext *) baseSrc;
__GLXDRIscreen *screen = (__GLXDRIscreen *) dst->base.pGlxScreen;
- return (*screen->core->copyContext)(dst->driContext,
- src->driContext, mask);
+ return (*screen->core->copyContext) (dst->driContext,
+ src->driContext, mask);
}
#ifdef __DRI_TEX_BUFFER
static int
-__glXDRIbindTexImage(__GLXcontext *baseContext,
- int buffer,
- __GLXdrawable *glxPixmap)
+__glXDRIbindTexImage(__GLXcontext * baseContext,
+ int buffer, __GLXdrawable * glxPixmap)
{
__GLXDRIdrawable *drawable = (__GLXDRIdrawable *) glxPixmap;
const __DRItexBufferExtension *texBuffer = drawable->screen->texBuffer;
@@ -191,23 +189,21 @@ __glXDRIbindTexImage(__GLXcontext *baseContext,
#if __DRI_TEX_BUFFER_VERSION >= 2
if (texBuffer->base.version >= 2 && texBuffer->setTexBuffer2 != NULL) {
- (*texBuffer->setTexBuffer2)(context->driContext,
- glxPixmap->target,
- glxPixmap->format,
- drawable->driDrawable);
- } else
+ (*texBuffer->setTexBuffer2) (context->driContext,
+ glxPixmap->target,
+ glxPixmap->format, drawable->driDrawable);
+ }
+ else
#endif
- texBuffer->setTexBuffer(context->driContext,
- glxPixmap->target,
- drawable->driDrawable);
+ texBuffer->setTexBuffer(context->driContext,
+ glxPixmap->target, drawable->driDrawable);
return Success;
}
static int
-__glXDRIreleaseTexImage(__GLXcontext *baseContext,
- int buffer,
- __GLXdrawable *pixmap)
+__glXDRIreleaseTexImage(__GLXcontext * baseContext,
+ int buffer, __GLXdrawable * pixmap)
{
/* FIXME: Just unbind the texture? */
return Success;
@@ -216,17 +212,15 @@ __glXDRIreleaseTexImage(__GLXcontext *baseContext,
#else
static int
-__glXDRIbindTexImage(__GLXcontext *baseContext,
- int buffer,
- __GLXdrawable *glxPixmap)
+__glXDRIbindTexImage(__GLXcontext * baseContext,
+ int buffer, __GLXdrawable * glxPixmap)
{
return Success;
}
static int
-__glXDRIreleaseTexImage(__GLXcontext *baseContext,
- int buffer,
- __GLXdrawable *pixmap)
+__glXDRIreleaseTexImage(__GLXcontext * baseContext,
+ int buffer, __GLXdrawable * pixmap)
{
return Success;
}
@@ -239,31 +233,31 @@ static __GLXtextureFromPixmap __glXDRItextureFromPixmap = {
};
static void
-__glXDRIscreenDestroy(__GLXscreen *baseScreen)
+__glXDRIscreenDestroy(__GLXscreen * baseScreen)
{
int i;
__GLXDRIscreen *screen = (__GLXDRIscreen *) baseScreen;
- (*screen->core->destroyScreen)(screen->driScreen);
+ (*screen->core->destroyScreen) (screen->driScreen);
dlclose(screen->driver);
__glXScreenDestroy(baseScreen);
if (screen->driConfigs) {
- for (i = 0; screen->driConfigs[i] != NULL; i++)
- free((__DRIconfig **)screen->driConfigs[i]);
- free(screen->driConfigs);
+ for (i = 0; screen->driConfigs[i] != NULL; i++)
+ free((__DRIconfig **) screen->driConfigs[i]);
+ free(screen->driConfigs);
}
free(screen);
}
static __GLXcontext *
-__glXDRIscreenCreateContext(__GLXscreen *baseScreen,
- __GLXconfig *glxConfig,
- __GLXcontext *baseShareContext)
+__glXDRIscreenCreateContext(__GLXscreen * baseScreen,
+ __GLXconfig * glxConfig,
+ __GLXcontext * baseShareContext)
{
__GLXDRIscreen *screen = (__GLXDRIscreen *) baseScreen;
__GLXDRIcontext *context, *shareContext;
@@ -273,35 +267,33 @@ __glXDRIscreenCreateContext(__GLXscreen *baseScreen,
shareContext = (__GLXDRIcontext *) baseShareContext;
if (shareContext)
- driShare = shareContext->driContext;
+ driShare = shareContext->driContext;
else
- driShare = NULL;
+ driShare = NULL;
context = calloc(1, sizeof *context);
if (context == NULL)
- return NULL;
+ return NULL;
- context->base.destroy = __glXDRIcontextDestroy;
- context->base.makeCurrent = __glXDRIcontextMakeCurrent;
- context->base.loseCurrent = __glXDRIcontextLoseCurrent;
- context->base.copy = __glXDRIcontextCopy;
+ context->base.destroy = __glXDRIcontextDestroy;
+ context->base.makeCurrent = __glXDRIcontextMakeCurrent;
+ context->base.loseCurrent = __glXDRIcontextLoseCurrent;
+ context->base.copy = __glXDRIcontextCopy;
context->base.textureFromPixmap = &__glXDRItextureFromPixmap;
context->driContext =
- (*core->createNewContext)(screen->driScreen,
- config->driConfig, driShare, context);
+ (*core->createNewContext) (screen->driScreen,
+ config->driConfig, driShare, context);
return &context->base;
}
static __GLXdrawable *
__glXDRIscreenCreateDrawable(ClientPtr client,
- __GLXscreen *screen,
- DrawablePtr pDraw,
- XID drawId,
- int type,
- XID glxDrawId,
- __GLXconfig *glxConfig)
+ __GLXscreen * screen,
+ DrawablePtr pDraw,
+ XID drawId,
+ int type, XID glxDrawId, __GLXconfig * glxConfig)
{
XID gcvals[2];
int status;
@@ -311,36 +303,37 @@ __glXDRIscreenCreateDrawable(ClientPtr client,
private = calloc(1, sizeof *private);
if (private == NULL)
- return NULL;
+ return NULL;
private->screen = driScreen;
if (!__glXDrawableInit(&private->base, screen,
- pDraw, type, glxDrawId, glxConfig)) {
+ pDraw, type, glxDrawId, glxConfig)) {
free(private);
- return NULL;
+ return NULL;
}
- private->base.destroy = __glXDRIdrawableDestroy;
- private->base.swapBuffers = __glXDRIdrawableSwapBuffers;
+ private->base.destroy = __glXDRIdrawableDestroy;
+ private->base.swapBuffers = __glXDRIdrawableSwapBuffers;
private->base.copySubBuffer = __glXDRIdrawableCopySubBuffer;
gcvals[0] = GXcopy;
- private->gc = CreateGC(pDraw, GCFunction, gcvals, &status, (XID)0, serverClient);
+ private->gc =
+ CreateGC(pDraw, GCFunction, gcvals, &status, (XID) 0, serverClient);
gcvals[1] = FALSE;
- private->swapgc = CreateGC(pDraw, GCFunction | GCGraphicsExposures, gcvals, &status, (XID)0, serverClient);
+ private->swapgc =
+ CreateGC(pDraw, GCFunction | GCGraphicsExposures, gcvals, &status,
+ (XID) 0, serverClient);
private->driDrawable =
- (*driScreen->swrast->createNewDrawable)(driScreen->driScreen,
- config->driConfig,
- private);
+ (*driScreen->swrast->createNewDrawable) (driScreen->driScreen,
+ config->driConfig, private);
return &private->base;
}
static void
-swrastGetDrawableInfo(__DRIdrawable *draw,
- int *x, int *y, int *w, int *h,
- void *loaderPrivate)
+swrastGetDrawableInfo(__DRIdrawable * draw,
+ int *x, int *y, int *w, int *h, void *loaderPrivate)
{
__GLXDRIdrawable *drawable = loaderPrivate;
DrawablePtr pDraw = drawable->base.pDraw;
@@ -352,9 +345,8 @@ swrastGetDrawableInfo(__DRIdrawable *draw,
}
static void
-swrastPutImage(__DRIdrawable *draw, int op,
- int x, int y, int w, int h, char *data,
- void *loaderPrivate)
+swrastPutImage(__DRIdrawable * draw, int op,
+ int x, int y, int w, int h, char *data, void *loaderPrivate)
{
__GLXDRIdrawable *drawable = loaderPrivate;
DrawablePtr pDraw = drawable->base.pDraw;
@@ -362,25 +354,23 @@ swrastPutImage(__DRIdrawable *draw, int op,
switch (op) {
case __DRI_SWRAST_IMAGE_OP_DRAW:
- gc = drawable->gc;
- break;
+ gc = drawable->gc;
+ break;
case __DRI_SWRAST_IMAGE_OP_SWAP:
- gc = drawable->swapgc;
- break;
+ gc = drawable->swapgc;
+ break;
default:
- return;
+ return;
}
ValidateGC(pDraw, gc);
- gc->ops->PutImage(pDraw, gc, pDraw->depth,
- x, y, w, h, 0, ZPixmap, data);
+ gc->ops->PutImage(pDraw, gc, pDraw->depth, x, y, w, h, 0, ZPixmap, data);
}
static void
-swrastGetImage(__DRIdrawable *draw,
- int x, int y, int w, int h, char *data,
- void *loaderPrivate)
+swrastGetImage(__DRIdrawable * draw,
+ int x, int y, int w, int h, char *data, void *loaderPrivate)
{
__GLXDRIdrawable *drawable = loaderPrivate;
DrawablePtr pDraw = drawable->base.pDraw;
@@ -390,7 +380,7 @@ swrastGetImage(__DRIdrawable *draw,
}
static const __DRIswrastLoaderExtension swrastLoaderExtension = {
- { __DRI_SWRAST_LOADER, __DRI_SWRAST_LOADER_VERSION },
+ {__DRI_SWRAST_LOADER, __DRI_SWRAST_LOADER_VERSION},
swrastGetDrawableInfo,
swrastPutImage,
swrastGetImage
@@ -403,7 +393,7 @@ static const __DRIextension *loader_extensions[] = {
};
static void
-initializeExtensions(__GLXDRIscreen *screen)
+initializeExtensions(__GLXDRIscreen * screen)
{
const __DRIextension **extensions;
int i;
@@ -412,21 +402,20 @@ initializeExtensions(__GLXDRIscreen *screen)
for (i = 0; extensions[i]; i++) {
#ifdef __DRI_COPY_SUB_BUFFER
- if (strcmp(extensions[i]->name, __DRI_COPY_SUB_BUFFER) == 0) {
- screen->copySubBuffer =
- (const __DRIcopySubBufferExtension *) extensions[i];
- /* GLX_MESA_copy_sub_buffer is always enabled. */
- }
+ if (strcmp(extensions[i]->name, __DRI_COPY_SUB_BUFFER) == 0) {
+ screen->copySubBuffer =
+ (const __DRIcopySubBufferExtension *) extensions[i];
+ /* GLX_MESA_copy_sub_buffer is always enabled. */
+ }
#endif
#ifdef __DRI_TEX_BUFFER
- if (strcmp(extensions[i]->name, __DRI_TEX_BUFFER) == 0) {
- screen->texBuffer =
- (const __DRItexBufferExtension *) extensions[i];
- /* GLX_EXT_texture_from_pixmap is always enabled. */
- }
+ if (strcmp(extensions[i]->name, __DRI_TEX_BUFFER) == 0) {
+ screen->texBuffer = (const __DRItexBufferExtension *) extensions[i];
+ /* GLX_EXT_texture_from_pixmap is always enabled. */
+ }
#endif
- /* Ignore unknown extensions */
+ /* Ignore unknown extensions */
}
}
@@ -438,49 +427,46 @@ __glXDRIscreenProbe(ScreenPtr pScreen)
screen = calloc(1, sizeof *screen);
if (screen == NULL)
- return NULL;
+ return NULL;
- screen->base.destroy = __glXDRIscreenDestroy;
- screen->base.createContext = __glXDRIscreenCreateContext;
+ screen->base.destroy = __glXDRIscreenDestroy;
+ screen->base.createContext = __glXDRIscreenCreateContext;
screen->base.createDrawable = __glXDRIscreenCreateDrawable;
- screen->base.swapInterval = NULL;
- screen->base.pScreen = pScreen;
+ screen->base.swapInterval = NULL;
+ screen->base.pScreen = pScreen;
screen->driver = glxProbeDriver(driverName,
- (void **)&screen->core,
- __DRI_CORE, __DRI_CORE_VERSION,
- (void **)&screen->swrast,
- __DRI_SWRAST, __DRI_SWRAST_VERSION);
+ (void **) &screen->core,
+ __DRI_CORE, __DRI_CORE_VERSION,
+ (void **) &screen->swrast,
+ __DRI_SWRAST, __DRI_SWRAST_VERSION);
if (screen->driver == NULL) {
goto handle_error;
}
screen->driScreen =
- (*screen->swrast->createNewScreen)(pScreen->myNum,
- loader_extensions,
- &screen->driConfigs,
- screen);
+ (*screen->swrast->createNewScreen) (pScreen->myNum,
+ loader_extensions,
+ &screen->driConfigs, screen);
if (screen->driScreen == NULL) {
- LogMessage(X_ERROR,
- "AIGLX error: Calling driver entry point failed\n");
- goto handle_error;
+ LogMessage(X_ERROR, "AIGLX error: Calling driver entry point failed\n");
+ goto handle_error;
}
initializeExtensions(screen);
screen->base.fbconfigs = glxConvertConfigs(screen->core, screen->driConfigs,
- GLX_WINDOW_BIT |
- GLX_PIXMAP_BIT |
- GLX_PBUFFER_BIT);
+ GLX_WINDOW_BIT |
+ GLX_PIXMAP_BIT |
+ GLX_PBUFFER_BIT);
__glXScreenInit(&screen->base, pScreen);
screen->base.GLXmajor = 1;
screen->base.GLXminor = 4;
- LogMessage(X_INFO,
- "AIGLX: Loaded and initialized %s\n", driverName);
+ LogMessage(X_INFO, "AIGLX: Loaded and initialized %s\n", driverName);
return &screen->base;
diff --git a/glx/glxext.c b/glx/glxext.c
index 9cfc096c3..acd696ef0 100644
--- a/glx/glxext.c
+++ b/glx/glxext.c
@@ -63,6 +63,7 @@ RESTYPE __glXDrawableRes;
xGLXSingleReply __glXReply;
static DevPrivateKeyRec glxClientPrivateKeyRec;
+
#define glxClientPrivateKey (&glxClientPrivateKeyRec)
/*
@@ -73,7 +74,8 @@ static int __glXDispatch(ClientPtr);
/*
** Called when the extension is reset.
*/
-static void ResetExtension(ExtensionEntry* extEntry)
+static void
+ResetExtension(ExtensionEntry * extEntry)
{
__glXFlushContextCache();
}
@@ -81,7 +83,8 @@ static void ResetExtension(ExtensionEntry* extEntry)
/*
** Reset state used to keep track of large (multi-request) commands.
*/
-void __glXResetLargeCommandStatus(__GLXclientState *cl)
+void
+__glXResetLargeCommandStatus(__GLXclientState * cl)
{
cl->largeCmdBytesSoFar = 0;
cl->largeCmdBytesTotal = 0;
@@ -95,11 +98,12 @@ void __glXResetLargeCommandStatus(__GLXclientState *cl)
** flag that the ID is no longer valid, and (maybe) free the context.
** use.
*/
-static int ContextGone(__GLXcontext* cx, XID id)
+static int
+ContextGone(__GLXcontext * cx, XID id)
{
cx->idExists = GL_FALSE;
if (!cx->isCurrent) {
- __glXFreeContext(cx);
+ __glXFreeContext(cx);
}
return True;
@@ -114,7 +118,8 @@ static int glxBlockClients;
** Destroy routine that gets called when a drawable is freed. A drawable
** contains the ancillary buffers needed for rendering.
*/
-static Bool DrawableGone(__GLXdrawable *glxPriv, XID xid)
+static Bool
+DrawableGone(__GLXdrawable * glxPriv, XID xid)
{
__GLXcontext *c, *next;
@@ -130,61 +135,65 @@ static Bool DrawableGone(__GLXdrawable *glxPriv, XID xid)
}
for (c = glxAllContexts; c; c = next) {
- next = c->next;
- if (c->isCurrent && (c->drawPriv == glxPriv || c->readPriv == glxPriv)) {
- (*c->loseCurrent)(c);
- c->isCurrent = GL_FALSE;
- if (c == __glXLastContext)
- __glXFlushContextCache();
- }
- if (c->drawPriv == glxPriv)
- c->drawPriv = NULL;
- if (c->readPriv == glxPriv)
- c->readPriv = NULL;
+ next = c->next;
+ if (c->isCurrent && (c->drawPriv == glxPriv || c->readPriv == glxPriv)) {
+ (*c->loseCurrent) (c);
+ c->isCurrent = GL_FALSE;
+ if (c == __glXLastContext)
+ __glXFlushContextCache();
+ }
+ if (c->drawPriv == glxPriv)
+ c->drawPriv = NULL;
+ if (c->readPriv == glxPriv)
+ c->readPriv = NULL;
}
/* drop our reference to any backing pixmap */
if (glxPriv->type == GLX_DRAWABLE_PIXMAP)
- glxPriv->pDraw->pScreen->DestroyPixmap((PixmapPtr)glxPriv->pDraw);
+ glxPriv->pDraw->pScreen->DestroyPixmap((PixmapPtr) glxPriv->pDraw);
glxPriv->destroy(glxPriv);
return True;
}
-void __glXAddToContextList(__GLXcontext *cx)
+void
+__glXAddToContextList(__GLXcontext * cx)
{
cx->next = glxAllContexts;
glxAllContexts = cx;
}
-static void __glXRemoveFromContextList(__GLXcontext *cx)
+static void
+__glXRemoveFromContextList(__GLXcontext * cx)
{
__GLXcontext *c, *prev;
if (cx == glxAllContexts)
- glxAllContexts = cx->next;
+ glxAllContexts = cx->next;
else {
- prev = glxAllContexts;
- for (c = glxAllContexts; c; c = c->next) {
- if (c == cx)
- prev->next = c->next;
- prev = c;
- }
+ prev = glxAllContexts;
+ for (c = glxAllContexts; c; c = c->next) {
+ if (c == cx)
+ prev->next = c->next;
+ prev = c;
+ }
}
}
/*
** Free a context.
*/
-GLboolean __glXFreeContext(__GLXcontext *cx)
+GLboolean
+__glXFreeContext(__GLXcontext * cx)
{
- if (cx->idExists || cx->isCurrent) return GL_FALSE;
-
+ if (cx->idExists || cx->isCurrent)
+ return GL_FALSE;
+
free(cx->feedbackBuf);
free(cx->selectBuf);
if (cx == __glXLastContext) {
- __glXFlushContextCache();
+ __glXFlushContextCache();
}
__glXRemoveFromContextList(cx);
@@ -194,12 +203,13 @@ GLboolean __glXFreeContext(__GLXcontext *cx)
* the latter case we need to lift the DRI lock manually. */
if (!glxBlockClients) {
- __glXleaveServer(GL_FALSE);
- cx->destroy(cx);
- __glXenterServer(GL_FALSE);
- } else {
- cx->next = glxPendingDestroyContexts;
- glxPendingDestroyContexts = cx;
+ __glXleaveServer(GL_FALSE);
+ cx->destroy(cx);
+ __glXenterServer(GL_FALSE);
+ }
+ else {
+ cx->next = glxPendingDestroyContexts;
+ glxPendingDestroyContexts = cx;
}
return GL_TRUE;
@@ -219,7 +229,8 @@ static GLboolean errorOccured = GL_FALSE;
/*
** The GL was will call this routine if an error occurs.
*/
-void __glXErrorCallBack(GLenum code)
+void
+__glXErrorCallBack(GLenum code)
{
errorOccured = GL_TRUE;
}
@@ -227,7 +238,8 @@ void __glXErrorCallBack(GLenum code)
/*
** Clear the error flag before calling the GL command.
*/
-void __glXClearErrorOccured(void)
+void
+__glXClearErrorOccured(void)
{
errorOccured = GL_FALSE;
}
@@ -235,7 +247,8 @@ void __glXClearErrorOccured(void)
/*
** Check if the GL command caused an error.
*/
-GLboolean __glXErrorOccured(void)
+GLboolean
+__glXErrorOccured(void)
{
return errorOccured;
}
@@ -243,7 +256,8 @@ GLboolean __glXErrorOccured(void)
static int __glXErrorBase;
int __glXEventBase;
-int __glXError(int error)
+int
+__glXError(int error)
{
return __glXErrorBase + error;
}
@@ -255,33 +269,31 @@ glxGetClient(ClientPtr pClient)
}
static void
-glxClientCallback (CallbackListPtr *list,
- pointer closure,
- pointer data)
+glxClientCallback(CallbackListPtr *list, pointer closure, pointer data)
{
- NewClientInfoRec *clientinfo = (NewClientInfoRec *) data;
- ClientPtr pClient = clientinfo->client;
- __GLXclientState *cl = glxGetClient(pClient);
+ NewClientInfoRec *clientinfo = (NewClientInfoRec *) data;
+ ClientPtr pClient = clientinfo->client;
+ __GLXclientState *cl = glxGetClient(pClient);
switch (pClient->clientState) {
case ClientStateRunning:
- /*
- ** By default, assume that the client supports
- ** GLX major version 1 minor version 0 protocol.
- */
- cl->GLClientmajorVersion = 1;
- cl->GLClientminorVersion = 0;
- cl->client = pClient;
- break;
+ /*
+ ** By default, assume that the client supports
+ ** GLX major version 1 minor version 0 protocol.
+ */
+ cl->GLClientmajorVersion = 1;
+ cl->GLClientminorVersion = 0;
+ cl->client = pClient;
+ break;
case ClientStateGone:
- free(cl->returnBuf);
- free(cl->largeCmdBuf);
- free(cl->GLClientextensions);
- break;
+ free(cl->returnBuf);
+ free(cl->largeCmdBuf);
+ free(cl->GLClientextensions);
+ break;
default:
- break;
+ break;
}
}
@@ -289,7 +301,8 @@ glxClientCallback (CallbackListPtr *list,
static __GLXprovider *__glXProviderStack;
-void GlxPushProvider(__GLXprovider *provider)
+void
+GlxPushProvider(__GLXprovider * provider)
{
provider->next = __glXProviderStack;
__glXProviderStack = provider;
@@ -298,7 +311,8 @@ void GlxPushProvider(__GLXprovider *provider)
/*
** Initialize the GLX extension.
*/
-void GlxExtensionInit(void)
+void
+GlxExtensionInit(void)
{
ExtensionEntry *extEntry;
ScreenPtr pScreen;
@@ -306,61 +320,61 @@ void GlxExtensionInit(void)
__GLXprovider *p;
Bool glx_provided = False;
- __glXContextRes = CreateNewResourceType((DeleteType)ContextGone,
- "GLXContext");
- __glXDrawableRes = CreateNewResourceType((DeleteType)DrawableGone,
- "GLXDrawable");
+ __glXContextRes = CreateNewResourceType((DeleteType) ContextGone,
+ "GLXContext");
+ __glXDrawableRes = CreateNewResourceType((DeleteType) DrawableGone,
+ "GLXDrawable");
if (!__glXContextRes || !__glXDrawableRes)
- return;
+ return;
- if (!dixRegisterPrivateKey(&glxClientPrivateKeyRec, PRIVATE_CLIENT, sizeof (__GLXclientState)))
- return;
- if (!AddCallback (&ClientStateCallback, glxClientCallback, 0))
- return;
+ if (!dixRegisterPrivateKey
+ (&glxClientPrivateKeyRec, PRIVATE_CLIENT, sizeof(__GLXclientState)))
+ return;
+ if (!AddCallback(&ClientStateCallback, glxClientCallback, 0))
+ return;
for (i = 0; i < screenInfo.numScreens; i++) {
- pScreen = screenInfo.screens[i];
-
- for (p = __glXProviderStack; p != NULL; p = p->next) {
- __GLXscreen *glxScreen;
-
- glxScreen = p->screenProbe(pScreen);
- if (glxScreen != NULL) {
- if (glxScreen->GLXminor < glxMinorVersion)
- glxMinorVersion = glxScreen->GLXminor;
- LogMessage(X_INFO,
- "GLX: Initialized %s GL provider for screen %d\n",
- p->name, i);
- break;
- }
-
- }
-
- if (!p)
- LogMessage(X_INFO,
- "GLX: no usable GL providers found for screen %d\n", i);
- else
- glx_provided = True;
+ pScreen = screenInfo.screens[i];
+
+ for (p = __glXProviderStack; p != NULL; p = p->next) {
+ __GLXscreen *glxScreen;
+
+ glxScreen = p->screenProbe(pScreen);
+ if (glxScreen != NULL) {
+ if (glxScreen->GLXminor < glxMinorVersion)
+ glxMinorVersion = glxScreen->GLXminor;
+ LogMessage(X_INFO,
+ "GLX: Initialized %s GL provider for screen %d\n",
+ p->name, i);
+ break;
+ }
+
+ }
+
+ if (!p)
+ LogMessage(X_INFO,
+ "GLX: no usable GL providers found for screen %d\n", i);
+ else
+ glx_provided = True;
}
/* don't register extension if GL is not provided on any screen */
if (!glx_provided)
- return;
+ return;
/*
- ** Add extension to server extensions.
- */
+ ** Add extension to server extensions.
+ */
extEntry = AddExtension(GLX_EXTENSION_NAME, __GLX_NUMBER_EVENTS,
- __GLX_NUMBER_ERRORS, __glXDispatch,
- __glXDispatch, ResetExtension,
- StandardMinorOpcode);
+ __GLX_NUMBER_ERRORS, __glXDispatch,
+ __glXDispatch, ResetExtension, StandardMinorOpcode);
if (!extEntry) {
- FatalError("__glXExtensionInit: AddExtensions failed\n");
- return;
+ FatalError("__glXExtensionInit: AddExtensions failed\n");
+ return;
}
if (!AddExtensionAlias(GLX_EXTENSION_ALIAS, extEntry)) {
- ErrorF("__glXExtensionInit: AddExtensionAlias failed\n");
- return;
+ ErrorF("__glXExtensionInit: AddExtensionAlias failed\n");
+ return;
}
__glXErrorBase = extEntry->errorBase;
@@ -369,7 +383,8 @@ void GlxExtensionInit(void)
/************************************************************************/
-void __glXFlushContextCache(void)
+void
+__glXFlushContextCache(void)
{
__glXLastContext = 0;
}
@@ -380,50 +395,50 @@ void __glXFlushContextCache(void)
** switching it between different contexts). While we are at it, look up
** a context by its tag and return its (__GLXcontext *).
*/
-__GLXcontext *__glXForceCurrent(__GLXclientState *cl, GLXContextTag tag,
- int *error)
+__GLXcontext *
+__glXForceCurrent(__GLXclientState * cl, GLXContextTag tag, int *error)
{
__GLXcontext *cx;
/*
- ** See if the context tag is legal; it is managed by the extension,
- ** so if it's invalid, we have an implementation error.
- */
+ ** See if the context tag is legal; it is managed by the extension,
+ ** so if it's invalid, we have an implementation error.
+ */
cx = __glXLookupContextByTag(cl, tag);
if (!cx) {
- cl->client->errorValue = tag;
- *error = __glXError(GLXBadContextTag);
- return 0;
+ cl->client->errorValue = tag;
+ *error = __glXError(GLXBadContextTag);
+ return 0;
}
if (!cx->isDirect) {
- if (cx->drawPriv == NULL) {
- /*
- ** The drawable has vanished. It must be a window, because only
- ** windows can be destroyed from under us; GLX pixmaps are
- ** refcounted and don't go away until no one is using them.
- */
- *error = __glXError(GLXBadCurrentWindow);
- return 0;
- }
+ if (cx->drawPriv == NULL) {
+ /*
+ ** The drawable has vanished. It must be a window, because only
+ ** windows can be destroyed from under us; GLX pixmaps are
+ ** refcounted and don't go away until no one is using them.
+ */
+ *error = __glXError(GLXBadCurrentWindow);
+ return 0;
+ }
}
-
- if (cx->wait && (*cx->wait)(cx, cl, error))
- return NULL;
+
+ if (cx->wait && (*cx->wait) (cx, cl, error))
+ return NULL;
if (cx == __glXLastContext) {
- /* No need to re-bind */
- return cx;
+ /* No need to re-bind */
+ return cx;
}
/* Make this context the current one for the GL. */
if (!cx->isDirect) {
- if (!(*cx->makeCurrent)(cx)) {
- /* Bind failed, and set the error code. Bummer */
- cl->client->errorValue = cx->id;
- *error = __glXError(GLXBadContextState);
- return 0;
- }
+ if (!(*cx->makeCurrent) (cx)) {
+ /* Bind failed, and set the error code. Bummer */
+ cl->client->errorValue = cx->id;
+ *error = __glXError(GLXBadContextState);
+ return 0;
+ }
}
__glXLastContext = cx;
return cx;
@@ -431,19 +446,21 @@ __GLXcontext *__glXForceCurrent(__GLXclientState *cl, GLXContextTag tag,
/************************************************************************/
-void glxSuspendClients(void)
+void
+glxSuspendClients(void)
{
int i;
for (i = 1; i < currentMaxClients; i++) {
- if (clients[i] && glxGetClient(clients[i])->inUse)
- IgnoreClient(clients[i]);
+ if (clients[i] && glxGetClient(clients[i])->inUse)
+ IgnoreClient(clients[i]);
}
glxBlockClients = TRUE;
}
-void glxResumeClients(void)
+void
+glxResumeClients(void)
{
__GLXcontext *cx, *next;
int i;
@@ -451,15 +468,15 @@ void glxResumeClients(void)
glxBlockClients = FALSE;
for (i = 1; i < currentMaxClients; i++) {
- if (clients[i] && glxGetClient(clients[i])->inUse)
- AttendClient(clients[i]);
+ if (clients[i] && glxGetClient(clients[i])->inUse)
+ AttendClient(clients[i]);
}
__glXleaveServer(GL_FALSE);
for (cx = glxPendingDestroyContexts; cx != NULL; cx = next) {
- next = cx->next;
+ next = cx->next;
- cx->destroy(cx);
+ cx->destroy(cx);
}
glxPendingDestroyContexts = NULL;
__glXenterServer(GL_FALSE);
@@ -469,43 +486,46 @@ static void
__glXnopEnterServer(GLboolean rendering)
{
}
-
+
static void
__glXnopLeaveServer(GLboolean rendering)
{
}
-static void (*__glXenterServerFunc)(GLboolean) = __glXnopEnterServer;
-static void (*__glXleaveServerFunc)(GLboolean) = __glXnopLeaveServer;
+static void (*__glXenterServerFunc) (GLboolean) = __glXnopEnterServer;
+static void (*__glXleaveServerFunc) (GLboolean) = __glXnopLeaveServer;
-void __glXsetEnterLeaveServerFuncs(void (*enter)(GLboolean),
- void (*leave)(GLboolean))
+void
+__glXsetEnterLeaveServerFuncs(void (*enter) (GLboolean),
+ void (*leave) (GLboolean))
{
- __glXenterServerFunc = enter;
- __glXleaveServerFunc = leave;
+ __glXenterServerFunc = enter;
+ __glXleaveServerFunc = leave;
}
-
-void __glXenterServer(GLboolean rendering)
+void
+__glXenterServer(GLboolean rendering)
{
- glxServerLeaveCount--;
+ glxServerLeaveCount--;
- if (glxServerLeaveCount == 0)
- (*__glXenterServerFunc)(rendering);
+ if (glxServerLeaveCount == 0)
+ (*__glXenterServerFunc) (rendering);
}
-void __glXleaveServer(GLboolean rendering)
+void
+__glXleaveServer(GLboolean rendering)
{
- if (glxServerLeaveCount == 0)
- (*__glXleaveServerFunc)(rendering);
+ if (glxServerLeaveCount == 0)
+ (*__glXleaveServerFunc) (rendering);
- glxServerLeaveCount++;
+ glxServerLeaveCount++;
}
/*
** Top level dispatcher; all commands are executed from here down.
*/
-static int __glXDispatch(ClientPtr client)
+static int
+__glXDispatch(ClientPtr client)
{
REQUEST(xGLXSingleReq);
CARD8 opcode;
@@ -519,37 +539,38 @@ static int __glXDispatch(ClientPtr client)
cl->inUse = TRUE;
/*
- ** If we're expecting a glXRenderLarge request, this better be one.
- */
+ ** If we're expecting a glXRenderLarge request, this better be one.
+ */
if ((cl->largeCmdRequestsSoFar != 0) && (opcode != X_GLXRenderLarge)) {
- client->errorValue = stuff->glxCode;
- return __glXError(GLXBadLargeRequest);
+ client->errorValue = stuff->glxCode;
+ return __glXError(GLXBadLargeRequest);
}
/* If we're currently blocking GLX clients, just put this guy to
* sleep, reset the request and return. */
if (glxBlockClients) {
- ResetCurrentRequest(client);
- client->sequence--;
- IgnoreClient(client);
- return Success;
+ ResetCurrentRequest(client);
+ client->sequence--;
+ IgnoreClient(client);
+ return Success;
}
/*
- ** Use the opcode to index into the procedure table.
- */
- proc = __glXGetProtocolDecodeFunction(& Single_dispatch_info, opcode,
+ ** Use the opcode to index into the procedure table.
+ */
+ proc = __glXGetProtocolDecodeFunction(&Single_dispatch_info, opcode,
client->swapped);
if (proc != NULL) {
- GLboolean rendering = opcode <= X_GLXRenderLarge;
- __glXleaveServer(rendering);
+ GLboolean rendering = opcode <= X_GLXRenderLarge;
+
+ __glXleaveServer(rendering);
- retval = (*proc)(cl, (GLbyte *) stuff);
+ retval = (*proc) (cl, (GLbyte *) stuff);
- __glXenterServer(rendering);
+ __glXenterServer(rendering);
}
else {
- retval = BadRequest;
+ retval = BadRequest;
}
return retval;
diff --git a/glx/glxext.h b/glx/glxext.h
index 58cf0540f..7cd5cb49f 100644
--- a/glx/glxext.h
+++ b/glx/glxext.h
@@ -35,17 +35,16 @@
* Silicon Graphics, Inc.
*/
-extern GLboolean __glXFreeContext(__GLXcontext *glxc);
+extern GLboolean __glXFreeContext(__GLXcontext * glxc);
extern void __glXFlushContextCache(void);
-extern void __glXAddToContextList(__GLXcontext *cx);
+extern void __glXAddToContextList(__GLXcontext * cx);
extern void __glXErrorCallBack(GLenum code);
extern void __glXClearErrorOccured(void);
extern GLboolean __glXErrorOccured(void);
-extern void __glXResetLargeCommandStatus(__GLXclientState*);
+extern void __glXResetLargeCommandStatus(__GLXclientState *);
extern const char GLServerVersion[];
-extern int DoGetString(__GLXclientState *cl, GLbyte *pc, GLboolean need_swap);
-
-#endif /* _glxext_h_ */
+extern int DoGetString(__GLXclientState * cl, GLbyte * pc, GLboolean need_swap);
+#endif /* _glxext_h_ */
diff --git a/glx/glxscreens.c b/glx/glxscreens.c
index ebb9747b4..74b4c421b 100644
--- a/glx/glxscreens.c
+++ b/glx/glxscreens.c
@@ -45,118 +45,116 @@
#include "protocol-versions.h"
static DevPrivateKeyRec glxScreenPrivateKeyRec;
+
#define glxScreenPrivateKey (&glxScreenPrivateKeyRec)
const char GLServerVersion[] = "1.4";
-static const char GLServerExtensions[] =
- "GL_ARB_depth_texture "
- "GL_ARB_draw_buffers "
- "GL_ARB_fragment_program "
- "GL_ARB_fragment_program_shadow "
- "GL_ARB_imaging "
- "GL_ARB_multisample "
- "GL_ARB_multitexture "
- "GL_ARB_occlusion_query "
- "GL_ARB_point_parameters "
- "GL_ARB_point_sprite "
- "GL_ARB_shadow "
- "GL_ARB_shadow_ambient "
- "GL_ARB_texture_border_clamp "
- "GL_ARB_texture_compression "
- "GL_ARB_texture_cube_map "
- "GL_ARB_texture_env_add "
- "GL_ARB_texture_env_combine "
- "GL_ARB_texture_env_crossbar "
- "GL_ARB_texture_env_dot3 "
- "GL_ARB_texture_mirrored_repeat "
- "GL_ARB_texture_non_power_of_two "
- "GL_ARB_transpose_matrix "
- "GL_ARB_vertex_program "
- "GL_ARB_window_pos "
- "GL_EXT_abgr "
- "GL_EXT_bgra "
- "GL_EXT_blend_color "
- "GL_EXT_blend_equation_separate "
- "GL_EXT_blend_func_separate "
- "GL_EXT_blend_logic_op "
- "GL_EXT_blend_minmax "
- "GL_EXT_blend_subtract "
- "GL_EXT_clip_volume_hint "
- "GL_EXT_copy_texture "
- "GL_EXT_draw_range_elements "
- "GL_EXT_fog_coord "
- "GL_EXT_framebuffer_object "
- "GL_EXT_multi_draw_arrays "
- "GL_EXT_packed_pixels "
- "GL_EXT_paletted_texture "
- "GL_EXT_point_parameters "
- "GL_EXT_polygon_offset "
- "GL_EXT_rescale_normal "
- "GL_EXT_secondary_color "
- "GL_EXT_separate_specular_color "
- "GL_EXT_shadow_funcs "
- "GL_EXT_shared_texture_palette "
- "GL_EXT_stencil_two_side "
- "GL_EXT_stencil_wrap "
- "GL_EXT_subtexture "
- "GL_EXT_texture "
- "GL_EXT_texture3D "
- "GL_EXT_texture_compression_dxt1 "
- "GL_EXT_texture_compression_s3tc "
- "GL_EXT_texture_edge_clamp "
- "GL_EXT_texture_env_add "
- "GL_EXT_texture_env_combine "
- "GL_EXT_texture_env_dot3 "
- "GL_EXT_texture_filter_anisotropic "
- "GL_EXT_texture_lod "
- "GL_EXT_texture_lod_bias "
- "GL_EXT_texture_mirror_clamp "
- "GL_EXT_texture_object "
- "GL_EXT_texture_rectangle "
- "GL_EXT_vertex_array "
- "GL_3DFX_texture_compression_FXT1 "
- "GL_APPLE_packed_pixels "
- "GL_ATI_draw_buffers "
- "GL_ATI_texture_env_combine3 "
- "GL_ATI_texture_mirror_once "
- "GL_HP_occlusion_test "
- "GL_IBM_texture_mirrored_repeat "
- "GL_INGR_blend_func_separate "
- "GL_MESA_pack_invert "
- "GL_MESA_ycbcr_texture "
- "GL_NV_blend_square "
- "GL_NV_depth_clamp "
- "GL_NV_fog_distance "
- "GL_NV_fragment_program "
- "GL_NV_fragment_program_option "
- "GL_NV_fragment_program2 "
- "GL_NV_light_max_exponent "
- "GL_NV_multisample_filter_hint "
- "GL_NV_point_sprite "
- "GL_NV_texgen_reflection "
- "GL_NV_texture_compression_vtc "
- "GL_NV_texture_env_combine4 "
- "GL_NV_texture_expand_normal "
- "GL_NV_texture_rectangle "
- "GL_NV_vertex_program "
- "GL_NV_vertex_program1_1 "
- "GL_NV_vertex_program2 "
- "GL_NV_vertex_program2_option "
- "GL_NV_vertex_program3 "
- "GL_OES_compressed_paletted_texture "
- "GL_SGI_color_matrix "
- "GL_SGI_color_table "
- "GL_SGIS_generate_mipmap "
- "GL_SGIS_multisample "
- "GL_SGIS_point_parameters "
- "GL_SGIS_texture_border_clamp "
- "GL_SGIS_texture_edge_clamp "
- "GL_SGIS_texture_lod "
- "GL_SGIX_depth_texture "
- "GL_SGIX_shadow "
- "GL_SGIX_shadow_ambient "
- "GL_SUN_slice_accum "
- ;
+static const char GLServerExtensions[] =
+ "GL_ARB_depth_texture "
+ "GL_ARB_draw_buffers "
+ "GL_ARB_fragment_program "
+ "GL_ARB_fragment_program_shadow "
+ "GL_ARB_imaging "
+ "GL_ARB_multisample "
+ "GL_ARB_multitexture "
+ "GL_ARB_occlusion_query "
+ "GL_ARB_point_parameters "
+ "GL_ARB_point_sprite "
+ "GL_ARB_shadow "
+ "GL_ARB_shadow_ambient "
+ "GL_ARB_texture_border_clamp "
+ "GL_ARB_texture_compression "
+ "GL_ARB_texture_cube_map "
+ "GL_ARB_texture_env_add "
+ "GL_ARB_texture_env_combine "
+ "GL_ARB_texture_env_crossbar "
+ "GL_ARB_texture_env_dot3 "
+ "GL_ARB_texture_mirrored_repeat "
+ "GL_ARB_texture_non_power_of_two "
+ "GL_ARB_transpose_matrix "
+ "GL_ARB_vertex_program "
+ "GL_ARB_window_pos "
+ "GL_EXT_abgr "
+ "GL_EXT_bgra "
+ "GL_EXT_blend_color "
+ "GL_EXT_blend_equation_separate "
+ "GL_EXT_blend_func_separate "
+ "GL_EXT_blend_logic_op "
+ "GL_EXT_blend_minmax "
+ "GL_EXT_blend_subtract "
+ "GL_EXT_clip_volume_hint "
+ "GL_EXT_copy_texture "
+ "GL_EXT_draw_range_elements "
+ "GL_EXT_fog_coord "
+ "GL_EXT_framebuffer_object "
+ "GL_EXT_multi_draw_arrays "
+ "GL_EXT_packed_pixels "
+ "GL_EXT_paletted_texture "
+ "GL_EXT_point_parameters "
+ "GL_EXT_polygon_offset "
+ "GL_EXT_rescale_normal "
+ "GL_EXT_secondary_color "
+ "GL_EXT_separate_specular_color "
+ "GL_EXT_shadow_funcs "
+ "GL_EXT_shared_texture_palette "
+ "GL_EXT_stencil_two_side "
+ "GL_EXT_stencil_wrap "
+ "GL_EXT_subtexture "
+ "GL_EXT_texture "
+ "GL_EXT_texture3D "
+ "GL_EXT_texture_compression_dxt1 "
+ "GL_EXT_texture_compression_s3tc "
+ "GL_EXT_texture_edge_clamp "
+ "GL_EXT_texture_env_add "
+ "GL_EXT_texture_env_combine "
+ "GL_EXT_texture_env_dot3 "
+ "GL_EXT_texture_filter_anisotropic "
+ "GL_EXT_texture_lod "
+ "GL_EXT_texture_lod_bias "
+ "GL_EXT_texture_mirror_clamp "
+ "GL_EXT_texture_object "
+ "GL_EXT_texture_rectangle "
+ "GL_EXT_vertex_array "
+ "GL_3DFX_texture_compression_FXT1 "
+ "GL_APPLE_packed_pixels "
+ "GL_ATI_draw_buffers "
+ "GL_ATI_texture_env_combine3 "
+ "GL_ATI_texture_mirror_once "
+ "GL_HP_occlusion_test "
+ "GL_IBM_texture_mirrored_repeat "
+ "GL_INGR_blend_func_separate "
+ "GL_MESA_pack_invert "
+ "GL_MESA_ycbcr_texture "
+ "GL_NV_blend_square "
+ "GL_NV_depth_clamp "
+ "GL_NV_fog_distance "
+ "GL_NV_fragment_program "
+ "GL_NV_fragment_program_option "
+ "GL_NV_fragment_program2 "
+ "GL_NV_light_max_exponent "
+ "GL_NV_multisample_filter_hint "
+ "GL_NV_point_sprite "
+ "GL_NV_texgen_reflection "
+ "GL_NV_texture_compression_vtc "
+ "GL_NV_texture_env_combine4 "
+ "GL_NV_texture_expand_normal "
+ "GL_NV_texture_rectangle "
+ "GL_NV_vertex_program "
+ "GL_NV_vertex_program1_1 "
+ "GL_NV_vertex_program2 "
+ "GL_NV_vertex_program2_option "
+ "GL_NV_vertex_program3 "
+ "GL_OES_compressed_paletted_texture "
+ "GL_SGI_color_matrix "
+ "GL_SGI_color_table "
+ "GL_SGIS_generate_mipmap "
+ "GL_SGIS_multisample "
+ "GL_SGIS_point_parameters "
+ "GL_SGIS_texture_border_clamp "
+ "GL_SGIS_texture_edge_clamp "
+ "GL_SGIS_texture_lod "
+ "GL_SGIX_depth_texture "
+ "GL_SGIX_shadow " "GL_SGIX_shadow_ambient " "GL_SUN_slice_accum ";
/*
** We have made the simplifying assuption that the same extensions are
@@ -166,24 +164,20 @@ static char GLXServerVendorName[] = "SGI";
unsigned glxMajorVersion = SERVER_GLX_MAJOR_VERSION;
unsigned glxMinorVersion = SERVER_GLX_MINOR_VERSION;
static char GLXServerExtensions[] =
- "GLX_ARB_multisample "
- "GLX_EXT_visual_info "
- "GLX_EXT_visual_rating "
- "GLX_EXT_import_context "
- "GLX_EXT_texture_from_pixmap "
- "GLX_OML_swap_method "
- "GLX_SGI_make_current_read "
+ "GLX_ARB_multisample "
+ "GLX_EXT_visual_info "
+ "GLX_EXT_visual_rating "
+ "GLX_EXT_import_context "
+ "GLX_EXT_texture_from_pixmap "
+ "GLX_OML_swap_method " "GLX_SGI_make_current_read "
#ifndef __APPLE__
- "GLX_SGIS_multisample "
+ "GLX_SGIS_multisample "
#endif
- "GLX_SGIX_fbconfig "
- "GLX_SGIX_pbuffer "
- "GLX_MESA_copy_sub_buffer "
- "GLX_INTEL_swap_event"
- ;
+ "GLX_SGIX_fbconfig "
+ "GLX_SGIX_pbuffer " "GLX_MESA_copy_sub_buffer " "GLX_INTEL_swap_event";
static Bool
-glxCloseScreen (int index, ScreenPtr pScreen)
+glxCloseScreen(int index, ScreenPtr pScreen)
{
__GLXscreen *pGlxScreen = glxGetScreen(pScreen);
@@ -200,23 +194,24 @@ glxGetScreen(ScreenPtr pScreen)
return dixLookupPrivate(&pScreen->devPrivates, glxScreenPrivateKey);
}
-_X_EXPORT void GlxSetVisualConfigs(int nconfigs,
- void *configs, void **privates)
+_X_EXPORT void
+GlxSetVisualConfigs(int nconfigs, void *configs, void **privates)
{
/* We keep this stub around for the DDX drivers that still
* call it. */
}
-GLint glxConvertToXVisualType(int visualType)
+GLint
+glxConvertToXVisualType(int visualType)
{
static const int x_visual_types[] = {
- TrueColor, DirectColor,
- PseudoColor, StaticColor,
- GrayScale, StaticGray
+ TrueColor, DirectColor,
+ PseudoColor, StaticColor,
+ GrayScale, StaticGray
};
- return ( (unsigned) (visualType - GLX_TRUE_COLOR) < 6 )
- ? x_visual_types[ visualType - GLX_TRUE_COLOR ] : -1;
+ return ((unsigned) (visualType - GLX_TRUE_COLOR) < 6)
+ ? x_visual_types[visualType - GLX_TRUE_COLOR] : -1;
}
/* This code inspired by composite/compinit.c. We could move this to
@@ -225,23 +220,23 @@ GLint glxConvertToXVisualType(int visualType)
static VisualPtr
AddScreenVisuals(ScreenPtr pScreen, int count, int d)
{
- int i;
- DepthPtr depth;
+ int i;
+ DepthPtr depth;
depth = NULL;
for (i = 0; i < pScreen->numDepths; i++) {
- if (pScreen->allowedDepths[i].depth == d) {
- depth = &pScreen->allowedDepths[i];
- break;
- }
+ if (pScreen->allowedDepths[i].depth == d) {
+ depth = &pScreen->allowedDepths[i];
+ break;
+ }
}
if (depth == NULL)
- return NULL;
+ return NULL;
if (ResizeVisualArray(pScreen, count, depth) == FALSE)
return NULL;
- /* Return a pointer to the first of the added visuals. */
+ /* Return a pointer to the first of the added visuals. */
return pScreen->visuals + pScreen->numVisuals - count;
}
@@ -251,16 +246,17 @@ findFirstSet(unsigned int v)
int i;
for (i = 0; i < 32; i++)
- if (v & (1 << i))
- return i;
+ if (v & (1 << i))
+ return i;
return -1;
}
static void
-initGlxVisual(VisualPtr visual, __GLXconfig *config)
+initGlxVisual(VisualPtr visual, __GLXconfig * config)
{
int maxBits;
+
maxBits = max(config->redBits, max(config->greenBits, config->blueBits));
config->visualID = visual->vid;
@@ -278,59 +274,60 @@ initGlxVisual(VisualPtr visual, __GLXconfig *config)
}
static __GLXconfig *
-pickFBConfig(__GLXscreen *pGlxScreen, VisualPtr visual)
+pickFBConfig(__GLXscreen * pGlxScreen, VisualPtr visual)
{
__GLXconfig *best = NULL, *config;
int best_score = 0;
for (config = pGlxScreen->fbconfigs; config != NULL; config = config->next) {
- int score = 0;
-
- if (config->redMask != visual->redMask ||
- config->greenMask != visual->greenMask ||
- config->blueMask != visual->blueMask)
- continue;
- if (config->visualRating != GLX_NONE)
- continue;
- if (glxConvertToXVisualType(config->visualType) != visual->class)
- continue;
- /* If it's the 32-bit RGBA visual, demand a 32-bit fbconfig. */
- if (visual->nplanes == 32 && config->rgbBits != 32)
- continue;
- /* Can't use the same FBconfig for multiple X visuals. I think. */
- if (config->visualID != 0)
- continue;
-
- if (config->doubleBufferMode > 0)
- score += 8;
- if (config->depthBits > 0)
- score += 4;
- if (config->stencilBits > 0)
- score += 2;
- if (config->alphaBits > 0)
- score++;
-
- if (score > best_score) {
- best = config;
- best_score = score;
- }
+ int score = 0;
+
+ if (config->redMask != visual->redMask ||
+ config->greenMask != visual->greenMask ||
+ config->blueMask != visual->blueMask)
+ continue;
+ if (config->visualRating != GLX_NONE)
+ continue;
+ if (glxConvertToXVisualType(config->visualType) != visual->class)
+ continue;
+ /* If it's the 32-bit RGBA visual, demand a 32-bit fbconfig. */
+ if (visual->nplanes == 32 && config->rgbBits != 32)
+ continue;
+ /* Can't use the same FBconfig for multiple X visuals. I think. */
+ if (config->visualID != 0)
+ continue;
+
+ if (config->doubleBufferMode > 0)
+ score += 8;
+ if (config->depthBits > 0)
+ score += 4;
+ if (config->stencilBits > 0)
+ score += 2;
+ if (config->alphaBits > 0)
+ score++;
+
+ if (score > best_score) {
+ best = config;
+ best_score = score;
+ }
}
return best;
}
-void __glXScreenInit(__GLXscreen *pGlxScreen, ScreenPtr pScreen)
+void
+__glXScreenInit(__GLXscreen * pGlxScreen, ScreenPtr pScreen)
{
__GLXconfig *m;
__GLXconfig *config;
int i;
if (!dixRegisterPrivateKey(&glxScreenPrivateKeyRec, PRIVATE_SCREEN, 0))
- return;
+ return;
- pGlxScreen->pScreen = pScreen;
- pGlxScreen->GLextensions = strdup(GLServerExtensions);
- pGlxScreen->GLXvendor = strdup(GLXServerVendorName);
+ pGlxScreen->pScreen = pScreen;
+ pGlxScreen->GLextensions = strdup(GLServerExtensions);
+ pGlxScreen->GLXvendor = strdup(GLXServerVendorName);
pGlxScreen->GLXextensions = strdup(GLXServerExtensions);
/* All GLX providers must support all of the functionality required for at
@@ -339,22 +336,22 @@ void __glXScreenInit(__GLXscreen *pGlxScreen, ScreenPtr pScreen)
* most providers, the screen-probe routine is the caller of this
* function.
*/
- pGlxScreen->GLXmajor = 1;
- pGlxScreen->GLXminor = 2;
+ pGlxScreen->GLXmajor = 1;
+ pGlxScreen->GLXminor = 2;
pGlxScreen->CloseScreen = pScreen->CloseScreen;
pScreen->CloseScreen = glxCloseScreen;
i = 0;
for (m = pGlxScreen->fbconfigs; m != NULL; m = m->next) {
- m->fbconfigID = FakeClientID(0);
- m->visualID = 0;
- i++;
+ m->fbconfigID = FakeClientID(0);
+ m->visualID = 0;
+ i++;
}
pGlxScreen->numFBConfigs = i;
pGlxScreen->visuals =
- calloc(pGlxScreen->numFBConfigs, sizeof (__GLXconfig *));
+ calloc(pGlxScreen->numFBConfigs, sizeof(__GLXconfig *));
/* First, try to choose featureful FBconfigs for the existing X visuals.
* Note that if multiple X visuals end up with the same FBconfig being
@@ -362,62 +359,63 @@ void __glXScreenInit(__GLXscreen *pGlxScreen, ScreenPtr pScreen)
* prioritize the root visual being GLX).
*/
for (i = 0; i < pScreen->numVisuals; i++) {
- VisualPtr visual = &pScreen->visuals[i];
+ VisualPtr visual = &pScreen->visuals[i];
- config = pickFBConfig(pGlxScreen, visual);
- if (config) {
- pGlxScreen->visuals[pGlxScreen->numVisuals++] = config;
- config->visualID = visual->vid;
- }
+ config = pickFBConfig(pGlxScreen, visual);
+ if (config) {
+ pGlxScreen->visuals[pGlxScreen->numVisuals++] = config;
+ config->visualID = visual->vid;
+ }
}
/* Then, add new visuals corresponding to all FBconfigs that didn't have
* an existing, appropriate visual.
*/
for (config = pGlxScreen->fbconfigs; config != NULL; config = config->next) {
- int depth;
-
- VisualPtr visual;
-
- if (config->visualID != 0)
- continue;
-
- /* Only count RGB bits and not alpha, as we're not trying to create
- * visuals for compositing (that's what the 32-bit composite visual
- * set up above is for.
- */
- depth = config->redBits + config->greenBits + config->blueBits;
-
- /* Make sure that our FBconfig's depth can actually be displayed
- * (corresponds to an existing visual).
- */
- for (i = 0; i < pScreen->numVisuals; i++) {
- if (depth == pScreen->visuals[i].nplanes)
- break;
- }
- /* if it can't, fix up the fbconfig to not advertise window support */
- if (i == pScreen->numVisuals)
- config->drawableType &= ~(GLX_WINDOW_BIT);
-
- /* fbconfig must support window drawables */
- if (!(config->drawableType & GLX_WINDOW_BIT)) {
- config->visualID = 0;
- continue;
- }
-
- /* Create a new X visual for our FBconfig. */
- visual = AddScreenVisuals(pScreen, 1, depth);
- if (visual == NULL)
- continue;
-
- pGlxScreen->visuals[pGlxScreen->numVisuals++] = config;
- initGlxVisual(visual, config);
+ int depth;
+
+ VisualPtr visual;
+
+ if (config->visualID != 0)
+ continue;
+
+ /* Only count RGB bits and not alpha, as we're not trying to create
+ * visuals for compositing (that's what the 32-bit composite visual
+ * set up above is for.
+ */
+ depth = config->redBits + config->greenBits + config->blueBits;
+
+ /* Make sure that our FBconfig's depth can actually be displayed
+ * (corresponds to an existing visual).
+ */
+ for (i = 0; i < pScreen->numVisuals; i++) {
+ if (depth == pScreen->visuals[i].nplanes)
+ break;
+ }
+ /* if it can't, fix up the fbconfig to not advertise window support */
+ if (i == pScreen->numVisuals)
+ config->drawableType &= ~(GLX_WINDOW_BIT);
+
+ /* fbconfig must support window drawables */
+ if (!(config->drawableType & GLX_WINDOW_BIT)) {
+ config->visualID = 0;
+ continue;
+ }
+
+ /* Create a new X visual for our FBconfig. */
+ visual = AddScreenVisuals(pScreen, 1, depth);
+ if (visual == NULL)
+ continue;
+
+ pGlxScreen->visuals[pGlxScreen->numVisuals++] = config;
+ initGlxVisual(visual, config);
}
dixSetPrivate(&pScreen->devPrivates, glxScreenPrivateKey, pGlxScreen);
}
-void __glXScreenDestroy(__GLXscreen *screen)
+void
+__glXScreenDestroy(__GLXscreen * screen)
{
free(screen->GLXvendor);
free(screen->GLXextensions);
diff --git a/glx/glxscreens.h b/glx/glxscreens.h
index eb2926045..d5420ee8d 100644
--- a/glx/glxscreens.h
+++ b/glx/glxscreens.h
@@ -41,10 +41,10 @@ struct __GLXconfig {
GLuint doubleBufferMode;
GLuint stereoMode;
- GLint redBits, greenBits, blueBits, alphaBits; /* bits per comp */
+ GLint redBits, greenBits, blueBits, alphaBits; /* bits per comp */
GLuint redMask, greenMask, blueMask, alphaMask;
- GLint rgbBits; /* total bits for rgb */
- GLint indexBits; /* total bits for colorindex */
+ GLint rgbBits; /* total bits for rgb */
+ GLint indexBits; /* total bits for colorindex */
GLint accumRedBits, accumGreenBits, accumBlueBits, accumAlphaBits;
GLint depthBits;
@@ -67,7 +67,7 @@ struct __GLXconfig {
/* EXT_visual_info / GLX 1.2 */
GLint transparentPixel;
- /* colors are floats scaled to ints */
+ /* colors are floats scaled to ints */
GLint transparentRed, transparentGreen, transparentBlue, transparentAlpha;
GLint transparentIndex;
@@ -85,8 +85,8 @@ struct __GLXconfig {
GLint maxPbufferWidth;
GLint maxPbufferHeight;
GLint maxPbufferPixels;
- GLint optimalPbufferWidth; /* Only for SGIX_pbuffer. */
- GLint optimalPbufferHeight; /* Only for SGIX_pbuffer. */
+ GLint optimalPbufferWidth; /* Only for SGIX_pbuffer. */
+ GLint optimalPbufferHeight; /* Only for SGIX_pbuffer. */
/* SGIX_visual_select_group */
GLint visualSelectGroup;
@@ -113,21 +113,19 @@ GLint glxConvertToXVisualType(int visualType);
*/
typedef struct __GLXscreen __GLXscreen;
struct __GLXscreen {
- void (*destroy) (__GLXscreen *screen);
-
- __GLXcontext *(*createContext) (__GLXscreen *screen,
- __GLXconfig *modes,
- __GLXcontext *shareContext);
-
- __GLXdrawable *(*createDrawable)(ClientPtr client,
- __GLXscreen *context,
- DrawablePtr pDraw,
- XID drawId,
- int type,
- XID glxDrawId,
- __GLXconfig *modes);
- int (*swapInterval) (__GLXdrawable *drawable,
- int interval);
+ void (*destroy) (__GLXscreen * screen);
+
+ __GLXcontext *(*createContext) (__GLXscreen * screen,
+ __GLXconfig * modes,
+ __GLXcontext * shareContext);
+
+ __GLXdrawable *(*createDrawable) (ClientPtr client,
+ __GLXscreen * context,
+ DrawablePtr pDraw,
+ XID drawId,
+ int type,
+ XID glxDrawId, __GLXconfig * modes);
+ int (*swapInterval) (__GLXdrawable * drawable, int interval);
ScreenPtr pScreen;
@@ -150,16 +148,15 @@ struct __GLXscreen {
* Since the GLX version advertised by the server is for the whole server,
* the GLX protocol code uses the minimum version supported on all screens.
*/
- /*@{*/
+ /*@{ */
unsigned GLXmajor;
unsigned GLXminor;
- /*@}*/
+ /*@} */
- Bool (*CloseScreen)(int index, ScreenPtr pScreen);
+ Bool (*CloseScreen) (int index, ScreenPtr pScreen);
};
+void __glXScreenInit(__GLXscreen * screen, ScreenPtr pScreen);
+void __glXScreenDestroy(__GLXscreen * screen);
-void __glXScreenInit(__GLXscreen *screen, ScreenPtr pScreen);
-void __glXScreenDestroy(__GLXscreen *screen);
-
-#endif /* !__GLX_screens_h__ */
+#endif /* !__GLX_screens_h__ */
diff --git a/glx/glxserver.h b/glx/glxserver.h
index 6bcf7d3a7..707684842 100644
--- a/glx/glxserver.h
+++ b/glx/glxserver.h
@@ -46,7 +46,7 @@
#include <resource.h>
#include <scrnintstr.h>
-#define GL_GLEXT_PROTOTYPES /* we want prototypes */
+#define GL_GLEXT_PROTOTYPES /* we want prototypes */
#include <GL/gl.h>
#include <GL/glxproto.h>
@@ -79,16 +79,16 @@ extern __GLXclientState *glxGetClient(ClientPtr pClient);
void GlxExtensionInit(void);
-void GlxSetVisualConfigs(int nconfigs,
- void *configs, void **privates);
+void GlxSetVisualConfigs(int nconfigs, void *configs, void **privates);
-void __glXScreenInitVisuals(__GLXscreen *screen);
+void __glXScreenInitVisuals(__GLXscreen * screen);
/*
** The last context used (from the server's persective) is cached.
*/
extern __GLXcontext *__glXLastContext;
-extern __GLXcontext *__glXForceCurrent(__GLXclientState*, GLXContextTag, int*);
+extern __GLXcontext *__glXForceCurrent(__GLXclientState *, GLXContextTag,
+ int *);
int __glXError(int error);
@@ -96,12 +96,12 @@ int __glXError(int error);
typedef struct __GLXprovider __GLXprovider;
struct __GLXprovider {
- __GLXscreen *(*screenProbe)(ScreenPtr pScreen);
- const char *name;
+ __GLXscreen *(*screenProbe) (ScreenPtr pScreen);
+ const char *name;
__GLXprovider *next;
};
-void GlxPushProvider(__GLXprovider *provider);
+void GlxPushProvider(__GLXprovider * provider);
enum {
GLX_MINIMAL_VISUALS,
@@ -109,8 +109,8 @@ enum {
GLX_ALL_VISUALS
};
-void __glXsetEnterLeaveServerFuncs(void (*enter)(GLboolean),
- void (*leave)(GLboolean));
+void __glXsetEnterLeaveServerFuncs(void (*enter) (GLboolean),
+ void (*leave) (GLboolean));
void __glXenterServer(GLboolean rendering);
void __glXleaveServer(GLboolean rendering);
@@ -122,23 +122,23 @@ void glxResumeClients(void);
*/
struct __GLXclientStateRec {
/*
- ** Whether this structure is currently being used to support a client.
- */
+ ** Whether this structure is currently being used to support a client.
+ */
Bool inUse;
/*
- ** Buffer for returned data.
- */
+ ** Buffer for returned data.
+ */
GLbyte *returnBuf;
GLint returnBufSize;
/*
- ** Keep track of large rendering commands, which span multiple requests.
- */
- GLint largeCmdBytesSoFar; /* bytes received so far */
- GLint largeCmdBytesTotal; /* total bytes expected */
- GLint largeCmdRequestsSoFar; /* requests received so far */
- GLint largeCmdRequestsTotal; /* total requests expected */
+ ** Keep track of large rendering commands, which span multiple requests.
+ */
+ GLint largeCmdBytesSoFar; /* bytes received so far */
+ GLint largeCmdBytesTotal; /* total bytes expected */
+ GLint largeCmdRequestsSoFar; /* requests received so far */
+ GLint largeCmdRequestsTotal; /* total requests expected */
GLbyte *largeCmdBuf;
GLint largeCmdBufSize;
@@ -155,19 +155,19 @@ struct __GLXclientStateRec {
/*
** Dispatch tables.
*/
-typedef void (*__GLXdispatchRenderProcPtr)(GLbyte *);
-typedef int (*__GLXdispatchSingleProcPtr)(__GLXclientState *, GLbyte *);
-typedef int (*__GLXdispatchVendorPrivProcPtr)(__GLXclientState *, GLbyte *);
+typedef void (*__GLXdispatchRenderProcPtr) (GLbyte *);
+typedef int (*__GLXdispatchSingleProcPtr) (__GLXclientState *, GLbyte *);
+typedef int (*__GLXdispatchVendorPrivProcPtr) (__GLXclientState *, GLbyte *);
/*
* Dispatch for GLX commands.
*/
-typedef int (*__GLXprocPtr)(__GLXclientState *, char *pc);
+typedef int (*__GLXprocPtr) (__GLXclientState *, char *pc);
/*
* Tables for computing the size of each rendering command.
*/
-typedef int (*gl_proto_size_func)(const GLbyte *, Bool);
+typedef int (*gl_proto_size_func) (const GLbyte *, Bool);
typedef struct {
int bytes;
@@ -197,21 +197,22 @@ extern char *__glXcombine_strings(const char *, const char *);
*/
extern void __glXSwapMakeCurrentReply(ClientPtr client,
- xGLXMakeCurrentReply *reply);
-extern void __glXSwapIsDirectReply(ClientPtr client,
- xGLXIsDirectReply *reply);
+ xGLXMakeCurrentReply * reply);
+extern void __glXSwapIsDirectReply(ClientPtr client, xGLXIsDirectReply * reply);
extern void __glXSwapQueryVersionReply(ClientPtr client,
- xGLXQueryVersionReply *reply);
+ xGLXQueryVersionReply * reply);
extern void __glXSwapQueryContextInfoEXTReply(ClientPtr client,
- xGLXQueryContextInfoEXTReply *reply,
- int *buf);
+ xGLXQueryContextInfoEXTReply *
+ reply, int *buf);
extern void __glXSwapGetDrawableAttributesReply(ClientPtr client,
- xGLXGetDrawableAttributesReply *reply, CARD32 *buf);
+ xGLXGetDrawableAttributesReply *
+ reply, CARD32 *buf);
extern void glxSwapQueryExtensionsStringReply(ClientPtr client,
- xGLXQueryExtensionsStringReply *reply, char *buf);
+ xGLXQueryExtensionsStringReply *
+ reply, char *buf);
extern void glxSwapQueryServerStringReply(ClientPtr client,
- xGLXQueryServerStringReply *reply, char *buf);
-
+ xGLXQueryServerStringReply * reply,
+ char *buf);
/*
* Routines for computing the size of variably-sized rendering commands.
@@ -219,13 +220,13 @@ extern void glxSwapQueryServerStringReply(ClientPtr client,
extern int __glXTypeSize(GLenum enm);
extern int __glXImageSize(GLenum format, GLenum type,
- GLenum target, GLsizei w, GLsizei h, GLsizei d,
- GLint imageHeight, GLint rowLength, GLint skipImages, GLint skipRows,
- GLint alignment);
+ GLenum target, GLsizei w, GLsizei h, GLsizei d,
+ GLint imageHeight, GLint rowLength, GLint skipImages,
+ GLint skipRows, GLint alignment);
extern unsigned glxMajorVersion;
extern unsigned glxMinorVersion;
extern int __glXEventBase;
-#endif /* !__GLX_server_h__ */
+#endif /* !__GLX_server_h__ */
diff --git a/glx/glxutil.h b/glx/glxutil.h
index d1a715b4b..314606da2 100644
--- a/glx/glxutil.h
+++ b/glx/glxutil.h
@@ -35,17 +35,17 @@
* Silicon Graphics, Inc.
*/
-extern GLboolean __glXDrawableInit(__GLXdrawable *drawable,
- __GLXscreen *screen,
- DrawablePtr pDraw, int type, XID drawID,
- __GLXconfig *config);
-extern void __glXDrawableRelease(__GLXdrawable *drawable);
+extern GLboolean __glXDrawableInit(__GLXdrawable * drawable,
+ __GLXscreen * screen,
+ DrawablePtr pDraw, int type, XID drawID,
+ __GLXconfig * config);
+extern void __glXDrawableRelease(__GLXdrawable * drawable);
/* context helper routines */
-extern __GLXcontext *__glXLookupContextByTag(__GLXclientState*, GLXContextTag);
+extern __GLXcontext *__glXLookupContextByTag(__GLXclientState *, GLXContextTag);
/* init helper routines */
extern void *__glXglDDXScreenInfo(void);
extern void *__glXglDDXExtensionInfo(void);
-#endif /* _glxcmds_h_ */
+#endif /* _glxcmds_h_ */
diff --git a/glx/indirect_dispatch.c b/glx/indirect_dispatch.c
index b720a4bfc..0a7623cf2 100644
--- a/glx/indirect_dispatch.c
+++ b/glx/indirect_dispatch.c
@@ -47,96 +47,94 @@ typedef struct {
__GLX_PIXEL_3D_HDR;
} __GLXpixel3DHeader;
-extern GLboolean __glXErrorOccured( void );
-extern void __glXClearErrorOccured( void );
+extern GLboolean __glXErrorOccured(void);
+extern void __glXClearErrorOccured(void);
-static const unsigned dummy_answer[2] = {0, 0};
+static const unsigned dummy_answer[2] = { 0, 0 };
-int __glXDisp_NewList(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_NewList(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- CALL_NewList( GET_DISPATCH(), (
- *(GLuint *)(pc + 0),
- *(GLenum *)(pc + 4)
- ) );
+ if (cx != NULL) {
+ CALL_NewList(GET_DISPATCH(), (*(GLuint *) (pc + 0), *(GLenum *) (pc + 4)
+ ));
error = Success;
}
return error;
}
-int __glXDisp_EndList(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_EndList(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- CALL_EndList( GET_DISPATCH(), () );
+ if (cx != NULL) {
+ CALL_EndList(GET_DISPATCH(), ());
error = Success;
}
return error;
}
-void __glXDisp_CallList(GLbyte * pc)
+void
+__glXDisp_CallList(GLbyte * pc)
{
- CALL_CallList( GET_DISPATCH(), (
- *(GLuint *)(pc + 0)
- ) );
+ CALL_CallList(GET_DISPATCH(), (*(GLuint *) (pc + 0)
+ ));
}
-void __glXDisp_CallLists(GLbyte * pc)
+void
+__glXDisp_CallLists(GLbyte * pc)
{
- const GLsizei n = *(GLsizei *)(pc + 0);
- const GLenum type = *(GLenum *)(pc + 4);
- const GLvoid * lists = (const GLvoid *)(pc + 8);
+ const GLsizei n = *(GLsizei *) (pc + 0);
+ const GLenum type = *(GLenum *) (pc + 4);
+ const GLvoid *lists = (const GLvoid *) (pc + 8);
lists = (const GLvoid *) (pc + 8);
- CALL_CallLists( GET_DISPATCH(), (
- n,
- type,
- lists
- ) );
+ CALL_CallLists(GET_DISPATCH(), (n, type, lists));
}
-int __glXDisp_DeleteLists(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_DeleteLists(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- CALL_DeleteLists( GET_DISPATCH(), (
- *(GLuint *)(pc + 0),
- *(GLsizei *)(pc + 4)
- ) );
+ if (cx != NULL) {
+ CALL_DeleteLists(GET_DISPATCH(), (*(GLuint *) (pc + 0),
+ *(GLsizei *) (pc + 4)
+ ));
error = Success;
}
return error;
}
-int __glXDisp_GenLists(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_GenLists(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
+ if (cx != NULL) {
GLuint retval;
- retval = CALL_GenLists( GET_DISPATCH(), (
- *(GLsizei *)(pc + 0)
- ) );
+
+ retval = CALL_GenLists(GET_DISPATCH(), (*(GLsizei *) (pc + 0)
+ ));
__glXSendReply(cl->client, dummy_answer, 0, 0, GL_FALSE, retval);
error = Success;
}
@@ -144,1648 +142,1596 @@ int __glXDisp_GenLists(__GLXclientState *cl, GLbyte *pc)
return error;
}
-void __glXDisp_ListBase(GLbyte * pc)
+void
+__glXDisp_ListBase(GLbyte * pc)
{
- CALL_ListBase( GET_DISPATCH(), (
- *(GLuint *)(pc + 0)
- ) );
+ CALL_ListBase(GET_DISPATCH(), (*(GLuint *) (pc + 0)
+ ));
}
-void __glXDisp_Begin(GLbyte * pc)
+void
+__glXDisp_Begin(GLbyte * pc)
{
- CALL_Begin( GET_DISPATCH(), (
- *(GLenum *)(pc + 0)
- ) );
+ CALL_Begin(GET_DISPATCH(), (*(GLenum *) (pc + 0)
+ ));
}
-void __glXDisp_Bitmap(GLbyte * pc)
+void
+__glXDisp_Bitmap(GLbyte * pc)
{
- const GLubyte * const bitmap = (const GLubyte *) ((pc + 44));
- __GLXpixelHeader * const hdr = (__GLXpixelHeader *)(pc);
+ const GLubyte *const bitmap = (const GLubyte *) ((pc + 44));
+ __GLXpixelHeader *const hdr = (__GLXpixelHeader *) (pc);
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ROW_LENGTH, (GLint) hdr->rowLength) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_ROWS, (GLint) hdr->skipRows) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_PIXELS, (GLint) hdr->skipPixels) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ALIGNMENT, (GLint) hdr->alignment) );
+ CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_ROW_LENGTH, (GLint) hdr->rowLength));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_SKIP_ROWS, (GLint) hdr->skipRows));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_SKIP_PIXELS, (GLint) hdr->skipPixels));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_ALIGNMENT, (GLint) hdr->alignment));
- CALL_Bitmap( GET_DISPATCH(), (
- *(GLsizei *)(pc + 20),
- *(GLsizei *)(pc + 24),
- *(GLfloat *)(pc + 28),
- *(GLfloat *)(pc + 32),
- *(GLfloat *)(pc + 36),
- *(GLfloat *)(pc + 40),
- bitmap
- ) );
+ CALL_Bitmap(GET_DISPATCH(), (*(GLsizei *) (pc + 20),
+ *(GLsizei *) (pc + 24),
+ *(GLfloat *) (pc + 28),
+ *(GLfloat *) (pc + 32),
+ *(GLfloat *) (pc + 36),
+ *(GLfloat *) (pc + 40), bitmap));
}
-void __glXDisp_Color3bv(GLbyte * pc)
+void
+__glXDisp_Color3bv(GLbyte * pc)
{
- CALL_Color3bv( GET_DISPATCH(), (
- (const GLbyte *)(pc + 0)
- ) );
+ CALL_Color3bv(GET_DISPATCH(), ((const GLbyte *) (pc + 0)
+ ));
}
-void __glXDisp_Color3dv(GLbyte * pc)
+void
+__glXDisp_Color3dv(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 24);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 24);
pc -= 4;
}
#endif
- CALL_Color3dv( GET_DISPATCH(), (
- (const GLdouble *)(pc + 0)
- ) );
+ CALL_Color3dv(GET_DISPATCH(), ((const GLdouble *) (pc + 0)
+ ));
}
-void __glXDisp_Color3fv(GLbyte * pc)
+void
+__glXDisp_Color3fv(GLbyte * pc)
{
- CALL_Color3fv( GET_DISPATCH(), (
- (const GLfloat *)(pc + 0)
- ) );
+ CALL_Color3fv(GET_DISPATCH(), ((const GLfloat *) (pc + 0)
+ ));
}
-void __glXDisp_Color3iv(GLbyte * pc)
+void
+__glXDisp_Color3iv(GLbyte * pc)
{
- CALL_Color3iv( GET_DISPATCH(), (
- (const GLint *)(pc + 0)
- ) );
+ CALL_Color3iv(GET_DISPATCH(), ((const GLint *) (pc + 0)
+ ));
}
-void __glXDisp_Color3sv(GLbyte * pc)
+void
+__glXDisp_Color3sv(GLbyte * pc)
{
- CALL_Color3sv( GET_DISPATCH(), (
- (const GLshort *)(pc + 0)
- ) );
+ CALL_Color3sv(GET_DISPATCH(), ((const GLshort *) (pc + 0)
+ ));
}
-void __glXDisp_Color3ubv(GLbyte * pc)
+void
+__glXDisp_Color3ubv(GLbyte * pc)
{
- CALL_Color3ubv( GET_DISPATCH(), (
- (const GLubyte *)(pc + 0)
- ) );
+ CALL_Color3ubv(GET_DISPATCH(), ((const GLubyte *) (pc + 0)
+ ));
}
-void __glXDisp_Color3uiv(GLbyte * pc)
+void
+__glXDisp_Color3uiv(GLbyte * pc)
{
- CALL_Color3uiv( GET_DISPATCH(), (
- (const GLuint *)(pc + 0)
- ) );
+ CALL_Color3uiv(GET_DISPATCH(), ((const GLuint *) (pc + 0)
+ ));
}
-void __glXDisp_Color3usv(GLbyte * pc)
+void
+__glXDisp_Color3usv(GLbyte * pc)
{
- CALL_Color3usv( GET_DISPATCH(), (
- (const GLushort *)(pc + 0)
- ) );
+ CALL_Color3usv(GET_DISPATCH(), ((const GLushort *) (pc + 0)
+ ));
}
-void __glXDisp_Color4bv(GLbyte * pc)
+void
+__glXDisp_Color4bv(GLbyte * pc)
{
- CALL_Color4bv( GET_DISPATCH(), (
- (const GLbyte *)(pc + 0)
- ) );
+ CALL_Color4bv(GET_DISPATCH(), ((const GLbyte *) (pc + 0)
+ ));
}
-void __glXDisp_Color4dv(GLbyte * pc)
+void
+__glXDisp_Color4dv(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 32);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 32);
pc -= 4;
}
#endif
- CALL_Color4dv( GET_DISPATCH(), (
- (const GLdouble *)(pc + 0)
- ) );
+ CALL_Color4dv(GET_DISPATCH(), ((const GLdouble *) (pc + 0)
+ ));
}
-void __glXDisp_Color4fv(GLbyte * pc)
+void
+__glXDisp_Color4fv(GLbyte * pc)
{
- CALL_Color4fv( GET_DISPATCH(), (
- (const GLfloat *)(pc + 0)
- ) );
+ CALL_Color4fv(GET_DISPATCH(), ((const GLfloat *) (pc + 0)
+ ));
}
-void __glXDisp_Color4iv(GLbyte * pc)
+void
+__glXDisp_Color4iv(GLbyte * pc)
{
- CALL_Color4iv( GET_DISPATCH(), (
- (const GLint *)(pc + 0)
- ) );
+ CALL_Color4iv(GET_DISPATCH(), ((const GLint *) (pc + 0)
+ ));
}
-void __glXDisp_Color4sv(GLbyte * pc)
+void
+__glXDisp_Color4sv(GLbyte * pc)
{
- CALL_Color4sv( GET_DISPATCH(), (
- (const GLshort *)(pc + 0)
- ) );
+ CALL_Color4sv(GET_DISPATCH(), ((const GLshort *) (pc + 0)
+ ));
}
-void __glXDisp_Color4ubv(GLbyte * pc)
+void
+__glXDisp_Color4ubv(GLbyte * pc)
{
- CALL_Color4ubv( GET_DISPATCH(), (
- (const GLubyte *)(pc + 0)
- ) );
+ CALL_Color4ubv(GET_DISPATCH(), ((const GLubyte *) (pc + 0)
+ ));
}
-void __glXDisp_Color4uiv(GLbyte * pc)
+void
+__glXDisp_Color4uiv(GLbyte * pc)
{
- CALL_Color4uiv( GET_DISPATCH(), (
- (const GLuint *)(pc + 0)
- ) );
+ CALL_Color4uiv(GET_DISPATCH(), ((const GLuint *) (pc + 0)
+ ));
}
-void __glXDisp_Color4usv(GLbyte * pc)
+void
+__glXDisp_Color4usv(GLbyte * pc)
{
- CALL_Color4usv( GET_DISPATCH(), (
- (const GLushort *)(pc + 0)
- ) );
+ CALL_Color4usv(GET_DISPATCH(), ((const GLushort *) (pc + 0)
+ ));
}
-void __glXDisp_EdgeFlagv(GLbyte * pc)
+void
+__glXDisp_EdgeFlagv(GLbyte * pc)
{
- CALL_EdgeFlagv( GET_DISPATCH(), (
- (const GLboolean *)(pc + 0)
- ) );
+ CALL_EdgeFlagv(GET_DISPATCH(), ((const GLboolean *) (pc + 0)
+ ));
}
-void __glXDisp_End(GLbyte * pc)
+void
+__glXDisp_End(GLbyte * pc)
{
- CALL_End( GET_DISPATCH(), () );
+ CALL_End(GET_DISPATCH(), ());
}
-void __glXDisp_Indexdv(GLbyte * pc)
+void
+__glXDisp_Indexdv(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 8);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 8);
pc -= 4;
}
#endif
- CALL_Indexdv( GET_DISPATCH(), (
- (const GLdouble *)(pc + 0)
- ) );
+ CALL_Indexdv(GET_DISPATCH(), ((const GLdouble *) (pc + 0)
+ ));
}
-void __glXDisp_Indexfv(GLbyte * pc)
+void
+__glXDisp_Indexfv(GLbyte * pc)
{
- CALL_Indexfv( GET_DISPATCH(), (
- (const GLfloat *)(pc + 0)
- ) );
+ CALL_Indexfv(GET_DISPATCH(), ((const GLfloat *) (pc + 0)
+ ));
}
-void __glXDisp_Indexiv(GLbyte * pc)
+void
+__glXDisp_Indexiv(GLbyte * pc)
{
- CALL_Indexiv( GET_DISPATCH(), (
- (const GLint *)(pc + 0)
- ) );
+ CALL_Indexiv(GET_DISPATCH(), ((const GLint *) (pc + 0)
+ ));
}
-void __glXDisp_Indexsv(GLbyte * pc)
+void
+__glXDisp_Indexsv(GLbyte * pc)
{
- CALL_Indexsv( GET_DISPATCH(), (
- (const GLshort *)(pc + 0)
- ) );
+ CALL_Indexsv(GET_DISPATCH(), ((const GLshort *) (pc + 0)
+ ));
}
-void __glXDisp_Normal3bv(GLbyte * pc)
+void
+__glXDisp_Normal3bv(GLbyte * pc)
{
- CALL_Normal3bv( GET_DISPATCH(), (
- (const GLbyte *)(pc + 0)
- ) );
+ CALL_Normal3bv(GET_DISPATCH(), ((const GLbyte *) (pc + 0)
+ ));
}
-void __glXDisp_Normal3dv(GLbyte * pc)
+void
+__glXDisp_Normal3dv(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 24);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 24);
pc -= 4;
}
#endif
- CALL_Normal3dv( GET_DISPATCH(), (
- (const GLdouble *)(pc + 0)
- ) );
+ CALL_Normal3dv(GET_DISPATCH(), ((const GLdouble *) (pc + 0)
+ ));
}
-void __glXDisp_Normal3fv(GLbyte * pc)
+void
+__glXDisp_Normal3fv(GLbyte * pc)
{
- CALL_Normal3fv( GET_DISPATCH(), (
- (const GLfloat *)(pc + 0)
- ) );
+ CALL_Normal3fv(GET_DISPATCH(), ((const GLfloat *) (pc + 0)
+ ));
}
-void __glXDisp_Normal3iv(GLbyte * pc)
+void
+__glXDisp_Normal3iv(GLbyte * pc)
{
- CALL_Normal3iv( GET_DISPATCH(), (
- (const GLint *)(pc + 0)
- ) );
+ CALL_Normal3iv(GET_DISPATCH(), ((const GLint *) (pc + 0)
+ ));
}
-void __glXDisp_Normal3sv(GLbyte * pc)
+void
+__glXDisp_Normal3sv(GLbyte * pc)
{
- CALL_Normal3sv( GET_DISPATCH(), (
- (const GLshort *)(pc + 0)
- ) );
+ CALL_Normal3sv(GET_DISPATCH(), ((const GLshort *) (pc + 0)
+ ));
}
-void __glXDisp_RasterPos2dv(GLbyte * pc)
+void
+__glXDisp_RasterPos2dv(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 16);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 16);
pc -= 4;
}
#endif
- CALL_RasterPos2dv( GET_DISPATCH(), (
- (const GLdouble *)(pc + 0)
- ) );
+ CALL_RasterPos2dv(GET_DISPATCH(), ((const GLdouble *) (pc + 0)
+ ));
}
-void __glXDisp_RasterPos2fv(GLbyte * pc)
+void
+__glXDisp_RasterPos2fv(GLbyte * pc)
{
- CALL_RasterPos2fv( GET_DISPATCH(), (
- (const GLfloat *)(pc + 0)
- ) );
+ CALL_RasterPos2fv(GET_DISPATCH(), ((const GLfloat *) (pc + 0)
+ ));
}
-void __glXDisp_RasterPos2iv(GLbyte * pc)
+void
+__glXDisp_RasterPos2iv(GLbyte * pc)
{
- CALL_RasterPos2iv( GET_DISPATCH(), (
- (const GLint *)(pc + 0)
- ) );
+ CALL_RasterPos2iv(GET_DISPATCH(), ((const GLint *) (pc + 0)
+ ));
}
-void __glXDisp_RasterPos2sv(GLbyte * pc)
+void
+__glXDisp_RasterPos2sv(GLbyte * pc)
{
- CALL_RasterPos2sv( GET_DISPATCH(), (
- (const GLshort *)(pc + 0)
- ) );
+ CALL_RasterPos2sv(GET_DISPATCH(), ((const GLshort *) (pc + 0)
+ ));
}
-void __glXDisp_RasterPos3dv(GLbyte * pc)
+void
+__glXDisp_RasterPos3dv(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 24);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 24);
pc -= 4;
}
#endif
- CALL_RasterPos3dv( GET_DISPATCH(), (
- (const GLdouble *)(pc + 0)
- ) );
+ CALL_RasterPos3dv(GET_DISPATCH(), ((const GLdouble *) (pc + 0)
+ ));
}
-void __glXDisp_RasterPos3fv(GLbyte * pc)
+void
+__glXDisp_RasterPos3fv(GLbyte * pc)
{
- CALL_RasterPos3fv( GET_DISPATCH(), (
- (const GLfloat *)(pc + 0)
- ) );
+ CALL_RasterPos3fv(GET_DISPATCH(), ((const GLfloat *) (pc + 0)
+ ));
}
-void __glXDisp_RasterPos3iv(GLbyte * pc)
+void
+__glXDisp_RasterPos3iv(GLbyte * pc)
{
- CALL_RasterPos3iv( GET_DISPATCH(), (
- (const GLint *)(pc + 0)
- ) );
+ CALL_RasterPos3iv(GET_DISPATCH(), ((const GLint *) (pc + 0)
+ ));
}
-void __glXDisp_RasterPos3sv(GLbyte * pc)
+void
+__glXDisp_RasterPos3sv(GLbyte * pc)
{
- CALL_RasterPos3sv( GET_DISPATCH(), (
- (const GLshort *)(pc + 0)
- ) );
+ CALL_RasterPos3sv(GET_DISPATCH(), ((const GLshort *) (pc + 0)
+ ));
}
-void __glXDisp_RasterPos4dv(GLbyte * pc)
+void
+__glXDisp_RasterPos4dv(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 32);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 32);
pc -= 4;
}
#endif
- CALL_RasterPos4dv( GET_DISPATCH(), (
- (const GLdouble *)(pc + 0)
- ) );
+ CALL_RasterPos4dv(GET_DISPATCH(), ((const GLdouble *) (pc + 0)
+ ));
}
-void __glXDisp_RasterPos4fv(GLbyte * pc)
+void
+__glXDisp_RasterPos4fv(GLbyte * pc)
{
- CALL_RasterPos4fv( GET_DISPATCH(), (
- (const GLfloat *)(pc + 0)
- ) );
+ CALL_RasterPos4fv(GET_DISPATCH(), ((const GLfloat *) (pc + 0)
+ ));
}
-void __glXDisp_RasterPos4iv(GLbyte * pc)
+void
+__glXDisp_RasterPos4iv(GLbyte * pc)
{
- CALL_RasterPos4iv( GET_DISPATCH(), (
- (const GLint *)(pc + 0)
- ) );
+ CALL_RasterPos4iv(GET_DISPATCH(), ((const GLint *) (pc + 0)
+ ));
}
-void __glXDisp_RasterPos4sv(GLbyte * pc)
+void
+__glXDisp_RasterPos4sv(GLbyte * pc)
{
- CALL_RasterPos4sv( GET_DISPATCH(), (
- (const GLshort *)(pc + 0)
- ) );
+ CALL_RasterPos4sv(GET_DISPATCH(), ((const GLshort *) (pc + 0)
+ ));
}
-void __glXDisp_Rectdv(GLbyte * pc)
+void
+__glXDisp_Rectdv(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 32);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 32);
pc -= 4;
}
#endif
- CALL_Rectdv( GET_DISPATCH(), (
- (const GLdouble *)(pc + 0),
- (const GLdouble *)(pc + 16)
- ) );
+ CALL_Rectdv(GET_DISPATCH(), ((const GLdouble *) (pc + 0),
+ (const GLdouble *) (pc + 16)
+ ));
}
-void __glXDisp_Rectfv(GLbyte * pc)
+void
+__glXDisp_Rectfv(GLbyte * pc)
{
- CALL_Rectfv( GET_DISPATCH(), (
- (const GLfloat *)(pc + 0),
- (const GLfloat *)(pc + 8)
- ) );
+ CALL_Rectfv(GET_DISPATCH(), ((const GLfloat *) (pc + 0),
+ (const GLfloat *) (pc + 8)
+ ));
}
-void __glXDisp_Rectiv(GLbyte * pc)
+void
+__glXDisp_Rectiv(GLbyte * pc)
{
- CALL_Rectiv( GET_DISPATCH(), (
- (const GLint *)(pc + 0),
- (const GLint *)(pc + 8)
- ) );
+ CALL_Rectiv(GET_DISPATCH(), ((const GLint *) (pc + 0),
+ (const GLint *) (pc + 8)
+ ));
}
-void __glXDisp_Rectsv(GLbyte * pc)
+void
+__glXDisp_Rectsv(GLbyte * pc)
{
- CALL_Rectsv( GET_DISPATCH(), (
- (const GLshort *)(pc + 0),
- (const GLshort *)(pc + 4)
- ) );
+ CALL_Rectsv(GET_DISPATCH(), ((const GLshort *) (pc + 0),
+ (const GLshort *) (pc + 4)
+ ));
}
-void __glXDisp_TexCoord1dv(GLbyte * pc)
+void
+__glXDisp_TexCoord1dv(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 8);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 8);
pc -= 4;
}
#endif
- CALL_TexCoord1dv( GET_DISPATCH(), (
- (const GLdouble *)(pc + 0)
- ) );
+ CALL_TexCoord1dv(GET_DISPATCH(), ((const GLdouble *) (pc + 0)
+ ));
}
-void __glXDisp_TexCoord1fv(GLbyte * pc)
+void
+__glXDisp_TexCoord1fv(GLbyte * pc)
{
- CALL_TexCoord1fv( GET_DISPATCH(), (
- (const GLfloat *)(pc + 0)
- ) );
+ CALL_TexCoord1fv(GET_DISPATCH(), ((const GLfloat *) (pc + 0)
+ ));
}
-void __glXDisp_TexCoord1iv(GLbyte * pc)
+void
+__glXDisp_TexCoord1iv(GLbyte * pc)
{
- CALL_TexCoord1iv( GET_DISPATCH(), (
- (const GLint *)(pc + 0)
- ) );
+ CALL_TexCoord1iv(GET_DISPATCH(), ((const GLint *) (pc + 0)
+ ));
}
-void __glXDisp_TexCoord1sv(GLbyte * pc)
+void
+__glXDisp_TexCoord1sv(GLbyte * pc)
{
- CALL_TexCoord1sv( GET_DISPATCH(), (
- (const GLshort *)(pc + 0)
- ) );
+ CALL_TexCoord1sv(GET_DISPATCH(), ((const GLshort *) (pc + 0)
+ ));
}
-void __glXDisp_TexCoord2dv(GLbyte * pc)
+void
+__glXDisp_TexCoord2dv(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 16);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 16);
pc -= 4;
}
#endif
- CALL_TexCoord2dv( GET_DISPATCH(), (
- (const GLdouble *)(pc + 0)
- ) );
+ CALL_TexCoord2dv(GET_DISPATCH(), ((const GLdouble *) (pc + 0)
+ ));
}
-void __glXDisp_TexCoord2fv(GLbyte * pc)
+void
+__glXDisp_TexCoord2fv(GLbyte * pc)
{
- CALL_TexCoord2fv( GET_DISPATCH(), (
- (const GLfloat *)(pc + 0)
- ) );
+ CALL_TexCoord2fv(GET_DISPATCH(), ((const GLfloat *) (pc + 0)
+ ));
}
-void __glXDisp_TexCoord2iv(GLbyte * pc)
+void
+__glXDisp_TexCoord2iv(GLbyte * pc)
{
- CALL_TexCoord2iv( GET_DISPATCH(), (
- (const GLint *)(pc + 0)
- ) );
+ CALL_TexCoord2iv(GET_DISPATCH(), ((const GLint *) (pc + 0)
+ ));
}
-void __glXDisp_TexCoord2sv(GLbyte * pc)
+void
+__glXDisp_TexCoord2sv(GLbyte * pc)
{
- CALL_TexCoord2sv( GET_DISPATCH(), (
- (const GLshort *)(pc + 0)
- ) );
+ CALL_TexCoord2sv(GET_DISPATCH(), ((const GLshort *) (pc + 0)
+ ));
}
-void __glXDisp_TexCoord3dv(GLbyte * pc)
+void
+__glXDisp_TexCoord3dv(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 24);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 24);
pc -= 4;
}
#endif
- CALL_TexCoord3dv( GET_DISPATCH(), (
- (const GLdouble *)(pc + 0)
- ) );
+ CALL_TexCoord3dv(GET_DISPATCH(), ((const GLdouble *) (pc + 0)
+ ));
}
-void __glXDisp_TexCoord3fv(GLbyte * pc)
+void
+__glXDisp_TexCoord3fv(GLbyte * pc)
{
- CALL_TexCoord3fv( GET_DISPATCH(), (
- (const GLfloat *)(pc + 0)
- ) );
+ CALL_TexCoord3fv(GET_DISPATCH(), ((const GLfloat *) (pc + 0)
+ ));
}
-void __glXDisp_TexCoord3iv(GLbyte * pc)
+void
+__glXDisp_TexCoord3iv(GLbyte * pc)
{
- CALL_TexCoord3iv( GET_DISPATCH(), (
- (const GLint *)(pc + 0)
- ) );
+ CALL_TexCoord3iv(GET_DISPATCH(), ((const GLint *) (pc + 0)
+ ));
}
-void __glXDisp_TexCoord3sv(GLbyte * pc)
+void
+__glXDisp_TexCoord3sv(GLbyte * pc)
{
- CALL_TexCoord3sv( GET_DISPATCH(), (
- (const GLshort *)(pc + 0)
- ) );
+ CALL_TexCoord3sv(GET_DISPATCH(), ((const GLshort *) (pc + 0)
+ ));
}
-void __glXDisp_TexCoord4dv(GLbyte * pc)
+void
+__glXDisp_TexCoord4dv(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 32);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 32);
pc -= 4;
}
#endif
- CALL_TexCoord4dv( GET_DISPATCH(), (
- (const GLdouble *)(pc + 0)
- ) );
+ CALL_TexCoord4dv(GET_DISPATCH(), ((const GLdouble *) (pc + 0)
+ ));
}
-void __glXDisp_TexCoord4fv(GLbyte * pc)
+void
+__glXDisp_TexCoord4fv(GLbyte * pc)
{
- CALL_TexCoord4fv( GET_DISPATCH(), (
- (const GLfloat *)(pc + 0)
- ) );
+ CALL_TexCoord4fv(GET_DISPATCH(), ((const GLfloat *) (pc + 0)
+ ));
}
-void __glXDisp_TexCoord4iv(GLbyte * pc)
+void
+__glXDisp_TexCoord4iv(GLbyte * pc)
{
- CALL_TexCoord4iv( GET_DISPATCH(), (
- (const GLint *)(pc + 0)
- ) );
+ CALL_TexCoord4iv(GET_DISPATCH(), ((const GLint *) (pc + 0)
+ ));
}
-void __glXDisp_TexCoord4sv(GLbyte * pc)
+void
+__glXDisp_TexCoord4sv(GLbyte * pc)
{
- CALL_TexCoord4sv( GET_DISPATCH(), (
- (const GLshort *)(pc + 0)
- ) );
+ CALL_TexCoord4sv(GET_DISPATCH(), ((const GLshort *) (pc + 0)
+ ));
}
-void __glXDisp_Vertex2dv(GLbyte * pc)
+void
+__glXDisp_Vertex2dv(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 16);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 16);
pc -= 4;
}
#endif
- CALL_Vertex2dv( GET_DISPATCH(), (
- (const GLdouble *)(pc + 0)
- ) );
+ CALL_Vertex2dv(GET_DISPATCH(), ((const GLdouble *) (pc + 0)
+ ));
}
-void __glXDisp_Vertex2fv(GLbyte * pc)
+void
+__glXDisp_Vertex2fv(GLbyte * pc)
{
- CALL_Vertex2fv( GET_DISPATCH(), (
- (const GLfloat *)(pc + 0)
- ) );
+ CALL_Vertex2fv(GET_DISPATCH(), ((const GLfloat *) (pc + 0)
+ ));
}
-void __glXDisp_Vertex2iv(GLbyte * pc)
+void
+__glXDisp_Vertex2iv(GLbyte * pc)
{
- CALL_Vertex2iv( GET_DISPATCH(), (
- (const GLint *)(pc + 0)
- ) );
+ CALL_Vertex2iv(GET_DISPATCH(), ((const GLint *) (pc + 0)
+ ));
}
-void __glXDisp_Vertex2sv(GLbyte * pc)
+void
+__glXDisp_Vertex2sv(GLbyte * pc)
{
- CALL_Vertex2sv( GET_DISPATCH(), (
- (const GLshort *)(pc + 0)
- ) );
+ CALL_Vertex2sv(GET_DISPATCH(), ((const GLshort *) (pc + 0)
+ ));
}
-void __glXDisp_Vertex3dv(GLbyte * pc)
+void
+__glXDisp_Vertex3dv(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 24);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 24);
pc -= 4;
}
#endif
- CALL_Vertex3dv( GET_DISPATCH(), (
- (const GLdouble *)(pc + 0)
- ) );
+ CALL_Vertex3dv(GET_DISPATCH(), ((const GLdouble *) (pc + 0)
+ ));
}
-void __glXDisp_Vertex3fv(GLbyte * pc)
+void
+__glXDisp_Vertex3fv(GLbyte * pc)
{
- CALL_Vertex3fv( GET_DISPATCH(), (
- (const GLfloat *)(pc + 0)
- ) );
+ CALL_Vertex3fv(GET_DISPATCH(), ((const GLfloat *) (pc + 0)
+ ));
}
-void __glXDisp_Vertex3iv(GLbyte * pc)
+void
+__glXDisp_Vertex3iv(GLbyte * pc)
{
- CALL_Vertex3iv( GET_DISPATCH(), (
- (const GLint *)(pc + 0)
- ) );
+ CALL_Vertex3iv(GET_DISPATCH(), ((const GLint *) (pc + 0)
+ ));
}
-void __glXDisp_Vertex3sv(GLbyte * pc)
+void
+__glXDisp_Vertex3sv(GLbyte * pc)
{
- CALL_Vertex3sv( GET_DISPATCH(), (
- (const GLshort *)(pc + 0)
- ) );
+ CALL_Vertex3sv(GET_DISPATCH(), ((const GLshort *) (pc + 0)
+ ));
}
-void __glXDisp_Vertex4dv(GLbyte * pc)
+void
+__glXDisp_Vertex4dv(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 32);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 32);
pc -= 4;
}
#endif
- CALL_Vertex4dv( GET_DISPATCH(), (
- (const GLdouble *)(pc + 0)
- ) );
+ CALL_Vertex4dv(GET_DISPATCH(), ((const GLdouble *) (pc + 0)
+ ));
}
-void __glXDisp_Vertex4fv(GLbyte * pc)
+void
+__glXDisp_Vertex4fv(GLbyte * pc)
{
- CALL_Vertex4fv( GET_DISPATCH(), (
- (const GLfloat *)(pc + 0)
- ) );
+ CALL_Vertex4fv(GET_DISPATCH(), ((const GLfloat *) (pc + 0)
+ ));
}
-void __glXDisp_Vertex4iv(GLbyte * pc)
+void
+__glXDisp_Vertex4iv(GLbyte * pc)
{
- CALL_Vertex4iv( GET_DISPATCH(), (
- (const GLint *)(pc + 0)
- ) );
+ CALL_Vertex4iv(GET_DISPATCH(), ((const GLint *) (pc + 0)
+ ));
}
-void __glXDisp_Vertex4sv(GLbyte * pc)
+void
+__glXDisp_Vertex4sv(GLbyte * pc)
{
- CALL_Vertex4sv( GET_DISPATCH(), (
- (const GLshort *)(pc + 0)
- ) );
+ CALL_Vertex4sv(GET_DISPATCH(), ((const GLshort *) (pc + 0)
+ ));
}
-void __glXDisp_ClipPlane(GLbyte * pc)
+void
+__glXDisp_ClipPlane(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 36);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 36);
pc -= 4;
}
#endif
- CALL_ClipPlane( GET_DISPATCH(), (
- *(GLenum *)(pc + 32),
- (const GLdouble *)(pc + 0)
- ) );
+ CALL_ClipPlane(GET_DISPATCH(), (*(GLenum *) (pc + 32),
+ (const GLdouble *) (pc + 0)
+ ));
}
-void __glXDisp_ColorMaterial(GLbyte * pc)
+void
+__glXDisp_ColorMaterial(GLbyte * pc)
{
- CALL_ColorMaterial( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLenum *)(pc + 4)
- ) );
+ CALL_ColorMaterial(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ *(GLenum *) (pc + 4)
+ ));
}
-void __glXDisp_CullFace(GLbyte * pc)
+void
+__glXDisp_CullFace(GLbyte * pc)
{
- CALL_CullFace( GET_DISPATCH(), (
- *(GLenum *)(pc + 0)
- ) );
+ CALL_CullFace(GET_DISPATCH(), (*(GLenum *) (pc + 0)
+ ));
}
-void __glXDisp_Fogf(GLbyte * pc)
+void
+__glXDisp_Fogf(GLbyte * pc)
{
- CALL_Fogf( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLfloat *)(pc + 4)
- ) );
+ CALL_Fogf(GET_DISPATCH(), (*(GLenum *) (pc + 0), *(GLfloat *) (pc + 4)
+ ));
}
-void __glXDisp_Fogfv(GLbyte * pc)
+void
+__glXDisp_Fogfv(GLbyte * pc)
{
- const GLenum pname = *(GLenum *)(pc + 0);
- const GLfloat * params;
+ const GLenum pname = *(GLenum *) (pc + 0);
+ const GLfloat *params;
params = (const GLfloat *) (pc + 4);
- CALL_Fogfv( GET_DISPATCH(), (
- pname,
- params
- ) );
+ CALL_Fogfv(GET_DISPATCH(), (pname, params));
}
-void __glXDisp_Fogi(GLbyte * pc)
+void
+__glXDisp_Fogi(GLbyte * pc)
{
- CALL_Fogi( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLint *)(pc + 4)
- ) );
+ CALL_Fogi(GET_DISPATCH(), (*(GLenum *) (pc + 0), *(GLint *) (pc + 4)
+ ));
}
-void __glXDisp_Fogiv(GLbyte * pc)
+void
+__glXDisp_Fogiv(GLbyte * pc)
{
- const GLenum pname = *(GLenum *)(pc + 0);
- const GLint * params;
+ const GLenum pname = *(GLenum *) (pc + 0);
+ const GLint *params;
params = (const GLint *) (pc + 4);
- CALL_Fogiv( GET_DISPATCH(), (
- pname,
- params
- ) );
+ CALL_Fogiv(GET_DISPATCH(), (pname, params));
}
-void __glXDisp_FrontFace(GLbyte * pc)
+void
+__glXDisp_FrontFace(GLbyte * pc)
{
- CALL_FrontFace( GET_DISPATCH(), (
- *(GLenum *)(pc + 0)
- ) );
+ CALL_FrontFace(GET_DISPATCH(), (*(GLenum *) (pc + 0)
+ ));
}
-void __glXDisp_Hint(GLbyte * pc)
+void
+__glXDisp_Hint(GLbyte * pc)
{
- CALL_Hint( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLenum *)(pc + 4)
- ) );
+ CALL_Hint(GET_DISPATCH(), (*(GLenum *) (pc + 0), *(GLenum *) (pc + 4)
+ ));
}
-void __glXDisp_Lightf(GLbyte * pc)
+void
+__glXDisp_Lightf(GLbyte * pc)
{
- CALL_Lightf( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLenum *)(pc + 4),
- *(GLfloat *)(pc + 8)
- ) );
+ CALL_Lightf(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ *(GLenum *) (pc + 4), *(GLfloat *) (pc + 8)
+ ));
}
-void __glXDisp_Lightfv(GLbyte * pc)
+void
+__glXDisp_Lightfv(GLbyte * pc)
{
- const GLenum pname = *(GLenum *)(pc + 4);
- const GLfloat * params;
+ const GLenum pname = *(GLenum *) (pc + 4);
+ const GLfloat *params;
params = (const GLfloat *) (pc + 8);
- CALL_Lightfv( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- pname,
- params
- ) );
+ CALL_Lightfv(GET_DISPATCH(), (*(GLenum *) (pc + 0), pname, params));
}
-void __glXDisp_Lighti(GLbyte * pc)
+void
+__glXDisp_Lighti(GLbyte * pc)
{
- CALL_Lighti( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLenum *)(pc + 4),
- *(GLint *)(pc + 8)
- ) );
+ CALL_Lighti(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ *(GLenum *) (pc + 4), *(GLint *) (pc + 8)
+ ));
}
-void __glXDisp_Lightiv(GLbyte * pc)
+void
+__glXDisp_Lightiv(GLbyte * pc)
{
- const GLenum pname = *(GLenum *)(pc + 4);
- const GLint * params;
+ const GLenum pname = *(GLenum *) (pc + 4);
+ const GLint *params;
params = (const GLint *) (pc + 8);
- CALL_Lightiv( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- pname,
- params
- ) );
+ CALL_Lightiv(GET_DISPATCH(), (*(GLenum *) (pc + 0), pname, params));
}
-void __glXDisp_LightModelf(GLbyte * pc)
+void
+__glXDisp_LightModelf(GLbyte * pc)
{
- CALL_LightModelf( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLfloat *)(pc + 4)
- ) );
+ CALL_LightModelf(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ *(GLfloat *) (pc + 4)
+ ));
}
-void __glXDisp_LightModelfv(GLbyte * pc)
+void
+__glXDisp_LightModelfv(GLbyte * pc)
{
- const GLenum pname = *(GLenum *)(pc + 0);
- const GLfloat * params;
+ const GLenum pname = *(GLenum *) (pc + 0);
+ const GLfloat *params;
params = (const GLfloat *) (pc + 4);
- CALL_LightModelfv( GET_DISPATCH(), (
- pname,
- params
- ) );
+ CALL_LightModelfv(GET_DISPATCH(), (pname, params));
}
-void __glXDisp_LightModeli(GLbyte * pc)
+void
+__glXDisp_LightModeli(GLbyte * pc)
{
- CALL_LightModeli( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLint *)(pc + 4)
- ) );
+ CALL_LightModeli(GET_DISPATCH(), (*(GLenum *) (pc + 0), *(GLint *) (pc + 4)
+ ));
}
-void __glXDisp_LightModeliv(GLbyte * pc)
+void
+__glXDisp_LightModeliv(GLbyte * pc)
{
- const GLenum pname = *(GLenum *)(pc + 0);
- const GLint * params;
+ const GLenum pname = *(GLenum *) (pc + 0);
+ const GLint *params;
params = (const GLint *) (pc + 4);
- CALL_LightModeliv( GET_DISPATCH(), (
- pname,
- params
- ) );
+ CALL_LightModeliv(GET_DISPATCH(), (pname, params));
}
-void __glXDisp_LineStipple(GLbyte * pc)
+void
+__glXDisp_LineStipple(GLbyte * pc)
{
- CALL_LineStipple( GET_DISPATCH(), (
- *(GLint *)(pc + 0),
- *(GLushort *)(pc + 4)
- ) );
+ CALL_LineStipple(GET_DISPATCH(), (*(GLint *) (pc + 0),
+ *(GLushort *) (pc + 4)
+ ));
}
-void __glXDisp_LineWidth(GLbyte * pc)
+void
+__glXDisp_LineWidth(GLbyte * pc)
{
- CALL_LineWidth( GET_DISPATCH(), (
- *(GLfloat *)(pc + 0)
- ) );
+ CALL_LineWidth(GET_DISPATCH(), (*(GLfloat *) (pc + 0)
+ ));
}
-void __glXDisp_Materialf(GLbyte * pc)
+void
+__glXDisp_Materialf(GLbyte * pc)
{
- CALL_Materialf( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLenum *)(pc + 4),
- *(GLfloat *)(pc + 8)
- ) );
+ CALL_Materialf(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ *(GLenum *) (pc + 4), *(GLfloat *) (pc + 8)
+ ));
}
-void __glXDisp_Materialfv(GLbyte * pc)
+void
+__glXDisp_Materialfv(GLbyte * pc)
{
- const GLenum pname = *(GLenum *)(pc + 4);
- const GLfloat * params;
+ const GLenum pname = *(GLenum *) (pc + 4);
+ const GLfloat *params;
params = (const GLfloat *) (pc + 8);
- CALL_Materialfv( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- pname,
- params
- ) );
+ CALL_Materialfv(GET_DISPATCH(), (*(GLenum *) (pc + 0), pname, params));
}
-void __glXDisp_Materiali(GLbyte * pc)
+void
+__glXDisp_Materiali(GLbyte * pc)
{
- CALL_Materiali( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLenum *)(pc + 4),
- *(GLint *)(pc + 8)
- ) );
+ CALL_Materiali(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ *(GLenum *) (pc + 4), *(GLint *) (pc + 8)
+ ));
}
-void __glXDisp_Materialiv(GLbyte * pc)
+void
+__glXDisp_Materialiv(GLbyte * pc)
{
- const GLenum pname = *(GLenum *)(pc + 4);
- const GLint * params;
+ const GLenum pname = *(GLenum *) (pc + 4);
+ const GLint *params;
params = (const GLint *) (pc + 8);
- CALL_Materialiv( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- pname,
- params
- ) );
+ CALL_Materialiv(GET_DISPATCH(), (*(GLenum *) (pc + 0), pname, params));
}
-void __glXDisp_PointSize(GLbyte * pc)
+void
+__glXDisp_PointSize(GLbyte * pc)
{
- CALL_PointSize( GET_DISPATCH(), (
- *(GLfloat *)(pc + 0)
- ) );
+ CALL_PointSize(GET_DISPATCH(), (*(GLfloat *) (pc + 0)
+ ));
}
-void __glXDisp_PolygonMode(GLbyte * pc)
+void
+__glXDisp_PolygonMode(GLbyte * pc)
{
- CALL_PolygonMode( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLenum *)(pc + 4)
- ) );
+ CALL_PolygonMode(GET_DISPATCH(), (*(GLenum *) (pc + 0), *(GLenum *) (pc + 4)
+ ));
}
-void __glXDisp_PolygonStipple(GLbyte * pc)
+void
+__glXDisp_PolygonStipple(GLbyte * pc)
{
- const GLubyte * const mask = (const GLubyte *) ((pc + 20));
- __GLXpixelHeader * const hdr = (__GLXpixelHeader *)(pc);
+ const GLubyte *const mask = (const GLubyte *) ((pc + 20));
+ __GLXpixelHeader *const hdr = (__GLXpixelHeader *) (pc);
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ROW_LENGTH, (GLint) hdr->rowLength) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_ROWS, (GLint) hdr->skipRows) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_PIXELS, (GLint) hdr->skipPixels) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ALIGNMENT, (GLint) hdr->alignment) );
+ CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_ROW_LENGTH, (GLint) hdr->rowLength));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_SKIP_ROWS, (GLint) hdr->skipRows));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_SKIP_PIXELS, (GLint) hdr->skipPixels));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_ALIGNMENT, (GLint) hdr->alignment));
- CALL_PolygonStipple( GET_DISPATCH(), (
- mask
- ) );
+ CALL_PolygonStipple(GET_DISPATCH(), (mask));
}
-void __glXDisp_Scissor(GLbyte * pc)
+void
+__glXDisp_Scissor(GLbyte * pc)
{
- CALL_Scissor( GET_DISPATCH(), (
- *(GLint *)(pc + 0),
- *(GLint *)(pc + 4),
- *(GLsizei *)(pc + 8),
- *(GLsizei *)(pc + 12)
- ) );
+ CALL_Scissor(GET_DISPATCH(), (*(GLint *) (pc + 0),
+ *(GLint *) (pc + 4),
+ *(GLsizei *) (pc + 8), *(GLsizei *) (pc + 12)
+ ));
}
-void __glXDisp_ShadeModel(GLbyte * pc)
+void
+__glXDisp_ShadeModel(GLbyte * pc)
{
- CALL_ShadeModel( GET_DISPATCH(), (
- *(GLenum *)(pc + 0)
- ) );
+ CALL_ShadeModel(GET_DISPATCH(), (*(GLenum *) (pc + 0)
+ ));
}
-void __glXDisp_TexParameterf(GLbyte * pc)
+void
+__glXDisp_TexParameterf(GLbyte * pc)
{
- CALL_TexParameterf( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLenum *)(pc + 4),
- *(GLfloat *)(pc + 8)
- ) );
+ CALL_TexParameterf(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ *(GLenum *) (pc + 4),
+ *(GLfloat *) (pc + 8)
+ ));
}
-void __glXDisp_TexParameterfv(GLbyte * pc)
+void
+__glXDisp_TexParameterfv(GLbyte * pc)
{
- const GLenum pname = *(GLenum *)(pc + 4);
- const GLfloat * params;
+ const GLenum pname = *(GLenum *) (pc + 4);
+ const GLfloat *params;
params = (const GLfloat *) (pc + 8);
- CALL_TexParameterfv( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- pname,
- params
- ) );
+ CALL_TexParameterfv(GET_DISPATCH(), (*(GLenum *) (pc + 0), pname, params));
}
-void __glXDisp_TexParameteri(GLbyte * pc)
+void
+__glXDisp_TexParameteri(GLbyte * pc)
{
- CALL_TexParameteri( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLenum *)(pc + 4),
- *(GLint *)(pc + 8)
- ) );
+ CALL_TexParameteri(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ *(GLenum *) (pc + 4),
+ *(GLint *) (pc + 8)
+ ));
}
-void __glXDisp_TexParameteriv(GLbyte * pc)
+void
+__glXDisp_TexParameteriv(GLbyte * pc)
{
- const GLenum pname = *(GLenum *)(pc + 4);
- const GLint * params;
+ const GLenum pname = *(GLenum *) (pc + 4);
+ const GLint *params;
params = (const GLint *) (pc + 8);
- CALL_TexParameteriv( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- pname,
- params
- ) );
+ CALL_TexParameteriv(GET_DISPATCH(), (*(GLenum *) (pc + 0), pname, params));
}
-void __glXDisp_TexImage1D(GLbyte * pc)
+void
+__glXDisp_TexImage1D(GLbyte * pc)
{
- const GLvoid * const pixels = (const GLvoid *) ((pc + 52));
- __GLXpixelHeader * const hdr = (__GLXpixelHeader *)(pc);
+ const GLvoid *const pixels = (const GLvoid *) ((pc + 52));
+ __GLXpixelHeader *const hdr = (__GLXpixelHeader *) (pc);
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ROW_LENGTH, (GLint) hdr->rowLength) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_ROWS, (GLint) hdr->skipRows) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_PIXELS, (GLint) hdr->skipPixels) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ALIGNMENT, (GLint) hdr->alignment) );
+ CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes));
+ CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_ROW_LENGTH, (GLint) hdr->rowLength));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_SKIP_ROWS, (GLint) hdr->skipRows));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_SKIP_PIXELS, (GLint) hdr->skipPixels));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_ALIGNMENT, (GLint) hdr->alignment));
- CALL_TexImage1D( GET_DISPATCH(), (
- *(GLenum *)(pc + 20),
- *(GLint *)(pc + 24),
- *(GLint *)(pc + 28),
- *(GLsizei *)(pc + 32),
- *(GLint *)(pc + 40),
- *(GLenum *)(pc + 44),
- *(GLenum *)(pc + 48),
- pixels
- ) );
+ CALL_TexImage1D(GET_DISPATCH(), (*(GLenum *) (pc + 20),
+ *(GLint *) (pc + 24),
+ *(GLint *) (pc + 28),
+ *(GLsizei *) (pc + 32),
+ *(GLint *) (pc + 40),
+ *(GLenum *) (pc + 44),
+ *(GLenum *) (pc + 48), pixels));
}
-void __glXDisp_TexImage2D(GLbyte * pc)
+void
+__glXDisp_TexImage2D(GLbyte * pc)
{
- const GLvoid * const pixels = (const GLvoid *) ((pc + 52));
- __GLXpixelHeader * const hdr = (__GLXpixelHeader *)(pc);
+ const GLvoid *const pixels = (const GLvoid *) ((pc + 52));
+ __GLXpixelHeader *const hdr = (__GLXpixelHeader *) (pc);
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ROW_LENGTH, (GLint) hdr->rowLength) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_ROWS, (GLint) hdr->skipRows) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_PIXELS, (GLint) hdr->skipPixels) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ALIGNMENT, (GLint) hdr->alignment) );
+ CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes));
+ CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_ROW_LENGTH, (GLint) hdr->rowLength));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_SKIP_ROWS, (GLint) hdr->skipRows));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_SKIP_PIXELS, (GLint) hdr->skipPixels));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_ALIGNMENT, (GLint) hdr->alignment));
- CALL_TexImage2D( GET_DISPATCH(), (
- *(GLenum *)(pc + 20),
- *(GLint *)(pc + 24),
- *(GLint *)(pc + 28),
- *(GLsizei *)(pc + 32),
- *(GLsizei *)(pc + 36),
- *(GLint *)(pc + 40),
- *(GLenum *)(pc + 44),
- *(GLenum *)(pc + 48),
- pixels
- ) );
+ CALL_TexImage2D(GET_DISPATCH(), (*(GLenum *) (pc + 20),
+ *(GLint *) (pc + 24),
+ *(GLint *) (pc + 28),
+ *(GLsizei *) (pc + 32),
+ *(GLsizei *) (pc + 36),
+ *(GLint *) (pc + 40),
+ *(GLenum *) (pc + 44),
+ *(GLenum *) (pc + 48), pixels));
}
-void __glXDisp_TexEnvf(GLbyte * pc)
+void
+__glXDisp_TexEnvf(GLbyte * pc)
{
- CALL_TexEnvf( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLenum *)(pc + 4),
- *(GLfloat *)(pc + 8)
- ) );
+ CALL_TexEnvf(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ *(GLenum *) (pc + 4), *(GLfloat *) (pc + 8)
+ ));
}
-void __glXDisp_TexEnvfv(GLbyte * pc)
+void
+__glXDisp_TexEnvfv(GLbyte * pc)
{
- const GLenum pname = *(GLenum *)(pc + 4);
- const GLfloat * params;
+ const GLenum pname = *(GLenum *) (pc + 4);
+ const GLfloat *params;
params = (const GLfloat *) (pc + 8);
- CALL_TexEnvfv( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- pname,
- params
- ) );
+ CALL_TexEnvfv(GET_DISPATCH(), (*(GLenum *) (pc + 0), pname, params));
}
-void __glXDisp_TexEnvi(GLbyte * pc)
+void
+__glXDisp_TexEnvi(GLbyte * pc)
{
- CALL_TexEnvi( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLenum *)(pc + 4),
- *(GLint *)(pc + 8)
- ) );
+ CALL_TexEnvi(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ *(GLenum *) (pc + 4), *(GLint *) (pc + 8)
+ ));
}
-void __glXDisp_TexEnviv(GLbyte * pc)
+void
+__glXDisp_TexEnviv(GLbyte * pc)
{
- const GLenum pname = *(GLenum *)(pc + 4);
- const GLint * params;
+ const GLenum pname = *(GLenum *) (pc + 4);
+ const GLint *params;
params = (const GLint *) (pc + 8);
- CALL_TexEnviv( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- pname,
- params
- ) );
+ CALL_TexEnviv(GET_DISPATCH(), (*(GLenum *) (pc + 0), pname, params));
}
-void __glXDisp_TexGend(GLbyte * pc)
+void
+__glXDisp_TexGend(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 16);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 16);
pc -= 4;
}
#endif
- CALL_TexGend( GET_DISPATCH(), (
- *(GLenum *)(pc + 8),
- *(GLenum *)(pc + 12),
- *(GLdouble *)(pc + 0)
- ) );
+ CALL_TexGend(GET_DISPATCH(), (*(GLenum *) (pc + 8),
+ *(GLenum *) (pc + 12), *(GLdouble *) (pc + 0)
+ ));
}
-void __glXDisp_TexGendv(GLbyte * pc)
+void
+__glXDisp_TexGendv(GLbyte * pc)
{
- const GLenum pname = *(GLenum *)(pc + 4);
- const GLdouble * params;
+ const GLenum pname = *(GLenum *) (pc + 4);
+ const GLdouble *params;
#ifdef __GLX_ALIGN64
const GLuint compsize = __glTexGendv_size(pname);
const GLuint cmdlen = 12 + __GLX_PAD((compsize * 8)) - 4;
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, cmdlen);
+
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, cmdlen);
pc -= 4;
}
#endif
params = (const GLdouble *) (pc + 8);
- CALL_TexGendv( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- pname,
- params
- ) );
+ CALL_TexGendv(GET_DISPATCH(), (*(GLenum *) (pc + 0), pname, params));
}
-void __glXDisp_TexGenf(GLbyte * pc)
+void
+__glXDisp_TexGenf(GLbyte * pc)
{
- CALL_TexGenf( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLenum *)(pc + 4),
- *(GLfloat *)(pc + 8)
- ) );
+ CALL_TexGenf(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ *(GLenum *) (pc + 4), *(GLfloat *) (pc + 8)
+ ));
}
-void __glXDisp_TexGenfv(GLbyte * pc)
+void
+__glXDisp_TexGenfv(GLbyte * pc)
{
- const GLenum pname = *(GLenum *)(pc + 4);
- const GLfloat * params;
+ const GLenum pname = *(GLenum *) (pc + 4);
+ const GLfloat *params;
params = (const GLfloat *) (pc + 8);
- CALL_TexGenfv( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- pname,
- params
- ) );
+ CALL_TexGenfv(GET_DISPATCH(), (*(GLenum *) (pc + 0), pname, params));
}
-void __glXDisp_TexGeni(GLbyte * pc)
+void
+__glXDisp_TexGeni(GLbyte * pc)
{
- CALL_TexGeni( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLenum *)(pc + 4),
- *(GLint *)(pc + 8)
- ) );
+ CALL_TexGeni(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ *(GLenum *) (pc + 4), *(GLint *) (pc + 8)
+ ));
}
-void __glXDisp_TexGeniv(GLbyte * pc)
+void
+__glXDisp_TexGeniv(GLbyte * pc)
{
- const GLenum pname = *(GLenum *)(pc + 4);
- const GLint * params;
+ const GLenum pname = *(GLenum *) (pc + 4);
+ const GLint *params;
params = (const GLint *) (pc + 8);
- CALL_TexGeniv( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- pname,
- params
- ) );
+ CALL_TexGeniv(GET_DISPATCH(), (*(GLenum *) (pc + 0), pname, params));
}
-void __glXDisp_InitNames(GLbyte * pc)
+void
+__glXDisp_InitNames(GLbyte * pc)
{
- CALL_InitNames( GET_DISPATCH(), () );
+ CALL_InitNames(GET_DISPATCH(), ());
}
-void __glXDisp_LoadName(GLbyte * pc)
+void
+__glXDisp_LoadName(GLbyte * pc)
{
- CALL_LoadName( GET_DISPATCH(), (
- *(GLuint *)(pc + 0)
- ) );
+ CALL_LoadName(GET_DISPATCH(), (*(GLuint *) (pc + 0)
+ ));
}
-void __glXDisp_PassThrough(GLbyte * pc)
+void
+__glXDisp_PassThrough(GLbyte * pc)
{
- CALL_PassThrough( GET_DISPATCH(), (
- *(GLfloat *)(pc + 0)
- ) );
+ CALL_PassThrough(GET_DISPATCH(), (*(GLfloat *) (pc + 0)
+ ));
}
-void __glXDisp_PopName(GLbyte * pc)
+void
+__glXDisp_PopName(GLbyte * pc)
{
- CALL_PopName( GET_DISPATCH(), () );
+ CALL_PopName(GET_DISPATCH(), ());
}
-void __glXDisp_PushName(GLbyte * pc)
+void
+__glXDisp_PushName(GLbyte * pc)
{
- CALL_PushName( GET_DISPATCH(), (
- *(GLuint *)(pc + 0)
- ) );
+ CALL_PushName(GET_DISPATCH(), (*(GLuint *) (pc + 0)
+ ));
}
-void __glXDisp_DrawBuffer(GLbyte * pc)
+void
+__glXDisp_DrawBuffer(GLbyte * pc)
{
- CALL_DrawBuffer( GET_DISPATCH(), (
- *(GLenum *)(pc + 0)
- ) );
+ CALL_DrawBuffer(GET_DISPATCH(), (*(GLenum *) (pc + 0)
+ ));
}
-void __glXDisp_Clear(GLbyte * pc)
+void
+__glXDisp_Clear(GLbyte * pc)
{
- CALL_Clear( GET_DISPATCH(), (
- *(GLbitfield *)(pc + 0)
- ) );
+ CALL_Clear(GET_DISPATCH(), (*(GLbitfield *) (pc + 0)
+ ));
}
-void __glXDisp_ClearAccum(GLbyte * pc)
+void
+__glXDisp_ClearAccum(GLbyte * pc)
{
- CALL_ClearAccum( GET_DISPATCH(), (
- *(GLfloat *)(pc + 0),
- *(GLfloat *)(pc + 4),
- *(GLfloat *)(pc + 8),
- *(GLfloat *)(pc + 12)
- ) );
+ CALL_ClearAccum(GET_DISPATCH(), (*(GLfloat *) (pc + 0),
+ *(GLfloat *) (pc + 4),
+ *(GLfloat *) (pc + 8),
+ *(GLfloat *) (pc + 12)
+ ));
}
-void __glXDisp_ClearIndex(GLbyte * pc)
+void
+__glXDisp_ClearIndex(GLbyte * pc)
{
- CALL_ClearIndex( GET_DISPATCH(), (
- *(GLfloat *)(pc + 0)
- ) );
+ CALL_ClearIndex(GET_DISPATCH(), (*(GLfloat *) (pc + 0)
+ ));
}
-void __glXDisp_ClearColor(GLbyte * pc)
+void
+__glXDisp_ClearColor(GLbyte * pc)
{
- CALL_ClearColor( GET_DISPATCH(), (
- *(GLclampf *)(pc + 0),
- *(GLclampf *)(pc + 4),
- *(GLclampf *)(pc + 8),
- *(GLclampf *)(pc + 12)
- ) );
+ CALL_ClearColor(GET_DISPATCH(), (*(GLclampf *) (pc + 0),
+ *(GLclampf *) (pc + 4),
+ *(GLclampf *) (pc + 8),
+ *(GLclampf *) (pc + 12)
+ ));
}
-void __glXDisp_ClearStencil(GLbyte * pc)
+void
+__glXDisp_ClearStencil(GLbyte * pc)
{
- CALL_ClearStencil( GET_DISPATCH(), (
- *(GLint *)(pc + 0)
- ) );
+ CALL_ClearStencil(GET_DISPATCH(), (*(GLint *) (pc + 0)
+ ));
}
-void __glXDisp_ClearDepth(GLbyte * pc)
+void
+__glXDisp_ClearDepth(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 8);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 8);
pc -= 4;
}
#endif
- CALL_ClearDepth( GET_DISPATCH(), (
- *(GLclampd *)(pc + 0)
- ) );
+ CALL_ClearDepth(GET_DISPATCH(), (*(GLclampd *) (pc + 0)
+ ));
}
-void __glXDisp_StencilMask(GLbyte * pc)
+void
+__glXDisp_StencilMask(GLbyte * pc)
{
- CALL_StencilMask( GET_DISPATCH(), (
- *(GLuint *)(pc + 0)
- ) );
+ CALL_StencilMask(GET_DISPATCH(), (*(GLuint *) (pc + 0)
+ ));
}
-void __glXDisp_ColorMask(GLbyte * pc)
+void
+__glXDisp_ColorMask(GLbyte * pc)
{
- CALL_ColorMask( GET_DISPATCH(), (
- *(GLboolean *)(pc + 0),
- *(GLboolean *)(pc + 1),
- *(GLboolean *)(pc + 2),
- *(GLboolean *)(pc + 3)
- ) );
+ CALL_ColorMask(GET_DISPATCH(), (*(GLboolean *) (pc + 0),
+ *(GLboolean *) (pc + 1),
+ *(GLboolean *) (pc + 2),
+ *(GLboolean *) (pc + 3)
+ ));
}
-void __glXDisp_DepthMask(GLbyte * pc)
+void
+__glXDisp_DepthMask(GLbyte * pc)
{
- CALL_DepthMask( GET_DISPATCH(), (
- *(GLboolean *)(pc + 0)
- ) );
+ CALL_DepthMask(GET_DISPATCH(), (*(GLboolean *) (pc + 0)
+ ));
}
-void __glXDisp_IndexMask(GLbyte * pc)
+void
+__glXDisp_IndexMask(GLbyte * pc)
{
- CALL_IndexMask( GET_DISPATCH(), (
- *(GLuint *)(pc + 0)
- ) );
+ CALL_IndexMask(GET_DISPATCH(), (*(GLuint *) (pc + 0)
+ ));
}
-void __glXDisp_Accum(GLbyte * pc)
+void
+__glXDisp_Accum(GLbyte * pc)
{
- CALL_Accum( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLfloat *)(pc + 4)
- ) );
+ CALL_Accum(GET_DISPATCH(), (*(GLenum *) (pc + 0), *(GLfloat *) (pc + 4)
+ ));
}
-void __glXDisp_Disable(GLbyte * pc)
+void
+__glXDisp_Disable(GLbyte * pc)
{
- CALL_Disable( GET_DISPATCH(), (
- *(GLenum *)(pc + 0)
- ) );
+ CALL_Disable(GET_DISPATCH(), (*(GLenum *) (pc + 0)
+ ));
}
-void __glXDisp_Enable(GLbyte * pc)
+void
+__glXDisp_Enable(GLbyte * pc)
{
- CALL_Enable( GET_DISPATCH(), (
- *(GLenum *)(pc + 0)
- ) );
+ CALL_Enable(GET_DISPATCH(), (*(GLenum *) (pc + 0)
+ ));
}
-void __glXDisp_PopAttrib(GLbyte * pc)
+void
+__glXDisp_PopAttrib(GLbyte * pc)
{
- CALL_PopAttrib( GET_DISPATCH(), () );
+ CALL_PopAttrib(GET_DISPATCH(), ());
}
-void __glXDisp_PushAttrib(GLbyte * pc)
+void
+__glXDisp_PushAttrib(GLbyte * pc)
{
- CALL_PushAttrib( GET_DISPATCH(), (
- *(GLbitfield *)(pc + 0)
- ) );
+ CALL_PushAttrib(GET_DISPATCH(), (*(GLbitfield *) (pc + 0)
+ ));
}
-void __glXDisp_MapGrid1d(GLbyte * pc)
+void
+__glXDisp_MapGrid1d(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 20);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 20);
pc -= 4;
}
#endif
- CALL_MapGrid1d( GET_DISPATCH(), (
- *(GLint *)(pc + 16),
- *(GLdouble *)(pc + 0),
- *(GLdouble *)(pc + 8)
- ) );
+ CALL_MapGrid1d(GET_DISPATCH(), (*(GLint *) (pc + 16),
+ *(GLdouble *) (pc + 0),
+ *(GLdouble *) (pc + 8)
+ ));
}
-void __glXDisp_MapGrid1f(GLbyte * pc)
+void
+__glXDisp_MapGrid1f(GLbyte * pc)
{
- CALL_MapGrid1f( GET_DISPATCH(), (
- *(GLint *)(pc + 0),
- *(GLfloat *)(pc + 4),
- *(GLfloat *)(pc + 8)
- ) );
+ CALL_MapGrid1f(GET_DISPATCH(), (*(GLint *) (pc + 0),
+ *(GLfloat *) (pc + 4), *(GLfloat *) (pc + 8)
+ ));
}
-void __glXDisp_MapGrid2d(GLbyte * pc)
+void
+__glXDisp_MapGrid2d(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 40);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 40);
pc -= 4;
}
#endif
- CALL_MapGrid2d( GET_DISPATCH(), (
- *(GLint *)(pc + 32),
- *(GLdouble *)(pc + 0),
- *(GLdouble *)(pc + 8),
- *(GLint *)(pc + 36),
- *(GLdouble *)(pc + 16),
- *(GLdouble *)(pc + 24)
- ) );
+ CALL_MapGrid2d(GET_DISPATCH(), (*(GLint *) (pc + 32),
+ *(GLdouble *) (pc + 0),
+ *(GLdouble *) (pc + 8),
+ *(GLint *) (pc + 36),
+ *(GLdouble *) (pc + 16),
+ *(GLdouble *) (pc + 24)
+ ));
}
-void __glXDisp_MapGrid2f(GLbyte * pc)
+void
+__glXDisp_MapGrid2f(GLbyte * pc)
{
- CALL_MapGrid2f( GET_DISPATCH(), (
- *(GLint *)(pc + 0),
- *(GLfloat *)(pc + 4),
- *(GLfloat *)(pc + 8),
- *(GLint *)(pc + 12),
- *(GLfloat *)(pc + 16),
- *(GLfloat *)(pc + 20)
- ) );
+ CALL_MapGrid2f(GET_DISPATCH(), (*(GLint *) (pc + 0),
+ *(GLfloat *) (pc + 4),
+ *(GLfloat *) (pc + 8),
+ *(GLint *) (pc + 12),
+ *(GLfloat *) (pc + 16),
+ *(GLfloat *) (pc + 20)
+ ));
}
-void __glXDisp_EvalCoord1dv(GLbyte * pc)
+void
+__glXDisp_EvalCoord1dv(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 8);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 8);
pc -= 4;
}
#endif
- CALL_EvalCoord1dv( GET_DISPATCH(), (
- (const GLdouble *)(pc + 0)
- ) );
+ CALL_EvalCoord1dv(GET_DISPATCH(), ((const GLdouble *) (pc + 0)
+ ));
}
-void __glXDisp_EvalCoord1fv(GLbyte * pc)
+void
+__glXDisp_EvalCoord1fv(GLbyte * pc)
{
- CALL_EvalCoord1fv( GET_DISPATCH(), (
- (const GLfloat *)(pc + 0)
- ) );
+ CALL_EvalCoord1fv(GET_DISPATCH(), ((const GLfloat *) (pc + 0)
+ ));
}
-void __glXDisp_EvalCoord2dv(GLbyte * pc)
+void
+__glXDisp_EvalCoord2dv(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 16);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 16);
pc -= 4;
}
#endif
- CALL_EvalCoord2dv( GET_DISPATCH(), (
- (const GLdouble *)(pc + 0)
- ) );
+ CALL_EvalCoord2dv(GET_DISPATCH(), ((const GLdouble *) (pc + 0)
+ ));
}
-void __glXDisp_EvalCoord2fv(GLbyte * pc)
+void
+__glXDisp_EvalCoord2fv(GLbyte * pc)
{
- CALL_EvalCoord2fv( GET_DISPATCH(), (
- (const GLfloat *)(pc + 0)
- ) );
+ CALL_EvalCoord2fv(GET_DISPATCH(), ((const GLfloat *) (pc + 0)
+ ));
}
-void __glXDisp_EvalMesh1(GLbyte * pc)
+void
+__glXDisp_EvalMesh1(GLbyte * pc)
{
- CALL_EvalMesh1( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLint *)(pc + 4),
- *(GLint *)(pc + 8)
- ) );
+ CALL_EvalMesh1(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ *(GLint *) (pc + 4), *(GLint *) (pc + 8)
+ ));
}
-void __glXDisp_EvalPoint1(GLbyte * pc)
+void
+__glXDisp_EvalPoint1(GLbyte * pc)
{
- CALL_EvalPoint1( GET_DISPATCH(), (
- *(GLint *)(pc + 0)
- ) );
+ CALL_EvalPoint1(GET_DISPATCH(), (*(GLint *) (pc + 0)
+ ));
}
-void __glXDisp_EvalMesh2(GLbyte * pc)
+void
+__glXDisp_EvalMesh2(GLbyte * pc)
{
- CALL_EvalMesh2( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLint *)(pc + 4),
- *(GLint *)(pc + 8),
- *(GLint *)(pc + 12),
- *(GLint *)(pc + 16)
- ) );
+ CALL_EvalMesh2(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ *(GLint *) (pc + 4),
+ *(GLint *) (pc + 8),
+ *(GLint *) (pc + 12), *(GLint *) (pc + 16)
+ ));
}
-void __glXDisp_EvalPoint2(GLbyte * pc)
+void
+__glXDisp_EvalPoint2(GLbyte * pc)
{
- CALL_EvalPoint2( GET_DISPATCH(), (
- *(GLint *)(pc + 0),
- *(GLint *)(pc + 4)
- ) );
+ CALL_EvalPoint2(GET_DISPATCH(), (*(GLint *) (pc + 0), *(GLint *) (pc + 4)
+ ));
}
-void __glXDisp_AlphaFunc(GLbyte * pc)
+void
+__glXDisp_AlphaFunc(GLbyte * pc)
{
- CALL_AlphaFunc( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLclampf *)(pc + 4)
- ) );
+ CALL_AlphaFunc(GET_DISPATCH(), (*(GLenum *) (pc + 0), *(GLclampf *) (pc + 4)
+ ));
}
-void __glXDisp_BlendFunc(GLbyte * pc)
+void
+__glXDisp_BlendFunc(GLbyte * pc)
{
- CALL_BlendFunc( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLenum *)(pc + 4)
- ) );
+ CALL_BlendFunc(GET_DISPATCH(), (*(GLenum *) (pc + 0), *(GLenum *) (pc + 4)
+ ));
}
-void __glXDisp_LogicOp(GLbyte * pc)
+void
+__glXDisp_LogicOp(GLbyte * pc)
{
- CALL_LogicOp( GET_DISPATCH(), (
- *(GLenum *)(pc + 0)
- ) );
+ CALL_LogicOp(GET_DISPATCH(), (*(GLenum *) (pc + 0)
+ ));
}
-void __glXDisp_StencilFunc(GLbyte * pc)
+void
+__glXDisp_StencilFunc(GLbyte * pc)
{
- CALL_StencilFunc( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLint *)(pc + 4),
- *(GLuint *)(pc + 8)
- ) );
+ CALL_StencilFunc(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ *(GLint *) (pc + 4), *(GLuint *) (pc + 8)
+ ));
}
-void __glXDisp_StencilOp(GLbyte * pc)
+void
+__glXDisp_StencilOp(GLbyte * pc)
{
- CALL_StencilOp( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLenum *)(pc + 4),
- *(GLenum *)(pc + 8)
- ) );
+ CALL_StencilOp(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ *(GLenum *) (pc + 4), *(GLenum *) (pc + 8)
+ ));
}
-void __glXDisp_DepthFunc(GLbyte * pc)
+void
+__glXDisp_DepthFunc(GLbyte * pc)
{
- CALL_DepthFunc( GET_DISPATCH(), (
- *(GLenum *)(pc + 0)
- ) );
+ CALL_DepthFunc(GET_DISPATCH(), (*(GLenum *) (pc + 0)
+ ));
}
-void __glXDisp_PixelZoom(GLbyte * pc)
+void
+__glXDisp_PixelZoom(GLbyte * pc)
{
- CALL_PixelZoom( GET_DISPATCH(), (
- *(GLfloat *)(pc + 0),
- *(GLfloat *)(pc + 4)
- ) );
+ CALL_PixelZoom(GET_DISPATCH(), (*(GLfloat *) (pc + 0), *(GLfloat *) (pc + 4)
+ ));
}
-void __glXDisp_PixelTransferf(GLbyte * pc)
+void
+__glXDisp_PixelTransferf(GLbyte * pc)
{
- CALL_PixelTransferf( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLfloat *)(pc + 4)
- ) );
+ CALL_PixelTransferf(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ *(GLfloat *) (pc + 4)
+ ));
}
-void __glXDisp_PixelTransferi(GLbyte * pc)
+void
+__glXDisp_PixelTransferi(GLbyte * pc)
{
- CALL_PixelTransferi( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLint *)(pc + 4)
- ) );
+ CALL_PixelTransferi(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ *(GLint *) (pc + 4)
+ ));
}
-int __glXDisp_PixelStoref(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_PixelStoref(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- CALL_PixelStoref( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLfloat *)(pc + 4)
- ) );
+ if (cx != NULL) {
+ CALL_PixelStoref(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ *(GLfloat *) (pc + 4)
+ ));
error = Success;
}
return error;
}
-int __glXDisp_PixelStorei(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_PixelStorei(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- CALL_PixelStorei( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLint *)(pc + 4)
- ) );
+ if (cx != NULL) {
+ CALL_PixelStorei(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ *(GLint *) (pc + 4)
+ ));
error = Success;
}
return error;
}
-void __glXDisp_PixelMapfv(GLbyte * pc)
+void
+__glXDisp_PixelMapfv(GLbyte * pc)
{
- const GLsizei mapsize = *(GLsizei *)(pc + 4);
+ const GLsizei mapsize = *(GLsizei *) (pc + 4);
- CALL_PixelMapfv( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- mapsize,
- (const GLfloat *)(pc + 8)
- ) );
+ CALL_PixelMapfv(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ mapsize, (const GLfloat *) (pc + 8)
+ ));
}
-void __glXDisp_PixelMapuiv(GLbyte * pc)
+void
+__glXDisp_PixelMapuiv(GLbyte * pc)
{
- const GLsizei mapsize = *(GLsizei *)(pc + 4);
+ const GLsizei mapsize = *(GLsizei *) (pc + 4);
- CALL_PixelMapuiv( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- mapsize,
- (const GLuint *)(pc + 8)
- ) );
+ CALL_PixelMapuiv(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ mapsize, (const GLuint *) (pc + 8)
+ ));
}
-void __glXDisp_PixelMapusv(GLbyte * pc)
+void
+__glXDisp_PixelMapusv(GLbyte * pc)
{
- const GLsizei mapsize = *(GLsizei *)(pc + 4);
+ const GLsizei mapsize = *(GLsizei *) (pc + 4);
- CALL_PixelMapusv( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- mapsize,
- (const GLushort *)(pc + 8)
- ) );
+ CALL_PixelMapusv(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ mapsize, (const GLushort *) (pc + 8)
+ ));
}
-void __glXDisp_ReadBuffer(GLbyte * pc)
+void
+__glXDisp_ReadBuffer(GLbyte * pc)
{
- CALL_ReadBuffer( GET_DISPATCH(), (
- *(GLenum *)(pc + 0)
- ) );
+ CALL_ReadBuffer(GET_DISPATCH(), (*(GLenum *) (pc + 0)
+ ));
}
-void __glXDisp_CopyPixels(GLbyte * pc)
+void
+__glXDisp_CopyPixels(GLbyte * pc)
{
- CALL_CopyPixels( GET_DISPATCH(), (
- *(GLint *)(pc + 0),
- *(GLint *)(pc + 4),
- *(GLsizei *)(pc + 8),
- *(GLsizei *)(pc + 12),
- *(GLenum *)(pc + 16)
- ) );
+ CALL_CopyPixels(GET_DISPATCH(), (*(GLint *) (pc + 0),
+ *(GLint *) (pc + 4),
+ *(GLsizei *) (pc + 8),
+ *(GLsizei *) (pc + 12),
+ *(GLenum *) (pc + 16)
+ ));
}
-void __glXDisp_DrawPixels(GLbyte * pc)
+void
+__glXDisp_DrawPixels(GLbyte * pc)
{
- const GLvoid * const pixels = (const GLvoid *) ((pc + 36));
- __GLXpixelHeader * const hdr = (__GLXpixelHeader *)(pc);
+ const GLvoid *const pixels = (const GLvoid *) ((pc + 36));
+ __GLXpixelHeader *const hdr = (__GLXpixelHeader *) (pc);
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ROW_LENGTH, (GLint) hdr->rowLength) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_ROWS, (GLint) hdr->skipRows) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_PIXELS, (GLint) hdr->skipPixels) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ALIGNMENT, (GLint) hdr->alignment) );
+ CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes));
+ CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_ROW_LENGTH, (GLint) hdr->rowLength));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_SKIP_ROWS, (GLint) hdr->skipRows));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_SKIP_PIXELS, (GLint) hdr->skipPixels));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_ALIGNMENT, (GLint) hdr->alignment));
- CALL_DrawPixels( GET_DISPATCH(), (
- *(GLsizei *)(pc + 20),
- *(GLsizei *)(pc + 24),
- *(GLenum *)(pc + 28),
- *(GLenum *)(pc + 32),
- pixels
- ) );
+ CALL_DrawPixels(GET_DISPATCH(), (*(GLsizei *) (pc + 20),
+ *(GLsizei *) (pc + 24),
+ *(GLenum *) (pc + 28),
+ *(GLenum *) (pc + 32), pixels));
}
-int __glXDisp_GetBooleanv(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_GetBooleanv(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum pname = *(GLenum *)(pc + 0);
+ if (cx != NULL) {
+ const GLenum pname = *(GLenum *) (pc + 0);
const GLuint compsize = __glGetBooleanv_size(pname);
GLboolean answerBuffer[200];
- GLboolean * params = __glXGetAnswerBuffer(cl, compsize, answerBuffer, sizeof(answerBuffer), 1);
+ GLboolean *params =
+ __glXGetAnswerBuffer(cl, compsize, answerBuffer,
+ sizeof(answerBuffer), 1);
- if (params == NULL) return BadAlloc;
+ if (params == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetBooleanv( GET_DISPATCH(), (
- pname,
- params
- ) );
+ CALL_GetBooleanv(GET_DISPATCH(), (pname, params));
__glXSendReply(cl->client, params, compsize, 1, GL_FALSE, 0);
error = Success;
}
@@ -1793,19 +1739,18 @@ int __glXDisp_GetBooleanv(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDisp_GetClipPlane(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_GetClipPlane(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
+ if (cx != NULL) {
GLdouble equation[4];
- CALL_GetClipPlane( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- equation
- ) );
+
+ CALL_GetClipPlane(GET_DISPATCH(), (*(GLenum *) (pc + 0), equation));
__glXSendReply(cl->client, equation, 4, 8, GL_TRUE, 0);
error = Success;
}
@@ -1813,27 +1758,28 @@ int __glXDisp_GetClipPlane(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDisp_GetDoublev(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_GetDoublev(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum pname = *(GLenum *)(pc + 0);
+ if (cx != NULL) {
+ const GLenum pname = *(GLenum *) (pc + 0);
const GLuint compsize = __glGetDoublev_size(pname);
GLdouble answerBuffer[200];
- GLdouble * params = __glXGetAnswerBuffer(cl, compsize * 8, answerBuffer, sizeof(answerBuffer), 8);
+ GLdouble *params =
+ __glXGetAnswerBuffer(cl, compsize * 8, answerBuffer,
+ sizeof(answerBuffer), 8);
- if (params == NULL) return BadAlloc;
+ if (params == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetDoublev( GET_DISPATCH(), (
- pname,
- params
- ) );
+ CALL_GetDoublev(GET_DISPATCH(), (pname, params));
__glXSendReply(cl->client, params, compsize, 8, GL_FALSE, 0);
error = Success;
}
@@ -1841,16 +1787,18 @@ int __glXDisp_GetDoublev(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDisp_GetError(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_GetError(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
+ if (cx != NULL) {
GLenum retval;
- retval = CALL_GetError( GET_DISPATCH(), () );
+
+ retval = CALL_GetError(GET_DISPATCH(), ());
__glXSendReply(cl->client, dummy_answer, 0, 0, GL_FALSE, retval);
error = Success;
}
@@ -1858,27 +1806,28 @@ int __glXDisp_GetError(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDisp_GetFloatv(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_GetFloatv(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum pname = *(GLenum *)(pc + 0);
+ if (cx != NULL) {
+ const GLenum pname = *(GLenum *) (pc + 0);
const GLuint compsize = __glGetFloatv_size(pname);
GLfloat answerBuffer[200];
- GLfloat * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4);
+ GLfloat *params =
+ __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer,
+ sizeof(answerBuffer), 4);
- if (params == NULL) return BadAlloc;
+ if (params == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetFloatv( GET_DISPATCH(), (
- pname,
- params
- ) );
+ CALL_GetFloatv(GET_DISPATCH(), (pname, params));
__glXSendReply(cl->client, params, compsize, 4, GL_FALSE, 0);
error = Success;
}
@@ -1886,27 +1835,28 @@ int __glXDisp_GetFloatv(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDisp_GetIntegerv(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_GetIntegerv(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum pname = *(GLenum *)(pc + 0);
+ if (cx != NULL) {
+ const GLenum pname = *(GLenum *) (pc + 0);
const GLuint compsize = __glGetIntegerv_size(pname);
GLint answerBuffer[200];
- GLint * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4);
+ GLint *params =
+ __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer,
+ sizeof(answerBuffer), 4);
- if (params == NULL) return BadAlloc;
+ if (params == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetIntegerv( GET_DISPATCH(), (
- pname,
- params
- ) );
+ CALL_GetIntegerv(GET_DISPATCH(), (pname, params));
__glXSendReply(cl->client, params, compsize, 4, GL_FALSE, 0);
error = Success;
}
@@ -1914,28 +1864,28 @@ int __glXDisp_GetIntegerv(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDisp_GetLightfv(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_GetLightfv(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum pname = *(GLenum *)(pc + 4);
+ if (cx != NULL) {
+ const GLenum pname = *(GLenum *) (pc + 4);
const GLuint compsize = __glGetLightfv_size(pname);
GLfloat answerBuffer[200];
- GLfloat * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4);
+ GLfloat *params =
+ __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer,
+ sizeof(answerBuffer), 4);
- if (params == NULL) return BadAlloc;
+ if (params == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetLightfv( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- pname,
- params
- ) );
+ CALL_GetLightfv(GET_DISPATCH(), (*(GLenum *) (pc + 0), pname, params));
__glXSendReply(cl->client, params, compsize, 4, GL_FALSE, 0);
error = Success;
}
@@ -1943,28 +1893,28 @@ int __glXDisp_GetLightfv(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDisp_GetLightiv(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_GetLightiv(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum pname = *(GLenum *)(pc + 4);
+ if (cx != NULL) {
+ const GLenum pname = *(GLenum *) (pc + 4);
const GLuint compsize = __glGetLightiv_size(pname);
GLint answerBuffer[200];
- GLint * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4);
+ GLint *params =
+ __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer,
+ sizeof(answerBuffer), 4);
- if (params == NULL) return BadAlloc;
+ if (params == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetLightiv( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- pname,
- params
- ) );
+ CALL_GetLightiv(GET_DISPATCH(), (*(GLenum *) (pc + 0), pname, params));
__glXSendReply(cl->client, params, compsize, 4, GL_FALSE, 0);
error = Success;
}
@@ -1972,29 +1922,29 @@ int __glXDisp_GetLightiv(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDisp_GetMapdv(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_GetMapdv(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum target = *(GLenum *)(pc + 0);
- const GLenum query = *(GLenum *)(pc + 4);
+ if (cx != NULL) {
+ const GLenum target = *(GLenum *) (pc + 0);
+ const GLenum query = *(GLenum *) (pc + 4);
- const GLuint compsize = __glGetMapdv_size(target,query);
+ const GLuint compsize = __glGetMapdv_size(target, query);
GLdouble answerBuffer[200];
- GLdouble * v = __glXGetAnswerBuffer(cl, compsize * 8, answerBuffer, sizeof(answerBuffer), 8);
+ GLdouble *v =
+ __glXGetAnswerBuffer(cl, compsize * 8, answerBuffer,
+ sizeof(answerBuffer), 8);
- if (v == NULL) return BadAlloc;
+ if (v == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetMapdv( GET_DISPATCH(), (
- target,
- query,
- v
- ) );
+ CALL_GetMapdv(GET_DISPATCH(), (target, query, v));
__glXSendReply(cl->client, v, compsize, 8, GL_FALSE, 0);
error = Success;
}
@@ -2002,29 +1952,29 @@ int __glXDisp_GetMapdv(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDisp_GetMapfv(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_GetMapfv(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum target = *(GLenum *)(pc + 0);
- const GLenum query = *(GLenum *)(pc + 4);
+ if (cx != NULL) {
+ const GLenum target = *(GLenum *) (pc + 0);
+ const GLenum query = *(GLenum *) (pc + 4);
- const GLuint compsize = __glGetMapfv_size(target,query);
+ const GLuint compsize = __glGetMapfv_size(target, query);
GLfloat answerBuffer[200];
- GLfloat * v = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4);
+ GLfloat *v =
+ __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer,
+ sizeof(answerBuffer), 4);
- if (v == NULL) return BadAlloc;
+ if (v == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetMapfv( GET_DISPATCH(), (
- target,
- query,
- v
- ) );
+ CALL_GetMapfv(GET_DISPATCH(), (target, query, v));
__glXSendReply(cl->client, v, compsize, 4, GL_FALSE, 0);
error = Success;
}
@@ -2032,29 +1982,29 @@ int __glXDisp_GetMapfv(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDisp_GetMapiv(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_GetMapiv(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum target = *(GLenum *)(pc + 0);
- const GLenum query = *(GLenum *)(pc + 4);
+ if (cx != NULL) {
+ const GLenum target = *(GLenum *) (pc + 0);
+ const GLenum query = *(GLenum *) (pc + 4);
- const GLuint compsize = __glGetMapiv_size(target,query);
+ const GLuint compsize = __glGetMapiv_size(target, query);
GLint answerBuffer[200];
- GLint * v = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4);
+ GLint *v =
+ __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer,
+ sizeof(answerBuffer), 4);
- if (v == NULL) return BadAlloc;
+ if (v == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetMapiv( GET_DISPATCH(), (
- target,
- query,
- v
- ) );
+ CALL_GetMapiv(GET_DISPATCH(), (target, query, v));
__glXSendReply(cl->client, v, compsize, 4, GL_FALSE, 0);
error = Success;
}
@@ -2062,28 +2012,29 @@ int __glXDisp_GetMapiv(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDisp_GetMaterialfv(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_GetMaterialfv(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum pname = *(GLenum *)(pc + 4);
+ if (cx != NULL) {
+ const GLenum pname = *(GLenum *) (pc + 4);
const GLuint compsize = __glGetMaterialfv_size(pname);
GLfloat answerBuffer[200];
- GLfloat * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4);
+ GLfloat *params =
+ __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer,
+ sizeof(answerBuffer), 4);
- if (params == NULL) return BadAlloc;
+ if (params == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetMaterialfv( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- pname,
- params
- ) );
+ CALL_GetMaterialfv(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ pname, params));
__glXSendReply(cl->client, params, compsize, 4, GL_FALSE, 0);
error = Success;
}
@@ -2091,28 +2042,29 @@ int __glXDisp_GetMaterialfv(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDisp_GetMaterialiv(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_GetMaterialiv(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum pname = *(GLenum *)(pc + 4);
+ if (cx != NULL) {
+ const GLenum pname = *(GLenum *) (pc + 4);
const GLuint compsize = __glGetMaterialiv_size(pname);
GLint answerBuffer[200];
- GLint * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4);
+ GLint *params =
+ __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer,
+ sizeof(answerBuffer), 4);
- if (params == NULL) return BadAlloc;
+ if (params == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetMaterialiv( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- pname,
- params
- ) );
+ CALL_GetMaterialiv(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ pname, params));
__glXSendReply(cl->client, params, compsize, 4, GL_FALSE, 0);
error = Success;
}
@@ -2120,27 +2072,28 @@ int __glXDisp_GetMaterialiv(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDisp_GetPixelMapfv(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_GetPixelMapfv(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum map = *(GLenum *)(pc + 0);
+ if (cx != NULL) {
+ const GLenum map = *(GLenum *) (pc + 0);
const GLuint compsize = __glGetPixelMapfv_size(map);
GLfloat answerBuffer[200];
- GLfloat * values = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4);
+ GLfloat *values =
+ __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer,
+ sizeof(answerBuffer), 4);
- if (values == NULL) return BadAlloc;
+ if (values == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetPixelMapfv( GET_DISPATCH(), (
- map,
- values
- ) );
+ CALL_GetPixelMapfv(GET_DISPATCH(), (map, values));
__glXSendReply(cl->client, values, compsize, 4, GL_FALSE, 0);
error = Success;
}
@@ -2148,27 +2101,28 @@ int __glXDisp_GetPixelMapfv(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDisp_GetPixelMapuiv(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_GetPixelMapuiv(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum map = *(GLenum *)(pc + 0);
+ if (cx != NULL) {
+ const GLenum map = *(GLenum *) (pc + 0);
const GLuint compsize = __glGetPixelMapuiv_size(map);
GLuint answerBuffer[200];
- GLuint * values = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4);
+ GLuint *values =
+ __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer,
+ sizeof(answerBuffer), 4);
- if (values == NULL) return BadAlloc;
+ if (values == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetPixelMapuiv( GET_DISPATCH(), (
- map,
- values
- ) );
+ CALL_GetPixelMapuiv(GET_DISPATCH(), (map, values));
__glXSendReply(cl->client, values, compsize, 4, GL_FALSE, 0);
error = Success;
}
@@ -2176,27 +2130,28 @@ int __glXDisp_GetPixelMapuiv(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDisp_GetPixelMapusv(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_GetPixelMapusv(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum map = *(GLenum *)(pc + 0);
+ if (cx != NULL) {
+ const GLenum map = *(GLenum *) (pc + 0);
const GLuint compsize = __glGetPixelMapusv_size(map);
GLushort answerBuffer[200];
- GLushort * values = __glXGetAnswerBuffer(cl, compsize * 2, answerBuffer, sizeof(answerBuffer), 2);
+ GLushort *values =
+ __glXGetAnswerBuffer(cl, compsize * 2, answerBuffer,
+ sizeof(answerBuffer), 2);
- if (values == NULL) return BadAlloc;
+ if (values == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetPixelMapusv( GET_DISPATCH(), (
- map,
- values
- ) );
+ CALL_GetPixelMapusv(GET_DISPATCH(), (map, values));
__glXSendReply(cl->client, values, compsize, 2, GL_FALSE, 0);
error = Success;
}
@@ -2204,28 +2159,28 @@ int __glXDisp_GetPixelMapusv(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDisp_GetTexEnvfv(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_GetTexEnvfv(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum pname = *(GLenum *)(pc + 4);
+ if (cx != NULL) {
+ const GLenum pname = *(GLenum *) (pc + 4);
const GLuint compsize = __glGetTexEnvfv_size(pname);
GLfloat answerBuffer[200];
- GLfloat * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4);
+ GLfloat *params =
+ __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer,
+ sizeof(answerBuffer), 4);
- if (params == NULL) return BadAlloc;
+ if (params == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetTexEnvfv( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- pname,
- params
- ) );
+ CALL_GetTexEnvfv(GET_DISPATCH(), (*(GLenum *) (pc + 0), pname, params));
__glXSendReply(cl->client, params, compsize, 4, GL_FALSE, 0);
error = Success;
}
@@ -2233,28 +2188,28 @@ int __glXDisp_GetTexEnvfv(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDisp_GetTexEnviv(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_GetTexEnviv(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum pname = *(GLenum *)(pc + 4);
+ if (cx != NULL) {
+ const GLenum pname = *(GLenum *) (pc + 4);
const GLuint compsize = __glGetTexEnviv_size(pname);
GLint answerBuffer[200];
- GLint * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4);
+ GLint *params =
+ __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer,
+ sizeof(answerBuffer), 4);
- if (params == NULL) return BadAlloc;
+ if (params == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetTexEnviv( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- pname,
- params
- ) );
+ CALL_GetTexEnviv(GET_DISPATCH(), (*(GLenum *) (pc + 0), pname, params));
__glXSendReply(cl->client, params, compsize, 4, GL_FALSE, 0);
error = Success;
}
@@ -2262,28 +2217,28 @@ int __glXDisp_GetTexEnviv(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDisp_GetTexGendv(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_GetTexGendv(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum pname = *(GLenum *)(pc + 4);
+ if (cx != NULL) {
+ const GLenum pname = *(GLenum *) (pc + 4);
const GLuint compsize = __glGetTexGendv_size(pname);
GLdouble answerBuffer[200];
- GLdouble * params = __glXGetAnswerBuffer(cl, compsize * 8, answerBuffer, sizeof(answerBuffer), 8);
+ GLdouble *params =
+ __glXGetAnswerBuffer(cl, compsize * 8, answerBuffer,
+ sizeof(answerBuffer), 8);
- if (params == NULL) return BadAlloc;
+ if (params == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetTexGendv( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- pname,
- params
- ) );
+ CALL_GetTexGendv(GET_DISPATCH(), (*(GLenum *) (pc + 0), pname, params));
__glXSendReply(cl->client, params, compsize, 8, GL_FALSE, 0);
error = Success;
}
@@ -2291,28 +2246,28 @@ int __glXDisp_GetTexGendv(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDisp_GetTexGenfv(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_GetTexGenfv(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum pname = *(GLenum *)(pc + 4);
+ if (cx != NULL) {
+ const GLenum pname = *(GLenum *) (pc + 4);
const GLuint compsize = __glGetTexGenfv_size(pname);
GLfloat answerBuffer[200];
- GLfloat * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4);
+ GLfloat *params =
+ __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer,
+ sizeof(answerBuffer), 4);
- if (params == NULL) return BadAlloc;
+ if (params == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetTexGenfv( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- pname,
- params
- ) );
+ CALL_GetTexGenfv(GET_DISPATCH(), (*(GLenum *) (pc + 0), pname, params));
__glXSendReply(cl->client, params, compsize, 4, GL_FALSE, 0);
error = Success;
}
@@ -2320,28 +2275,28 @@ int __glXDisp_GetTexGenfv(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDisp_GetTexGeniv(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_GetTexGeniv(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum pname = *(GLenum *)(pc + 4);
+ if (cx != NULL) {
+ const GLenum pname = *(GLenum *) (pc + 4);
const GLuint compsize = __glGetTexGeniv_size(pname);
GLint answerBuffer[200];
- GLint * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4);
+ GLint *params =
+ __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer,
+ sizeof(answerBuffer), 4);
- if (params == NULL) return BadAlloc;
+ if (params == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetTexGeniv( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- pname,
- params
- ) );
+ CALL_GetTexGeniv(GET_DISPATCH(), (*(GLenum *) (pc + 0), pname, params));
__glXSendReply(cl->client, params, compsize, 4, GL_FALSE, 0);
error = Success;
}
@@ -2349,28 +2304,29 @@ int __glXDisp_GetTexGeniv(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDisp_GetTexParameterfv(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_GetTexParameterfv(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum pname = *(GLenum *)(pc + 4);
+ if (cx != NULL) {
+ const GLenum pname = *(GLenum *) (pc + 4);
const GLuint compsize = __glGetTexParameterfv_size(pname);
GLfloat answerBuffer[200];
- GLfloat * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4);
+ GLfloat *params =
+ __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer,
+ sizeof(answerBuffer), 4);
- if (params == NULL) return BadAlloc;
+ if (params == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetTexParameterfv( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- pname,
- params
- ) );
+ CALL_GetTexParameterfv(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ pname, params));
__glXSendReply(cl->client, params, compsize, 4, GL_FALSE, 0);
error = Success;
}
@@ -2378,28 +2334,29 @@ int __glXDisp_GetTexParameterfv(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDisp_GetTexParameteriv(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_GetTexParameteriv(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum pname = *(GLenum *)(pc + 4);
+ if (cx != NULL) {
+ const GLenum pname = *(GLenum *) (pc + 4);
const GLuint compsize = __glGetTexParameteriv_size(pname);
GLint answerBuffer[200];
- GLint * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4);
+ GLint *params =
+ __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer,
+ sizeof(answerBuffer), 4);
- if (params == NULL) return BadAlloc;
+ if (params == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetTexParameteriv( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- pname,
- params
- ) );
+ CALL_GetTexParameteriv(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ pname, params));
__glXSendReply(cl->client, params, compsize, 4, GL_FALSE, 0);
error = Success;
}
@@ -2407,29 +2364,30 @@ int __glXDisp_GetTexParameteriv(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDisp_GetTexLevelParameterfv(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_GetTexLevelParameterfv(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum pname = *(GLenum *)(pc + 8);
+ if (cx != NULL) {
+ const GLenum pname = *(GLenum *) (pc + 8);
const GLuint compsize = __glGetTexLevelParameterfv_size(pname);
GLfloat answerBuffer[200];
- GLfloat * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4);
+ GLfloat *params =
+ __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer,
+ sizeof(answerBuffer), 4);
- if (params == NULL) return BadAlloc;
+ if (params == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetTexLevelParameterfv( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLint *)(pc + 4),
- pname,
- params
- ) );
+ CALL_GetTexLevelParameterfv(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ *(GLint *) (pc + 4),
+ pname, params));
__glXSendReply(cl->client, params, compsize, 4, GL_FALSE, 0);
error = Success;
}
@@ -2437,29 +2395,30 @@ int __glXDisp_GetTexLevelParameterfv(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDisp_GetTexLevelParameteriv(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_GetTexLevelParameteriv(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum pname = *(GLenum *)(pc + 8);
+ if (cx != NULL) {
+ const GLenum pname = *(GLenum *) (pc + 8);
const GLuint compsize = __glGetTexLevelParameteriv_size(pname);
GLint answerBuffer[200];
- GLint * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4);
+ GLint *params =
+ __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer,
+ sizeof(answerBuffer), 4);
- if (params == NULL) return BadAlloc;
+ if (params == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetTexLevelParameteriv( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLint *)(pc + 4),
- pname,
- params
- ) );
+ CALL_GetTexLevelParameteriv(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ *(GLint *) (pc + 4),
+ pname, params));
__glXSendReply(cl->client, params, compsize, 4, GL_FALSE, 0);
error = Success;
}
@@ -2467,18 +2426,19 @@ int __glXDisp_GetTexLevelParameteriv(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDisp_IsEnabled(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_IsEnabled(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
+ if (cx != NULL) {
GLboolean retval;
- retval = CALL_IsEnabled( GET_DISPATCH(), (
- *(GLenum *)(pc + 0)
- ) );
+
+ retval = CALL_IsEnabled(GET_DISPATCH(), (*(GLenum *) (pc + 0)
+ ));
__glXSendReply(cl->client, dummy_answer, 0, 0, GL_FALSE, retval);
error = Success;
}
@@ -2486,18 +2446,19 @@ int __glXDisp_IsEnabled(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDisp_IsList(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_IsList(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
+ if (cx != NULL) {
GLboolean retval;
- retval = CALL_IsList( GET_DISPATCH(), (
- *(GLuint *)(pc + 0)
- ) );
+
+ retval = CALL_IsList(GET_DISPATCH(), (*(GLuint *) (pc + 0)
+ ));
__glXSendReply(cl->client, dummy_answer, 0, 0, GL_FALSE, retval);
error = Success;
}
@@ -2505,251 +2466,249 @@ int __glXDisp_IsList(__GLXclientState *cl, GLbyte *pc)
return error;
}
-void __glXDisp_DepthRange(GLbyte * pc)
+void
+__glXDisp_DepthRange(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 16);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 16);
pc -= 4;
}
#endif
- CALL_DepthRange( GET_DISPATCH(), (
- *(GLclampd *)(pc + 0),
- *(GLclampd *)(pc + 8)
- ) );
+ CALL_DepthRange(GET_DISPATCH(), (*(GLclampd *) (pc + 0),
+ *(GLclampd *) (pc + 8)
+ ));
}
-void __glXDisp_Frustum(GLbyte * pc)
+void
+__glXDisp_Frustum(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 48);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 48);
pc -= 4;
}
#endif
- CALL_Frustum( GET_DISPATCH(), (
- *(GLdouble *)(pc + 0),
- *(GLdouble *)(pc + 8),
- *(GLdouble *)(pc + 16),
- *(GLdouble *)(pc + 24),
- *(GLdouble *)(pc + 32),
- *(GLdouble *)(pc + 40)
- ) );
+ CALL_Frustum(GET_DISPATCH(), (*(GLdouble *) (pc + 0),
+ *(GLdouble *) (pc + 8),
+ *(GLdouble *) (pc + 16),
+ *(GLdouble *) (pc + 24),
+ *(GLdouble *) (pc + 32),
+ *(GLdouble *) (pc + 40)
+ ));
}
-void __glXDisp_LoadIdentity(GLbyte * pc)
+void
+__glXDisp_LoadIdentity(GLbyte * pc)
{
- CALL_LoadIdentity( GET_DISPATCH(), () );
+ CALL_LoadIdentity(GET_DISPATCH(), ());
}
-void __glXDisp_LoadMatrixf(GLbyte * pc)
+void
+__glXDisp_LoadMatrixf(GLbyte * pc)
{
- CALL_LoadMatrixf( GET_DISPATCH(), (
- (const GLfloat *)(pc + 0)
- ) );
+ CALL_LoadMatrixf(GET_DISPATCH(), ((const GLfloat *) (pc + 0)
+ ));
}
-void __glXDisp_LoadMatrixd(GLbyte * pc)
+void
+__glXDisp_LoadMatrixd(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 128);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 128);
pc -= 4;
}
#endif
- CALL_LoadMatrixd( GET_DISPATCH(), (
- (const GLdouble *)(pc + 0)
- ) );
+ CALL_LoadMatrixd(GET_DISPATCH(), ((const GLdouble *) (pc + 0)
+ ));
}
-void __glXDisp_MatrixMode(GLbyte * pc)
+void
+__glXDisp_MatrixMode(GLbyte * pc)
{
- CALL_MatrixMode( GET_DISPATCH(), (
- *(GLenum *)(pc + 0)
- ) );
+ CALL_MatrixMode(GET_DISPATCH(), (*(GLenum *) (pc + 0)
+ ));
}
-void __glXDisp_MultMatrixf(GLbyte * pc)
+void
+__glXDisp_MultMatrixf(GLbyte * pc)
{
- CALL_MultMatrixf( GET_DISPATCH(), (
- (const GLfloat *)(pc + 0)
- ) );
+ CALL_MultMatrixf(GET_DISPATCH(), ((const GLfloat *) (pc + 0)
+ ));
}
-void __glXDisp_MultMatrixd(GLbyte * pc)
+void
+__glXDisp_MultMatrixd(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 128);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 128);
pc -= 4;
}
#endif
- CALL_MultMatrixd( GET_DISPATCH(), (
- (const GLdouble *)(pc + 0)
- ) );
+ CALL_MultMatrixd(GET_DISPATCH(), ((const GLdouble *) (pc + 0)
+ ));
}
-void __glXDisp_Ortho(GLbyte * pc)
+void
+__glXDisp_Ortho(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 48);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 48);
pc -= 4;
}
#endif
- CALL_Ortho( GET_DISPATCH(), (
- *(GLdouble *)(pc + 0),
- *(GLdouble *)(pc + 8),
- *(GLdouble *)(pc + 16),
- *(GLdouble *)(pc + 24),
- *(GLdouble *)(pc + 32),
- *(GLdouble *)(pc + 40)
- ) );
+ CALL_Ortho(GET_DISPATCH(), (*(GLdouble *) (pc + 0),
+ *(GLdouble *) (pc + 8),
+ *(GLdouble *) (pc + 16),
+ *(GLdouble *) (pc + 24),
+ *(GLdouble *) (pc + 32), *(GLdouble *) (pc + 40)
+ ));
}
-void __glXDisp_PopMatrix(GLbyte * pc)
+void
+__glXDisp_PopMatrix(GLbyte * pc)
{
- CALL_PopMatrix( GET_DISPATCH(), () );
+ CALL_PopMatrix(GET_DISPATCH(), ());
}
-void __glXDisp_PushMatrix(GLbyte * pc)
+void
+__glXDisp_PushMatrix(GLbyte * pc)
{
- CALL_PushMatrix( GET_DISPATCH(), () );
+ CALL_PushMatrix(GET_DISPATCH(), ());
}
-void __glXDisp_Rotated(GLbyte * pc)
+void
+__glXDisp_Rotated(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 32);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 32);
pc -= 4;
}
#endif
- CALL_Rotated( GET_DISPATCH(), (
- *(GLdouble *)(pc + 0),
- *(GLdouble *)(pc + 8),
- *(GLdouble *)(pc + 16),
- *(GLdouble *)(pc + 24)
- ) );
+ CALL_Rotated(GET_DISPATCH(), (*(GLdouble *) (pc + 0),
+ *(GLdouble *) (pc + 8),
+ *(GLdouble *) (pc + 16),
+ *(GLdouble *) (pc + 24)
+ ));
}
-void __glXDisp_Rotatef(GLbyte * pc)
+void
+__glXDisp_Rotatef(GLbyte * pc)
{
- CALL_Rotatef( GET_DISPATCH(), (
- *(GLfloat *)(pc + 0),
- *(GLfloat *)(pc + 4),
- *(GLfloat *)(pc + 8),
- *(GLfloat *)(pc + 12)
- ) );
+ CALL_Rotatef(GET_DISPATCH(), (*(GLfloat *) (pc + 0),
+ *(GLfloat *) (pc + 4),
+ *(GLfloat *) (pc + 8), *(GLfloat *) (pc + 12)
+ ));
}
-void __glXDisp_Scaled(GLbyte * pc)
+void
+__glXDisp_Scaled(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 24);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 24);
pc -= 4;
}
#endif
- CALL_Scaled( GET_DISPATCH(), (
- *(GLdouble *)(pc + 0),
- *(GLdouble *)(pc + 8),
- *(GLdouble *)(pc + 16)
- ) );
+ CALL_Scaled(GET_DISPATCH(), (*(GLdouble *) (pc + 0),
+ *(GLdouble *) (pc + 8), *(GLdouble *) (pc + 16)
+ ));
}
-void __glXDisp_Scalef(GLbyte * pc)
+void
+__glXDisp_Scalef(GLbyte * pc)
{
- CALL_Scalef( GET_DISPATCH(), (
- *(GLfloat *)(pc + 0),
- *(GLfloat *)(pc + 4),
- *(GLfloat *)(pc + 8)
- ) );
+ CALL_Scalef(GET_DISPATCH(), (*(GLfloat *) (pc + 0),
+ *(GLfloat *) (pc + 4), *(GLfloat *) (pc + 8)
+ ));
}
-void __glXDisp_Translated(GLbyte * pc)
+void
+__glXDisp_Translated(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 24);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 24);
pc -= 4;
}
#endif
- CALL_Translated( GET_DISPATCH(), (
- *(GLdouble *)(pc + 0),
- *(GLdouble *)(pc + 8),
- *(GLdouble *)(pc + 16)
- ) );
+ CALL_Translated(GET_DISPATCH(), (*(GLdouble *) (pc + 0),
+ *(GLdouble *) (pc + 8),
+ *(GLdouble *) (pc + 16)
+ ));
}
-void __glXDisp_Translatef(GLbyte * pc)
+void
+__glXDisp_Translatef(GLbyte * pc)
{
- CALL_Translatef( GET_DISPATCH(), (
- *(GLfloat *)(pc + 0),
- *(GLfloat *)(pc + 4),
- *(GLfloat *)(pc + 8)
- ) );
+ CALL_Translatef(GET_DISPATCH(), (*(GLfloat *) (pc + 0),
+ *(GLfloat *) (pc + 4),
+ *(GLfloat *) (pc + 8)
+ ));
}
-void __glXDisp_Viewport(GLbyte * pc)
+void
+__glXDisp_Viewport(GLbyte * pc)
{
- CALL_Viewport( GET_DISPATCH(), (
- *(GLint *)(pc + 0),
- *(GLint *)(pc + 4),
- *(GLsizei *)(pc + 8),
- *(GLsizei *)(pc + 12)
- ) );
+ CALL_Viewport(GET_DISPATCH(), (*(GLint *) (pc + 0),
+ *(GLint *) (pc + 4),
+ *(GLsizei *) (pc + 8), *(GLsizei *) (pc + 12)
+ ));
}
-void __glXDisp_BindTexture(GLbyte * pc)
+void
+__glXDisp_BindTexture(GLbyte * pc)
{
- CALL_BindTexture( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLuint *)(pc + 4)
- ) );
+ CALL_BindTexture(GET_DISPATCH(), (*(GLenum *) (pc + 0), *(GLuint *) (pc + 4)
+ ));
}
-void __glXDisp_Indexubv(GLbyte * pc)
+void
+__glXDisp_Indexubv(GLbyte * pc)
{
- CALL_Indexubv( GET_DISPATCH(), (
- (const GLubyte *)(pc + 0)
- ) );
+ CALL_Indexubv(GET_DISPATCH(), ((const GLubyte *) (pc + 0)
+ ));
}
-void __glXDisp_PolygonOffset(GLbyte * pc)
+void
+__glXDisp_PolygonOffset(GLbyte * pc)
{
- CALL_PolygonOffset( GET_DISPATCH(), (
- *(GLfloat *)(pc + 0),
- *(GLfloat *)(pc + 4)
- ) );
+ CALL_PolygonOffset(GET_DISPATCH(), (*(GLfloat *) (pc + 0),
+ *(GLfloat *) (pc + 4)
+ ));
}
-int __glXDisp_AreTexturesResident(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_AreTexturesResident(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- const GLsizei n = *(GLsizei *)(pc + 0);
+ if (cx != NULL) {
+ const GLsizei n = *(GLsizei *) (pc + 0);
GLboolean retval;
GLboolean answerBuffer[200];
- GLboolean * residences = __glXGetAnswerBuffer(cl, n, answerBuffer, sizeof(answerBuffer), 1);
- retval = CALL_AreTexturesResident( GET_DISPATCH(), (
- n,
- (const GLuint *)(pc + 4),
- residences
- ) );
+ GLboolean *residences =
+ __glXGetAnswerBuffer(cl, n, answerBuffer, sizeof(answerBuffer), 1);
+ retval =
+ CALL_AreTexturesResident(GET_DISPATCH(),
+ (n, (const GLuint *) (pc + 4),
+ residences));
__glXSendReply(cl->client, residences, n, 1, GL_TRUE, retval);
error = Success;
}
@@ -2757,24 +2716,25 @@ int __glXDisp_AreTexturesResident(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDisp_AreTexturesResidentEXT(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_AreTexturesResidentEXT(__GLXclientState * cl, GLbyte * pc)
{
- xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc;
+ xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_VENDPRIV_HDR_SIZE;
- if ( cx != NULL ) {
- const GLsizei n = *(GLsizei *)(pc + 0);
+ if (cx != NULL) {
+ const GLsizei n = *(GLsizei *) (pc + 0);
GLboolean retval;
GLboolean answerBuffer[200];
- GLboolean * residences = __glXGetAnswerBuffer(cl, n, answerBuffer, sizeof(answerBuffer), 1);
- retval = CALL_AreTexturesResident( GET_DISPATCH(), (
- n,
- (const GLuint *)(pc + 4),
- residences
- ) );
+ GLboolean *residences =
+ __glXGetAnswerBuffer(cl, n, answerBuffer, sizeof(answerBuffer), 1);
+ retval =
+ CALL_AreTexturesResident(GET_DISPATCH(),
+ (n, (const GLuint *) (pc + 4),
+ residences));
__glXSendReply(cl->client, residences, n, 1, GL_TRUE, retval);
error = Success;
}
@@ -2782,115 +2742,113 @@ int __glXDisp_AreTexturesResidentEXT(__GLXclientState *cl, GLbyte *pc)
return error;
}
-void __glXDisp_CopyTexImage1D(GLbyte * pc)
+void
+__glXDisp_CopyTexImage1D(GLbyte * pc)
{
- CALL_CopyTexImage1D( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLint *)(pc + 4),
- *(GLenum *)(pc + 8),
- *(GLint *)(pc + 12),
- *(GLint *)(pc + 16),
- *(GLsizei *)(pc + 20),
- *(GLint *)(pc + 24)
- ) );
+ CALL_CopyTexImage1D(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ *(GLint *) (pc + 4),
+ *(GLenum *) (pc + 8),
+ *(GLint *) (pc + 12),
+ *(GLint *) (pc + 16),
+ *(GLsizei *) (pc + 20),
+ *(GLint *) (pc + 24)
+ ));
}
-void __glXDisp_CopyTexImage2D(GLbyte * pc)
+void
+__glXDisp_CopyTexImage2D(GLbyte * pc)
{
- CALL_CopyTexImage2D( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLint *)(pc + 4),
- *(GLenum *)(pc + 8),
- *(GLint *)(pc + 12),
- *(GLint *)(pc + 16),
- *(GLsizei *)(pc + 20),
- *(GLsizei *)(pc + 24),
- *(GLint *)(pc + 28)
- ) );
+ CALL_CopyTexImage2D(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ *(GLint *) (pc + 4),
+ *(GLenum *) (pc + 8),
+ *(GLint *) (pc + 12),
+ *(GLint *) (pc + 16),
+ *(GLsizei *) (pc + 20),
+ *(GLsizei *) (pc + 24),
+ *(GLint *) (pc + 28)
+ ));
}
-void __glXDisp_CopyTexSubImage1D(GLbyte * pc)
+void
+__glXDisp_CopyTexSubImage1D(GLbyte * pc)
{
- CALL_CopyTexSubImage1D( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLint *)(pc + 4),
- *(GLint *)(pc + 8),
- *(GLint *)(pc + 12),
- *(GLint *)(pc + 16),
- *(GLsizei *)(pc + 20)
- ) );
+ CALL_CopyTexSubImage1D(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ *(GLint *) (pc + 4),
+ *(GLint *) (pc + 8),
+ *(GLint *) (pc + 12),
+ *(GLint *) (pc + 16),
+ *(GLsizei *) (pc + 20)
+ ));
}
-void __glXDisp_CopyTexSubImage2D(GLbyte * pc)
+void
+__glXDisp_CopyTexSubImage2D(GLbyte * pc)
{
- CALL_CopyTexSubImage2D( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLint *)(pc + 4),
- *(GLint *)(pc + 8),
- *(GLint *)(pc + 12),
- *(GLint *)(pc + 16),
- *(GLint *)(pc + 20),
- *(GLsizei *)(pc + 24),
- *(GLsizei *)(pc + 28)
- ) );
+ CALL_CopyTexSubImage2D(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ *(GLint *) (pc + 4),
+ *(GLint *) (pc + 8),
+ *(GLint *) (pc + 12),
+ *(GLint *) (pc + 16),
+ *(GLint *) (pc + 20),
+ *(GLsizei *) (pc + 24),
+ *(GLsizei *) (pc + 28)
+ ));
}
-int __glXDisp_DeleteTextures(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_DeleteTextures(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- const GLsizei n = *(GLsizei *)(pc + 0);
+ if (cx != NULL) {
+ const GLsizei n = *(GLsizei *) (pc + 0);
- CALL_DeleteTextures( GET_DISPATCH(), (
- n,
- (const GLuint *)(pc + 4)
- ) );
+ CALL_DeleteTextures(GET_DISPATCH(), (n, (const GLuint *) (pc + 4)
+ ));
error = Success;
}
return error;
}
-int __glXDisp_DeleteTexturesEXT(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_DeleteTexturesEXT(__GLXclientState * cl, GLbyte * pc)
{
- xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc;
+ xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_VENDPRIV_HDR_SIZE;
- if ( cx != NULL ) {
- const GLsizei n = *(GLsizei *)(pc + 0);
+ if (cx != NULL) {
+ const GLsizei n = *(GLsizei *) (pc + 0);
- CALL_DeleteTextures( GET_DISPATCH(), (
- n,
- (const GLuint *)(pc + 4)
- ) );
+ CALL_DeleteTextures(GET_DISPATCH(), (n, (const GLuint *) (pc + 4)
+ ));
error = Success;
}
return error;
}
-int __glXDisp_GenTextures(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_GenTextures(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- const GLsizei n = *(GLsizei *)(pc + 0);
+ if (cx != NULL) {
+ const GLsizei n = *(GLsizei *) (pc + 0);
GLuint answerBuffer[200];
- GLuint * textures = __glXGetAnswerBuffer(cl, n * 4, answerBuffer, sizeof(answerBuffer), 4);
- CALL_GenTextures( GET_DISPATCH(), (
- n,
- textures
- ) );
+ GLuint *textures =
+ __glXGetAnswerBuffer(cl, n * 4, answerBuffer, sizeof(answerBuffer),
+ 4);
+ CALL_GenTextures(GET_DISPATCH(), (n, textures));
__glXSendReply(cl->client, textures, n, 4, GL_TRUE, 0);
error = Success;
}
@@ -2898,22 +2856,22 @@ int __glXDisp_GenTextures(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDisp_GenTexturesEXT(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_GenTexturesEXT(__GLXclientState * cl, GLbyte * pc)
{
- xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc;
+ xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_VENDPRIV_HDR_SIZE;
- if ( cx != NULL ) {
- const GLsizei n = *(GLsizei *)(pc + 0);
+ if (cx != NULL) {
+ const GLsizei n = *(GLsizei *) (pc + 0);
GLuint answerBuffer[200];
- GLuint * textures = __glXGetAnswerBuffer(cl, n * 4, answerBuffer, sizeof(answerBuffer), 4);
- CALL_GenTextures( GET_DISPATCH(), (
- n,
- textures
- ) );
+ GLuint *textures =
+ __glXGetAnswerBuffer(cl, n * 4, answerBuffer, sizeof(answerBuffer),
+ 4);
+ CALL_GenTextures(GET_DISPATCH(), (n, textures));
__glXSendReply(cl->client, textures, n, 4, GL_TRUE, 0);
error = Success;
}
@@ -2921,18 +2879,19 @@ int __glXDisp_GenTexturesEXT(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDisp_IsTexture(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_IsTexture(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
+ if (cx != NULL) {
GLboolean retval;
- retval = CALL_IsTexture( GET_DISPATCH(), (
- *(GLuint *)(pc + 0)
- ) );
+
+ retval = CALL_IsTexture(GET_DISPATCH(), (*(GLuint *) (pc + 0)
+ ));
__glXSendReply(cl->client, dummy_answer, 0, 0, GL_FALSE, retval);
error = Success;
}
@@ -2940,18 +2899,19 @@ int __glXDisp_IsTexture(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDisp_IsTextureEXT(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_IsTextureEXT(__GLXclientState * cl, GLbyte * pc)
{
- xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc;
+ xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_VENDPRIV_HDR_SIZE;
- if ( cx != NULL ) {
+ if (cx != NULL) {
GLboolean retval;
- retval = CALL_IsTexture( GET_DISPATCH(), (
- *(GLuint *)(pc + 0)
- ) );
+
+ retval = CALL_IsTexture(GET_DISPATCH(), (*(GLuint *) (pc + 0)
+ ));
__glXSendReply(cl->client, dummy_answer, 0, 0, GL_FALSE, retval);
error = Success;
}
@@ -2959,165 +2919,168 @@ int __glXDisp_IsTextureEXT(__GLXclientState *cl, GLbyte *pc)
return error;
}
-void __glXDisp_PrioritizeTextures(GLbyte * pc)
+void
+__glXDisp_PrioritizeTextures(GLbyte * pc)
{
- const GLsizei n = *(GLsizei *)(pc + 0);
+ const GLsizei n = *(GLsizei *) (pc + 0);
- CALL_PrioritizeTextures( GET_DISPATCH(), (
- n,
- (const GLuint *)(pc + 4),
- (const GLclampf *)(pc + 4)
- ) );
+ CALL_PrioritizeTextures(GET_DISPATCH(), (n,
+ (const GLuint *) (pc + 4),
+ (const GLclampf *) (pc + 4)
+ ));
}
-void __glXDisp_TexSubImage1D(GLbyte * pc)
+void
+__glXDisp_TexSubImage1D(GLbyte * pc)
{
- const GLvoid * const pixels = (const GLvoid *) ((pc + 56));
- __GLXpixelHeader * const hdr = (__GLXpixelHeader *)(pc);
+ const GLvoid *const pixels = (const GLvoid *) ((pc + 56));
+ __GLXpixelHeader *const hdr = (__GLXpixelHeader *) (pc);
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ROW_LENGTH, (GLint) hdr->rowLength) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_ROWS, (GLint) hdr->skipRows) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_PIXELS, (GLint) hdr->skipPixels) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ALIGNMENT, (GLint) hdr->alignment) );
+ CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes));
+ CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_ROW_LENGTH, (GLint) hdr->rowLength));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_SKIP_ROWS, (GLint) hdr->skipRows));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_SKIP_PIXELS, (GLint) hdr->skipPixels));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_ALIGNMENT, (GLint) hdr->alignment));
- CALL_TexSubImage1D( GET_DISPATCH(), (
- *(GLenum *)(pc + 20),
- *(GLint *)(pc + 24),
- *(GLint *)(pc + 28),
- *(GLsizei *)(pc + 36),
- *(GLenum *)(pc + 44),
- *(GLenum *)(pc + 48),
- pixels
- ) );
+ CALL_TexSubImage1D(GET_DISPATCH(), (*(GLenum *) (pc + 20),
+ *(GLint *) (pc + 24),
+ *(GLint *) (pc + 28),
+ *(GLsizei *) (pc + 36),
+ *(GLenum *) (pc + 44),
+ *(GLenum *) (pc + 48), pixels));
}
-void __glXDisp_TexSubImage2D(GLbyte * pc)
+void
+__glXDisp_TexSubImage2D(GLbyte * pc)
{
- const GLvoid * const pixels = (const GLvoid *) ((pc + 56));
- __GLXpixelHeader * const hdr = (__GLXpixelHeader *)(pc);
+ const GLvoid *const pixels = (const GLvoid *) ((pc + 56));
+ __GLXpixelHeader *const hdr = (__GLXpixelHeader *) (pc);
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ROW_LENGTH, (GLint) hdr->rowLength) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_ROWS, (GLint) hdr->skipRows) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_PIXELS, (GLint) hdr->skipPixels) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ALIGNMENT, (GLint) hdr->alignment) );
+ CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes));
+ CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_ROW_LENGTH, (GLint) hdr->rowLength));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_SKIP_ROWS, (GLint) hdr->skipRows));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_SKIP_PIXELS, (GLint) hdr->skipPixels));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_ALIGNMENT, (GLint) hdr->alignment));
- CALL_TexSubImage2D( GET_DISPATCH(), (
- *(GLenum *)(pc + 20),
- *(GLint *)(pc + 24),
- *(GLint *)(pc + 28),
- *(GLint *)(pc + 32),
- *(GLsizei *)(pc + 36),
- *(GLsizei *)(pc + 40),
- *(GLenum *)(pc + 44),
- *(GLenum *)(pc + 48),
- pixels
- ) );
+ CALL_TexSubImage2D(GET_DISPATCH(), (*(GLenum *) (pc + 20),
+ *(GLint *) (pc + 24),
+ *(GLint *) (pc + 28),
+ *(GLint *) (pc + 32),
+ *(GLsizei *) (pc + 36),
+ *(GLsizei *) (pc + 40),
+ *(GLenum *) (pc + 44),
+ *(GLenum *) (pc + 48), pixels));
}
-void __glXDisp_BlendColor(GLbyte * pc)
+void
+__glXDisp_BlendColor(GLbyte * pc)
{
- CALL_BlendColor( GET_DISPATCH(), (
- *(GLclampf *)(pc + 0),
- *(GLclampf *)(pc + 4),
- *(GLclampf *)(pc + 8),
- *(GLclampf *)(pc + 12)
- ) );
+ CALL_BlendColor(GET_DISPATCH(), (*(GLclampf *) (pc + 0),
+ *(GLclampf *) (pc + 4),
+ *(GLclampf *) (pc + 8),
+ *(GLclampf *) (pc + 12)
+ ));
}
-void __glXDisp_BlendEquation(GLbyte * pc)
+void
+__glXDisp_BlendEquation(GLbyte * pc)
{
- CALL_BlendEquation( GET_DISPATCH(), (
- *(GLenum *)(pc + 0)
- ) );
+ CALL_BlendEquation(GET_DISPATCH(), (*(GLenum *) (pc + 0)
+ ));
}
-void __glXDisp_ColorTable(GLbyte * pc)
+void
+__glXDisp_ColorTable(GLbyte * pc)
{
- const GLvoid * const table = (const GLvoid *) ((pc + 40));
- __GLXpixelHeader * const hdr = (__GLXpixelHeader *)(pc);
+ const GLvoid *const table = (const GLvoid *) ((pc + 40));
+ __GLXpixelHeader *const hdr = (__GLXpixelHeader *) (pc);
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ROW_LENGTH, (GLint) hdr->rowLength) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_ROWS, (GLint) hdr->skipRows) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_PIXELS, (GLint) hdr->skipPixels) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ALIGNMENT, (GLint) hdr->alignment) );
+ CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes));
+ CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_ROW_LENGTH, (GLint) hdr->rowLength));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_SKIP_ROWS, (GLint) hdr->skipRows));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_SKIP_PIXELS, (GLint) hdr->skipPixels));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_ALIGNMENT, (GLint) hdr->alignment));
- CALL_ColorTable( GET_DISPATCH(), (
- *(GLenum *)(pc + 20),
- *(GLenum *)(pc + 24),
- *(GLsizei *)(pc + 28),
- *(GLenum *)(pc + 32),
- *(GLenum *)(pc + 36),
- table
- ) );
+ CALL_ColorTable(GET_DISPATCH(), (*(GLenum *) (pc + 20),
+ *(GLenum *) (pc + 24),
+ *(GLsizei *) (pc + 28),
+ *(GLenum *) (pc + 32),
+ *(GLenum *) (pc + 36), table));
}
-void __glXDisp_ColorTableParameterfv(GLbyte * pc)
-{
- const GLenum pname = *(GLenum *)(pc + 4);
- const GLfloat * params;
+void
+__glXDisp_ColorTableParameterfv(GLbyte * pc)
+{
+ const GLenum pname = *(GLenum *) (pc + 4);
+ const GLfloat *params;
params = (const GLfloat *) (pc + 8);
- CALL_ColorTableParameterfv( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- pname,
- params
- ) );
+ CALL_ColorTableParameterfv(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ pname, params));
}
-void __glXDisp_ColorTableParameteriv(GLbyte * pc)
+void
+__glXDisp_ColorTableParameteriv(GLbyte * pc)
{
- const GLenum pname = *(GLenum *)(pc + 4);
- const GLint * params;
+ const GLenum pname = *(GLenum *) (pc + 4);
+ const GLint *params;
params = (const GLint *) (pc + 8);
- CALL_ColorTableParameteriv( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- pname,
- params
- ) );
+ CALL_ColorTableParameteriv(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ pname, params));
}
-void __glXDisp_CopyColorTable(GLbyte * pc)
+void
+__glXDisp_CopyColorTable(GLbyte * pc)
{
- CALL_CopyColorTable( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLenum *)(pc + 4),
- *(GLint *)(pc + 8),
- *(GLint *)(pc + 12),
- *(GLsizei *)(pc + 16)
- ) );
+ CALL_CopyColorTable(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ *(GLenum *) (pc + 4),
+ *(GLint *) (pc + 8),
+ *(GLint *) (pc + 12),
+ *(GLsizei *) (pc + 16)
+ ));
}
-int __glXDisp_GetColorTableParameterfv(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_GetColorTableParameterfv(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum pname = *(GLenum *)(pc + 4);
+ if (cx != NULL) {
+ const GLenum pname = *(GLenum *) (pc + 4);
const GLuint compsize = __glGetColorTableParameterfv_size(pname);
GLfloat answerBuffer[200];
- GLfloat * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4);
+ GLfloat *params =
+ __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer,
+ sizeof(answerBuffer), 4);
- if (params == NULL) return BadAlloc;
+ if (params == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetColorTableParameterfv( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- pname,
- params
- ) );
+ CALL_GetColorTableParameterfv(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ pname, params));
__glXSendReply(cl->client, params, compsize, 4, GL_FALSE, 0);
error = Success;
}
@@ -3125,28 +3088,29 @@ int __glXDisp_GetColorTableParameterfv(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDisp_GetColorTableParameterfvSGI(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_GetColorTableParameterfvSGI(__GLXclientState * cl, GLbyte * pc)
{
- xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc;
+ xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_VENDPRIV_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum pname = *(GLenum *)(pc + 4);
+ if (cx != NULL) {
+ const GLenum pname = *(GLenum *) (pc + 4);
const GLuint compsize = __glGetColorTableParameterfv_size(pname);
GLfloat answerBuffer[200];
- GLfloat * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4);
+ GLfloat *params =
+ __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer,
+ sizeof(answerBuffer), 4);
- if (params == NULL) return BadAlloc;
+ if (params == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetColorTableParameterfv( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- pname,
- params
- ) );
+ CALL_GetColorTableParameterfv(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ pname, params));
__glXSendReply(cl->client, params, compsize, 4, GL_FALSE, 0);
error = Success;
}
@@ -3154,28 +3118,29 @@ int __glXDisp_GetColorTableParameterfvSGI(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDisp_GetColorTableParameteriv(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_GetColorTableParameteriv(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum pname = *(GLenum *)(pc + 4);
+ if (cx != NULL) {
+ const GLenum pname = *(GLenum *) (pc + 4);
const GLuint compsize = __glGetColorTableParameteriv_size(pname);
GLint answerBuffer[200];
- GLint * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4);
+ GLint *params =
+ __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer,
+ sizeof(answerBuffer), 4);
- if (params == NULL) return BadAlloc;
+ if (params == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetColorTableParameteriv( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- pname,
- params
- ) );
+ CALL_GetColorTableParameteriv(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ pname, params));
__glXSendReply(cl->client, params, compsize, 4, GL_FALSE, 0);
error = Success;
}
@@ -3183,28 +3148,29 @@ int __glXDisp_GetColorTableParameteriv(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDisp_GetColorTableParameterivSGI(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_GetColorTableParameterivSGI(__GLXclientState * cl, GLbyte * pc)
{
- xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc;
+ xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_VENDPRIV_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum pname = *(GLenum *)(pc + 4);
+ if (cx != NULL) {
+ const GLenum pname = *(GLenum *) (pc + 4);
const GLuint compsize = __glGetColorTableParameteriv_size(pname);
GLint answerBuffer[200];
- GLint * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4);
+ GLint *params =
+ __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer,
+ sizeof(answerBuffer), 4);
- if (params == NULL) return BadAlloc;
+ if (params == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetColorTableParameteriv( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- pname,
- params
- ) );
+ CALL_GetColorTableParameteriv(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ pname, params));
__glXSendReply(cl->client, params, compsize, 4, GL_FALSE, 0);
error = Success;
}
@@ -3212,175 +3178,178 @@ int __glXDisp_GetColorTableParameterivSGI(__GLXclientState *cl, GLbyte *pc)
return error;
}
-void __glXDisp_ColorSubTable(GLbyte * pc)
+void
+__glXDisp_ColorSubTable(GLbyte * pc)
{
- const GLvoid * const data = (const GLvoid *) ((pc + 40));
- __GLXpixelHeader * const hdr = (__GLXpixelHeader *)(pc);
+ const GLvoid *const data = (const GLvoid *) ((pc + 40));
+ __GLXpixelHeader *const hdr = (__GLXpixelHeader *) (pc);
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ROW_LENGTH, (GLint) hdr->rowLength) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_ROWS, (GLint) hdr->skipRows) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_PIXELS, (GLint) hdr->skipPixels) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ALIGNMENT, (GLint) hdr->alignment) );
+ CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes));
+ CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_ROW_LENGTH, (GLint) hdr->rowLength));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_SKIP_ROWS, (GLint) hdr->skipRows));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_SKIP_PIXELS, (GLint) hdr->skipPixels));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_ALIGNMENT, (GLint) hdr->alignment));
- CALL_ColorSubTable( GET_DISPATCH(), (
- *(GLenum *)(pc + 20),
- *(GLsizei *)(pc + 24),
- *(GLsizei *)(pc + 28),
- *(GLenum *)(pc + 32),
- *(GLenum *)(pc + 36),
- data
- ) );
+ CALL_ColorSubTable(GET_DISPATCH(), (*(GLenum *) (pc + 20),
+ *(GLsizei *) (pc + 24),
+ *(GLsizei *) (pc + 28),
+ *(GLenum *) (pc + 32),
+ *(GLenum *) (pc + 36), data));
}
-void __glXDisp_CopyColorSubTable(GLbyte * pc)
+void
+__glXDisp_CopyColorSubTable(GLbyte * pc)
{
- CALL_CopyColorSubTable( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLsizei *)(pc + 4),
- *(GLint *)(pc + 8),
- *(GLint *)(pc + 12),
- *(GLsizei *)(pc + 16)
- ) );
+ CALL_CopyColorSubTable(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ *(GLsizei *) (pc + 4),
+ *(GLint *) (pc + 8),
+ *(GLint *) (pc + 12),
+ *(GLsizei *) (pc + 16)
+ ));
}
-void __glXDisp_ConvolutionFilter1D(GLbyte * pc)
+void
+__glXDisp_ConvolutionFilter1D(GLbyte * pc)
{
- const GLvoid * const image = (const GLvoid *) ((pc + 44));
- __GLXpixelHeader * const hdr = (__GLXpixelHeader *)(pc);
+ const GLvoid *const image = (const GLvoid *) ((pc + 44));
+ __GLXpixelHeader *const hdr = (__GLXpixelHeader *) (pc);
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ROW_LENGTH, (GLint) hdr->rowLength) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_ROWS, (GLint) hdr->skipRows) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_PIXELS, (GLint) hdr->skipPixels) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ALIGNMENT, (GLint) hdr->alignment) );
+ CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes));
+ CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_ROW_LENGTH, (GLint) hdr->rowLength));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_SKIP_ROWS, (GLint) hdr->skipRows));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_SKIP_PIXELS, (GLint) hdr->skipPixels));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_ALIGNMENT, (GLint) hdr->alignment));
- CALL_ConvolutionFilter1D( GET_DISPATCH(), (
- *(GLenum *)(pc + 20),
- *(GLenum *)(pc + 24),
- *(GLsizei *)(pc + 28),
- *(GLenum *)(pc + 36),
- *(GLenum *)(pc + 40),
- image
- ) );
+ CALL_ConvolutionFilter1D(GET_DISPATCH(), (*(GLenum *) (pc + 20),
+ *(GLenum *) (pc + 24),
+ *(GLsizei *) (pc + 28),
+ *(GLenum *) (pc + 36),
+ *(GLenum *) (pc + 40), image));
}
-void __glXDisp_ConvolutionFilter2D(GLbyte * pc)
+void
+__glXDisp_ConvolutionFilter2D(GLbyte * pc)
{
- const GLvoid * const image = (const GLvoid *) ((pc + 44));
- __GLXpixelHeader * const hdr = (__GLXpixelHeader *)(pc);
+ const GLvoid *const image = (const GLvoid *) ((pc + 44));
+ __GLXpixelHeader *const hdr = (__GLXpixelHeader *) (pc);
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ROW_LENGTH, (GLint) hdr->rowLength) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_ROWS, (GLint) hdr->skipRows) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_PIXELS, (GLint) hdr->skipPixels) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ALIGNMENT, (GLint) hdr->alignment) );
+ CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes));
+ CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_ROW_LENGTH, (GLint) hdr->rowLength));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_SKIP_ROWS, (GLint) hdr->skipRows));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_SKIP_PIXELS, (GLint) hdr->skipPixels));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_ALIGNMENT, (GLint) hdr->alignment));
- CALL_ConvolutionFilter2D( GET_DISPATCH(), (
- *(GLenum *)(pc + 20),
- *(GLenum *)(pc + 24),
- *(GLsizei *)(pc + 28),
- *(GLsizei *)(pc + 32),
- *(GLenum *)(pc + 36),
- *(GLenum *)(pc + 40),
- image
- ) );
+ CALL_ConvolutionFilter2D(GET_DISPATCH(), (*(GLenum *) (pc + 20),
+ *(GLenum *) (pc + 24),
+ *(GLsizei *) (pc + 28),
+ *(GLsizei *) (pc + 32),
+ *(GLenum *) (pc + 36),
+ *(GLenum *) (pc + 40), image));
}
-void __glXDisp_ConvolutionParameterf(GLbyte * pc)
+void
+__glXDisp_ConvolutionParameterf(GLbyte * pc)
{
- CALL_ConvolutionParameterf( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLenum *)(pc + 4),
- *(GLfloat *)(pc + 8)
- ) );
+ CALL_ConvolutionParameterf(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ *(GLenum *) (pc + 4),
+ *(GLfloat *) (pc + 8)
+ ));
}
-void __glXDisp_ConvolutionParameterfv(GLbyte * pc)
+void
+__glXDisp_ConvolutionParameterfv(GLbyte * pc)
{
- const GLenum pname = *(GLenum *)(pc + 4);
- const GLfloat * params;
+ const GLenum pname = *(GLenum *) (pc + 4);
+ const GLfloat *params;
params = (const GLfloat *) (pc + 8);
- CALL_ConvolutionParameterfv( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- pname,
- params
- ) );
+ CALL_ConvolutionParameterfv(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ pname, params));
}
-void __glXDisp_ConvolutionParameteri(GLbyte * pc)
+void
+__glXDisp_ConvolutionParameteri(GLbyte * pc)
{
- CALL_ConvolutionParameteri( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLenum *)(pc + 4),
- *(GLint *)(pc + 8)
- ) );
+ CALL_ConvolutionParameteri(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ *(GLenum *) (pc + 4),
+ *(GLint *) (pc + 8)
+ ));
}
-void __glXDisp_ConvolutionParameteriv(GLbyte * pc)
+void
+__glXDisp_ConvolutionParameteriv(GLbyte * pc)
{
- const GLenum pname = *(GLenum *)(pc + 4);
- const GLint * params;
+ const GLenum pname = *(GLenum *) (pc + 4);
+ const GLint *params;
params = (const GLint *) (pc + 8);
- CALL_ConvolutionParameteriv( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- pname,
- params
- ) );
+ CALL_ConvolutionParameteriv(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ pname, params));
}
-void __glXDisp_CopyConvolutionFilter1D(GLbyte * pc)
+void
+__glXDisp_CopyConvolutionFilter1D(GLbyte * pc)
{
- CALL_CopyConvolutionFilter1D( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLenum *)(pc + 4),
- *(GLint *)(pc + 8),
- *(GLint *)(pc + 12),
- *(GLsizei *)(pc + 16)
- ) );
+ CALL_CopyConvolutionFilter1D(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ *(GLenum *) (pc + 4),
+ *(GLint *) (pc + 8),
+ *(GLint *) (pc + 12),
+ *(GLsizei *) (pc + 16)
+ ));
}
-void __glXDisp_CopyConvolutionFilter2D(GLbyte * pc)
+void
+__glXDisp_CopyConvolutionFilter2D(GLbyte * pc)
{
- CALL_CopyConvolutionFilter2D( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLenum *)(pc + 4),
- *(GLint *)(pc + 8),
- *(GLint *)(pc + 12),
- *(GLsizei *)(pc + 16),
- *(GLsizei *)(pc + 20)
- ) );
+ CALL_CopyConvolutionFilter2D(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ *(GLenum *) (pc + 4),
+ *(GLint *) (pc + 8),
+ *(GLint *) (pc + 12),
+ *(GLsizei *) (pc + 16),
+ *(GLsizei *) (pc + 20)
+ ));
}
-int __glXDisp_GetConvolutionParameterfv(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_GetConvolutionParameterfv(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum pname = *(GLenum *)(pc + 4);
+ if (cx != NULL) {
+ const GLenum pname = *(GLenum *) (pc + 4);
const GLuint compsize = __glGetConvolutionParameterfv_size(pname);
GLfloat answerBuffer[200];
- GLfloat * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4);
+ GLfloat *params =
+ __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer,
+ sizeof(answerBuffer), 4);
- if (params == NULL) return BadAlloc;
+ if (params == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetConvolutionParameterfv( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- pname,
- params
- ) );
+ CALL_GetConvolutionParameterfv(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ pname, params));
__glXSendReply(cl->client, params, compsize, 4, GL_FALSE, 0);
error = Success;
}
@@ -3388,28 +3357,29 @@ int __glXDisp_GetConvolutionParameterfv(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDisp_GetConvolutionParameterfvEXT(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_GetConvolutionParameterfvEXT(__GLXclientState * cl, GLbyte * pc)
{
- xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc;
+ xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_VENDPRIV_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum pname = *(GLenum *)(pc + 4);
+ if (cx != NULL) {
+ const GLenum pname = *(GLenum *) (pc + 4);
const GLuint compsize = __glGetConvolutionParameterfv_size(pname);
GLfloat answerBuffer[200];
- GLfloat * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4);
+ GLfloat *params =
+ __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer,
+ sizeof(answerBuffer), 4);
- if (params == NULL) return BadAlloc;
+ if (params == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetConvolutionParameterfv( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- pname,
- params
- ) );
+ CALL_GetConvolutionParameterfv(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ pname, params));
__glXSendReply(cl->client, params, compsize, 4, GL_FALSE, 0);
error = Success;
}
@@ -3417,28 +3387,29 @@ int __glXDisp_GetConvolutionParameterfvEXT(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDisp_GetConvolutionParameteriv(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_GetConvolutionParameteriv(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum pname = *(GLenum *)(pc + 4);
+ if (cx != NULL) {
+ const GLenum pname = *(GLenum *) (pc + 4);
const GLuint compsize = __glGetConvolutionParameteriv_size(pname);
GLint answerBuffer[200];
- GLint * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4);
+ GLint *params =
+ __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer,
+ sizeof(answerBuffer), 4);
- if (params == NULL) return BadAlloc;
+ if (params == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetConvolutionParameteriv( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- pname,
- params
- ) );
+ CALL_GetConvolutionParameteriv(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ pname, params));
__glXSendReply(cl->client, params, compsize, 4, GL_FALSE, 0);
error = Success;
}
@@ -3446,28 +3417,29 @@ int __glXDisp_GetConvolutionParameteriv(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDisp_GetConvolutionParameterivEXT(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_GetConvolutionParameterivEXT(__GLXclientState * cl, GLbyte * pc)
{
- xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc;
+ xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_VENDPRIV_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum pname = *(GLenum *)(pc + 4);
+ if (cx != NULL) {
+ const GLenum pname = *(GLenum *) (pc + 4);
const GLuint compsize = __glGetConvolutionParameteriv_size(pname);
GLint answerBuffer[200];
- GLint * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4);
+ GLint *params =
+ __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer,
+ sizeof(answerBuffer), 4);
- if (params == NULL) return BadAlloc;
+ if (params == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetConvolutionParameteriv( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- pname,
- params
- ) );
+ CALL_GetConvolutionParameteriv(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ pname, params));
__glXSendReply(cl->client, params, compsize, 4, GL_FALSE, 0);
error = Success;
}
@@ -3475,28 +3447,29 @@ int __glXDisp_GetConvolutionParameterivEXT(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDisp_GetHistogramParameterfv(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_GetHistogramParameterfv(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum pname = *(GLenum *)(pc + 4);
+ if (cx != NULL) {
+ const GLenum pname = *(GLenum *) (pc + 4);
const GLuint compsize = __glGetHistogramParameterfv_size(pname);
GLfloat answerBuffer[200];
- GLfloat * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4);
+ GLfloat *params =
+ __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer,
+ sizeof(answerBuffer), 4);
- if (params == NULL) return BadAlloc;
+ if (params == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetHistogramParameterfv( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- pname,
- params
- ) );
+ CALL_GetHistogramParameterfv(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ pname, params));
__glXSendReply(cl->client, params, compsize, 4, GL_FALSE, 0);
error = Success;
}
@@ -3504,28 +3477,29 @@ int __glXDisp_GetHistogramParameterfv(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDisp_GetHistogramParameterfvEXT(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_GetHistogramParameterfvEXT(__GLXclientState * cl, GLbyte * pc)
{
- xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc;
+ xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_VENDPRIV_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum pname = *(GLenum *)(pc + 4);
+ if (cx != NULL) {
+ const GLenum pname = *(GLenum *) (pc + 4);
const GLuint compsize = __glGetHistogramParameterfv_size(pname);
GLfloat answerBuffer[200];
- GLfloat * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4);
+ GLfloat *params =
+ __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer,
+ sizeof(answerBuffer), 4);
- if (params == NULL) return BadAlloc;
+ if (params == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetHistogramParameterfv( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- pname,
- params
- ) );
+ CALL_GetHistogramParameterfv(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ pname, params));
__glXSendReply(cl->client, params, compsize, 4, GL_FALSE, 0);
error = Success;
}
@@ -3533,28 +3507,29 @@ int __glXDisp_GetHistogramParameterfvEXT(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDisp_GetHistogramParameteriv(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_GetHistogramParameteriv(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum pname = *(GLenum *)(pc + 4);
+ if (cx != NULL) {
+ const GLenum pname = *(GLenum *) (pc + 4);
const GLuint compsize = __glGetHistogramParameteriv_size(pname);
GLint answerBuffer[200];
- GLint * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4);
+ GLint *params =
+ __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer,
+ sizeof(answerBuffer), 4);
- if (params == NULL) return BadAlloc;
+ if (params == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetHistogramParameteriv( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- pname,
- params
- ) );
+ CALL_GetHistogramParameteriv(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ pname, params));
__glXSendReply(cl->client, params, compsize, 4, GL_FALSE, 0);
error = Success;
}
@@ -3562,28 +3537,29 @@ int __glXDisp_GetHistogramParameteriv(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDisp_GetHistogramParameterivEXT(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_GetHistogramParameterivEXT(__GLXclientState * cl, GLbyte * pc)
{
- xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc;
+ xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_VENDPRIV_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum pname = *(GLenum *)(pc + 4);
+ if (cx != NULL) {
+ const GLenum pname = *(GLenum *) (pc + 4);
const GLuint compsize = __glGetHistogramParameteriv_size(pname);
GLint answerBuffer[200];
- GLint * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4);
+ GLint *params =
+ __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer,
+ sizeof(answerBuffer), 4);
- if (params == NULL) return BadAlloc;
+ if (params == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetHistogramParameteriv( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- pname,
- params
- ) );
+ CALL_GetHistogramParameteriv(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ pname, params));
__glXSendReply(cl->client, params, compsize, 4, GL_FALSE, 0);
error = Success;
}
@@ -3591,28 +3567,29 @@ int __glXDisp_GetHistogramParameterivEXT(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDisp_GetMinmaxParameterfv(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_GetMinmaxParameterfv(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum pname = *(GLenum *)(pc + 4);
+ if (cx != NULL) {
+ const GLenum pname = *(GLenum *) (pc + 4);
const GLuint compsize = __glGetMinmaxParameterfv_size(pname);
GLfloat answerBuffer[200];
- GLfloat * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4);
+ GLfloat *params =
+ __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer,
+ sizeof(answerBuffer), 4);
- if (params == NULL) return BadAlloc;
+ if (params == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetMinmaxParameterfv( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- pname,
- params
- ) );
+ CALL_GetMinmaxParameterfv(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ pname, params));
__glXSendReply(cl->client, params, compsize, 4, GL_FALSE, 0);
error = Success;
}
@@ -3620,28 +3597,29 @@ int __glXDisp_GetMinmaxParameterfv(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDisp_GetMinmaxParameterfvEXT(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_GetMinmaxParameterfvEXT(__GLXclientState * cl, GLbyte * pc)
{
- xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc;
+ xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_VENDPRIV_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum pname = *(GLenum *)(pc + 4);
+ if (cx != NULL) {
+ const GLenum pname = *(GLenum *) (pc + 4);
const GLuint compsize = __glGetMinmaxParameterfv_size(pname);
GLfloat answerBuffer[200];
- GLfloat * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4);
+ GLfloat *params =
+ __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer,
+ sizeof(answerBuffer), 4);
- if (params == NULL) return BadAlloc;
+ if (params == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetMinmaxParameterfv( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- pname,
- params
- ) );
+ CALL_GetMinmaxParameterfv(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ pname, params));
__glXSendReply(cl->client, params, compsize, 4, GL_FALSE, 0);
error = Success;
}
@@ -3649,28 +3627,29 @@ int __glXDisp_GetMinmaxParameterfvEXT(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDisp_GetMinmaxParameteriv(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_GetMinmaxParameteriv(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum pname = *(GLenum *)(pc + 4);
+ if (cx != NULL) {
+ const GLenum pname = *(GLenum *) (pc + 4);
const GLuint compsize = __glGetMinmaxParameteriv_size(pname);
GLint answerBuffer[200];
- GLint * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4);
+ GLint *params =
+ __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer,
+ sizeof(answerBuffer), 4);
- if (params == NULL) return BadAlloc;
+ if (params == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetMinmaxParameteriv( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- pname,
- params
- ) );
+ CALL_GetMinmaxParameteriv(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ pname, params));
__glXSendReply(cl->client, params, compsize, 4, GL_FALSE, 0);
error = Success;
}
@@ -3678,28 +3657,29 @@ int __glXDisp_GetMinmaxParameteriv(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDisp_GetMinmaxParameterivEXT(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_GetMinmaxParameterivEXT(__GLXclientState * cl, GLbyte * pc)
{
- xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc;
+ xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_VENDPRIV_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum pname = *(GLenum *)(pc + 4);
+ if (cx != NULL) {
+ const GLenum pname = *(GLenum *) (pc + 4);
const GLuint compsize = __glGetMinmaxParameteriv_size(pname);
GLint answerBuffer[200];
- GLint * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4);
+ GLint *params =
+ __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer,
+ sizeof(answerBuffer), 4);
- if (params == NULL) return BadAlloc;
+ if (params == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetMinmaxParameteriv( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- pname,
- params
- ) );
+ CALL_GetMinmaxParameteriv(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ pname, params));
__glXSendReply(cl->client, params, compsize, 4, GL_FALSE, 0);
error = Success;
}
@@ -3707,396 +3687,404 @@ int __glXDisp_GetMinmaxParameterivEXT(__GLXclientState *cl, GLbyte *pc)
return error;
}
-void __glXDisp_Histogram(GLbyte * pc)
-{
- CALL_Histogram( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLsizei *)(pc + 4),
- *(GLenum *)(pc + 8),
- *(GLboolean *)(pc + 12)
- ) );
-}
-
-void __glXDisp_Minmax(GLbyte * pc)
+void
+__glXDisp_Histogram(GLbyte * pc)
+{
+ CALL_Histogram(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ *(GLsizei *) (pc + 4),
+ *(GLenum *) (pc + 8),
+ *(GLboolean *) (pc + 12)
+ ));
+}
+
+void
+__glXDisp_Minmax(GLbyte * pc)
+{
+ CALL_Minmax(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ *(GLenum *) (pc + 4), *(GLboolean *) (pc + 8)
+ ));
+}
+
+void
+__glXDisp_ResetHistogram(GLbyte * pc)
{
- CALL_Minmax( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLenum *)(pc + 4),
- *(GLboolean *)(pc + 8)
- ) );
+ CALL_ResetHistogram(GET_DISPATCH(), (*(GLenum *) (pc + 0)
+ ));
}
-void __glXDisp_ResetHistogram(GLbyte * pc)
+void
+__glXDisp_ResetMinmax(GLbyte * pc)
{
- CALL_ResetHistogram( GET_DISPATCH(), (
- *(GLenum *)(pc + 0)
- ) );
+ CALL_ResetMinmax(GET_DISPATCH(), (*(GLenum *) (pc + 0)
+ ));
}
-void __glXDisp_ResetMinmax(GLbyte * pc)
+void
+__glXDisp_TexImage3D(GLbyte * pc)
{
- CALL_ResetMinmax( GET_DISPATCH(), (
- *(GLenum *)(pc + 0)
- ) );
-}
-
-void __glXDisp_TexImage3D(GLbyte * pc)
-{
- const CARD32 ptr_is_null = *(CARD32 *)(pc + 76);
- const GLvoid * const pixels = (const GLvoid *) ((ptr_is_null != 0) ? NULL : (pc + 80));
- __GLXpixel3DHeader * const hdr = (__GLXpixel3DHeader *)(pc);
+ const CARD32 ptr_is_null = *(CARD32 *) (pc + 76);
+ const GLvoid *const pixels =
+ (const GLvoid *) ((ptr_is_null != 0) ? NULL : (pc + 80));
+ __GLXpixel3DHeader *const hdr = (__GLXpixel3DHeader *) (pc);
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ROW_LENGTH, (GLint) hdr->rowLength) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_IMAGE_HEIGHT, (GLint) hdr->imageHeight) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_ROWS, (GLint) hdr->skipRows) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_IMAGES, (GLint) hdr->skipImages) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_PIXELS, (GLint) hdr->skipPixels) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ALIGNMENT, (GLint) hdr->alignment) );
+ CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes));
+ CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_ROW_LENGTH, (GLint) hdr->rowLength));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_IMAGE_HEIGHT, (GLint) hdr->imageHeight));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_SKIP_ROWS, (GLint) hdr->skipRows));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_SKIP_IMAGES, (GLint) hdr->skipImages));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_SKIP_PIXELS, (GLint) hdr->skipPixels));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_ALIGNMENT, (GLint) hdr->alignment));
- CALL_TexImage3D( GET_DISPATCH(), (
- *(GLenum *)(pc + 36),
- *(GLint *)(pc + 40),
- *(GLint *)(pc + 44),
- *(GLsizei *)(pc + 48),
- *(GLsizei *)(pc + 52),
- *(GLsizei *)(pc + 56),
- *(GLint *)(pc + 64),
- *(GLenum *)(pc + 68),
- *(GLenum *)(pc + 72),
- pixels
- ) );
+ CALL_TexImage3D(GET_DISPATCH(), (*(GLenum *) (pc + 36),
+ *(GLint *) (pc + 40),
+ *(GLint *) (pc + 44),
+ *(GLsizei *) (pc + 48),
+ *(GLsizei *) (pc + 52),
+ *(GLsizei *) (pc + 56),
+ *(GLint *) (pc + 64),
+ *(GLenum *) (pc + 68),
+ *(GLenum *) (pc + 72), pixels));
}
-void __glXDisp_TexSubImage3D(GLbyte * pc)
+void
+__glXDisp_TexSubImage3D(GLbyte * pc)
{
- const GLvoid * const pixels = (const GLvoid *) ((pc + 88));
- __GLXpixel3DHeader * const hdr = (__GLXpixel3DHeader *)(pc);
+ const GLvoid *const pixels = (const GLvoid *) ((pc + 88));
+ __GLXpixel3DHeader *const hdr = (__GLXpixel3DHeader *) (pc);
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ROW_LENGTH, (GLint) hdr->rowLength) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_IMAGE_HEIGHT, (GLint) hdr->imageHeight) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_ROWS, (GLint) hdr->skipRows) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_IMAGES, (GLint) hdr->skipImages) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_PIXELS, (GLint) hdr->skipPixels) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ALIGNMENT, (GLint) hdr->alignment) );
+ CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes));
+ CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_ROW_LENGTH, (GLint) hdr->rowLength));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_IMAGE_HEIGHT, (GLint) hdr->imageHeight));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_SKIP_ROWS, (GLint) hdr->skipRows));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_SKIP_IMAGES, (GLint) hdr->skipImages));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_SKIP_PIXELS, (GLint) hdr->skipPixels));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_ALIGNMENT, (GLint) hdr->alignment));
- CALL_TexSubImage3D( GET_DISPATCH(), (
- *(GLenum *)(pc + 36),
- *(GLint *)(pc + 40),
- *(GLint *)(pc + 44),
- *(GLint *)(pc + 48),
- *(GLint *)(pc + 52),
- *(GLsizei *)(pc + 60),
- *(GLsizei *)(pc + 64),
- *(GLsizei *)(pc + 68),
- *(GLenum *)(pc + 76),
- *(GLenum *)(pc + 80),
- pixels
- ) );
-}
-
-void __glXDisp_CopyTexSubImage3D(GLbyte * pc)
-{
- CALL_CopyTexSubImage3D( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLint *)(pc + 4),
- *(GLint *)(pc + 8),
- *(GLint *)(pc + 12),
- *(GLint *)(pc + 16),
- *(GLint *)(pc + 20),
- *(GLint *)(pc + 24),
- *(GLsizei *)(pc + 28),
- *(GLsizei *)(pc + 32)
- ) );
+ CALL_TexSubImage3D(GET_DISPATCH(), (*(GLenum *) (pc + 36),
+ *(GLint *) (pc + 40),
+ *(GLint *) (pc + 44),
+ *(GLint *) (pc + 48),
+ *(GLint *) (pc + 52),
+ *(GLsizei *) (pc + 60),
+ *(GLsizei *) (pc + 64),
+ *(GLsizei *) (pc + 68),
+ *(GLenum *) (pc + 76),
+ *(GLenum *) (pc + 80), pixels));
}
-void __glXDisp_ActiveTextureARB(GLbyte * pc)
-{
- CALL_ActiveTextureARB( GET_DISPATCH(), (
- *(GLenum *)(pc + 0)
- ) );
-}
-
-void __glXDisp_MultiTexCoord1dvARB(GLbyte * pc)
+void
+__glXDisp_CopyTexSubImage3D(GLbyte * pc)
+{
+ CALL_CopyTexSubImage3D(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ *(GLint *) (pc + 4),
+ *(GLint *) (pc + 8),
+ *(GLint *) (pc + 12),
+ *(GLint *) (pc + 16),
+ *(GLint *) (pc + 20),
+ *(GLint *) (pc + 24),
+ *(GLsizei *) (pc + 28),
+ *(GLsizei *) (pc + 32)
+ ));
+}
+
+void
+__glXDisp_ActiveTextureARB(GLbyte * pc)
+{
+ CALL_ActiveTextureARB(GET_DISPATCH(), (*(GLenum *) (pc + 0)
+ ));
+}
+
+void
+__glXDisp_MultiTexCoord1dvARB(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 12);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 12);
pc -= 4;
}
#endif
- CALL_MultiTexCoord1dvARB( GET_DISPATCH(), (
- *(GLenum *)(pc + 8),
- (const GLdouble *)(pc + 0)
- ) );
+ CALL_MultiTexCoord1dvARB(GET_DISPATCH(), (*(GLenum *) (pc + 8),
+ (const GLdouble *) (pc + 0)
+ ));
}
-void __glXDisp_MultiTexCoord1fvARB(GLbyte * pc)
+void
+__glXDisp_MultiTexCoord1fvARB(GLbyte * pc)
{
- CALL_MultiTexCoord1fvARB( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- (const GLfloat *)(pc + 4)
- ) );
+ CALL_MultiTexCoord1fvARB(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ (const GLfloat *) (pc + 4)
+ ));
}
-void __glXDisp_MultiTexCoord1ivARB(GLbyte * pc)
+void
+__glXDisp_MultiTexCoord1ivARB(GLbyte * pc)
{
- CALL_MultiTexCoord1ivARB( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- (const GLint *)(pc + 4)
- ) );
+ CALL_MultiTexCoord1ivARB(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ (const GLint *) (pc + 4)
+ ));
}
-void __glXDisp_MultiTexCoord1svARB(GLbyte * pc)
+void
+__glXDisp_MultiTexCoord1svARB(GLbyte * pc)
{
- CALL_MultiTexCoord1svARB( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- (const GLshort *)(pc + 4)
- ) );
+ CALL_MultiTexCoord1svARB(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ (const GLshort *) (pc + 4)
+ ));
}
-void __glXDisp_MultiTexCoord2dvARB(GLbyte * pc)
+void
+__glXDisp_MultiTexCoord2dvARB(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 20);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 20);
pc -= 4;
}
#endif
- CALL_MultiTexCoord2dvARB( GET_DISPATCH(), (
- *(GLenum *)(pc + 16),
- (const GLdouble *)(pc + 0)
- ) );
+ CALL_MultiTexCoord2dvARB(GET_DISPATCH(), (*(GLenum *) (pc + 16),
+ (const GLdouble *) (pc + 0)
+ ));
}
-void __glXDisp_MultiTexCoord2fvARB(GLbyte * pc)
+void
+__glXDisp_MultiTexCoord2fvARB(GLbyte * pc)
{
- CALL_MultiTexCoord2fvARB( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- (const GLfloat *)(pc + 4)
- ) );
+ CALL_MultiTexCoord2fvARB(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ (const GLfloat *) (pc + 4)
+ ));
}
-void __glXDisp_MultiTexCoord2ivARB(GLbyte * pc)
+void
+__glXDisp_MultiTexCoord2ivARB(GLbyte * pc)
{
- CALL_MultiTexCoord2ivARB( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- (const GLint *)(pc + 4)
- ) );
+ CALL_MultiTexCoord2ivARB(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ (const GLint *) (pc + 4)
+ ));
}
-void __glXDisp_MultiTexCoord2svARB(GLbyte * pc)
+void
+__glXDisp_MultiTexCoord2svARB(GLbyte * pc)
{
- CALL_MultiTexCoord2svARB( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- (const GLshort *)(pc + 4)
- ) );
+ CALL_MultiTexCoord2svARB(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ (const GLshort *) (pc + 4)
+ ));
}
-void __glXDisp_MultiTexCoord3dvARB(GLbyte * pc)
+void
+__glXDisp_MultiTexCoord3dvARB(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 28);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 28);
pc -= 4;
}
#endif
- CALL_MultiTexCoord3dvARB( GET_DISPATCH(), (
- *(GLenum *)(pc + 24),
- (const GLdouble *)(pc + 0)
- ) );
+ CALL_MultiTexCoord3dvARB(GET_DISPATCH(), (*(GLenum *) (pc + 24),
+ (const GLdouble *) (pc + 0)
+ ));
}
-void __glXDisp_MultiTexCoord3fvARB(GLbyte * pc)
+void
+__glXDisp_MultiTexCoord3fvARB(GLbyte * pc)
{
- CALL_MultiTexCoord3fvARB( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- (const GLfloat *)(pc + 4)
- ) );
+ CALL_MultiTexCoord3fvARB(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ (const GLfloat *) (pc + 4)
+ ));
}
-void __glXDisp_MultiTexCoord3ivARB(GLbyte * pc)
+void
+__glXDisp_MultiTexCoord3ivARB(GLbyte * pc)
{
- CALL_MultiTexCoord3ivARB( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- (const GLint *)(pc + 4)
- ) );
+ CALL_MultiTexCoord3ivARB(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ (const GLint *) (pc + 4)
+ ));
}
-void __glXDisp_MultiTexCoord3svARB(GLbyte * pc)
+void
+__glXDisp_MultiTexCoord3svARB(GLbyte * pc)
{
- CALL_MultiTexCoord3svARB( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- (const GLshort *)(pc + 4)
- ) );
+ CALL_MultiTexCoord3svARB(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ (const GLshort *) (pc + 4)
+ ));
}
-void __glXDisp_MultiTexCoord4dvARB(GLbyte * pc)
+void
+__glXDisp_MultiTexCoord4dvARB(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 36);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 36);
pc -= 4;
}
#endif
- CALL_MultiTexCoord4dvARB( GET_DISPATCH(), (
- *(GLenum *)(pc + 32),
- (const GLdouble *)(pc + 0)
- ) );
+ CALL_MultiTexCoord4dvARB(GET_DISPATCH(), (*(GLenum *) (pc + 32),
+ (const GLdouble *) (pc + 0)
+ ));
}
-void __glXDisp_MultiTexCoord4fvARB(GLbyte * pc)
+void
+__glXDisp_MultiTexCoord4fvARB(GLbyte * pc)
{
- CALL_MultiTexCoord4fvARB( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- (const GLfloat *)(pc + 4)
- ) );
+ CALL_MultiTexCoord4fvARB(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ (const GLfloat *) (pc + 4)
+ ));
}
-void __glXDisp_MultiTexCoord4ivARB(GLbyte * pc)
+void
+__glXDisp_MultiTexCoord4ivARB(GLbyte * pc)
{
- CALL_MultiTexCoord4ivARB( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- (const GLint *)(pc + 4)
- ) );
+ CALL_MultiTexCoord4ivARB(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ (const GLint *) (pc + 4)
+ ));
}
-void __glXDisp_MultiTexCoord4svARB(GLbyte * pc)
+void
+__glXDisp_MultiTexCoord4svARB(GLbyte * pc)
{
- CALL_MultiTexCoord4svARB( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- (const GLshort *)(pc + 4)
- ) );
+ CALL_MultiTexCoord4svARB(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ (const GLshort *) (pc + 4)
+ ));
}
-void __glXDisp_SampleCoverageARB(GLbyte * pc)
+void
+__glXDisp_SampleCoverageARB(GLbyte * pc)
{
- CALL_SampleCoverageARB( GET_DISPATCH(), (
- *(GLclampf *)(pc + 0),
- *(GLboolean *)(pc + 4)
- ) );
+ CALL_SampleCoverageARB(GET_DISPATCH(), (*(GLclampf *) (pc + 0),
+ *(GLboolean *) (pc + 4)
+ ));
}
-void __glXDisp_CompressedTexImage1DARB(GLbyte * pc)
+void
+__glXDisp_CompressedTexImage1DARB(GLbyte * pc)
{
- const GLsizei imageSize = *(GLsizei *)(pc + 20);
+ const GLsizei imageSize = *(GLsizei *) (pc + 20);
- CALL_CompressedTexImage1DARB( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLint *)(pc + 4),
- *(GLenum *)(pc + 8),
- *(GLsizei *)(pc + 12),
- *(GLint *)(pc + 16),
- imageSize,
- (const GLvoid *)(pc + 24)
- ) );
+ CALL_CompressedTexImage1DARB(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ *(GLint *) (pc + 4),
+ *(GLenum *) (pc + 8),
+ *(GLsizei *) (pc + 12),
+ *(GLint *) (pc + 16),
+ imageSize,
+ (const GLvoid *) (pc + 24)
+ ));
}
-void __glXDisp_CompressedTexImage2DARB(GLbyte * pc)
+void
+__glXDisp_CompressedTexImage2DARB(GLbyte * pc)
{
- const GLsizei imageSize = *(GLsizei *)(pc + 24);
+ const GLsizei imageSize = *(GLsizei *) (pc + 24);
- CALL_CompressedTexImage2DARB( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLint *)(pc + 4),
- *(GLenum *)(pc + 8),
- *(GLsizei *)(pc + 12),
- *(GLsizei *)(pc + 16),
- *(GLint *)(pc + 20),
- imageSize,
- (const GLvoid *)(pc + 28)
- ) );
+ CALL_CompressedTexImage2DARB(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ *(GLint *) (pc + 4),
+ *(GLenum *) (pc + 8),
+ *(GLsizei *) (pc + 12),
+ *(GLsizei *) (pc + 16),
+ *(GLint *) (pc + 20),
+ imageSize,
+ (const GLvoid *) (pc + 28)
+ ));
}
-void __glXDisp_CompressedTexImage3DARB(GLbyte * pc)
+void
+__glXDisp_CompressedTexImage3DARB(GLbyte * pc)
{
- const GLsizei imageSize = *(GLsizei *)(pc + 28);
+ const GLsizei imageSize = *(GLsizei *) (pc + 28);
- CALL_CompressedTexImage3DARB( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLint *)(pc + 4),
- *(GLenum *)(pc + 8),
- *(GLsizei *)(pc + 12),
- *(GLsizei *)(pc + 16),
- *(GLsizei *)(pc + 20),
- *(GLint *)(pc + 24),
- imageSize,
- (const GLvoid *)(pc + 32)
- ) );
+ CALL_CompressedTexImage3DARB(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ *(GLint *) (pc + 4),
+ *(GLenum *) (pc + 8),
+ *(GLsizei *) (pc + 12),
+ *(GLsizei *) (pc + 16),
+ *(GLsizei *) (pc + 20),
+ *(GLint *) (pc + 24),
+ imageSize,
+ (const GLvoid *) (pc + 32)
+ ));
}
-void __glXDisp_CompressedTexSubImage1DARB(GLbyte * pc)
+void
+__glXDisp_CompressedTexSubImage1DARB(GLbyte * pc)
{
- const GLsizei imageSize = *(GLsizei *)(pc + 20);
+ const GLsizei imageSize = *(GLsizei *) (pc + 20);
- CALL_CompressedTexSubImage1DARB( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLint *)(pc + 4),
- *(GLint *)(pc + 8),
- *(GLsizei *)(pc + 12),
- *(GLenum *)(pc + 16),
- imageSize,
- (const GLvoid *)(pc + 24)
- ) );
+ CALL_CompressedTexSubImage1DARB(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ *(GLint *) (pc + 4),
+ *(GLint *) (pc + 8),
+ *(GLsizei *) (pc + 12),
+ *(GLenum *) (pc + 16),
+ imageSize,
+ (const GLvoid *) (pc + 24)
+ ));
}
-void __glXDisp_CompressedTexSubImage2DARB(GLbyte * pc)
+void
+__glXDisp_CompressedTexSubImage2DARB(GLbyte * pc)
{
- const GLsizei imageSize = *(GLsizei *)(pc + 28);
+ const GLsizei imageSize = *(GLsizei *) (pc + 28);
- CALL_CompressedTexSubImage2DARB( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLint *)(pc + 4),
- *(GLint *)(pc + 8),
- *(GLint *)(pc + 12),
- *(GLsizei *)(pc + 16),
- *(GLsizei *)(pc + 20),
- *(GLenum *)(pc + 24),
- imageSize,
- (const GLvoid *)(pc + 32)
- ) );
+ CALL_CompressedTexSubImage2DARB(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ *(GLint *) (pc + 4),
+ *(GLint *) (pc + 8),
+ *(GLint *) (pc + 12),
+ *(GLsizei *) (pc + 16),
+ *(GLsizei *) (pc + 20),
+ *(GLenum *) (pc + 24),
+ imageSize,
+ (const GLvoid *) (pc + 32)
+ ));
}
-void __glXDisp_CompressedTexSubImage3DARB(GLbyte * pc)
+void
+__glXDisp_CompressedTexSubImage3DARB(GLbyte * pc)
{
- const GLsizei imageSize = *(GLsizei *)(pc + 36);
+ const GLsizei imageSize = *(GLsizei *) (pc + 36);
- CALL_CompressedTexSubImage3DARB( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLint *)(pc + 4),
- *(GLint *)(pc + 8),
- *(GLint *)(pc + 12),
- *(GLint *)(pc + 16),
- *(GLsizei *)(pc + 20),
- *(GLsizei *)(pc + 24),
- *(GLsizei *)(pc + 28),
- *(GLenum *)(pc + 32),
- imageSize,
- (const GLvoid *)(pc + 40)
- ) );
+ CALL_CompressedTexSubImage3DARB(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ *(GLint *) (pc + 4),
+ *(GLint *) (pc + 8),
+ *(GLint *) (pc + 12),
+ *(GLint *) (pc + 16),
+ *(GLsizei *) (pc + 20),
+ *(GLsizei *) (pc + 24),
+ *(GLsizei *) (pc + 28),
+ *(GLenum *) (pc + 32),
+ imageSize,
+ (const GLvoid *) (pc + 40)
+ ));
}
-int __glXDisp_GetProgramEnvParameterdvARB(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_GetProgramEnvParameterdvARB(__GLXclientState * cl, GLbyte * pc)
{
- xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc;
+ xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_VENDPRIV_HDR_SIZE;
- if ( cx != NULL ) {
+ if (cx != NULL) {
GLdouble params[4];
- CALL_GetProgramEnvParameterdvARB( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLuint *)(pc + 4),
- params
- ) );
+
+ CALL_GetProgramEnvParameterdvARB(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ *(GLuint *) (pc + 4),
+ params));
__glXSendReply(cl->client, params, 4, 8, GL_FALSE, 0);
error = Success;
}
@@ -4104,20 +4092,20 @@ int __glXDisp_GetProgramEnvParameterdvARB(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDisp_GetProgramEnvParameterfvARB(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_GetProgramEnvParameterfvARB(__GLXclientState * cl, GLbyte * pc)
{
- xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc;
+ xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_VENDPRIV_HDR_SIZE;
- if ( cx != NULL ) {
+ if (cx != NULL) {
GLfloat params[4];
- CALL_GetProgramEnvParameterfvARB( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLuint *)(pc + 4),
- params
- ) );
+
+ CALL_GetProgramEnvParameterfvARB(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ *(GLuint *) (pc + 4),
+ params));
__glXSendReply(cl->client, params, 4, 4, GL_FALSE, 0);
error = Success;
}
@@ -4125,20 +4113,20 @@ int __glXDisp_GetProgramEnvParameterfvARB(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDisp_GetProgramLocalParameterdvARB(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_GetProgramLocalParameterdvARB(__GLXclientState * cl, GLbyte * pc)
{
- xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc;
+ xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_VENDPRIV_HDR_SIZE;
- if ( cx != NULL ) {
+ if (cx != NULL) {
GLdouble params[4];
- CALL_GetProgramLocalParameterdvARB( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLuint *)(pc + 4),
- params
- ) );
+
+ CALL_GetProgramLocalParameterdvARB(GET_DISPATCH(),
+ (*(GLenum *) (pc + 0),
+ *(GLuint *) (pc + 4), params));
__glXSendReply(cl->client, params, 4, 8, GL_FALSE, 0);
error = Success;
}
@@ -4146,20 +4134,20 @@ int __glXDisp_GetProgramLocalParameterdvARB(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDisp_GetProgramLocalParameterfvARB(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_GetProgramLocalParameterfvARB(__GLXclientState * cl, GLbyte * pc)
{
- xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc;
+ xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_VENDPRIV_HDR_SIZE;
- if ( cx != NULL ) {
+ if (cx != NULL) {
GLfloat params[4];
- CALL_GetProgramLocalParameterfvARB( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLuint *)(pc + 4),
- params
- ) );
+
+ CALL_GetProgramLocalParameterfvARB(GET_DISPATCH(),
+ (*(GLenum *) (pc + 0),
+ *(GLuint *) (pc + 4), params));
__glXSendReply(cl->client, params, 4, 4, GL_FALSE, 0);
error = Success;
}
@@ -4167,28 +4155,29 @@ int __glXDisp_GetProgramLocalParameterfvARB(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDisp_GetProgramivARB(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_GetProgramivARB(__GLXclientState * cl, GLbyte * pc)
{
- xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc;
+ xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_VENDPRIV_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum pname = *(GLenum *)(pc + 4);
+ if (cx != NULL) {
+ const GLenum pname = *(GLenum *) (pc + 4);
const GLuint compsize = __glGetProgramivARB_size(pname);
GLint answerBuffer[200];
- GLint * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4);
+ GLint *params =
+ __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer,
+ sizeof(answerBuffer), 4);
- if (params == NULL) return BadAlloc;
+ if (params == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetProgramivARB( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- pname,
- params
- ) );
+ CALL_GetProgramivARB(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ pname, params));
__glXSendReply(cl->client, params, compsize, 4, GL_FALSE, 0);
error = Success;
}
@@ -4196,28 +4185,29 @@ int __glXDisp_GetProgramivARB(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDisp_GetVertexAttribdvARB(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_GetVertexAttribdvARB(__GLXclientState * cl, GLbyte * pc)
{
- xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc;
+ xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_VENDPRIV_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum pname = *(GLenum *)(pc + 4);
+ if (cx != NULL) {
+ const GLenum pname = *(GLenum *) (pc + 4);
const GLuint compsize = __glGetVertexAttribdvARB_size(pname);
GLdouble answerBuffer[200];
- GLdouble * params = __glXGetAnswerBuffer(cl, compsize * 8, answerBuffer, sizeof(answerBuffer), 8);
+ GLdouble *params =
+ __glXGetAnswerBuffer(cl, compsize * 8, answerBuffer,
+ sizeof(answerBuffer), 8);
- if (params == NULL) return BadAlloc;
+ if (params == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetVertexAttribdvARB( GET_DISPATCH(), (
- *(GLuint *)(pc + 0),
- pname,
- params
- ) );
+ CALL_GetVertexAttribdvARB(GET_DISPATCH(), (*(GLuint *) (pc + 0),
+ pname, params));
__glXSendReply(cl->client, params, compsize, 8, GL_FALSE, 0);
error = Success;
}
@@ -4225,28 +4215,29 @@ int __glXDisp_GetVertexAttribdvARB(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDisp_GetVertexAttribfvARB(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_GetVertexAttribfvARB(__GLXclientState * cl, GLbyte * pc)
{
- xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc;
+ xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_VENDPRIV_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum pname = *(GLenum *)(pc + 4);
+ if (cx != NULL) {
+ const GLenum pname = *(GLenum *) (pc + 4);
const GLuint compsize = __glGetVertexAttribfvARB_size(pname);
GLfloat answerBuffer[200];
- GLfloat * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4);
+ GLfloat *params =
+ __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer,
+ sizeof(answerBuffer), 4);
- if (params == NULL) return BadAlloc;
+ if (params == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetVertexAttribfvARB( GET_DISPATCH(), (
- *(GLuint *)(pc + 0),
- pname,
- params
- ) );
+ CALL_GetVertexAttribfvARB(GET_DISPATCH(), (*(GLuint *) (pc + 0),
+ pname, params));
__glXSendReply(cl->client, params, compsize, 4, GL_FALSE, 0);
error = Success;
}
@@ -4254,28 +4245,29 @@ int __glXDisp_GetVertexAttribfvARB(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDisp_GetVertexAttribivARB(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_GetVertexAttribivARB(__GLXclientState * cl, GLbyte * pc)
{
- xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc;
+ xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_VENDPRIV_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum pname = *(GLenum *)(pc + 4);
+ if (cx != NULL) {
+ const GLenum pname = *(GLenum *) (pc + 4);
const GLuint compsize = __glGetVertexAttribivARB_size(pname);
GLint answerBuffer[200];
- GLint * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4);
+ GLint *params =
+ __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer,
+ sizeof(answerBuffer), 4);
- if (params == NULL) return BadAlloc;
+ if (params == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetVertexAttribivARB( GET_DISPATCH(), (
- *(GLuint *)(pc + 0),
- pname,
- params
- ) );
+ CALL_GetVertexAttribivARB(GET_DISPATCH(), (*(GLuint *) (pc + 0),
+ pname, params));
__glXSendReply(cl->client, params, compsize, 4, GL_FALSE, 0);
error = Success;
}
@@ -4283,331 +4275,330 @@ int __glXDisp_GetVertexAttribivARB(__GLXclientState *cl, GLbyte *pc)
return error;
}
-void __glXDisp_ProgramEnvParameter4dvARB(GLbyte * pc)
+void
+__glXDisp_ProgramEnvParameter4dvARB(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 40);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 40);
pc -= 4;
}
#endif
- CALL_ProgramEnvParameter4dvARB( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLuint *)(pc + 4),
- (const GLdouble *)(pc + 8)
- ) );
+ CALL_ProgramEnvParameter4dvARB(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ *(GLuint *) (pc + 4),
+ (const GLdouble *) (pc + 8)
+ ));
}
-void __glXDisp_ProgramEnvParameter4fvARB(GLbyte * pc)
+void
+__glXDisp_ProgramEnvParameter4fvARB(GLbyte * pc)
{
- CALL_ProgramEnvParameter4fvARB( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLuint *)(pc + 4),
- (const GLfloat *)(pc + 8)
- ) );
+ CALL_ProgramEnvParameter4fvARB(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ *(GLuint *) (pc + 4),
+ (const GLfloat *) (pc + 8)
+ ));
}
-void __glXDisp_ProgramLocalParameter4dvARB(GLbyte * pc)
+void
+__glXDisp_ProgramLocalParameter4dvARB(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 40);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 40);
pc -= 4;
}
#endif
- CALL_ProgramLocalParameter4dvARB( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLuint *)(pc + 4),
- (const GLdouble *)(pc + 8)
- ) );
+ CALL_ProgramLocalParameter4dvARB(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ *(GLuint *) (pc + 4),
+ (const GLdouble *) (pc +
+ 8)
+ ));
}
-void __glXDisp_ProgramLocalParameter4fvARB(GLbyte * pc)
+void
+__glXDisp_ProgramLocalParameter4fvARB(GLbyte * pc)
{
- CALL_ProgramLocalParameter4fvARB( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLuint *)(pc + 4),
- (const GLfloat *)(pc + 8)
- ) );
+ CALL_ProgramLocalParameter4fvARB(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ *(GLuint *) (pc + 4),
+ (const GLfloat *) (pc + 8)
+ ));
}
-void __glXDisp_ProgramStringARB(GLbyte * pc)
+void
+__glXDisp_ProgramStringARB(GLbyte * pc)
{
- const GLsizei len = *(GLsizei *)(pc + 8);
+ const GLsizei len = *(GLsizei *) (pc + 8);
- CALL_ProgramStringARB( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLenum *)(pc + 4),
- len,
- (const GLvoid *)(pc + 12)
- ) );
+ CALL_ProgramStringARB(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ *(GLenum *) (pc + 4),
+ len, (const GLvoid *) (pc + 12)
+ ));
}
-void __glXDisp_VertexAttrib1dvARB(GLbyte * pc)
+void
+__glXDisp_VertexAttrib1dvARB(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 12);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 12);
pc -= 4;
}
#endif
- CALL_VertexAttrib1dvARB( GET_DISPATCH(), (
- *(GLuint *)(pc + 0),
- (const GLdouble *)(pc + 4)
- ) );
+ CALL_VertexAttrib1dvARB(GET_DISPATCH(), (*(GLuint *) (pc + 0),
+ (const GLdouble *) (pc + 4)
+ ));
}
-void __glXDisp_VertexAttrib1fvARB(GLbyte * pc)
+void
+__glXDisp_VertexAttrib1fvARB(GLbyte * pc)
{
- CALL_VertexAttrib1fvARB( GET_DISPATCH(), (
- *(GLuint *)(pc + 0),
- (const GLfloat *)(pc + 4)
- ) );
+ CALL_VertexAttrib1fvARB(GET_DISPATCH(), (*(GLuint *) (pc + 0),
+ (const GLfloat *) (pc + 4)
+ ));
}
-void __glXDisp_VertexAttrib1svARB(GLbyte * pc)
+void
+__glXDisp_VertexAttrib1svARB(GLbyte * pc)
{
- CALL_VertexAttrib1svARB( GET_DISPATCH(), (
- *(GLuint *)(pc + 0),
- (const GLshort *)(pc + 4)
- ) );
+ CALL_VertexAttrib1svARB(GET_DISPATCH(), (*(GLuint *) (pc + 0),
+ (const GLshort *) (pc + 4)
+ ));
}
-void __glXDisp_VertexAttrib2dvARB(GLbyte * pc)
+void
+__glXDisp_VertexAttrib2dvARB(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 20);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 20);
pc -= 4;
}
#endif
- CALL_VertexAttrib2dvARB( GET_DISPATCH(), (
- *(GLuint *)(pc + 0),
- (const GLdouble *)(pc + 4)
- ) );
+ CALL_VertexAttrib2dvARB(GET_DISPATCH(), (*(GLuint *) (pc + 0),
+ (const GLdouble *) (pc + 4)
+ ));
}
-void __glXDisp_VertexAttrib2fvARB(GLbyte * pc)
+void
+__glXDisp_VertexAttrib2fvARB(GLbyte * pc)
{
- CALL_VertexAttrib2fvARB( GET_DISPATCH(), (
- *(GLuint *)(pc + 0),
- (const GLfloat *)(pc + 4)
- ) );
+ CALL_VertexAttrib2fvARB(GET_DISPATCH(), (*(GLuint *) (pc + 0),
+ (const GLfloat *) (pc + 4)
+ ));
}
-void __glXDisp_VertexAttrib2svARB(GLbyte * pc)
+void
+__glXDisp_VertexAttrib2svARB(GLbyte * pc)
{
- CALL_VertexAttrib2svARB( GET_DISPATCH(), (
- *(GLuint *)(pc + 0),
- (const GLshort *)(pc + 4)
- ) );
+ CALL_VertexAttrib2svARB(GET_DISPATCH(), (*(GLuint *) (pc + 0),
+ (const GLshort *) (pc + 4)
+ ));
}
-void __glXDisp_VertexAttrib3dvARB(GLbyte * pc)
+void
+__glXDisp_VertexAttrib3dvARB(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 28);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 28);
pc -= 4;
}
#endif
- CALL_VertexAttrib3dvARB( GET_DISPATCH(), (
- *(GLuint *)(pc + 0),
- (const GLdouble *)(pc + 4)
- ) );
+ CALL_VertexAttrib3dvARB(GET_DISPATCH(), (*(GLuint *) (pc + 0),
+ (const GLdouble *) (pc + 4)
+ ));
}
-void __glXDisp_VertexAttrib3fvARB(GLbyte * pc)
+void
+__glXDisp_VertexAttrib3fvARB(GLbyte * pc)
{
- CALL_VertexAttrib3fvARB( GET_DISPATCH(), (
- *(GLuint *)(pc + 0),
- (const GLfloat *)(pc + 4)
- ) );
+ CALL_VertexAttrib3fvARB(GET_DISPATCH(), (*(GLuint *) (pc + 0),
+ (const GLfloat *) (pc + 4)
+ ));
}
-void __glXDisp_VertexAttrib3svARB(GLbyte * pc)
+void
+__glXDisp_VertexAttrib3svARB(GLbyte * pc)
{
- CALL_VertexAttrib3svARB( GET_DISPATCH(), (
- *(GLuint *)(pc + 0),
- (const GLshort *)(pc + 4)
- ) );
+ CALL_VertexAttrib3svARB(GET_DISPATCH(), (*(GLuint *) (pc + 0),
+ (const GLshort *) (pc + 4)
+ ));
}
-void __glXDisp_VertexAttrib4NbvARB(GLbyte * pc)
+void
+__glXDisp_VertexAttrib4NbvARB(GLbyte * pc)
{
- CALL_VertexAttrib4NbvARB( GET_DISPATCH(), (
- *(GLuint *)(pc + 0),
- (const GLbyte *)(pc + 4)
- ) );
+ CALL_VertexAttrib4NbvARB(GET_DISPATCH(), (*(GLuint *) (pc + 0),
+ (const GLbyte *) (pc + 4)
+ ));
}
-void __glXDisp_VertexAttrib4NivARB(GLbyte * pc)
+void
+__glXDisp_VertexAttrib4NivARB(GLbyte * pc)
{
- CALL_VertexAttrib4NivARB( GET_DISPATCH(), (
- *(GLuint *)(pc + 0),
- (const GLint *)(pc + 4)
- ) );
+ CALL_VertexAttrib4NivARB(GET_DISPATCH(), (*(GLuint *) (pc + 0),
+ (const GLint *) (pc + 4)
+ ));
}
-void __glXDisp_VertexAttrib4NsvARB(GLbyte * pc)
+void
+__glXDisp_VertexAttrib4NsvARB(GLbyte * pc)
{
- CALL_VertexAttrib4NsvARB( GET_DISPATCH(), (
- *(GLuint *)(pc + 0),
- (const GLshort *)(pc + 4)
- ) );
+ CALL_VertexAttrib4NsvARB(GET_DISPATCH(), (*(GLuint *) (pc + 0),
+ (const GLshort *) (pc + 4)
+ ));
}
-void __glXDisp_VertexAttrib4NubvARB(GLbyte * pc)
+void
+__glXDisp_VertexAttrib4NubvARB(GLbyte * pc)
{
- CALL_VertexAttrib4NubvARB( GET_DISPATCH(), (
- *(GLuint *)(pc + 0),
- (const GLubyte *)(pc + 4)
- ) );
+ CALL_VertexAttrib4NubvARB(GET_DISPATCH(), (*(GLuint *) (pc + 0),
+ (const GLubyte *) (pc + 4)
+ ));
}
-void __glXDisp_VertexAttrib4NuivARB(GLbyte * pc)
+void
+__glXDisp_VertexAttrib4NuivARB(GLbyte * pc)
{
- CALL_VertexAttrib4NuivARB( GET_DISPATCH(), (
- *(GLuint *)(pc + 0),
- (const GLuint *)(pc + 4)
- ) );
+ CALL_VertexAttrib4NuivARB(GET_DISPATCH(), (*(GLuint *) (pc + 0),
+ (const GLuint *) (pc + 4)
+ ));
}
-void __glXDisp_VertexAttrib4NusvARB(GLbyte * pc)
+void
+__glXDisp_VertexAttrib4NusvARB(GLbyte * pc)
{
- CALL_VertexAttrib4NusvARB( GET_DISPATCH(), (
- *(GLuint *)(pc + 0),
- (const GLushort *)(pc + 4)
- ) );
+ CALL_VertexAttrib4NusvARB(GET_DISPATCH(), (*(GLuint *) (pc + 0),
+ (const GLushort *) (pc + 4)
+ ));
}
-void __glXDisp_VertexAttrib4bvARB(GLbyte * pc)
+void
+__glXDisp_VertexAttrib4bvARB(GLbyte * pc)
{
- CALL_VertexAttrib4bvARB( GET_DISPATCH(), (
- *(GLuint *)(pc + 0),
- (const GLbyte *)(pc + 4)
- ) );
+ CALL_VertexAttrib4bvARB(GET_DISPATCH(), (*(GLuint *) (pc + 0),
+ (const GLbyte *) (pc + 4)
+ ));
}
-void __glXDisp_VertexAttrib4dvARB(GLbyte * pc)
+void
+__glXDisp_VertexAttrib4dvARB(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 36);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 36);
pc -= 4;
}
#endif
- CALL_VertexAttrib4dvARB( GET_DISPATCH(), (
- *(GLuint *)(pc + 0),
- (const GLdouble *)(pc + 4)
- ) );
+ CALL_VertexAttrib4dvARB(GET_DISPATCH(), (*(GLuint *) (pc + 0),
+ (const GLdouble *) (pc + 4)
+ ));
}
-void __glXDisp_VertexAttrib4fvARB(GLbyte * pc)
+void
+__glXDisp_VertexAttrib4fvARB(GLbyte * pc)
{
- CALL_VertexAttrib4fvARB( GET_DISPATCH(), (
- *(GLuint *)(pc + 0),
- (const GLfloat *)(pc + 4)
- ) );
+ CALL_VertexAttrib4fvARB(GET_DISPATCH(), (*(GLuint *) (pc + 0),
+ (const GLfloat *) (pc + 4)
+ ));
}
-void __glXDisp_VertexAttrib4ivARB(GLbyte * pc)
+void
+__glXDisp_VertexAttrib4ivARB(GLbyte * pc)
{
- CALL_VertexAttrib4ivARB( GET_DISPATCH(), (
- *(GLuint *)(pc + 0),
- (const GLint *)(pc + 4)
- ) );
+ CALL_VertexAttrib4ivARB(GET_DISPATCH(), (*(GLuint *) (pc + 0),
+ (const GLint *) (pc + 4)
+ ));
}
-void __glXDisp_VertexAttrib4svARB(GLbyte * pc)
+void
+__glXDisp_VertexAttrib4svARB(GLbyte * pc)
{
- CALL_VertexAttrib4svARB( GET_DISPATCH(), (
- *(GLuint *)(pc + 0),
- (const GLshort *)(pc + 4)
- ) );
+ CALL_VertexAttrib4svARB(GET_DISPATCH(), (*(GLuint *) (pc + 0),
+ (const GLshort *) (pc + 4)
+ ));
}
-void __glXDisp_VertexAttrib4ubvARB(GLbyte * pc)
+void
+__glXDisp_VertexAttrib4ubvARB(GLbyte * pc)
{
- CALL_VertexAttrib4ubvARB( GET_DISPATCH(), (
- *(GLuint *)(pc + 0),
- (const GLubyte *)(pc + 4)
- ) );
+ CALL_VertexAttrib4ubvARB(GET_DISPATCH(), (*(GLuint *) (pc + 0),
+ (const GLubyte *) (pc + 4)
+ ));
}
-void __glXDisp_VertexAttrib4uivARB(GLbyte * pc)
+void
+__glXDisp_VertexAttrib4uivARB(GLbyte * pc)
{
- CALL_VertexAttrib4uivARB( GET_DISPATCH(), (
- *(GLuint *)(pc + 0),
- (const GLuint *)(pc + 4)
- ) );
+ CALL_VertexAttrib4uivARB(GET_DISPATCH(), (*(GLuint *) (pc + 0),
+ (const GLuint *) (pc + 4)
+ ));
}
-void __glXDisp_VertexAttrib4usvARB(GLbyte * pc)
+void
+__glXDisp_VertexAttrib4usvARB(GLbyte * pc)
{
- CALL_VertexAttrib4usvARB( GET_DISPATCH(), (
- *(GLuint *)(pc + 0),
- (const GLushort *)(pc + 4)
- ) );
+ CALL_VertexAttrib4usvARB(GET_DISPATCH(), (*(GLuint *) (pc + 0),
+ (const GLushort *) (pc + 4)
+ ));
}
-void __glXDisp_BeginQueryARB(GLbyte * pc)
+void
+__glXDisp_BeginQueryARB(GLbyte * pc)
{
- CALL_BeginQueryARB( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLuint *)(pc + 4)
- ) );
+ CALL_BeginQueryARB(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ *(GLuint *) (pc + 4)
+ ));
}
-int __glXDisp_DeleteQueriesARB(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_DeleteQueriesARB(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- const GLsizei n = *(GLsizei *)(pc + 0);
+ if (cx != NULL) {
+ const GLsizei n = *(GLsizei *) (pc + 0);
- CALL_DeleteQueriesARB( GET_DISPATCH(), (
- n,
- (const GLuint *)(pc + 4)
- ) );
+ CALL_DeleteQueriesARB(GET_DISPATCH(), (n, (const GLuint *) (pc + 4)
+ ));
error = Success;
}
return error;
}
-void __glXDisp_EndQueryARB(GLbyte * pc)
+void
+__glXDisp_EndQueryARB(GLbyte * pc)
{
- CALL_EndQueryARB( GET_DISPATCH(), (
- *(GLenum *)(pc + 0)
- ) );
+ CALL_EndQueryARB(GET_DISPATCH(), (*(GLenum *) (pc + 0)
+ ));
}
-int __glXDisp_GenQueriesARB(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_GenQueriesARB(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- const GLsizei n = *(GLsizei *)(pc + 0);
+ if (cx != NULL) {
+ const GLsizei n = *(GLsizei *) (pc + 0);
GLuint answerBuffer[200];
- GLuint * ids = __glXGetAnswerBuffer(cl, n * 4, answerBuffer, sizeof(answerBuffer), 4);
- CALL_GenQueriesARB( GET_DISPATCH(), (
- n,
- ids
- ) );
+ GLuint *ids =
+ __glXGetAnswerBuffer(cl, n * 4, answerBuffer, sizeof(answerBuffer),
+ 4);
+ CALL_GenQueriesARB(GET_DISPATCH(), (n, ids));
__glXSendReply(cl->client, ids, n, 4, GL_TRUE, 0);
error = Success;
}
@@ -4615,28 +4606,29 @@ int __glXDisp_GenQueriesARB(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDisp_GetQueryObjectivARB(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_GetQueryObjectivARB(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum pname = *(GLenum *)(pc + 4);
+ if (cx != NULL) {
+ const GLenum pname = *(GLenum *) (pc + 4);
const GLuint compsize = __glGetQueryObjectivARB_size(pname);
GLint answerBuffer[200];
- GLint * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4);
+ GLint *params =
+ __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer,
+ sizeof(answerBuffer), 4);
- if (params == NULL) return BadAlloc;
+ if (params == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetQueryObjectivARB( GET_DISPATCH(), (
- *(GLuint *)(pc + 0),
- pname,
- params
- ) );
+ CALL_GetQueryObjectivARB(GET_DISPATCH(), (*(GLuint *) (pc + 0),
+ pname, params));
__glXSendReply(cl->client, params, compsize, 4, GL_FALSE, 0);
error = Success;
}
@@ -4644,28 +4636,29 @@ int __glXDisp_GetQueryObjectivARB(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDisp_GetQueryObjectuivARB(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_GetQueryObjectuivARB(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum pname = *(GLenum *)(pc + 4);
+ if (cx != NULL) {
+ const GLenum pname = *(GLenum *) (pc + 4);
const GLuint compsize = __glGetQueryObjectuivARB_size(pname);
GLuint answerBuffer[200];
- GLuint * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4);
+ GLuint *params =
+ __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer,
+ sizeof(answerBuffer), 4);
- if (params == NULL) return BadAlloc;
+ if (params == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetQueryObjectuivARB( GET_DISPATCH(), (
- *(GLuint *)(pc + 0),
- pname,
- params
- ) );
+ CALL_GetQueryObjectuivARB(GET_DISPATCH(), (*(GLuint *) (pc + 0),
+ pname, params));
__glXSendReply(cl->client, params, compsize, 4, GL_FALSE, 0);
error = Success;
}
@@ -4673,28 +4666,29 @@ int __glXDisp_GetQueryObjectuivARB(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDisp_GetQueryivARB(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_GetQueryivARB(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum pname = *(GLenum *)(pc + 4);
+ if (cx != NULL) {
+ const GLenum pname = *(GLenum *) (pc + 4);
const GLuint compsize = __glGetQueryivARB_size(pname);
GLint answerBuffer[200];
- GLint * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4);
+ GLint *params =
+ __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer,
+ sizeof(answerBuffer), 4);
- if (params == NULL) return BadAlloc;
+ if (params == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetQueryivARB( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- pname,
- params
- ) );
+ CALL_GetQueryivARB(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ pname, params));
__glXSendReply(cl->client, params, compsize, 4, GL_FALSE, 0);
error = Success;
}
@@ -4702,18 +4696,19 @@ int __glXDisp_GetQueryivARB(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDisp_IsQueryARB(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_IsQueryARB(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
+ if (cx != NULL) {
GLboolean retval;
- retval = CALL_IsQueryARB( GET_DISPATCH(), (
- *(GLuint *)(pc + 0)
- ) );
+
+ retval = CALL_IsQueryARB(GET_DISPATCH(), (*(GLuint *) (pc + 0)
+ ));
__glXSendReply(cl->client, dummy_answer, 0, 0, GL_FALSE, retval);
error = Success;
}
@@ -4721,190 +4716,188 @@ int __glXDisp_IsQueryARB(__GLXclientState *cl, GLbyte *pc)
return error;
}
-void __glXDisp_DrawBuffersARB(GLbyte * pc)
+void
+__glXDisp_DrawBuffersARB(GLbyte * pc)
{
- const GLsizei n = *(GLsizei *)(pc + 0);
+ const GLsizei n = *(GLsizei *) (pc + 0);
- CALL_DrawBuffersARB( GET_DISPATCH(), (
- n,
- (const GLenum *)(pc + 4)
- ) );
+ CALL_DrawBuffersARB(GET_DISPATCH(), (n, (const GLenum *) (pc + 4)
+ ));
}
-void __glXDisp_ClampColorARB(GLbyte * pc)
+void
+__glXDisp_ClampColorARB(GLbyte * pc)
{
- CALL_ClampColorARB( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLenum *)(pc + 4)
- ) );
+ CALL_ClampColorARB(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ *(GLenum *) (pc + 4)
+ ));
}
-void __glXDisp_RenderbufferStorageMultisample(GLbyte * pc)
+void
+__glXDisp_RenderbufferStorageMultisample(GLbyte * pc)
{
- CALL_RenderbufferStorageMultisample( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLsizei *)(pc + 4),
- *(GLenum *)(pc + 8),
- *(GLsizei *)(pc + 12),
- *(GLsizei *)(pc + 16)
- ) );
+ CALL_RenderbufferStorageMultisample(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ *(GLsizei *) (pc + 4),
+ *(GLenum *) (pc + 8),
+ *(GLsizei *) (pc + 12),
+ *(GLsizei *) (pc + 16)
+ ));
}
-void __glXDisp_SampleMaskSGIS(GLbyte * pc)
+void
+__glXDisp_SampleMaskSGIS(GLbyte * pc)
{
- CALL_SampleMaskSGIS( GET_DISPATCH(), (
- *(GLclampf *)(pc + 0),
- *(GLboolean *)(pc + 4)
- ) );
+ CALL_SampleMaskSGIS(GET_DISPATCH(), (*(GLclampf *) (pc + 0),
+ *(GLboolean *) (pc + 4)
+ ));
}
-void __glXDisp_SamplePatternSGIS(GLbyte * pc)
+void
+__glXDisp_SamplePatternSGIS(GLbyte * pc)
{
- CALL_SamplePatternSGIS( GET_DISPATCH(), (
- *(GLenum *)(pc + 0)
- ) );
+ CALL_SamplePatternSGIS(GET_DISPATCH(), (*(GLenum *) (pc + 0)
+ ));
}
-void __glXDisp_PointParameterfEXT(GLbyte * pc)
+void
+__glXDisp_PointParameterfEXT(GLbyte * pc)
{
- CALL_PointParameterfEXT( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLfloat *)(pc + 4)
- ) );
+ CALL_PointParameterfEXT(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ *(GLfloat *) (pc + 4)
+ ));
}
-void __glXDisp_PointParameterfvEXT(GLbyte * pc)
+void
+__glXDisp_PointParameterfvEXT(GLbyte * pc)
{
- const GLenum pname = *(GLenum *)(pc + 0);
- const GLfloat * params;
+ const GLenum pname = *(GLenum *) (pc + 0);
+ const GLfloat *params;
params = (const GLfloat *) (pc + 4);
- CALL_PointParameterfvEXT( GET_DISPATCH(), (
- pname,
- params
- ) );
+ CALL_PointParameterfvEXT(GET_DISPATCH(), (pname, params));
}
-void __glXDisp_SecondaryColor3bvEXT(GLbyte * pc)
+void
+__glXDisp_SecondaryColor3bvEXT(GLbyte * pc)
{
- CALL_SecondaryColor3bvEXT( GET_DISPATCH(), (
- (const GLbyte *)(pc + 0)
- ) );
+ CALL_SecondaryColor3bvEXT(GET_DISPATCH(), ((const GLbyte *) (pc + 0)
+ ));
}
-void __glXDisp_SecondaryColor3dvEXT(GLbyte * pc)
+void
+__glXDisp_SecondaryColor3dvEXT(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 24);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 24);
pc -= 4;
}
#endif
- CALL_SecondaryColor3dvEXT( GET_DISPATCH(), (
- (const GLdouble *)(pc + 0)
- ) );
+ CALL_SecondaryColor3dvEXT(GET_DISPATCH(), ((const GLdouble *) (pc + 0)
+ ));
}
-void __glXDisp_SecondaryColor3fvEXT(GLbyte * pc)
+void
+__glXDisp_SecondaryColor3fvEXT(GLbyte * pc)
{
- CALL_SecondaryColor3fvEXT( GET_DISPATCH(), (
- (const GLfloat *)(pc + 0)
- ) );
+ CALL_SecondaryColor3fvEXT(GET_DISPATCH(), ((const GLfloat *) (pc + 0)
+ ));
}
-void __glXDisp_SecondaryColor3ivEXT(GLbyte * pc)
+void
+__glXDisp_SecondaryColor3ivEXT(GLbyte * pc)
{
- CALL_SecondaryColor3ivEXT( GET_DISPATCH(), (
- (const GLint *)(pc + 0)
- ) );
+ CALL_SecondaryColor3ivEXT(GET_DISPATCH(), ((const GLint *) (pc + 0)
+ ));
}
-void __glXDisp_SecondaryColor3svEXT(GLbyte * pc)
+void
+__glXDisp_SecondaryColor3svEXT(GLbyte * pc)
{
- CALL_SecondaryColor3svEXT( GET_DISPATCH(), (
- (const GLshort *)(pc + 0)
- ) );
+ CALL_SecondaryColor3svEXT(GET_DISPATCH(), ((const GLshort *) (pc + 0)
+ ));
}
-void __glXDisp_SecondaryColor3ubvEXT(GLbyte * pc)
+void
+__glXDisp_SecondaryColor3ubvEXT(GLbyte * pc)
{
- CALL_SecondaryColor3ubvEXT( GET_DISPATCH(), (
- (const GLubyte *)(pc + 0)
- ) );
+ CALL_SecondaryColor3ubvEXT(GET_DISPATCH(), ((const GLubyte *) (pc + 0)
+ ));
}
-void __glXDisp_SecondaryColor3uivEXT(GLbyte * pc)
+void
+__glXDisp_SecondaryColor3uivEXT(GLbyte * pc)
{
- CALL_SecondaryColor3uivEXT( GET_DISPATCH(), (
- (const GLuint *)(pc + 0)
- ) );
+ CALL_SecondaryColor3uivEXT(GET_DISPATCH(), ((const GLuint *) (pc + 0)
+ ));
}
-void __glXDisp_SecondaryColor3usvEXT(GLbyte * pc)
+void
+__glXDisp_SecondaryColor3usvEXT(GLbyte * pc)
{
- CALL_SecondaryColor3usvEXT( GET_DISPATCH(), (
- (const GLushort *)(pc + 0)
- ) );
+ CALL_SecondaryColor3usvEXT(GET_DISPATCH(), ((const GLushort *) (pc + 0)
+ ));
}
-void __glXDisp_FogCoorddvEXT(GLbyte * pc)
+void
+__glXDisp_FogCoorddvEXT(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 8);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 8);
pc -= 4;
}
#endif
- CALL_FogCoorddvEXT( GET_DISPATCH(), (
- (const GLdouble *)(pc + 0)
- ) );
+ CALL_FogCoorddvEXT(GET_DISPATCH(), ((const GLdouble *) (pc + 0)
+ ));
}
-void __glXDisp_FogCoordfvEXT(GLbyte * pc)
+void
+__glXDisp_FogCoordfvEXT(GLbyte * pc)
{
- CALL_FogCoordfvEXT( GET_DISPATCH(), (
- (const GLfloat *)(pc + 0)
- ) );
+ CALL_FogCoordfvEXT(GET_DISPATCH(), ((const GLfloat *) (pc + 0)
+ ));
}
-void __glXDisp_BlendFuncSeparateEXT(GLbyte * pc)
+void
+__glXDisp_BlendFuncSeparateEXT(GLbyte * pc)
{
- CALL_BlendFuncSeparateEXT( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLenum *)(pc + 4),
- *(GLenum *)(pc + 8),
- *(GLenum *)(pc + 12)
- ) );
+ CALL_BlendFuncSeparateEXT(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ *(GLenum *) (pc + 4),
+ *(GLenum *) (pc + 8),
+ *(GLenum *) (pc + 12)
+ ));
}
-void __glXDisp_WindowPos3fvMESA(GLbyte * pc)
+void
+__glXDisp_WindowPos3fvMESA(GLbyte * pc)
{
- CALL_WindowPos3fvMESA( GET_DISPATCH(), (
- (const GLfloat *)(pc + 0)
- ) );
+ CALL_WindowPos3fvMESA(GET_DISPATCH(), ((const GLfloat *) (pc + 0)
+ ));
}
-int __glXDisp_AreProgramsResidentNV(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_AreProgramsResidentNV(__GLXclientState * cl, GLbyte * pc)
{
- xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc;
+ xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_VENDPRIV_HDR_SIZE;
- if ( cx != NULL ) {
- const GLsizei n = *(GLsizei *)(pc + 0);
+ if (cx != NULL) {
+ const GLsizei n = *(GLsizei *) (pc + 0);
GLboolean retval;
GLboolean answerBuffer[200];
- GLboolean * residences = __glXGetAnswerBuffer(cl, n, answerBuffer, sizeof(answerBuffer), 1);
- retval = CALL_AreProgramsResidentNV( GET_DISPATCH(), (
- n,
- (const GLuint *)(pc + 4),
- residences
- ) );
+ GLboolean *residences =
+ __glXGetAnswerBuffer(cl, n, answerBuffer, sizeof(answerBuffer), 1);
+ retval =
+ CALL_AreProgramsResidentNV(GET_DISPATCH(),
+ (n, (const GLuint *) (pc + 4),
+ residences));
__glXSendReply(cl->client, residences, n, 1, GL_FALSE, retval);
error = Success;
}
@@ -4912,59 +4905,58 @@ int __glXDisp_AreProgramsResidentNV(__GLXclientState *cl, GLbyte *pc)
return error;
}
-void __glXDisp_BindProgramNV(GLbyte * pc)
+void
+__glXDisp_BindProgramNV(GLbyte * pc)
{
- CALL_BindProgramNV( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLuint *)(pc + 4)
- ) );
+ CALL_BindProgramNV(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ *(GLuint *) (pc + 4)
+ ));
}
-int __glXDisp_DeleteProgramsNV(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_DeleteProgramsNV(__GLXclientState * cl, GLbyte * pc)
{
- xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc;
+ xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_VENDPRIV_HDR_SIZE;
- if ( cx != NULL ) {
- const GLsizei n = *(GLsizei *)(pc + 0);
+ if (cx != NULL) {
+ const GLsizei n = *(GLsizei *) (pc + 0);
- CALL_DeleteProgramsNV( GET_DISPATCH(), (
- n,
- (const GLuint *)(pc + 4)
- ) );
+ CALL_DeleteProgramsNV(GET_DISPATCH(), (n, (const GLuint *) (pc + 4)
+ ));
error = Success;
}
return error;
}
-void __glXDisp_ExecuteProgramNV(GLbyte * pc)
+void
+__glXDisp_ExecuteProgramNV(GLbyte * pc)
{
- CALL_ExecuteProgramNV( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLuint *)(pc + 4),
- (const GLfloat *)(pc + 8)
- ) );
+ CALL_ExecuteProgramNV(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ *(GLuint *) (pc + 4),
+ (const GLfloat *) (pc + 8)
+ ));
}
-int __glXDisp_GenProgramsNV(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_GenProgramsNV(__GLXclientState * cl, GLbyte * pc)
{
- xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc;
+ xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_VENDPRIV_HDR_SIZE;
- if ( cx != NULL ) {
- const GLsizei n = *(GLsizei *)(pc + 0);
+ if (cx != NULL) {
+ const GLsizei n = *(GLsizei *) (pc + 0);
GLuint answerBuffer[200];
- GLuint * programs = __glXGetAnswerBuffer(cl, n * 4, answerBuffer, sizeof(answerBuffer), 4);
- CALL_GenProgramsNV( GET_DISPATCH(), (
- n,
- programs
- ) );
+ GLuint *programs =
+ __glXGetAnswerBuffer(cl, n * 4, answerBuffer, sizeof(answerBuffer),
+ 4);
+ CALL_GenProgramsNV(GET_DISPATCH(), (n, programs));
__glXSendReply(cl->client, programs, n, 4, GL_TRUE, 0);
error = Success;
}
@@ -4972,21 +4964,21 @@ int __glXDisp_GenProgramsNV(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDisp_GetProgramParameterdvNV(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_GetProgramParameterdvNV(__GLXclientState * cl, GLbyte * pc)
{
- xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc;
+ xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_VENDPRIV_HDR_SIZE;
- if ( cx != NULL ) {
+ if (cx != NULL) {
GLdouble params[4];
- CALL_GetProgramParameterdvNV( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLuint *)(pc + 4),
- *(GLenum *)(pc + 8),
- params
- ) );
+
+ CALL_GetProgramParameterdvNV(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ *(GLuint *) (pc + 4),
+ *(GLenum *) (pc + 8),
+ params));
__glXSendReply(cl->client, params, 4, 8, GL_FALSE, 0);
error = Success;
}
@@ -4994,21 +4986,21 @@ int __glXDisp_GetProgramParameterdvNV(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDisp_GetProgramParameterfvNV(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_GetProgramParameterfvNV(__GLXclientState * cl, GLbyte * pc)
{
- xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc;
+ xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_VENDPRIV_HDR_SIZE;
- if ( cx != NULL ) {
+ if (cx != NULL) {
GLfloat params[4];
- CALL_GetProgramParameterfvNV( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLuint *)(pc + 4),
- *(GLenum *)(pc + 8),
- params
- ) );
+
+ CALL_GetProgramParameterfvNV(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ *(GLuint *) (pc + 4),
+ *(GLenum *) (pc + 8),
+ params));
__glXSendReply(cl->client, params, 4, 4, GL_FALSE, 0);
error = Success;
}
@@ -5016,28 +5008,29 @@ int __glXDisp_GetProgramParameterfvNV(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDisp_GetProgramivNV(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_GetProgramivNV(__GLXclientState * cl, GLbyte * pc)
{
- xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc;
+ xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_VENDPRIV_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum pname = *(GLenum *)(pc + 4);
+ if (cx != NULL) {
+ const GLenum pname = *(GLenum *) (pc + 4);
const GLuint compsize = __glGetProgramivNV_size(pname);
GLint answerBuffer[200];
- GLint * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4);
+ GLint *params =
+ __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer,
+ sizeof(answerBuffer), 4);
- if (params == NULL) return BadAlloc;
+ if (params == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetProgramivNV( GET_DISPATCH(), (
- *(GLuint *)(pc + 0),
- pname,
- params
- ) );
+ CALL_GetProgramivNV(GET_DISPATCH(), (*(GLuint *) (pc + 0),
+ pname, params));
__glXSendReply(cl->client, params, compsize, 4, GL_FALSE, 0);
error = Success;
}
@@ -5045,21 +5038,20 @@ int __glXDisp_GetProgramivNV(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDisp_GetTrackMatrixivNV(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_GetTrackMatrixivNV(__GLXclientState * cl, GLbyte * pc)
{
- xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc;
+ xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_VENDPRIV_HDR_SIZE;
- if ( cx != NULL ) {
+ if (cx != NULL) {
GLint params[1];
- CALL_GetTrackMatrixivNV( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLuint *)(pc + 4),
- *(GLenum *)(pc + 8),
- params
- ) );
+
+ CALL_GetTrackMatrixivNV(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ *(GLuint *) (pc + 4),
+ *(GLenum *) (pc + 8), params));
__glXSendReply(cl->client, params, 1, 4, GL_FALSE, 0);
error = Success;
}
@@ -5067,28 +5059,29 @@ int __glXDisp_GetTrackMatrixivNV(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDisp_GetVertexAttribdvNV(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_GetVertexAttribdvNV(__GLXclientState * cl, GLbyte * pc)
{
- xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc;
+ xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_VENDPRIV_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum pname = *(GLenum *)(pc + 4);
+ if (cx != NULL) {
+ const GLenum pname = *(GLenum *) (pc + 4);
const GLuint compsize = __glGetVertexAttribdvNV_size(pname);
GLdouble answerBuffer[200];
- GLdouble * params = __glXGetAnswerBuffer(cl, compsize * 8, answerBuffer, sizeof(answerBuffer), 8);
+ GLdouble *params =
+ __glXGetAnswerBuffer(cl, compsize * 8, answerBuffer,
+ sizeof(answerBuffer), 8);
- if (params == NULL) return BadAlloc;
+ if (params == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetVertexAttribdvNV( GET_DISPATCH(), (
- *(GLuint *)(pc + 0),
- pname,
- params
- ) );
+ CALL_GetVertexAttribdvNV(GET_DISPATCH(), (*(GLuint *) (pc + 0),
+ pname, params));
__glXSendReply(cl->client, params, compsize, 8, GL_FALSE, 0);
error = Success;
}
@@ -5096,28 +5089,29 @@ int __glXDisp_GetVertexAttribdvNV(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDisp_GetVertexAttribfvNV(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_GetVertexAttribfvNV(__GLXclientState * cl, GLbyte * pc)
{
- xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc;
+ xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_VENDPRIV_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum pname = *(GLenum *)(pc + 4);
+ if (cx != NULL) {
+ const GLenum pname = *(GLenum *) (pc + 4);
const GLuint compsize = __glGetVertexAttribfvNV_size(pname);
GLfloat answerBuffer[200];
- GLfloat * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4);
+ GLfloat *params =
+ __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer,
+ sizeof(answerBuffer), 4);
- if (params == NULL) return BadAlloc;
+ if (params == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetVertexAttribfvNV( GET_DISPATCH(), (
- *(GLuint *)(pc + 0),
- pname,
- params
- ) );
+ CALL_GetVertexAttribfvNV(GET_DISPATCH(), (*(GLuint *) (pc + 0),
+ pname, params));
__glXSendReply(cl->client, params, compsize, 4, GL_FALSE, 0);
error = Success;
}
@@ -5125,28 +5119,29 @@ int __glXDisp_GetVertexAttribfvNV(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDisp_GetVertexAttribivNV(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_GetVertexAttribivNV(__GLXclientState * cl, GLbyte * pc)
{
- xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc;
+ xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_VENDPRIV_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum pname = *(GLenum *)(pc + 4);
+ if (cx != NULL) {
+ const GLenum pname = *(GLenum *) (pc + 4);
const GLuint compsize = __glGetVertexAttribivNV_size(pname);
GLint answerBuffer[200];
- GLint * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4);
+ GLint *params =
+ __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer,
+ sizeof(answerBuffer), 4);
- if (params == NULL) return BadAlloc;
+ if (params == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetVertexAttribivNV( GET_DISPATCH(), (
- *(GLuint *)(pc + 0),
- pname,
- params
- ) );
+ CALL_GetVertexAttribivNV(GET_DISPATCH(), (*(GLuint *) (pc + 0),
+ pname, params));
__glXSendReply(cl->client, params, compsize, 4, GL_FALSE, 0);
error = Success;
}
@@ -5154,18 +5149,19 @@ int __glXDisp_GetVertexAttribivNV(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDisp_IsProgramNV(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_IsProgramNV(__GLXclientState * cl, GLbyte * pc)
{
- xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc;
+ xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_VENDPRIV_HDR_SIZE;
- if ( cx != NULL ) {
+ if (cx != NULL) {
GLboolean retval;
- retval = CALL_IsProgramNV( GET_DISPATCH(), (
- *(GLuint *)(pc + 0)
- ) );
+
+ retval = CALL_IsProgramNV(GET_DISPATCH(), (*(GLuint *) (pc + 0)
+ ));
__glXSendReply(cl->client, dummy_answer, 0, 0, GL_FALSE, retval);
error = Success;
}
@@ -5173,422 +5169,412 @@ int __glXDisp_IsProgramNV(__GLXclientState *cl, GLbyte *pc)
return error;
}
-void __glXDisp_LoadProgramNV(GLbyte * pc)
+void
+__glXDisp_LoadProgramNV(GLbyte * pc)
{
- const GLsizei len = *(GLsizei *)(pc + 8);
+ const GLsizei len = *(GLsizei *) (pc + 8);
- CALL_LoadProgramNV( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLuint *)(pc + 4),
- len,
- (const GLubyte *)(pc + 12)
- ) );
+ CALL_LoadProgramNV(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ *(GLuint *) (pc + 4),
+ len, (const GLubyte *) (pc + 12)
+ ));
}
-void __glXDisp_ProgramParameters4dvNV(GLbyte * pc)
+void
+__glXDisp_ProgramParameters4dvNV(GLbyte * pc)
{
- const GLsizei num = *(GLsizei *)(pc + 8);
+ const GLsizei num = *(GLsizei *) (pc + 8);
#ifdef __GLX_ALIGN64
const GLuint cmdlen = 16 + __GLX_PAD((num * 32)) - 4;
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, cmdlen);
+
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, cmdlen);
pc -= 4;
}
#endif
- CALL_ProgramParameters4dvNV( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLuint *)(pc + 4),
- num,
- (const GLdouble *)(pc + 12)
- ) );
+ CALL_ProgramParameters4dvNV(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ *(GLuint *) (pc + 4),
+ num,
+ (const GLdouble *) (pc + 12)
+ ));
}
-void __glXDisp_ProgramParameters4fvNV(GLbyte * pc)
+void
+__glXDisp_ProgramParameters4fvNV(GLbyte * pc)
{
- const GLsizei num = *(GLsizei *)(pc + 8);
+ const GLsizei num = *(GLsizei *) (pc + 8);
- CALL_ProgramParameters4fvNV( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLuint *)(pc + 4),
- num,
- (const GLfloat *)(pc + 12)
- ) );
+ CALL_ProgramParameters4fvNV(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ *(GLuint *) (pc + 4),
+ num,
+ (const GLfloat *) (pc + 12)
+ ));
}
-void __glXDisp_RequestResidentProgramsNV(GLbyte * pc)
+void
+__glXDisp_RequestResidentProgramsNV(GLbyte * pc)
{
- const GLsizei n = *(GLsizei *)(pc + 0);
+ const GLsizei n = *(GLsizei *) (pc + 0);
- CALL_RequestResidentProgramsNV( GET_DISPATCH(), (
- n,
- (const GLuint *)(pc + 4)
- ) );
+ CALL_RequestResidentProgramsNV(GET_DISPATCH(), (n, (const GLuint *) (pc + 4)
+ ));
}
-void __glXDisp_TrackMatrixNV(GLbyte * pc)
+void
+__glXDisp_TrackMatrixNV(GLbyte * pc)
{
- CALL_TrackMatrixNV( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLuint *)(pc + 4),
- *(GLenum *)(pc + 8),
- *(GLenum *)(pc + 12)
- ) );
+ CALL_TrackMatrixNV(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ *(GLuint *) (pc + 4),
+ *(GLenum *) (pc + 8),
+ *(GLenum *) (pc + 12)
+ ));
}
-void __glXDisp_VertexAttrib1dvNV(GLbyte * pc)
+void
+__glXDisp_VertexAttrib1dvNV(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 12);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 12);
pc -= 4;
}
#endif
- CALL_VertexAttrib1dvNV( GET_DISPATCH(), (
- *(GLuint *)(pc + 0),
- (const GLdouble *)(pc + 4)
- ) );
+ CALL_VertexAttrib1dvNV(GET_DISPATCH(), (*(GLuint *) (pc + 0),
+ (const GLdouble *) (pc + 4)
+ ));
}
-void __glXDisp_VertexAttrib1fvNV(GLbyte * pc)
+void
+__glXDisp_VertexAttrib1fvNV(GLbyte * pc)
{
- CALL_VertexAttrib1fvNV( GET_DISPATCH(), (
- *(GLuint *)(pc + 0),
- (const GLfloat *)(pc + 4)
- ) );
+ CALL_VertexAttrib1fvNV(GET_DISPATCH(), (*(GLuint *) (pc + 0),
+ (const GLfloat *) (pc + 4)
+ ));
}
-void __glXDisp_VertexAttrib1svNV(GLbyte * pc)
+void
+__glXDisp_VertexAttrib1svNV(GLbyte * pc)
{
- CALL_VertexAttrib1svNV( GET_DISPATCH(), (
- *(GLuint *)(pc + 0),
- (const GLshort *)(pc + 4)
- ) );
+ CALL_VertexAttrib1svNV(GET_DISPATCH(), (*(GLuint *) (pc + 0),
+ (const GLshort *) (pc + 4)
+ ));
}
-void __glXDisp_VertexAttrib2dvNV(GLbyte * pc)
+void
+__glXDisp_VertexAttrib2dvNV(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 20);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 20);
pc -= 4;
}
#endif
- CALL_VertexAttrib2dvNV( GET_DISPATCH(), (
- *(GLuint *)(pc + 0),
- (const GLdouble *)(pc + 4)
- ) );
+ CALL_VertexAttrib2dvNV(GET_DISPATCH(), (*(GLuint *) (pc + 0),
+ (const GLdouble *) (pc + 4)
+ ));
}
-void __glXDisp_VertexAttrib2fvNV(GLbyte * pc)
+void
+__glXDisp_VertexAttrib2fvNV(GLbyte * pc)
{
- CALL_VertexAttrib2fvNV( GET_DISPATCH(), (
- *(GLuint *)(pc + 0),
- (const GLfloat *)(pc + 4)
- ) );
+ CALL_VertexAttrib2fvNV(GET_DISPATCH(), (*(GLuint *) (pc + 0),
+ (const GLfloat *) (pc + 4)
+ ));
}
-void __glXDisp_VertexAttrib2svNV(GLbyte * pc)
+void
+__glXDisp_VertexAttrib2svNV(GLbyte * pc)
{
- CALL_VertexAttrib2svNV( GET_DISPATCH(), (
- *(GLuint *)(pc + 0),
- (const GLshort *)(pc + 4)
- ) );
+ CALL_VertexAttrib2svNV(GET_DISPATCH(), (*(GLuint *) (pc + 0),
+ (const GLshort *) (pc + 4)
+ ));
}
-void __glXDisp_VertexAttrib3dvNV(GLbyte * pc)
+void
+__glXDisp_VertexAttrib3dvNV(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 28);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 28);
pc -= 4;
}
#endif
- CALL_VertexAttrib3dvNV( GET_DISPATCH(), (
- *(GLuint *)(pc + 0),
- (const GLdouble *)(pc + 4)
- ) );
+ CALL_VertexAttrib3dvNV(GET_DISPATCH(), (*(GLuint *) (pc + 0),
+ (const GLdouble *) (pc + 4)
+ ));
}
-void __glXDisp_VertexAttrib3fvNV(GLbyte * pc)
+void
+__glXDisp_VertexAttrib3fvNV(GLbyte * pc)
{
- CALL_VertexAttrib3fvNV( GET_DISPATCH(), (
- *(GLuint *)(pc + 0),
- (const GLfloat *)(pc + 4)
- ) );
+ CALL_VertexAttrib3fvNV(GET_DISPATCH(), (*(GLuint *) (pc + 0),
+ (const GLfloat *) (pc + 4)
+ ));
}
-void __glXDisp_VertexAttrib3svNV(GLbyte * pc)
+void
+__glXDisp_VertexAttrib3svNV(GLbyte * pc)
{
- CALL_VertexAttrib3svNV( GET_DISPATCH(), (
- *(GLuint *)(pc + 0),
- (const GLshort *)(pc + 4)
- ) );
+ CALL_VertexAttrib3svNV(GET_DISPATCH(), (*(GLuint *) (pc + 0),
+ (const GLshort *) (pc + 4)
+ ));
}
-void __glXDisp_VertexAttrib4dvNV(GLbyte * pc)
+void
+__glXDisp_VertexAttrib4dvNV(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 36);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 36);
pc -= 4;
}
#endif
- CALL_VertexAttrib4dvNV( GET_DISPATCH(), (
- *(GLuint *)(pc + 0),
- (const GLdouble *)(pc + 4)
- ) );
+ CALL_VertexAttrib4dvNV(GET_DISPATCH(), (*(GLuint *) (pc + 0),
+ (const GLdouble *) (pc + 4)
+ ));
}
-void __glXDisp_VertexAttrib4fvNV(GLbyte * pc)
+void
+__glXDisp_VertexAttrib4fvNV(GLbyte * pc)
{
- CALL_VertexAttrib4fvNV( GET_DISPATCH(), (
- *(GLuint *)(pc + 0),
- (const GLfloat *)(pc + 4)
- ) );
+ CALL_VertexAttrib4fvNV(GET_DISPATCH(), (*(GLuint *) (pc + 0),
+ (const GLfloat *) (pc + 4)
+ ));
}
-void __glXDisp_VertexAttrib4svNV(GLbyte * pc)
+void
+__glXDisp_VertexAttrib4svNV(GLbyte * pc)
{
- CALL_VertexAttrib4svNV( GET_DISPATCH(), (
- *(GLuint *)(pc + 0),
- (const GLshort *)(pc + 4)
- ) );
+ CALL_VertexAttrib4svNV(GET_DISPATCH(), (*(GLuint *) (pc + 0),
+ (const GLshort *) (pc + 4)
+ ));
}
-void __glXDisp_VertexAttrib4ubvNV(GLbyte * pc)
+void
+__glXDisp_VertexAttrib4ubvNV(GLbyte * pc)
{
- CALL_VertexAttrib4ubvNV( GET_DISPATCH(), (
- *(GLuint *)(pc + 0),
- (const GLubyte *)(pc + 4)
- ) );
+ CALL_VertexAttrib4ubvNV(GET_DISPATCH(), (*(GLuint *) (pc + 0),
+ (const GLubyte *) (pc + 4)
+ ));
}
-void __glXDisp_VertexAttribs1dvNV(GLbyte * pc)
+void
+__glXDisp_VertexAttribs1dvNV(GLbyte * pc)
{
- const GLsizei n = *(GLsizei *)(pc + 4);
+ const GLsizei n = *(GLsizei *) (pc + 4);
#ifdef __GLX_ALIGN64
const GLuint cmdlen = 12 + __GLX_PAD((n * 8)) - 4;
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, cmdlen);
+
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, cmdlen);
pc -= 4;
}
#endif
- CALL_VertexAttribs1dvNV( GET_DISPATCH(), (
- *(GLuint *)(pc + 0),
- n,
- (const GLdouble *)(pc + 8)
- ) );
+ CALL_VertexAttribs1dvNV(GET_DISPATCH(), (*(GLuint *) (pc + 0),
+ n, (const GLdouble *) (pc + 8)
+ ));
}
-void __glXDisp_VertexAttribs1fvNV(GLbyte * pc)
+void
+__glXDisp_VertexAttribs1fvNV(GLbyte * pc)
{
- const GLsizei n = *(GLsizei *)(pc + 4);
+ const GLsizei n = *(GLsizei *) (pc + 4);
- CALL_VertexAttribs1fvNV( GET_DISPATCH(), (
- *(GLuint *)(pc + 0),
- n,
- (const GLfloat *)(pc + 8)
- ) );
+ CALL_VertexAttribs1fvNV(GET_DISPATCH(), (*(GLuint *) (pc + 0),
+ n, (const GLfloat *) (pc + 8)
+ ));
}
-void __glXDisp_VertexAttribs1svNV(GLbyte * pc)
+void
+__glXDisp_VertexAttribs1svNV(GLbyte * pc)
{
- const GLsizei n = *(GLsizei *)(pc + 4);
+ const GLsizei n = *(GLsizei *) (pc + 4);
- CALL_VertexAttribs1svNV( GET_DISPATCH(), (
- *(GLuint *)(pc + 0),
- n,
- (const GLshort *)(pc + 8)
- ) );
+ CALL_VertexAttribs1svNV(GET_DISPATCH(), (*(GLuint *) (pc + 0),
+ n, (const GLshort *) (pc + 8)
+ ));
}
-void __glXDisp_VertexAttribs2dvNV(GLbyte * pc)
+void
+__glXDisp_VertexAttribs2dvNV(GLbyte * pc)
{
- const GLsizei n = *(GLsizei *)(pc + 4);
+ const GLsizei n = *(GLsizei *) (pc + 4);
#ifdef __GLX_ALIGN64
const GLuint cmdlen = 12 + __GLX_PAD((n * 16)) - 4;
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, cmdlen);
+
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, cmdlen);
pc -= 4;
}
#endif
- CALL_VertexAttribs2dvNV( GET_DISPATCH(), (
- *(GLuint *)(pc + 0),
- n,
- (const GLdouble *)(pc + 8)
- ) );
+ CALL_VertexAttribs2dvNV(GET_DISPATCH(), (*(GLuint *) (pc + 0),
+ n, (const GLdouble *) (pc + 8)
+ ));
}
-void __glXDisp_VertexAttribs2fvNV(GLbyte * pc)
+void
+__glXDisp_VertexAttribs2fvNV(GLbyte * pc)
{
- const GLsizei n = *(GLsizei *)(pc + 4);
+ const GLsizei n = *(GLsizei *) (pc + 4);
- CALL_VertexAttribs2fvNV( GET_DISPATCH(), (
- *(GLuint *)(pc + 0),
- n,
- (const GLfloat *)(pc + 8)
- ) );
+ CALL_VertexAttribs2fvNV(GET_DISPATCH(), (*(GLuint *) (pc + 0),
+ n, (const GLfloat *) (pc + 8)
+ ));
}
-void __glXDisp_VertexAttribs2svNV(GLbyte * pc)
+void
+__glXDisp_VertexAttribs2svNV(GLbyte * pc)
{
- const GLsizei n = *(GLsizei *)(pc + 4);
+ const GLsizei n = *(GLsizei *) (pc + 4);
- CALL_VertexAttribs2svNV( GET_DISPATCH(), (
- *(GLuint *)(pc + 0),
- n,
- (const GLshort *)(pc + 8)
- ) );
+ CALL_VertexAttribs2svNV(GET_DISPATCH(), (*(GLuint *) (pc + 0),
+ n, (const GLshort *) (pc + 8)
+ ));
}
-void __glXDisp_VertexAttribs3dvNV(GLbyte * pc)
+void
+__glXDisp_VertexAttribs3dvNV(GLbyte * pc)
{
- const GLsizei n = *(GLsizei *)(pc + 4);
+ const GLsizei n = *(GLsizei *) (pc + 4);
#ifdef __GLX_ALIGN64
const GLuint cmdlen = 12 + __GLX_PAD((n * 24)) - 4;
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, cmdlen);
+
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, cmdlen);
pc -= 4;
}
#endif
- CALL_VertexAttribs3dvNV( GET_DISPATCH(), (
- *(GLuint *)(pc + 0),
- n,
- (const GLdouble *)(pc + 8)
- ) );
+ CALL_VertexAttribs3dvNV(GET_DISPATCH(), (*(GLuint *) (pc + 0),
+ n, (const GLdouble *) (pc + 8)
+ ));
}
-void __glXDisp_VertexAttribs3fvNV(GLbyte * pc)
+void
+__glXDisp_VertexAttribs3fvNV(GLbyte * pc)
{
- const GLsizei n = *(GLsizei *)(pc + 4);
+ const GLsizei n = *(GLsizei *) (pc + 4);
- CALL_VertexAttribs3fvNV( GET_DISPATCH(), (
- *(GLuint *)(pc + 0),
- n,
- (const GLfloat *)(pc + 8)
- ) );
+ CALL_VertexAttribs3fvNV(GET_DISPATCH(), (*(GLuint *) (pc + 0),
+ n, (const GLfloat *) (pc + 8)
+ ));
}
-void __glXDisp_VertexAttribs3svNV(GLbyte * pc)
+void
+__glXDisp_VertexAttribs3svNV(GLbyte * pc)
{
- const GLsizei n = *(GLsizei *)(pc + 4);
+ const GLsizei n = *(GLsizei *) (pc + 4);
- CALL_VertexAttribs3svNV( GET_DISPATCH(), (
- *(GLuint *)(pc + 0),
- n,
- (const GLshort *)(pc + 8)
- ) );
+ CALL_VertexAttribs3svNV(GET_DISPATCH(), (*(GLuint *) (pc + 0),
+ n, (const GLshort *) (pc + 8)
+ ));
}
-void __glXDisp_VertexAttribs4dvNV(GLbyte * pc)
+void
+__glXDisp_VertexAttribs4dvNV(GLbyte * pc)
{
- const GLsizei n = *(GLsizei *)(pc + 4);
+ const GLsizei n = *(GLsizei *) (pc + 4);
#ifdef __GLX_ALIGN64
const GLuint cmdlen = 12 + __GLX_PAD((n * 32)) - 4;
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, cmdlen);
+
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, cmdlen);
pc -= 4;
}
#endif
- CALL_VertexAttribs4dvNV( GET_DISPATCH(), (
- *(GLuint *)(pc + 0),
- n,
- (const GLdouble *)(pc + 8)
- ) );
+ CALL_VertexAttribs4dvNV(GET_DISPATCH(), (*(GLuint *) (pc + 0),
+ n, (const GLdouble *) (pc + 8)
+ ));
}
-void __glXDisp_VertexAttribs4fvNV(GLbyte * pc)
+void
+__glXDisp_VertexAttribs4fvNV(GLbyte * pc)
{
- const GLsizei n = *(GLsizei *)(pc + 4);
+ const GLsizei n = *(GLsizei *) (pc + 4);
- CALL_VertexAttribs4fvNV( GET_DISPATCH(), (
- *(GLuint *)(pc + 0),
- n,
- (const GLfloat *)(pc + 8)
- ) );
+ CALL_VertexAttribs4fvNV(GET_DISPATCH(), (*(GLuint *) (pc + 0),
+ n, (const GLfloat *) (pc + 8)
+ ));
}
-void __glXDisp_VertexAttribs4svNV(GLbyte * pc)
+void
+__glXDisp_VertexAttribs4svNV(GLbyte * pc)
{
- const GLsizei n = *(GLsizei *)(pc + 4);
+ const GLsizei n = *(GLsizei *) (pc + 4);
- CALL_VertexAttribs4svNV( GET_DISPATCH(), (
- *(GLuint *)(pc + 0),
- n,
- (const GLshort *)(pc + 8)
- ) );
+ CALL_VertexAttribs4svNV(GET_DISPATCH(), (*(GLuint *) (pc + 0),
+ n, (const GLshort *) (pc + 8)
+ ));
}
-void __glXDisp_VertexAttribs4ubvNV(GLbyte * pc)
+void
+__glXDisp_VertexAttribs4ubvNV(GLbyte * pc)
{
- const GLsizei n = *(GLsizei *)(pc + 4);
+ const GLsizei n = *(GLsizei *) (pc + 4);
- CALL_VertexAttribs4ubvNV( GET_DISPATCH(), (
- *(GLuint *)(pc + 0),
- n,
- (const GLubyte *)(pc + 8)
- ) );
+ CALL_VertexAttribs4ubvNV(GET_DISPATCH(), (*(GLuint *) (pc + 0),
+ n, (const GLubyte *) (pc + 8)
+ ));
}
-void __glXDisp_PointParameteriNV(GLbyte * pc)
+void
+__glXDisp_PointParameteriNV(GLbyte * pc)
{
- CALL_PointParameteriNV( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLint *)(pc + 4)
- ) );
+ CALL_PointParameteriNV(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ *(GLint *) (pc + 4)
+ ));
}
-void __glXDisp_PointParameterivNV(GLbyte * pc)
+void
+__glXDisp_PointParameterivNV(GLbyte * pc)
{
- const GLenum pname = *(GLenum *)(pc + 0);
- const GLint * params;
+ const GLenum pname = *(GLenum *) (pc + 0);
+ const GLint *params;
params = (const GLint *) (pc + 4);
- CALL_PointParameterivNV( GET_DISPATCH(), (
- pname,
- params
- ) );
+ CALL_PointParameterivNV(GET_DISPATCH(), (pname, params));
}
-void __glXDisp_ActiveStencilFaceEXT(GLbyte * pc)
+void
+__glXDisp_ActiveStencilFaceEXT(GLbyte * pc)
{
- CALL_ActiveStencilFaceEXT( GET_DISPATCH(), (
- *(GLenum *)(pc + 0)
- ) );
+ CALL_ActiveStencilFaceEXT(GET_DISPATCH(), (*(GLenum *) (pc + 0)
+ ));
}
-int __glXDisp_GetProgramNamedParameterdvNV(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_GetProgramNamedParameterdvNV(__GLXclientState * cl, GLbyte * pc)
{
- xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc;
+ xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_VENDPRIV_HDR_SIZE;
- if ( cx != NULL ) {
- const GLsizei len = *(GLsizei *)(pc + 4);
+ if (cx != NULL) {
+ const GLsizei len = *(GLsizei *) (pc + 4);
GLdouble params[4];
- CALL_GetProgramNamedParameterdvNV( GET_DISPATCH(), (
- *(GLuint *)(pc + 0),
- len,
- (const GLubyte *)(pc + 8),
- params
- ) );
+
+ CALL_GetProgramNamedParameterdvNV(GET_DISPATCH(), (*(GLuint *) (pc + 0),
+ len,
+ (const GLubyte *) (pc
+ +
+ 8),
+ params));
__glXSendReply(cl->client, params, 4, 8, GL_TRUE, 0);
error = Success;
}
@@ -5596,23 +5582,25 @@ int __glXDisp_GetProgramNamedParameterdvNV(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDisp_GetProgramNamedParameterfvNV(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_GetProgramNamedParameterfvNV(__GLXclientState * cl, GLbyte * pc)
{
- xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc;
+ xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_VENDPRIV_HDR_SIZE;
- if ( cx != NULL ) {
- const GLsizei len = *(GLsizei *)(pc + 4);
+ if (cx != NULL) {
+ const GLsizei len = *(GLsizei *) (pc + 4);
GLfloat params[4];
- CALL_GetProgramNamedParameterfvNV( GET_DISPATCH(), (
- *(GLuint *)(pc + 0),
- len,
- (const GLubyte *)(pc + 8),
- params
- ) );
+
+ CALL_GetProgramNamedParameterfvNV(GET_DISPATCH(), (*(GLuint *) (pc + 0),
+ len,
+ (const GLubyte *) (pc
+ +
+ 8),
+ params));
__glXSendReply(cl->client, params, 4, 4, GL_TRUE, 0);
error = Success;
}
@@ -5620,74 +5608,79 @@ int __glXDisp_GetProgramNamedParameterfvNV(__GLXclientState *cl, GLbyte *pc)
return error;
}
-void __glXDisp_ProgramNamedParameter4dvNV(GLbyte * pc)
+void
+__glXDisp_ProgramNamedParameter4dvNV(GLbyte * pc)
{
- const GLsizei len = *(GLsizei *)(pc + 36);
+ const GLsizei len = *(GLsizei *) (pc + 36);
#ifdef __GLX_ALIGN64
const GLuint cmdlen = 44 + __GLX_PAD(len) - 4;
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, cmdlen);
+
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, cmdlen);
pc -= 4;
}
#endif
- CALL_ProgramNamedParameter4dvNV( GET_DISPATCH(), (
- *(GLuint *)(pc + 32),
- len,
- (const GLubyte *)(pc + 40),
- (const GLdouble *)(pc + 0)
- ) );
+ CALL_ProgramNamedParameter4dvNV(GET_DISPATCH(), (*(GLuint *) (pc + 32),
+ len,
+ (const GLubyte *) (pc +
+ 40),
+ (const GLdouble *) (pc + 0)
+ ));
}
-void __glXDisp_ProgramNamedParameter4fvNV(GLbyte * pc)
+void
+__glXDisp_ProgramNamedParameter4fvNV(GLbyte * pc)
{
- const GLsizei len = *(GLsizei *)(pc + 4);
+ const GLsizei len = *(GLsizei *) (pc + 4);
- CALL_ProgramNamedParameter4fvNV( GET_DISPATCH(), (
- *(GLuint *)(pc + 0),
- len,
- (const GLubyte *)(pc + 24),
- (const GLfloat *)(pc + 8)
- ) );
+ CALL_ProgramNamedParameter4fvNV(GET_DISPATCH(), (*(GLuint *) (pc + 0),
+ len,
+ (const GLubyte *) (pc +
+ 24),
+ (const GLfloat *) (pc + 8)
+ ));
}
-void __glXDisp_BlendEquationSeparateEXT(GLbyte * pc)
+void
+__glXDisp_BlendEquationSeparateEXT(GLbyte * pc)
{
- CALL_BlendEquationSeparateEXT( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLenum *)(pc + 4)
- ) );
+ CALL_BlendEquationSeparateEXT(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ *(GLenum *) (pc + 4)
+ ));
}
-void __glXDisp_BindFramebufferEXT(GLbyte * pc)
+void
+__glXDisp_BindFramebufferEXT(GLbyte * pc)
{
- CALL_BindFramebufferEXT( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLuint *)(pc + 4)
- ) );
+ CALL_BindFramebufferEXT(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ *(GLuint *) (pc + 4)
+ ));
}
-void __glXDisp_BindRenderbufferEXT(GLbyte * pc)
+void
+__glXDisp_BindRenderbufferEXT(GLbyte * pc)
{
- CALL_BindRenderbufferEXT( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLuint *)(pc + 4)
- ) );
+ CALL_BindRenderbufferEXT(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ *(GLuint *) (pc + 4)
+ ));
}
-int __glXDisp_CheckFramebufferStatusEXT(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_CheckFramebufferStatusEXT(__GLXclientState * cl, GLbyte * pc)
{
- xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc;
+ xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_VENDPRIV_HDR_SIZE;
- if ( cx != NULL ) {
+ if (cx != NULL) {
GLenum retval;
- retval = CALL_CheckFramebufferStatusEXT( GET_DISPATCH(), (
- *(GLenum *)(pc + 0)
- ) );
+
+ retval =
+ CALL_CheckFramebufferStatusEXT(GET_DISPATCH(), (*(GLenum *) (pc + 0)
+ ));
__glXSendReply(cl->client, dummy_answer, 0, 0, GL_FALSE, retval);
error = Success;
}
@@ -5695,86 +5688,84 @@ int __glXDisp_CheckFramebufferStatusEXT(__GLXclientState *cl, GLbyte *pc)
return error;
}
-void __glXDisp_DeleteFramebuffersEXT(GLbyte * pc)
+void
+__glXDisp_DeleteFramebuffersEXT(GLbyte * pc)
{
- const GLsizei n = *(GLsizei *)(pc + 0);
+ const GLsizei n = *(GLsizei *) (pc + 0);
- CALL_DeleteFramebuffersEXT( GET_DISPATCH(), (
- n,
- (const GLuint *)(pc + 4)
- ) );
+ CALL_DeleteFramebuffersEXT(GET_DISPATCH(), (n, (const GLuint *) (pc + 4)
+ ));
}
-void __glXDisp_DeleteRenderbuffersEXT(GLbyte * pc)
+void
+__glXDisp_DeleteRenderbuffersEXT(GLbyte * pc)
{
- const GLsizei n = *(GLsizei *)(pc + 0);
+ const GLsizei n = *(GLsizei *) (pc + 0);
- CALL_DeleteRenderbuffersEXT( GET_DISPATCH(), (
- n,
- (const GLuint *)(pc + 4)
- ) );
+ CALL_DeleteRenderbuffersEXT(GET_DISPATCH(), (n, (const GLuint *) (pc + 4)
+ ));
}
-void __glXDisp_FramebufferRenderbufferEXT(GLbyte * pc)
+void
+__glXDisp_FramebufferRenderbufferEXT(GLbyte * pc)
{
- CALL_FramebufferRenderbufferEXT( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLenum *)(pc + 4),
- *(GLenum *)(pc + 8),
- *(GLuint *)(pc + 12)
- ) );
+ CALL_FramebufferRenderbufferEXT(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ *(GLenum *) (pc + 4),
+ *(GLenum *) (pc + 8),
+ *(GLuint *) (pc + 12)
+ ));
}
-void __glXDisp_FramebufferTexture1DEXT(GLbyte * pc)
+void
+__glXDisp_FramebufferTexture1DEXT(GLbyte * pc)
{
- CALL_FramebufferTexture1DEXT( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLenum *)(pc + 4),
- *(GLenum *)(pc + 8),
- *(GLuint *)(pc + 12),
- *(GLint *)(pc + 16)
- ) );
+ CALL_FramebufferTexture1DEXT(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ *(GLenum *) (pc + 4),
+ *(GLenum *) (pc + 8),
+ *(GLuint *) (pc + 12),
+ *(GLint *) (pc + 16)
+ ));
}
-void __glXDisp_FramebufferTexture2DEXT(GLbyte * pc)
+void
+__glXDisp_FramebufferTexture2DEXT(GLbyte * pc)
{
- CALL_FramebufferTexture2DEXT( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLenum *)(pc + 4),
- *(GLenum *)(pc + 8),
- *(GLuint *)(pc + 12),
- *(GLint *)(pc + 16)
- ) );
+ CALL_FramebufferTexture2DEXT(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ *(GLenum *) (pc + 4),
+ *(GLenum *) (pc + 8),
+ *(GLuint *) (pc + 12),
+ *(GLint *) (pc + 16)
+ ));
}
-void __glXDisp_FramebufferTexture3DEXT(GLbyte * pc)
+void
+__glXDisp_FramebufferTexture3DEXT(GLbyte * pc)
{
- CALL_FramebufferTexture3DEXT( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLenum *)(pc + 4),
- *(GLenum *)(pc + 8),
- *(GLuint *)(pc + 12),
- *(GLint *)(pc + 16),
- *(GLint *)(pc + 20)
- ) );
+ CALL_FramebufferTexture3DEXT(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ *(GLenum *) (pc + 4),
+ *(GLenum *) (pc + 8),
+ *(GLuint *) (pc + 12),
+ *(GLint *) (pc + 16),
+ *(GLint *) (pc + 20)
+ ));
}
-int __glXDisp_GenFramebuffersEXT(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_GenFramebuffersEXT(__GLXclientState * cl, GLbyte * pc)
{
- xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc;
+ xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_VENDPRIV_HDR_SIZE;
- if ( cx != NULL ) {
- const GLsizei n = *(GLsizei *)(pc + 0);
+ if (cx != NULL) {
+ const GLsizei n = *(GLsizei *) (pc + 0);
GLuint answerBuffer[200];
- GLuint * framebuffers = __glXGetAnswerBuffer(cl, n * 4, answerBuffer, sizeof(answerBuffer), 4);
- CALL_GenFramebuffersEXT( GET_DISPATCH(), (
- n,
- framebuffers
- ) );
+ GLuint *framebuffers =
+ __glXGetAnswerBuffer(cl, n * 4, answerBuffer, sizeof(answerBuffer),
+ 4);
+ CALL_GenFramebuffersEXT(GET_DISPATCH(), (n, framebuffers));
__glXSendReply(cl->client, framebuffers, n, 4, GL_TRUE, 0);
error = Success;
}
@@ -5782,22 +5773,22 @@ int __glXDisp_GenFramebuffersEXT(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDisp_GenRenderbuffersEXT(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_GenRenderbuffersEXT(__GLXclientState * cl, GLbyte * pc)
{
- xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc;
+ xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_VENDPRIV_HDR_SIZE;
- if ( cx != NULL ) {
- const GLsizei n = *(GLsizei *)(pc + 0);
+ if (cx != NULL) {
+ const GLsizei n = *(GLsizei *) (pc + 0);
GLuint answerBuffer[200];
- GLuint * renderbuffers = __glXGetAnswerBuffer(cl, n * 4, answerBuffer, sizeof(answerBuffer), 4);
- CALL_GenRenderbuffersEXT( GET_DISPATCH(), (
- n,
- renderbuffers
- ) );
+ GLuint *renderbuffers =
+ __glXGetAnswerBuffer(cl, n * 4, answerBuffer, sizeof(answerBuffer),
+ 4);
+ CALL_GenRenderbuffersEXT(GET_DISPATCH(), (n, renderbuffers));
__glXSendReply(cl->client, renderbuffers, n, 4, GL_TRUE, 0);
error = Success;
}
@@ -5805,28 +5796,30 @@ int __glXDisp_GenRenderbuffersEXT(__GLXclientState *cl, GLbyte *pc)
return error;
}
-void __glXDisp_GenerateMipmapEXT(GLbyte * pc)
+void
+__glXDisp_GenerateMipmapEXT(GLbyte * pc)
{
- CALL_GenerateMipmapEXT( GET_DISPATCH(), (
- *(GLenum *)(pc + 0)
- ) );
+ CALL_GenerateMipmapEXT(GET_DISPATCH(), (*(GLenum *) (pc + 0)
+ ));
}
-int __glXDisp_GetFramebufferAttachmentParameterivEXT(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_GetFramebufferAttachmentParameterivEXT(__GLXclientState * cl,
+ GLbyte * pc)
{
- xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc;
+ xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_VENDPRIV_HDR_SIZE;
- if ( cx != NULL ) {
+ if (cx != NULL) {
GLint params[1];
- CALL_GetFramebufferAttachmentParameterivEXT( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLenum *)(pc + 4),
- *(GLenum *)(pc + 8),
- params
- ) );
+
+ CALL_GetFramebufferAttachmentParameterivEXT(GET_DISPATCH(),
+ (*(GLenum *) (pc + 0),
+ *(GLenum *) (pc + 4),
+ *(GLenum *) (pc + 8),
+ params));
__glXSendReply(cl->client, params, 1, 4, GL_FALSE, 0);
error = Success;
}
@@ -5834,20 +5827,20 @@ int __glXDisp_GetFramebufferAttachmentParameterivEXT(__GLXclientState *cl, GLbyt
return error;
}
-int __glXDisp_GetRenderbufferParameterivEXT(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_GetRenderbufferParameterivEXT(__GLXclientState * cl, GLbyte * pc)
{
- xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc;
+ xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_VENDPRIV_HDR_SIZE;
- if ( cx != NULL ) {
+ if (cx != NULL) {
GLint params[1];
- CALL_GetRenderbufferParameterivEXT( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLenum *)(pc + 4),
- params
- ) );
+
+ CALL_GetRenderbufferParameterivEXT(GET_DISPATCH(),
+ (*(GLenum *) (pc + 0),
+ *(GLenum *) (pc + 4), params));
__glXSendReply(cl->client, params, 1, 4, GL_FALSE, 0);
error = Success;
}
@@ -5855,18 +5848,19 @@ int __glXDisp_GetRenderbufferParameterivEXT(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDisp_IsFramebufferEXT(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_IsFramebufferEXT(__GLXclientState * cl, GLbyte * pc)
{
- xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc;
+ xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_VENDPRIV_HDR_SIZE;
- if ( cx != NULL ) {
+ if (cx != NULL) {
GLboolean retval;
- retval = CALL_IsFramebufferEXT( GET_DISPATCH(), (
- *(GLuint *)(pc + 0)
- ) );
+
+ retval = CALL_IsFramebufferEXT(GET_DISPATCH(), (*(GLuint *) (pc + 0)
+ ));
__glXSendReply(cl->client, dummy_answer, 0, 0, GL_FALSE, retval);
error = Success;
}
@@ -5874,18 +5868,19 @@ int __glXDisp_IsFramebufferEXT(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDisp_IsRenderbufferEXT(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_IsRenderbufferEXT(__GLXclientState * cl, GLbyte * pc)
{
- xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc;
+ xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, &error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
pc += __GLX_VENDPRIV_HDR_SIZE;
- if ( cx != NULL ) {
+ if (cx != NULL) {
GLboolean retval;
- retval = CALL_IsRenderbufferEXT( GET_DISPATCH(), (
- *(GLuint *)(pc + 0)
- ) );
+
+ retval = CALL_IsRenderbufferEXT(GET_DISPATCH(), (*(GLuint *) (pc + 0)
+ ));
__glXSendReply(cl->client, dummy_answer, 0, 0, GL_FALSE, retval);
error = Success;
}
@@ -5893,40 +5888,39 @@ int __glXDisp_IsRenderbufferEXT(__GLXclientState *cl, GLbyte *pc)
return error;
}
-void __glXDisp_RenderbufferStorageEXT(GLbyte * pc)
+void
+__glXDisp_RenderbufferStorageEXT(GLbyte * pc)
{
- CALL_RenderbufferStorageEXT( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLenum *)(pc + 4),
- *(GLsizei *)(pc + 8),
- *(GLsizei *)(pc + 12)
- ) );
+ CALL_RenderbufferStorageEXT(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ *(GLenum *) (pc + 4),
+ *(GLsizei *) (pc + 8),
+ *(GLsizei *) (pc + 12)
+ ));
}
-void __glXDisp_BlitFramebufferEXT(GLbyte * pc)
+void
+__glXDisp_BlitFramebufferEXT(GLbyte * pc)
{
- CALL_BlitFramebufferEXT( GET_DISPATCH(), (
- *(GLint *)(pc + 0),
- *(GLint *)(pc + 4),
- *(GLint *)(pc + 8),
- *(GLint *)(pc + 12),
- *(GLint *)(pc + 16),
- *(GLint *)(pc + 20),
- *(GLint *)(pc + 24),
- *(GLint *)(pc + 28),
- *(GLbitfield *)(pc + 32),
- *(GLenum *)(pc + 36)
- ) );
+ CALL_BlitFramebufferEXT(GET_DISPATCH(), (*(GLint *) (pc + 0),
+ *(GLint *) (pc + 4),
+ *(GLint *) (pc + 8),
+ *(GLint *) (pc + 12),
+ *(GLint *) (pc + 16),
+ *(GLint *) (pc + 20),
+ *(GLint *) (pc + 24),
+ *(GLint *) (pc + 28),
+ *(GLbitfield *) (pc + 32),
+ *(GLenum *) (pc + 36)
+ ));
}
-void __glXDisp_FramebufferTextureLayerEXT(GLbyte * pc)
+void
+__glXDisp_FramebufferTextureLayerEXT(GLbyte * pc)
{
- CALL_FramebufferTextureLayerEXT( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLenum *)(pc + 4),
- *(GLuint *)(pc + 8),
- *(GLint *)(pc + 12),
- *(GLint *)(pc + 16)
- ) );
+ CALL_FramebufferTextureLayerEXT(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ *(GLenum *) (pc + 4),
+ *(GLuint *) (pc + 8),
+ *(GLint *) (pc + 12),
+ *(GLint *) (pc + 16)
+ ));
}
-
diff --git a/glx/indirect_dispatch.h b/glx/indirect_dispatch.h
index 71de0ba4b..d75dbe062 100644
--- a/glx/indirect_dispatch.h
+++ b/glx/indirect_dispatch.h
@@ -26,9 +26,9 @@
*/
#if !defined( _INDIRECT_DISPATCH_H_ )
-# define _INDIRECT_DISPATCH_H_
+#define _INDIRECT_DISPATCH_H_
-# include <X11/Xfuncproto.h>
+#include <X11/Xfuncproto.h>
struct __GLXclientStateRec;
@@ -37,7 +37,8 @@ extern _X_HIDDEN void __glXDispSwap_MapGrid1d(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_MapGrid1f(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_MapGrid1f(GLbyte * pc);
extern _X_HIDDEN int __glXDisp_NewList(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_NewList(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_NewList(struct __GLXclientStateRec *,
+ GLbyte *);
extern _X_HIDDEN void __glXDisp_LoadIdentity(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_LoadIdentity(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_SampleCoverageARB(GLbyte * pc);
@@ -60,50 +61,74 @@ extern _X_HIDDEN void __glXDisp_BlitFramebufferEXT(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_BlitFramebufferEXT(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_VertexAttrib4ubvNV(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_VertexAttrib4ubvNV(GLbyte * pc);
-extern _X_HIDDEN int __glXDisp_GetProgramNamedParameterdvNV(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GetProgramNamedParameterdvNV(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetProgramNamedParameterdvNV(struct
+ __GLXclientStateRec
+ *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetProgramNamedParameterdvNV(struct
+ __GLXclientStateRec
+ *, GLbyte *);
extern _X_HIDDEN void __glXDisp_Histogram(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_Histogram(GLbyte * pc);
extern _X_HIDDEN int __glXDisp_GetMapfv(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GetMapfv(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetMapfv(struct __GLXclientStateRec *,
+ GLbyte *);
extern _X_HIDDEN void __glXDisp_RasterPos4dv(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_RasterPos4dv(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_PolygonStipple(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_PolygonStipple(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_BlendEquationSeparateEXT(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_BlendEquationSeparateEXT(GLbyte * pc);
-extern _X_HIDDEN int __glXDisp_GetPixelMapfv(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GetPixelMapfv(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetPixelMapfv(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetPixelMapfv(struct __GLXclientStateRec *,
+ GLbyte *);
extern _X_HIDDEN void __glXDisp_Color3uiv(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_Color3uiv(GLbyte * pc);
-extern _X_HIDDEN int __glXDisp_IsEnabled(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_IsEnabled(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_IsEnabled(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_IsEnabled(struct __GLXclientStateRec *,
+ GLbyte *);
extern _X_HIDDEN void __glXDisp_VertexAttrib4svNV(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_VertexAttrib4svNV(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_EvalCoord2fv(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_EvalCoord2fv(GLbyte * pc);
-extern _X_HIDDEN int __glXDisp_DestroyPixmap(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_DestroyPixmap(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_DestroyPixmap(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_DestroyPixmap(struct __GLXclientStateRec *,
+ GLbyte *);
extern _X_HIDDEN int __glXDisp_GetMapiv(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GetMapiv(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDisp_SwapBuffers(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_SwapBuffers(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetMapiv(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDisp_SwapBuffers(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_SwapBuffers(struct __GLXclientStateRec *,
+ GLbyte *);
extern _X_HIDDEN void __glXDisp_Indexubv(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_Indexubv(GLbyte * pc);
extern _X_HIDDEN int __glXDisp_Render(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_Render(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDisp_GetQueryivARB(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GetQueryivARB(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_Render(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetQueryivARB(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetQueryivARB(struct __GLXclientStateRec *,
+ GLbyte *);
extern _X_HIDDEN void __glXDisp_TexImage3D(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_TexImage3D(GLbyte * pc);
-extern _X_HIDDEN int __glXDisp_MakeContextCurrent(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_MakeContextCurrent(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDisp_GetFBConfigs(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GetFBConfigs(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_MakeContextCurrent(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_MakeContextCurrent(struct __GLXclientStateRec
+ *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetFBConfigs(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetFBConfigs(struct __GLXclientStateRec *,
+ GLbyte *);
extern _X_HIDDEN void __glXDisp_Color3ubv(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_Color3ubv(GLbyte * pc);
-extern _X_HIDDEN int __glXDisp_GetQueryObjectivARB(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GetQueryObjectivARB(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetQueryObjectivARB(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetQueryObjectivARB(struct
+ __GLXclientStateRec *,
+ GLbyte *);
extern _X_HIDDEN void __glXDisp_Vertex3dv(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_Vertex3dv(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_CompressedTexSubImage2DARB(GLbyte * pc);
@@ -118,8 +143,10 @@ extern _X_HIDDEN void __glXDisp_VertexAttribs1dvNV(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_VertexAttribs1dvNV(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_Normal3bv(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_Normal3bv(GLbyte * pc);
-extern _X_HIDDEN int __glXDisp_VendorPrivate(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_VendorPrivate(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_VendorPrivate(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_VendorPrivate(struct __GLXclientStateRec *,
+ GLbyte *);
extern _X_HIDDEN void __glXDisp_TexGeniv(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_TexGeniv(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_VertexAttrib1fvNV(GLbyte * pc);
@@ -148,8 +175,12 @@ extern _X_HIDDEN void __glXDisp_DepthRange(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_DepthRange(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_ResetHistogram(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_ResetHistogram(GLbyte * pc);
-extern _X_HIDDEN int __glXDisp_GetProgramNamedParameterfvNV(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GetProgramNamedParameterfvNV(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetProgramNamedParameterfvNV(struct
+ __GLXclientStateRec
+ *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetProgramNamedParameterfvNV(struct
+ __GLXclientStateRec
+ *, GLbyte *);
extern _X_HIDDEN void __glXDisp_PointParameterfEXT(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_PointParameterfEXT(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_TexCoord2sv(GLbyte * pc);
@@ -160,20 +191,32 @@ extern _X_HIDDEN void __glXDisp_CompressedTexImage3DARB(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_CompressedTexImage3DARB(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_Color3sv(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_Color3sv(GLbyte * pc);
-extern _X_HIDDEN int __glXDisp_GetConvolutionParameteriv(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GetConvolutionParameteriv(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDisp_GetConvolutionParameterivEXT(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GetConvolutionParameterivEXT(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetConvolutionParameteriv(struct
+ __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetConvolutionParameteriv(struct
+ __GLXclientStateRec
+ *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetConvolutionParameterivEXT(struct
+ __GLXclientStateRec
+ *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetConvolutionParameterivEXT(struct
+ __GLXclientStateRec
+ *, GLbyte *);
extern _X_HIDDEN void __glXDisp_Vertex2dv(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_Vertex2dv(GLbyte * pc);
-extern _X_HIDDEN int __glXDisp_GetVisualConfigs(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GetVisualConfigs(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetVisualConfigs(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetVisualConfigs(struct __GLXclientStateRec
+ *, GLbyte *);
extern _X_HIDDEN void __glXDisp_MultiTexCoord1fvARB(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_MultiTexCoord1fvARB(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_TexCoord3iv(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_TexCoord3iv(GLbyte * pc);
-extern _X_HIDDEN int __glXDisp_CopyContext(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_CopyContext(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_CopyContext(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_CopyContext(struct __GLXclientStateRec *,
+ GLbyte *);
extern _X_HIDDEN void __glXDisp_Color3fv(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_Color3fv(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_PointSize(GLbyte * pc);
@@ -184,14 +227,18 @@ extern _X_HIDDEN void __glXDisp_VertexAttrib4NbvARB(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_VertexAttrib4NbvARB(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_Vertex4sv(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_Vertex4sv(GLbyte * pc);
-extern _X_HIDDEN int __glXDisp_GetTexEnvfv(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GetTexEnvfv(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetTexEnvfv(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetTexEnvfv(struct __GLXclientStateRec *,
+ GLbyte *);
extern _X_HIDDEN void __glXDisp_LineStipple(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_LineStipple(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_TexEnvi(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_TexEnvi(GLbyte * pc);
-extern _X_HIDDEN int __glXDisp_GetClipPlane(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GetClipPlane(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetClipPlane(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetClipPlane(struct __GLXclientStateRec *,
+ GLbyte *);
extern _X_HIDDEN void __glXDisp_VertexAttribs3dvNV(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_VertexAttribs3dvNV(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_VertexAttribs4fvNV(GLbyte * pc);
@@ -208,16 +255,20 @@ extern _X_HIDDEN void __glXDisp_CompressedTexImage1DARB(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_CompressedTexImage1DARB(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_Rotated(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_Rotated(GLbyte * pc);
-extern _X_HIDDEN int __glXDisp_ReadPixels(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_ReadPixels(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_ReadPixels(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_ReadPixels(struct __GLXclientStateRec *,
+ GLbyte *);
extern _X_HIDDEN void __glXDisp_EdgeFlagv(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_EdgeFlagv(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_TexParameterf(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_TexParameterf(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_TexParameteri(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_TexParameteri(GLbyte * pc);
-extern _X_HIDDEN int __glXDisp_DestroyContext(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_DestroyContext(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_DestroyContext(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_DestroyContext(struct __GLXclientStateRec *,
+ GLbyte *);
extern _X_HIDDEN void __glXDisp_DrawPixels(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_DrawPixels(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_MultiTexCoord2svARB(GLbyte * pc);
@@ -227,7 +278,8 @@ extern _X_HIDDEN void __glXDispSwap_MultiTexCoord3svARB(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_GenerateMipmapEXT(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_GenerateMipmapEXT(GLbyte * pc);
extern _X_HIDDEN int __glXDisp_GenLists(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GenLists(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GenLists(struct __GLXclientStateRec *,
+ GLbyte *);
extern _X_HIDDEN void __glXDisp_MapGrid2d(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_MapGrid2d(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_MapGrid2f(GLbyte * pc);
@@ -248,30 +300,43 @@ extern _X_HIDDEN void __glXDisp_PixelMapfv(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_PixelMapfv(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_Color3usv(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_Color3usv(GLbyte * pc);
-extern _X_HIDDEN int __glXDisp_AreTexturesResident(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_AreTexturesResident(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDisp_AreTexturesResidentEXT(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_AreTexturesResidentEXT(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_AreTexturesResident(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_AreTexturesResident(struct
+ __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDisp_AreTexturesResidentEXT(struct __GLXclientStateRec
+ *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_AreTexturesResidentEXT(struct
+ __GLXclientStateRec *,
+ GLbyte *);
extern _X_HIDDEN void __glXDisp_PointParameterfvEXT(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_PointParameterfvEXT(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_Color3bv(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_Color3bv(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_SecondaryColor3bvEXT(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_SecondaryColor3bvEXT(GLbyte * pc);
-extern _X_HIDDEN int __glXDisp_GetProgramLocalParameterfvARB(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GetProgramLocalParameterfvARB(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetProgramLocalParameterfvARB(struct
+ __GLXclientStateRec
+ *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetProgramLocalParameterfvARB(struct
+ __GLXclientStateRec
+ *, GLbyte *);
extern _X_HIDDEN void __glXDisp_RenderbufferStorageEXT(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_RenderbufferStorageEXT(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_ColorTable(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_ColorTable(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_Accum(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_Accum(GLbyte * pc);
-extern _X_HIDDEN int __glXDisp_GetTexImage(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GetTexImage(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetTexImage(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetTexImage(struct __GLXclientStateRec *,
+ GLbyte *);
extern _X_HIDDEN void __glXDisp_ConvolutionFilter2D(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_ConvolutionFilter2D(GLbyte * pc);
extern _X_HIDDEN int __glXDisp_Finish(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_Finish(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_Finish(struct __GLXclientStateRec *,
+ GLbyte *);
extern _X_HIDDEN void __glXDisp_ClearStencil(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_ClearStencil(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_VertexAttrib3dvARB(GLbyte * pc);
@@ -296,14 +361,20 @@ extern _X_HIDDEN void __glXDisp_PushMatrix(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_PushMatrix(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_ConvolutionParameterfv(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_ConvolutionParameterfv(GLbyte * pc);
-extern _X_HIDDEN int __glXDisp_GetTexGendv(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GetTexGendv(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDisp_GetVertexAttribfvNV(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GetVertexAttribfvNV(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetTexGendv(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetTexGendv(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetVertexAttribfvNV(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetVertexAttribfvNV(struct
+ __GLXclientStateRec *,
+ GLbyte *);
extern _X_HIDDEN void __glXDisp_LoadProgramNV(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_LoadProgramNV(GLbyte * pc);
extern _X_HIDDEN int __glXDisp_EndList(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_EndList(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_EndList(struct __GLXclientStateRec *,
+ GLbyte *);
extern _X_HIDDEN void __glXDisp_VertexAttrib4fvNV(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_VertexAttrib4fvNV(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_EvalCoord1fv(GLbyte * pc);
@@ -312,18 +383,33 @@ extern _X_HIDDEN void __glXDisp_EvalMesh2(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_EvalMesh2(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_Vertex4fv(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_Vertex4fv(GLbyte * pc);
-extern _X_HIDDEN int __glXDisp_CheckFramebufferStatusEXT(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_CheckFramebufferStatusEXT(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDisp_GetVertexAttribivARB(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GetVertexAttribivARB(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDisp_GetFBConfigsSGIX(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GetFBConfigsSGIX(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDisp_CreateNewContext(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_CreateNewContext(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDisp_GetMinmax(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GetMinmax(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDisp_GetMinmaxEXT(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GetMinmaxEXT(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_CheckFramebufferStatusEXT(struct
+ __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_CheckFramebufferStatusEXT(struct
+ __GLXclientStateRec
+ *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetVertexAttribivARB(struct __GLXclientStateRec
+ *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetVertexAttribivARB(struct
+ __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetFBConfigsSGIX(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetFBConfigsSGIX(struct __GLXclientStateRec
+ *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_CreateNewContext(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_CreateNewContext(struct __GLXclientStateRec
+ *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetMinmax(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetMinmax(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetMinmaxEXT(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetMinmaxEXT(struct __GLXclientStateRec *,
+ GLbyte *);
extern _X_HIDDEN void __glXDisp_Normal3fv(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_Normal3fv(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_ProgramEnvParameter4dvARB(GLbyte * pc);
@@ -334,10 +420,18 @@ extern _X_HIDDEN void __glXDisp_End(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_End(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_VertexAttribs2dvNV(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_VertexAttribs2dvNV(GLbyte * pc);
-extern _X_HIDDEN int __glXDisp_CreateContextAttribsARB(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_CreateContextAttribsARB(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDisp_GetProgramParameterfvNV(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GetProgramParameterfvNV(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_CreateContextAttribsARB(struct
+ __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_CreateContextAttribsARB(struct
+ __GLXclientStateRec
+ *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetProgramParameterfvNV(struct
+ __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetProgramParameterfvNV(struct
+ __GLXclientStateRec
+ *, GLbyte *);
extern _X_HIDDEN void __glXDisp_BindTexture(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_BindTexture(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_TexSubImage2D(GLbyte * pc);
@@ -346,16 +440,23 @@ extern _X_HIDDEN void __glXDisp_TexGenfv(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_TexGenfv(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_VertexAttrib4bvARB(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_VertexAttrib4bvARB(GLbyte * pc);
-extern _X_HIDDEN int __glXDisp_CreateContextWithConfigSGIX(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_CreateContextWithConfigSGIX(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_CreateContextWithConfigSGIX(struct
+ __GLXclientStateRec
+ *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_CreateContextWithConfigSGIX(struct
+ __GLXclientStateRec
+ *, GLbyte *);
extern _X_HIDDEN void __glXDisp_FramebufferTexture3DEXT(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_FramebufferTexture3DEXT(GLbyte * pc);
-extern _X_HIDDEN int __glXDisp_CopySubBufferMESA(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_CopySubBufferMESA(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_CopySubBufferMESA(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_CopySubBufferMESA(struct __GLXclientStateRec
+ *, GLbyte *);
extern _X_HIDDEN void __glXDisp_BlendEquation(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_BlendEquation(GLbyte * pc);
extern _X_HIDDEN int __glXDisp_GetError(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GetError(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetError(struct __GLXclientStateRec *,
+ GLbyte *);
extern _X_HIDDEN void __glXDisp_TexCoord3dv(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_TexCoord3dv(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_Indexdv(GLbyte * pc);
@@ -370,8 +471,11 @@ extern _X_HIDDEN void __glXDisp_ProgramNamedParameter4fvNV(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_ProgramNamedParameter4fvNV(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_VertexAttrib4fvARB(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_VertexAttrib4fvARB(GLbyte * pc);
-extern _X_HIDDEN int __glXDisp_CreateGLXPbufferSGIX(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_CreateGLXPbufferSGIX(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_CreateGLXPbufferSGIX(struct __GLXclientStateRec
+ *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_CreateGLXPbufferSGIX(struct
+ __GLXclientStateRec *,
+ GLbyte *);
extern _X_HIDDEN void __glXDisp_MultiTexCoord1svARB(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_MultiTexCoord1svARB(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_EndQueryARB(GLbyte * pc);
@@ -380,16 +484,20 @@ extern _X_HIDDEN void __glXDisp_DepthMask(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_DepthMask(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_Color4iv(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_Color4iv(GLbyte * pc);
-extern _X_HIDDEN int __glXDisp_GetMaterialiv(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GetMaterialiv(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetMaterialiv(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetMaterialiv(struct __GLXclientStateRec *,
+ GLbyte *);
extern _X_HIDDEN void __glXDisp_StencilOp(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_StencilOp(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_Ortho(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_Ortho(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_TexEnvfv(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_TexEnvfv(GLbyte * pc);
-extern _X_HIDDEN int __glXDisp_QueryServerString(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_QueryServerString(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_QueryServerString(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_QueryServerString(struct __GLXclientStateRec
+ *, GLbyte *);
extern _X_HIDDEN void __glXDisp_LoadMatrixf(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_LoadMatrixf(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_Color4bv(GLbyte * pc);
@@ -400,8 +508,10 @@ extern _X_HIDDEN void __glXDisp_VertexAttrib2fvNV(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_VertexAttrib2fvNV(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_ProgramLocalParameter4dvARB(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_ProgramLocalParameter4dvARB(GLbyte * pc);
-extern _X_HIDDEN int __glXDisp_DeleteLists(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_DeleteLists(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_DeleteLists(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_DeleteLists(struct __GLXclientStateRec *,
+ GLbyte *);
extern _X_HIDDEN void __glXDisp_LogicOp(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_LogicOp(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_RenderbufferStorageMultisample(GLbyte * pc);
@@ -409,21 +519,29 @@ extern _X_HIDDEN void __glXDispSwap_RenderbufferStorageMultisample(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_TexCoord4fv(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_TexCoord4fv(GLbyte * pc);
extern _X_HIDDEN int __glXDisp_WaitX(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_WaitX(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_WaitX(struct __GLXclientStateRec *,
+ GLbyte *);
extern _X_HIDDEN void __glXDisp_SecondaryColor3uivEXT(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_SecondaryColor3uivEXT(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_FramebufferRenderbufferEXT(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_FramebufferRenderbufferEXT(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_VertexAttrib1dvNV(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_VertexAttrib1dvNV(GLbyte * pc);
-extern _X_HIDDEN int __glXDisp_GenTextures(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GenTextures(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDisp_GenTexturesEXT(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GenTexturesEXT(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GenTextures(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GenTextures(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDisp_GenTexturesEXT(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GenTexturesEXT(struct __GLXclientStateRec *,
+ GLbyte *);
extern _X_HIDDEN void __glXDisp_FramebufferTexture1DEXT(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_FramebufferTexture1DEXT(GLbyte * pc);
-extern _X_HIDDEN int __glXDisp_GetDrawableAttributes(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GetDrawableAttributes(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetDrawableAttributes(struct __GLXclientStateRec
+ *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetDrawableAttributes(struct
+ __GLXclientStateRec *,
+ GLbyte *);
extern _X_HIDDEN void __glXDisp_RasterPos2sv(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_RasterPos2sv(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_Color4ubv(GLbyte * pc);
@@ -434,8 +552,12 @@ extern _X_HIDDEN void __glXDisp_TexCoord2fv(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_TexCoord2fv(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_TexCoord1sv(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_TexCoord1sv(GLbyte * pc);
-extern _X_HIDDEN int __glXDisp_CreateGLXPixmapWithConfigSGIX(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_CreateGLXPixmapWithConfigSGIX(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_CreateGLXPixmapWithConfigSGIX(struct
+ __GLXclientStateRec
+ *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_CreateGLXPixmapWithConfigSGIX(struct
+ __GLXclientStateRec
+ *, GLbyte *);
extern _X_HIDDEN void __glXDisp_DepthFunc(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_DepthFunc(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_PixelMapusv(GLbyte * pc);
@@ -445,13 +567,15 @@ extern _X_HIDDEN void __glXDispSwap_PointParameterivNV(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_BlendFunc(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_BlendFunc(GLbyte * pc);
extern _X_HIDDEN int __glXDisp_WaitGL(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_WaitGL(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_WaitGL(struct __GLXclientStateRec *,
+ GLbyte *);
extern _X_HIDDEN void __glXDisp_MultiTexCoord3dvARB(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_MultiTexCoord3dvARB(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_ProgramNamedParameter4dvNV(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_ProgramNamedParameter4dvNV(GLbyte * pc);
extern _X_HIDDEN int __glXDisp_Flush(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_Flush(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_Flush(struct __GLXclientStateRec *,
+ GLbyte *);
extern _X_HIDDEN void __glXDisp_Color4uiv(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_Color4uiv(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_RasterPos3sv(GLbyte * pc);
@@ -460,66 +584,108 @@ extern _X_HIDDEN void __glXDisp_BindFramebufferEXT(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_BindFramebufferEXT(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_PushAttrib(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_PushAttrib(GLbyte * pc);
-extern _X_HIDDEN int __glXDisp_DestroyPbuffer(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_DestroyPbuffer(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_DestroyPbuffer(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_DestroyPbuffer(struct __GLXclientStateRec *,
+ GLbyte *);
extern _X_HIDDEN void __glXDisp_TexParameteriv(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_TexParameteriv(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_WindowPos3fvMESA(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_WindowPos3fvMESA(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_VertexAttrib1svNV(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_VertexAttrib1svNV(GLbyte * pc);
-extern _X_HIDDEN int __glXDisp_QueryExtensionsString(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_QueryExtensionsString(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_QueryExtensionsString(struct __GLXclientStateRec
+ *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_QueryExtensionsString(struct
+ __GLXclientStateRec *,
+ GLbyte *);
extern _X_HIDDEN void __glXDisp_RasterPos3fv(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_RasterPos3fv(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_CopyTexSubImage3D(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_CopyTexSubImage3D(GLbyte * pc);
-extern _X_HIDDEN int __glXDisp_GetColorTable(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GetColorTable(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDisp_GetColorTableSGI(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GetColorTableSGI(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetColorTable(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetColorTable(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetColorTableSGI(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetColorTableSGI(struct __GLXclientStateRec
+ *, GLbyte *);
extern _X_HIDDEN void __glXDisp_Indexiv(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_Indexiv(GLbyte * pc);
-extern _X_HIDDEN int __glXDisp_CreateContext(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_CreateContext(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_CreateContext(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_CreateContext(struct __GLXclientStateRec *,
+ GLbyte *);
extern _X_HIDDEN void __glXDisp_CopyColorTable(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_CopyColorTable(GLbyte * pc);
-extern _X_HIDDEN int __glXDisp_GetHistogramParameterfv(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GetHistogramParameterfv(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDisp_GetHistogramParameterfvEXT(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GetHistogramParameterfvEXT(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetHistogramParameterfv(struct
+ __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetHistogramParameterfv(struct
+ __GLXclientStateRec
+ *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetHistogramParameterfvEXT(struct
+ __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetHistogramParameterfvEXT(struct
+ __GLXclientStateRec
+ *, GLbyte *);
extern _X_HIDDEN void __glXDisp_Frustum(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_Frustum(GLbyte * pc);
-extern _X_HIDDEN int __glXDisp_GetString(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GetString(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDisp_CreateGLXPixmap(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_CreateGLXPixmap(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetString(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetString(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDisp_CreateGLXPixmap(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_CreateGLXPixmap(struct __GLXclientStateRec *,
+ GLbyte *);
extern _X_HIDDEN void __glXDisp_TexEnvf(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_TexEnvf(GLbyte * pc);
-extern _X_HIDDEN int __glXDisp_GetProgramStringARB(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GetProgramStringARB(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetProgramStringARB(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetProgramStringARB(struct
+ __GLXclientStateRec *,
+ GLbyte *);
extern _X_HIDDEN void __glXDisp_MultiTexCoord3ivARB(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_MultiTexCoord3ivARB(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_VertexAttrib1dvARB(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_VertexAttrib1dvARB(GLbyte * pc);
-extern _X_HIDDEN int __glXDisp_DeleteTextures(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_DeleteTextures(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDisp_DeleteTexturesEXT(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_DeleteTexturesEXT(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDisp_GetTexLevelParameteriv(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GetTexLevelParameteriv(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_DeleteTextures(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_DeleteTextures(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDisp_DeleteTexturesEXT(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_DeleteTexturesEXT(struct __GLXclientStateRec
+ *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetTexLevelParameteriv(struct __GLXclientStateRec
+ *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetTexLevelParameteriv(struct
+ __GLXclientStateRec *,
+ GLbyte *);
extern _X_HIDDEN void __glXDisp_ClearAccum(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_ClearAccum(GLbyte * pc);
-extern _X_HIDDEN int __glXDisp_QueryVersion(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_QueryVersion(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDisp_GetVertexAttribfvARB(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GetVertexAttribfvARB(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_QueryVersion(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_QueryVersion(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetVertexAttribfvARB(struct __GLXclientStateRec
+ *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetVertexAttribfvARB(struct
+ __GLXclientStateRec *,
+ GLbyte *);
extern _X_HIDDEN void __glXDisp_SecondaryColor3ivEXT(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_SecondaryColor3ivEXT(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_TexCoord4iv(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_TexCoord4iv(GLbyte * pc);
-extern _X_HIDDEN int __glXDisp_GetDrawableAttributesSGIX(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GetDrawableAttributesSGIX(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetDrawableAttributesSGIX(struct
+ __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetDrawableAttributesSGIX(struct
+ __GLXclientStateRec
+ *, GLbyte *);
extern _X_HIDDEN void __glXDisp_ColorTableParameteriv(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_ColorTableParameteriv(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_VertexAttrib4ubvARB(GLbyte * pc);
@@ -536,16 +702,26 @@ extern _X_HIDDEN void __glXDisp_Color4fv(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_Color4fv(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_MultiTexCoord4ivARB(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_MultiTexCoord4ivARB(GLbyte * pc);
-extern _X_HIDDEN int __glXDisp_CreatePixmap(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_CreatePixmap(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_CreatePixmap(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_CreatePixmap(struct __GLXclientStateRec *,
+ GLbyte *);
extern _X_HIDDEN void __glXDisp_Lightiv(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_Lightiv(GLbyte * pc);
-extern _X_HIDDEN int __glXDisp_GetQueryObjectuivARB(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GetQueryObjectuivARB(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDisp_GetTexParameteriv(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GetTexParameteriv(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDisp_GenRenderbuffersEXT(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GenRenderbuffersEXT(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetQueryObjectuivARB(struct __GLXclientStateRec
+ *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetQueryObjectuivARB(struct
+ __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetTexParameteriv(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetTexParameteriv(struct __GLXclientStateRec
+ *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GenRenderbuffersEXT(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GenRenderbuffersEXT(struct
+ __GLXclientStateRec *,
+ GLbyte *);
extern _X_HIDDEN void __glXDisp_VertexAttrib2dvARB(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_VertexAttrib2dvARB(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_VertexAttribs2svNV(GLbyte * pc);
@@ -566,30 +742,44 @@ extern _X_HIDDEN void __glXDisp_CompressedTexSubImage1DARB(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_CompressedTexSubImage1DARB(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_VertexAttrib2dvNV(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_VertexAttrib2dvNV(GLbyte * pc);
-extern _X_HIDDEN int __glXDisp_GetVertexAttribivNV(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GetVertexAttribivNV(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDisp_IsQueryARB(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_IsQueryARB(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetVertexAttribivNV(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetVertexAttribivNV(struct
+ __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDisp_IsQueryARB(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_IsQueryARB(struct __GLXclientStateRec *,
+ GLbyte *);
extern _X_HIDDEN void __glXDisp_TexGeni(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_TexGeni(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_TexGenf(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_TexGenf(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_TexGend(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_TexGend(GLbyte * pc);
-extern _X_HIDDEN int __glXDisp_GetPolygonStipple(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GetPolygonStipple(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetPolygonStipple(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetPolygonStipple(struct __GLXclientStateRec
+ *, GLbyte *);
extern _X_HIDDEN void __glXDisp_VertexAttrib2svNV(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_VertexAttrib2svNV(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_VertexAttrib4NuivARB(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_VertexAttrib4NuivARB(GLbyte * pc);
-extern _X_HIDDEN int __glXDisp_GetVertexAttribdvNV(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GetVertexAttribdvNV(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDisp_DestroyWindow(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_DestroyWindow(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetVertexAttribdvNV(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetVertexAttribdvNV(struct
+ __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDisp_DestroyWindow(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_DestroyWindow(struct __GLXclientStateRec *,
+ GLbyte *);
extern _X_HIDDEN void __glXDisp_Color4sv(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_Color4sv(GLbyte * pc);
-extern _X_HIDDEN int __glXDisp_IsProgramNV(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_IsProgramNV(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_IsProgramNV(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_IsProgramNV(struct __GLXclientStateRec *,
+ GLbyte *);
extern _X_HIDDEN void __glXDisp_PixelZoom(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_PixelZoom(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_ColorTableParameterfv(GLbyte * pc);
@@ -598,30 +788,48 @@ extern _X_HIDDEN void __glXDisp_PixelMapuiv(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_PixelMapuiv(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_Color3dv(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_Color3dv(GLbyte * pc);
-extern _X_HIDDEN int __glXDisp_IsTexture(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_IsTexture(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDisp_IsTextureEXT(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_IsTextureEXT(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDisp_SetClientInfo2ARB(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_SetClientInfo2ARB(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDisp_DeleteQueriesARB(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_DeleteQueriesARB(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_IsTexture(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_IsTexture(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDisp_IsTextureEXT(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_IsTextureEXT(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDisp_SetClientInfo2ARB(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_SetClientInfo2ARB(struct __GLXclientStateRec
+ *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_DeleteQueriesARB(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_DeleteQueriesARB(struct __GLXclientStateRec
+ *, GLbyte *);
extern _X_HIDDEN int __glXDisp_GetMapdv(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GetMapdv(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDisp_DestroyGLXPixmap(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_DestroyGLXPixmap(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetMapdv(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDisp_DestroyGLXPixmap(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_DestroyGLXPixmap(struct __GLXclientStateRec
+ *, GLbyte *);
extern _X_HIDDEN void __glXDisp_SamplePatternSGIS(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_SamplePatternSGIS(GLbyte * pc);
-extern _X_HIDDEN int __glXDisp_PixelStoref(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_PixelStoref(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_PixelStoref(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_PixelStoref(struct __GLXclientStateRec *,
+ GLbyte *);
extern _X_HIDDEN void __glXDisp_PrioritizeTextures(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_PrioritizeTextures(GLbyte * pc);
-extern _X_HIDDEN int __glXDisp_PixelStorei(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_PixelStorei(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_PixelStorei(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_PixelStorei(struct __GLXclientStateRec *,
+ GLbyte *);
extern _X_HIDDEN void __glXDisp_VertexAttrib4usvARB(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_VertexAttrib4usvARB(GLbyte * pc);
-extern _X_HIDDEN int __glXDisp_DestroyGLXPbufferSGIX(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_DestroyGLXPbufferSGIX(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_DestroyGLXPbufferSGIX(struct __GLXclientStateRec
+ *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_DestroyGLXPbufferSGIX(struct
+ __GLXclientStateRec *,
+ GLbyte *);
extern _X_HIDDEN void __glXDisp_EvalCoord2dv(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_EvalCoord2dv(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_VertexAttrib3svARB(GLbyte * pc);
@@ -630,26 +838,40 @@ extern _X_HIDDEN void __glXDisp_ColorMaterial(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_ColorMaterial(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_CompressedTexSubImage3DARB(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_CompressedTexSubImage3DARB(GLbyte * pc);
-extern _X_HIDDEN int __glXDisp_IsFramebufferEXT(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_IsFramebufferEXT(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDisp_GetVertexAttribdvARB(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GetVertexAttribdvARB(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDisp_GetSeparableFilter(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GetSeparableFilter(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDisp_GetSeparableFilterEXT(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GetSeparableFilterEXT(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_IsFramebufferEXT(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_IsFramebufferEXT(struct __GLXclientStateRec
+ *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetVertexAttribdvARB(struct __GLXclientStateRec
+ *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetVertexAttribdvARB(struct
+ __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetSeparableFilter(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetSeparableFilter(struct __GLXclientStateRec
+ *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetSeparableFilterEXT(struct __GLXclientStateRec
+ *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetSeparableFilterEXT(struct
+ __GLXclientStateRec *,
+ GLbyte *);
extern _X_HIDDEN void __glXDisp_RequestResidentProgramsNV(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_RequestResidentProgramsNV(GLbyte * pc);
-extern _X_HIDDEN int __glXDisp_FeedbackBuffer(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_FeedbackBuffer(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_FeedbackBuffer(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_FeedbackBuffer(struct __GLXclientStateRec *,
+ GLbyte *);
extern _X_HIDDEN void __glXDisp_RasterPos2iv(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_RasterPos2iv(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_TexImage1D(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_TexImage1D(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_FrontFace(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_FrontFace(GLbyte * pc);
-extern _X_HIDDEN int __glXDisp_RenderLarge(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_RenderLarge(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_RenderLarge(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_RenderLarge(struct __GLXclientStateRec *,
+ GLbyte *);
extern _X_HIDDEN void __glXDisp_VertexAttrib4dvARB(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_VertexAttrib4dvARB(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_PolygonOffset(GLbyte * pc);
@@ -662,20 +884,37 @@ extern _X_HIDDEN void __glXDisp_Lightf(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_Lightf(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_MatrixMode(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_MatrixMode(GLbyte * pc);
-extern _X_HIDDEN int __glXDisp_GetPixelMapusv(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GetPixelMapusv(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetPixelMapusv(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetPixelMapusv(struct __GLXclientStateRec *,
+ GLbyte *);
extern _X_HIDDEN void __glXDisp_Lighti(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_Lighti(GLbyte * pc);
-extern _X_HIDDEN int __glXDisp_GetFramebufferAttachmentParameterivEXT(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GetFramebufferAttachmentParameterivEXT(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDisp_ChangeDrawableAttributesSGIX(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_ChangeDrawableAttributesSGIX(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetFramebufferAttachmentParameterivEXT(struct
+ __GLXclientStateRec
+ *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetFramebufferAttachmentParameterivEXT(struct
+ __GLXclientStateRec
+ *,
+ GLbyte
+ *);
+extern _X_HIDDEN int __glXDisp_ChangeDrawableAttributesSGIX(struct
+ __GLXclientStateRec
+ *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_ChangeDrawableAttributesSGIX(struct
+ __GLXclientStateRec
+ *, GLbyte *);
extern _X_HIDDEN void __glXDisp_MultiTexCoord4dvARB(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_MultiTexCoord4dvARB(GLbyte * pc);
-extern _X_HIDDEN int __glXDisp_CreatePbuffer(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_CreatePbuffer(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDisp_GetDoublev(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GetDoublev(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_CreatePbuffer(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_CreatePbuffer(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetDoublev(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetDoublev(struct __GLXclientStateRec *,
+ GLbyte *);
extern _X_HIDDEN void __glXDisp_MultMatrixd(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_MultMatrixd(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_MultMatrixf(GLbyte * pc);
@@ -691,41 +930,74 @@ extern _X_HIDDEN void __glXDispSwap_VertexAttrib3fvARB(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_ClearColor(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_ClearColor(GLbyte * pc);
extern _X_HIDDEN int __glXDisp_IsDirect(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_IsDirect(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_IsDirect(struct __GLXclientStateRec *,
+ GLbyte *);
extern _X_HIDDEN void __glXDisp_DeleteFramebuffersEXT(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_DeleteFramebuffersEXT(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_TexEnviv(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_TexEnviv(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_TexSubImage3D(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_TexSubImage3D(GLbyte * pc);
-extern _X_HIDDEN int __glXDisp_SwapIntervalSGI(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_SwapIntervalSGI(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDisp_GetColorTableParameterfv(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GetColorTableParameterfv(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDisp_GetColorTableParameterfvSGI(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GetColorTableParameterfvSGI(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_SwapIntervalSGI(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_SwapIntervalSGI(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetColorTableParameterfv(struct
+ __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetColorTableParameterfv(struct
+ __GLXclientStateRec
+ *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetColorTableParameterfvSGI(struct
+ __GLXclientStateRec
+ *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetColorTableParameterfvSGI(struct
+ __GLXclientStateRec
+ *, GLbyte *);
extern _X_HIDDEN void __glXDisp_Bitmap(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_Bitmap(GLbyte * pc);
-extern _X_HIDDEN int __glXDisp_GetTexLevelParameterfv(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GetTexLevelParameterfv(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDisp_GenFramebuffersEXT(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GenFramebuffersEXT(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDisp_GetProgramParameterdvNV(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GetProgramParameterdvNV(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetTexLevelParameterfv(struct __GLXclientStateRec
+ *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetTexLevelParameterfv(struct
+ __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDisp_GenFramebuffersEXT(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GenFramebuffersEXT(struct __GLXclientStateRec
+ *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetProgramParameterdvNV(struct
+ __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetProgramParameterdvNV(struct
+ __GLXclientStateRec
+ *, GLbyte *);
extern _X_HIDDEN void __glXDisp_Vertex2sv(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_Vertex2sv(GLbyte * pc);
-extern _X_HIDDEN int __glXDisp_GetIntegerv(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GetIntegerv(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDisp_GetProgramEnvParameterfvARB(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GetProgramEnvParameterfvARB(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDisp_GetTrackMatrixivNV(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GetTrackMatrixivNV(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetIntegerv(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetIntegerv(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetProgramEnvParameterfvARB(struct
+ __GLXclientStateRec
+ *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetProgramEnvParameterfvARB(struct
+ __GLXclientStateRec
+ *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetTrackMatrixivNV(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetTrackMatrixivNV(struct __GLXclientStateRec
+ *, GLbyte *);
extern _X_HIDDEN void __glXDisp_VertexAttrib3svNV(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_VertexAttrib3svNV(GLbyte * pc);
-extern _X_HIDDEN int __glXDisp_GetTexEnviv(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GetTexEnviv(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDisp_VendorPrivateWithReply(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_VendorPrivateWithReply(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetTexEnviv(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetTexEnviv(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDisp_VendorPrivateWithReply(struct __GLXclientStateRec
+ *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_VendorPrivateWithReply(struct
+ __GLXclientStateRec *,
+ GLbyte *);
extern _X_HIDDEN void __glXDisp_SeparableFilter2D(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_SeparableFilter2D(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_Map1d(GLbyte * pc);
@@ -738,14 +1010,27 @@ extern _X_HIDDEN void __glXDisp_TexImage2D(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_TexImage2D(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_ProgramParameters4fvNV(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_ProgramParameters4fvNV(GLbyte * pc);
-extern _X_HIDDEN int __glXDisp_GetProgramivNV(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GetProgramivNV(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDisp_ChangeDrawableAttributes(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_ChangeDrawableAttributes(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDisp_GetMinmaxParameteriv(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GetMinmaxParameteriv(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDisp_GetMinmaxParameterivEXT(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GetMinmaxParameterivEXT(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetProgramivNV(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetProgramivNV(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDisp_ChangeDrawableAttributes(struct
+ __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_ChangeDrawableAttributes(struct
+ __GLXclientStateRec
+ *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetMinmaxParameteriv(struct __GLXclientStateRec
+ *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetMinmaxParameteriv(struct
+ __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetMinmaxParameterivEXT(struct
+ __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetMinmaxParameterivEXT(struct
+ __GLXclientStateRec
+ *, GLbyte *);
extern _X_HIDDEN void __glXDisp_PixelTransferf(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_PixelTransferf(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_CopyTexImage1D(GLbyte * pc);
@@ -774,12 +1059,22 @@ extern _X_HIDDEN void __glXDisp_ListBase(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_ListBase(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_ConvolutionParameterf(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_ConvolutionParameterf(GLbyte * pc);
-extern _X_HIDDEN int __glXDisp_GetColorTableParameteriv(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GetColorTableParameteriv(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDisp_GetColorTableParameterivSGI(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GetColorTableParameterivSGI(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDisp_ReleaseTexImageEXT(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_ReleaseTexImageEXT(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetColorTableParameteriv(struct
+ __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetColorTableParameteriv(struct
+ __GLXclientStateRec
+ *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetColorTableParameterivSGI(struct
+ __GLXclientStateRec
+ *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetColorTableParameterivSGI(struct
+ __GLXclientStateRec
+ *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_ReleaseTexImageEXT(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_ReleaseTexImageEXT(struct __GLXclientStateRec
+ *, GLbyte *);
extern _X_HIDDEN void __glXDisp_CallList(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_CallList(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_VertexAttribs2fvNV(GLbyte * pc);
@@ -794,14 +1089,20 @@ extern _X_HIDDEN void __glXDisp_BindRenderbufferEXT(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_BindRenderbufferEXT(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_Vertex3sv(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_Vertex3sv(GLbyte * pc);
-extern _X_HIDDEN int __glXDisp_SetClientInfoARB(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_SetClientInfoARB(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDisp_BindTexImageEXT(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_BindTexImageEXT(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_SetClientInfoARB(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_SetClientInfoARB(struct __GLXclientStateRec
+ *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_BindTexImageEXT(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_BindTexImageEXT(struct __GLXclientStateRec *,
+ GLbyte *);
extern _X_HIDDEN void __glXDisp_ProgramLocalParameter4fvARB(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_ProgramLocalParameter4fvARB(GLbyte * pc);
-extern _X_HIDDEN int __glXDisp_DeleteProgramsNV(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_DeleteProgramsNV(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_DeleteProgramsNV(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_DeleteProgramsNV(struct __GLXclientStateRec
+ *, GLbyte *);
extern _X_HIDDEN void __glXDisp_EvalMesh1(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_EvalMesh1(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_VertexAttribs1fvNV(GLbyte * pc);
@@ -810,8 +1111,10 @@ extern _X_HIDDEN void __glXDisp_MultiTexCoord1dvARB(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_MultiTexCoord1dvARB(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_Vertex2iv(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_Vertex2iv(GLbyte * pc);
-extern _X_HIDDEN int __glXDisp_GetProgramStringNV(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GetProgramStringNV(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetProgramStringNV(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetProgramStringNV(struct __GLXclientStateRec
+ *, GLbyte *);
extern _X_HIDDEN void __glXDisp_LineWidth(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_LineWidth(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_VertexAttrib2fvARB(GLbyte * pc);
@@ -820,16 +1123,27 @@ extern _X_HIDDEN void __glXDisp_TexGendv(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_TexGendv(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_ResetMinmax(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_ResetMinmax(GLbyte * pc);
-extern _X_HIDDEN int __glXDisp_GetConvolutionParameterfv(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GetConvolutionParameterfv(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDisp_GetConvolutionParameterfvEXT(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GetConvolutionParameterfvEXT(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetConvolutionParameterfv(struct
+ __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetConvolutionParameterfv(struct
+ __GLXclientStateRec
+ *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetConvolutionParameterfvEXT(struct
+ __GLXclientStateRec
+ *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetConvolutionParameterfvEXT(struct
+ __GLXclientStateRec
+ *, GLbyte *);
extern _X_HIDDEN void __glXDisp_VertexAttribs4dvNV(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_VertexAttribs4dvNV(GLbyte * pc);
-extern _X_HIDDEN int __glXDisp_GetMaterialfv(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GetMaterialfv(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetMaterialfv(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetMaterialfv(struct __GLXclientStateRec *,
+ GLbyte *);
extern _X_HIDDEN int __glXDisp_UseXFont(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_UseXFont(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_UseXFont(struct __GLXclientStateRec *,
+ GLbyte *);
extern _X_HIDDEN void __glXDisp_ShadeModel(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_ShadeModel(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_Materialfv(GLbyte * pc);
@@ -846,16 +1160,30 @@ extern _X_HIDDEN void __glXDisp_DrawArrays(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_DrawArrays(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_Color3iv(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_Color3iv(GLbyte * pc);
-extern _X_HIDDEN int __glXDisp_GetProgramLocalParameterdvARB(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GetProgramLocalParameterdvARB(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDisp_GetHistogramParameteriv(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GetHistogramParameteriv(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDisp_GetHistogramParameterivEXT(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GetHistogramParameterivEXT(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetProgramLocalParameterdvARB(struct
+ __GLXclientStateRec
+ *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetProgramLocalParameterdvARB(struct
+ __GLXclientStateRec
+ *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetHistogramParameteriv(struct
+ __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetHistogramParameteriv(struct
+ __GLXclientStateRec
+ *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetHistogramParameterivEXT(struct
+ __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetHistogramParameterivEXT(struct
+ __GLXclientStateRec
+ *, GLbyte *);
extern _X_HIDDEN void __glXDisp_Rotatef(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_Rotatef(GLbyte * pc);
-extern _X_HIDDEN int __glXDisp_GetProgramivARB(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GetProgramivARB(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetProgramivARB(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetProgramivARB(struct __GLXclientStateRec *,
+ GLbyte *);
extern _X_HIDDEN void __glXDisp_BlendFuncSeparateEXT(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_BlendFuncSeparateEXT(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_ProgramParameters4dvNV(GLbyte * pc);
@@ -866,30 +1194,53 @@ extern _X_HIDDEN void __glXDisp_EvalPoint1(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_EvalPoint1(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_PopMatrix(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_PopMatrix(GLbyte * pc);
-extern _X_HIDDEN int __glXDisp_MakeCurrentReadSGI(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_MakeCurrentReadSGI(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDisp_GetTexGeniv(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GetTexGeniv(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDisp_MakeCurrent(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_MakeCurrent(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_MakeCurrentReadSGI(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_MakeCurrentReadSGI(struct __GLXclientStateRec
+ *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetTexGeniv(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetTexGeniv(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDisp_MakeCurrent(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_MakeCurrent(struct __GLXclientStateRec *,
+ GLbyte *);
extern _X_HIDDEN void __glXDisp_Map2d(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_Map2d(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_Map2f(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_Map2f(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_ProgramStringARB(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_ProgramStringARB(GLbyte * pc);
-extern _X_HIDDEN int __glXDisp_GetConvolutionFilter(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GetConvolutionFilter(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDisp_GetConvolutionFilterEXT(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GetConvolutionFilterEXT(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDisp_GetCompressedTexImageARB(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GetCompressedTexImageARB(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDisp_GetTexGenfv(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GetTexGenfv(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDisp_GetHistogram(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GetHistogram(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDisp_GetHistogramEXT(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GetHistogramEXT(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetConvolutionFilter(struct __GLXclientStateRec
+ *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetConvolutionFilter(struct
+ __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetConvolutionFilterEXT(struct
+ __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetConvolutionFilterEXT(struct
+ __GLXclientStateRec
+ *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetCompressedTexImageARB(struct
+ __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetCompressedTexImageARB(struct
+ __GLXclientStateRec
+ *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetTexGenfv(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetTexGenfv(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetHistogram(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetHistogram(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetHistogramEXT(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetHistogramEXT(struct __GLXclientStateRec *,
+ GLbyte *);
extern _X_HIDDEN void __glXDisp_ActiveStencilFaceEXT(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_ActiveStencilFaceEXT(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_Materialf(GLbyte * pc);
@@ -904,8 +1255,10 @@ extern _X_HIDDEN void __glXDisp_LightModelfv(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_LightModelfv(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_TexCoord2dv(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_TexCoord2dv(GLbyte * pc);
-extern _X_HIDDEN int __glXDisp_GenQueriesARB(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GenQueriesARB(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GenQueriesARB(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GenQueriesARB(struct __GLXclientStateRec *,
+ GLbyte *);
extern _X_HIDDEN void __glXDisp_EvalCoord1dv(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_EvalCoord1dv(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_Translated(GLbyte * pc);
@@ -916,14 +1269,21 @@ extern _X_HIDDEN void __glXDisp_StencilMask(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_StencilMask(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_ClampColorARB(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_ClampColorARB(GLbyte * pc);
-extern _X_HIDDEN int __glXDisp_CreateWindow(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_CreateWindow(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDisp_GetLightiv(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GetLightiv(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_CreateWindow(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_CreateWindow(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetLightiv(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetLightiv(struct __GLXclientStateRec *,
+ GLbyte *);
extern _X_HIDDEN int __glXDisp_IsList(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_IsList(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDisp_RenderMode(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_RenderMode(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_IsList(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDisp_RenderMode(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_RenderMode(struct __GLXclientStateRec *,
+ GLbyte *);
extern _X_HIDDEN void __glXDisp_DrawBuffersARB(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_DrawBuffersARB(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_LoadName(GLbyte * pc);
@@ -932,8 +1292,11 @@ extern _X_HIDDEN void __glXDisp_CopyTexSubImage1D(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_CopyTexSubImage1D(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_CullFace(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_CullFace(GLbyte * pc);
-extern _X_HIDDEN int __glXDisp_QueryContextInfoEXT(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_QueryContextInfoEXT(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_QueryContextInfoEXT(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_QueryContextInfoEXT(struct
+ __GLXclientStateRec *,
+ GLbyte *);
extern _X_HIDDEN void __glXDisp_VertexAttribs3svNV(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_VertexAttribs3svNV(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_StencilFunc(GLbyte * pc);
@@ -952,12 +1315,16 @@ extern _X_HIDDEN void __glXDisp_ClipPlane(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_ClipPlane(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_TrackMatrixNV(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_TrackMatrixNV(GLbyte * pc);
-extern _X_HIDDEN int __glXDisp_GetPixelMapuiv(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GetPixelMapuiv(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetPixelMapuiv(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetPixelMapuiv(struct __GLXclientStateRec *,
+ GLbyte *);
extern _X_HIDDEN void __glXDisp_Indexfv(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_Indexfv(GLbyte * pc);
-extern _X_HIDDEN int __glXDisp_QueryContext(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_QueryContext(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_QueryContext(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_QueryContext(struct __GLXclientStateRec *,
+ GLbyte *);
extern _X_HIDDEN void __glXDisp_SecondaryColor3svEXT(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_SecondaryColor3svEXT(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_MultiTexCoord3fvARB(GLbyte * pc);
@@ -968,8 +1335,10 @@ extern _X_HIDDEN void __glXDisp_BindProgramNV(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_BindProgramNV(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_VertexAttrib4svARB(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_VertexAttrib4svARB(GLbyte * pc);
-extern _X_HIDDEN int __glXDisp_GetFloatv(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GetFloatv(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetFloatv(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetFloatv(struct __GLXclientStateRec *,
+ GLbyte *);
extern _X_HIDDEN void __glXDisp_TexCoord3sv(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_TexCoord3sv(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_PopAttrib(GLbyte * pc);
@@ -984,16 +1353,21 @@ extern _X_HIDDEN void __glXDisp_Minmax(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_Minmax(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_FogCoorddvEXT(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_FogCoorddvEXT(GLbyte * pc);
-extern _X_HIDDEN int __glXDisp_GetBooleanv(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GetBooleanv(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetBooleanv(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetBooleanv(struct __GLXclientStateRec *,
+ GLbyte *);
extern _X_HIDDEN void __glXDisp_Hint(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_Hint(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_Color4dv(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_Color4dv(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_VertexAttrib2svARB(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_VertexAttrib2svARB(GLbyte * pc);
-extern _X_HIDDEN int __glXDisp_AreProgramsResidentNV(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_AreProgramsResidentNV(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_AreProgramsResidentNV(struct __GLXclientStateRec
+ *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_AreProgramsResidentNV(struct
+ __GLXclientStateRec *,
+ GLbyte *);
extern _X_HIDDEN void __glXDisp_CopyColorSubTable(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_CopyColorSubTable(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_DeleteRenderbuffersEXT(GLbyte * pc);
@@ -1004,30 +1378,46 @@ extern _X_HIDDEN void __glXDisp_VertexAttrib3dvNV(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_VertexAttrib3dvNV(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_Vertex4iv(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_Vertex4iv(GLbyte * pc);
-extern _X_HIDDEN int __glXDisp_GetProgramEnvParameterdvARB(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GetProgramEnvParameterdvARB(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetProgramEnvParameterdvARB(struct
+ __GLXclientStateRec
+ *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetProgramEnvParameterdvARB(struct
+ __GLXclientStateRec
+ *, GLbyte *);
extern _X_HIDDEN void __glXDisp_TexCoord4dv(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_TexCoord4dv(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_Begin(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_Begin(GLbyte * pc);
-extern _X_HIDDEN int __glXDisp_ClientInfo(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_ClientInfo(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_ClientInfo(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_ClientInfo(struct __GLXclientStateRec *,
+ GLbyte *);
extern _X_HIDDEN void __glXDisp_Rectfv(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_Rectfv(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_LightModelf(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_LightModelf(GLbyte * pc);
-extern _X_HIDDEN int __glXDisp_GetTexParameterfv(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GetTexParameterfv(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDisp_GetLightfv(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GetLightfv(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetTexParameterfv(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetTexParameterfv(struct __GLXclientStateRec
+ *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetLightfv(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetLightfv(struct __GLXclientStateRec *,
+ GLbyte *);
extern _X_HIDDEN void __glXDisp_Disable(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_Disable(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_MultiTexCoord2fvARB(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_MultiTexCoord2fvARB(GLbyte * pc);
-extern _X_HIDDEN int __glXDisp_GetRenderbufferParameterivEXT(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GetRenderbufferParameterivEXT(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDisp_SelectBuffer(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_SelectBuffer(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetRenderbufferParameterivEXT(struct
+ __GLXclientStateRec
+ *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetRenderbufferParameterivEXT(struct
+ __GLXclientStateRec
+ *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_SelectBuffer(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_SelectBuffer(struct __GLXclientStateRec *,
+ GLbyte *);
extern _X_HIDDEN void __glXDisp_ColorMask(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_ColorMask(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_RasterPos4iv(GLbyte * pc);
@@ -1036,21 +1426,32 @@ extern _X_HIDDEN void __glXDisp_Enable(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_Enable(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_VertexAttribs4svNV(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_VertexAttribs4svNV(GLbyte * pc);
-extern _X_HIDDEN int __glXDisp_GetMinmaxParameterfv(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GetMinmaxParameterfv(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDisp_GetMinmaxParameterfvEXT(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GetMinmaxParameterfvEXT(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetMinmaxParameterfv(struct __GLXclientStateRec
+ *, GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetMinmaxParameterfv(struct
+ __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDisp_GetMinmaxParameterfvEXT(struct
+ __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GetMinmaxParameterfvEXT(struct
+ __GLXclientStateRec
+ *, GLbyte *);
extern _X_HIDDEN void __glXDisp_VertexAttrib1fvARB(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_VertexAttrib1fvARB(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_VertexAttribs1svNV(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_VertexAttribs1svNV(GLbyte * pc);
extern _X_HIDDEN void __glXDisp_Vertex3fv(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_Vertex3fv(GLbyte * pc);
-extern _X_HIDDEN int __glXDisp_IsRenderbufferEXT(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_IsRenderbufferEXT(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDisp_GenProgramsNV(struct __GLXclientStateRec *, GLbyte *);
-extern _X_HIDDEN int __glXDispSwap_GenProgramsNV(struct __GLXclientStateRec *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_IsRenderbufferEXT(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_IsRenderbufferEXT(struct __GLXclientStateRec
+ *, GLbyte *);
+extern _X_HIDDEN int __glXDisp_GenProgramsNV(struct __GLXclientStateRec *,
+ GLbyte *);
+extern _X_HIDDEN int __glXDispSwap_GenProgramsNV(struct __GLXclientStateRec *,
+ GLbyte *);
extern _X_HIDDEN void __glXDisp_VertexAttrib4dvNV(GLbyte * pc);
extern _X_HIDDEN void __glXDispSwap_VertexAttrib4dvNV(GLbyte * pc);
-#endif /* !defined( _INDIRECT_DISPATCH_H_ ) */
+#endif /* !defined( _INDIRECT_DISPATCH_H_ ) */
diff --git a/glx/indirect_dispatch_swap.c b/glx/indirect_dispatch_swap.c
index a7c59fc8c..80010b3f7 100644
--- a/glx/indirect_dispatch_swap.c
+++ b/glx/indirect_dispatch_swap.c
@@ -47,66 +47,91 @@ typedef struct {
__GLX_PIXEL_3D_HDR;
} __GLXpixel3DHeader;
-extern GLboolean __glXErrorOccured( void );
-extern void __glXClearErrorOccured( void );
+extern GLboolean __glXErrorOccured(void);
+extern void __glXClearErrorOccured(void);
-static const unsigned dummy_answer[2] = {0, 0};
+static const unsigned dummy_answer[2] = { 0, 0 };
static GLsizei
-bswap_CARD32( const void * src )
+bswap_CARD32(const void *src)
{
- union { uint32_t dst; GLsizei ret; } x;
- x.dst = bswap_32( *(uint32_t *) src );
+ union {
+ uint32_t dst;
+ GLsizei ret;
+ } x;
+
+ x.dst = bswap_32(*(uint32_t *) src);
return x.ret;
}
static GLshort
-bswap_CARD16( const void * src )
+bswap_CARD16(const void *src)
{
- union { uint16_t dst; GLshort ret; } x;
- x.dst = bswap_16( *(uint16_t *) src );
+ union {
+ uint16_t dst;
+ GLshort ret;
+ } x;
+
+ x.dst = bswap_16(*(uint16_t *) src);
return x.ret;
}
static GLenum
-bswap_ENUM( const void * src )
+bswap_ENUM(const void *src)
{
- union { uint32_t dst; GLenum ret; } x;
- x.dst = bswap_32( *(uint32_t *) src );
+ union {
+ uint32_t dst;
+ GLenum ret;
+ } x;
+
+ x.dst = bswap_32(*(uint32_t *) src);
return x.ret;
}
static GLsync
-bswap_CARD64( const void * src )
+bswap_CARD64(const void *src)
{
- union { uint64_t dst; GLsync ret; } x;
- x.dst = bswap_64( *(uint64_t *) src );
+ union {
+ uint64_t dst;
+ GLsync ret;
+ } x;
+
+ x.dst = bswap_64(*(uint64_t *) src);
return x.ret;
}
static GLdouble
-bswap_FLOAT64( const void * src )
+bswap_FLOAT64(const void *src)
{
- union { uint64_t dst; GLdouble ret; } x;
- x.dst = bswap_64( *(uint64_t *) src );
+ union {
+ uint64_t dst;
+ GLdouble ret;
+ } x;
+
+ x.dst = bswap_64(*(uint64_t *) src);
return x.ret;
}
static GLfloat
-bswap_FLOAT32( const void * src )
+bswap_FLOAT32(const void *src)
{
- union { uint32_t dst; GLfloat ret; } x;
- x.dst = bswap_32( *(uint32_t *) src );
+ union {
+ uint32_t dst;
+ GLfloat ret;
+ } x;
+
+ x.dst = bswap_32(*(uint32_t *) src);
return x.ret;
}
static void *
-bswap_16_array( uint16_t * src, unsigned count )
+bswap_16_array(uint16_t * src, unsigned count)
{
- unsigned i;
+ unsigned i;
+
+ for (i = 0; i < count; i++) {
+ uint16_t temp = bswap_16(src[i]);
- for ( i = 0 ; i < count ; i++ ) {
- uint16_t temp = bswap_16( src[i] );
src[i] = temp;
}
@@ -114,12 +139,13 @@ bswap_16_array( uint16_t * src, unsigned count )
}
static void *
-bswap_32_array( uint32_t * src, unsigned count )
+bswap_32_array(uint32_t * src, unsigned count)
{
- unsigned i;
+ unsigned i;
+
+ for (i = 0; i < count; i++) {
+ uint32_t temp = bswap_32(src[i]);
- for ( i = 0 ; i < count ; i++ ) {
- uint32_t temp = bswap_32( src[i] );
src[i] = temp;
}
@@ -127,119 +153,126 @@ bswap_32_array( uint32_t * src, unsigned count )
}
static void *
-bswap_64_array( uint64_t * src, unsigned count )
+bswap_64_array(uint64_t * src, unsigned count)
{
- unsigned i;
+ unsigned i;
+
+ for (i = 0; i < count; i++) {
+ uint64_t temp = bswap_64(src[i]);
- for ( i = 0 ; i < count ; i++ ) {
- uint64_t temp = bswap_64( src[i] );
src[i] = temp;
}
return src;
}
-int __glXDispSwap_NewList(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_NewList(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- CALL_NewList( GET_DISPATCH(), (
- (GLuint )bswap_CARD32 ( pc + 0 ),
- (GLenum )bswap_ENUM ( pc + 4 )
- ) );
+ if (cx != NULL) {
+ CALL_NewList(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0),
+ (GLenum) bswap_ENUM(pc + 4)
+ ));
error = Success;
}
return error;
}
-int __glXDispSwap_EndList(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_EndList(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- CALL_EndList( GET_DISPATCH(), () );
+ if (cx != NULL) {
+ CALL_EndList(GET_DISPATCH(), ());
error = Success;
}
return error;
}
-void __glXDispSwap_CallList(GLbyte * pc)
+void
+__glXDispSwap_CallList(GLbyte * pc)
{
- CALL_CallList( GET_DISPATCH(), (
- (GLuint )bswap_CARD32 ( pc + 0 )
- ) );
+ CALL_CallList(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0)
+ ));
}
-void __glXDispSwap_CallLists(GLbyte * pc)
+void
+__glXDispSwap_CallLists(GLbyte * pc)
{
- const GLsizei n = (GLsizei )bswap_CARD32 ( pc + 0 );
- const GLenum type = (GLenum )bswap_ENUM ( pc + 4 );
- const GLvoid * lists;
+ const GLsizei n = (GLsizei) bswap_CARD32(pc + 0);
+ const GLenum type = (GLenum) bswap_ENUM(pc + 4);
+ const GLvoid *lists;
- switch(type) {
+ switch (type) {
case GL_BYTE:
case GL_UNSIGNED_BYTE:
case GL_2_BYTES:
case GL_3_BYTES:
case GL_4_BYTES:
- lists = (const GLvoid *) (pc + 8); break;
+ lists = (const GLvoid *) (pc + 8);
+ break;
case GL_SHORT:
case GL_UNSIGNED_SHORT:
- lists = (const GLvoid *) bswap_16_array( (uint16_t *) (pc + 8), n ); break;
+ lists = (const GLvoid *) bswap_16_array((uint16_t *) (pc + 8), n);
+ break;
case GL_INT:
case GL_UNSIGNED_INT:
case GL_FLOAT:
- lists = (const GLvoid *) bswap_32_array( (uint32_t *) (pc + 8), n ); break;
+ lists = (const GLvoid *) bswap_32_array((uint32_t *) (pc + 8), n);
+ break;
default:
return;
}
- CALL_CallLists( GET_DISPATCH(), (
- n,
- type,
- lists
- ) );
+ CALL_CallLists(GET_DISPATCH(), (n, type, lists));
}
-int __glXDispSwap_DeleteLists(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_DeleteLists(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- CALL_DeleteLists( GET_DISPATCH(), (
- (GLuint )bswap_CARD32 ( pc + 0 ),
- (GLsizei )bswap_CARD32 ( pc + 4 )
- ) );
+ if (cx != NULL) {
+ CALL_DeleteLists(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0),
+ (GLsizei) bswap_CARD32(pc + 4)
+ ));
error = Success;
}
return error;
}
-int __glXDispSwap_GenLists(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_GenLists(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
+ if (cx != NULL) {
GLuint retval;
- retval = CALL_GenLists( GET_DISPATCH(), (
- (GLsizei )bswap_CARD32 ( pc + 0 )
- ) );
+
+ retval = CALL_GenLists(GET_DISPATCH(), ((GLsizei) bswap_CARD32(pc + 0)
+ ));
__glXSendReplySwap(cl->client, dummy_answer, 0, 0, GL_FALSE, retval);
error = Success;
}
@@ -247,1648 +280,1757 @@ int __glXDispSwap_GenLists(__GLXclientState *cl, GLbyte *pc)
return error;
}
-void __glXDispSwap_ListBase(GLbyte * pc)
+void
+__glXDispSwap_ListBase(GLbyte * pc)
{
- CALL_ListBase( GET_DISPATCH(), (
- (GLuint )bswap_CARD32 ( pc + 0 )
- ) );
+ CALL_ListBase(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0)
+ ));
}
-void __glXDispSwap_Begin(GLbyte * pc)
+void
+__glXDispSwap_Begin(GLbyte * pc)
{
- CALL_Begin( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 )
- ) );
+ CALL_Begin(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0)
+ ));
}
-void __glXDispSwap_Bitmap(GLbyte * pc)
+void
+__glXDispSwap_Bitmap(GLbyte * pc)
{
- const GLubyte * const bitmap = (const GLubyte *) ((pc + 44));
- __GLXpixelHeader * const hdr = (__GLXpixelHeader *)(pc);
+ const GLubyte *const bitmap = (const GLubyte *) ((pc + 44));
+ __GLXpixelHeader *const hdr = (__GLXpixelHeader *) (pc);
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ROW_LENGTH, (GLint) bswap_CARD32( & hdr->rowLength )) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_ROWS, (GLint) bswap_CARD32( & hdr->skipRows )) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_PIXELS, (GLint) bswap_CARD32( & hdr->skipPixels )) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ALIGNMENT, (GLint) bswap_CARD32( & hdr->alignment )) );
+ CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_ROW_LENGTH,
+ (GLint) bswap_CARD32(&hdr->rowLength)));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_SKIP_ROWS,
+ (GLint) bswap_CARD32(&hdr->skipRows)));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_SKIP_PIXELS,
+ (GLint) bswap_CARD32(&hdr->skipPixels)));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_ALIGNMENT,
+ (GLint) bswap_CARD32(&hdr->alignment)));
- CALL_Bitmap( GET_DISPATCH(), (
- (GLsizei )bswap_CARD32 ( pc + 20 ),
- (GLsizei )bswap_CARD32 ( pc + 24 ),
- (GLfloat )bswap_FLOAT32( pc + 28 ),
- (GLfloat )bswap_FLOAT32( pc + 32 ),
- (GLfloat )bswap_FLOAT32( pc + 36 ),
- (GLfloat )bswap_FLOAT32( pc + 40 ),
- bitmap
- ) );
+ CALL_Bitmap(GET_DISPATCH(), ((GLsizei) bswap_CARD32(pc + 20),
+ (GLsizei) bswap_CARD32(pc + 24),
+ (GLfloat) bswap_FLOAT32(pc + 28),
+ (GLfloat) bswap_FLOAT32(pc + 32),
+ (GLfloat) bswap_FLOAT32(pc + 36),
+ (GLfloat) bswap_FLOAT32(pc + 40), bitmap));
}
-void __glXDispSwap_Color3bv(GLbyte * pc)
+void
+__glXDispSwap_Color3bv(GLbyte * pc)
{
- CALL_Color3bv( GET_DISPATCH(), (
- (const GLbyte *)(pc + 0)
- ) );
+ CALL_Color3bv(GET_DISPATCH(), ((const GLbyte *) (pc + 0)
+ ));
}
-void __glXDispSwap_Color3dv(GLbyte * pc)
+void
+__glXDispSwap_Color3dv(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 24);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 24);
pc -= 4;
}
#endif
- CALL_Color3dv( GET_DISPATCH(), (
- (const GLdouble *)bswap_64_array( (uint64_t *) (pc + 0), 3 )
- ) );
+ CALL_Color3dv(GET_DISPATCH(), ((const GLdouble *)
+ bswap_64_array((uint64_t *) (pc + 0), 3)
+ ));
}
-void __glXDispSwap_Color3fv(GLbyte * pc)
+void
+__glXDispSwap_Color3fv(GLbyte * pc)
{
- CALL_Color3fv( GET_DISPATCH(), (
- (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 0), 3 )
- ) );
+ CALL_Color3fv(GET_DISPATCH(), ((const GLfloat *)
+ bswap_32_array((uint32_t *) (pc + 0), 3)
+ ));
}
-void __glXDispSwap_Color3iv(GLbyte * pc)
+void
+__glXDispSwap_Color3iv(GLbyte * pc)
{
- CALL_Color3iv( GET_DISPATCH(), (
- (const GLint *)bswap_32_array( (uint32_t *) (pc + 0), 3 )
- ) );
+ CALL_Color3iv(GET_DISPATCH(), ((const GLint *)
+ bswap_32_array((uint32_t *) (pc + 0), 3)
+ ));
}
-void __glXDispSwap_Color3sv(GLbyte * pc)
+void
+__glXDispSwap_Color3sv(GLbyte * pc)
{
- CALL_Color3sv( GET_DISPATCH(), (
- (const GLshort *)bswap_16_array( (uint16_t *) (pc + 0), 3 )
- ) );
+ CALL_Color3sv(GET_DISPATCH(), ((const GLshort *)
+ bswap_16_array((uint16_t *) (pc + 0), 3)
+ ));
}
-void __glXDispSwap_Color3ubv(GLbyte * pc)
+void
+__glXDispSwap_Color3ubv(GLbyte * pc)
{
- CALL_Color3ubv( GET_DISPATCH(), (
- (const GLubyte *)(pc + 0)
- ) );
+ CALL_Color3ubv(GET_DISPATCH(), ((const GLubyte *) (pc + 0)
+ ));
}
-void __glXDispSwap_Color3uiv(GLbyte * pc)
+void
+__glXDispSwap_Color3uiv(GLbyte * pc)
{
- CALL_Color3uiv( GET_DISPATCH(), (
- (const GLuint *)bswap_32_array( (uint32_t *) (pc + 0), 3 )
- ) );
+ CALL_Color3uiv(GET_DISPATCH(), ((const GLuint *)
+ bswap_32_array((uint32_t *) (pc + 0), 3)
+ ));
}
-void __glXDispSwap_Color3usv(GLbyte * pc)
+void
+__glXDispSwap_Color3usv(GLbyte * pc)
{
- CALL_Color3usv( GET_DISPATCH(), (
- (const GLushort *)bswap_16_array( (uint16_t *) (pc + 0), 3 )
- ) );
+ CALL_Color3usv(GET_DISPATCH(), ((const GLushort *)
+ bswap_16_array((uint16_t *) (pc + 0), 3)
+ ));
}
-void __glXDispSwap_Color4bv(GLbyte * pc)
+void
+__glXDispSwap_Color4bv(GLbyte * pc)
{
- CALL_Color4bv( GET_DISPATCH(), (
- (const GLbyte *)(pc + 0)
- ) );
+ CALL_Color4bv(GET_DISPATCH(), ((const GLbyte *) (pc + 0)
+ ));
}
-void __glXDispSwap_Color4dv(GLbyte * pc)
+void
+__glXDispSwap_Color4dv(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 32);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 32);
pc -= 4;
}
#endif
- CALL_Color4dv( GET_DISPATCH(), (
- (const GLdouble *)bswap_64_array( (uint64_t *) (pc + 0), 4 )
- ) );
+ CALL_Color4dv(GET_DISPATCH(), ((const GLdouble *)
+ bswap_64_array((uint64_t *) (pc + 0), 4)
+ ));
}
-void __glXDispSwap_Color4fv(GLbyte * pc)
+void
+__glXDispSwap_Color4fv(GLbyte * pc)
{
- CALL_Color4fv( GET_DISPATCH(), (
- (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 0), 4 )
- ) );
+ CALL_Color4fv(GET_DISPATCH(), ((const GLfloat *)
+ bswap_32_array((uint32_t *) (pc + 0), 4)
+ ));
}
-void __glXDispSwap_Color4iv(GLbyte * pc)
+void
+__glXDispSwap_Color4iv(GLbyte * pc)
{
- CALL_Color4iv( GET_DISPATCH(), (
- (const GLint *)bswap_32_array( (uint32_t *) (pc + 0), 4 )
- ) );
+ CALL_Color4iv(GET_DISPATCH(), ((const GLint *)
+ bswap_32_array((uint32_t *) (pc + 0), 4)
+ ));
}
-void __glXDispSwap_Color4sv(GLbyte * pc)
+void
+__glXDispSwap_Color4sv(GLbyte * pc)
{
- CALL_Color4sv( GET_DISPATCH(), (
- (const GLshort *)bswap_16_array( (uint16_t *) (pc + 0), 4 )
- ) );
+ CALL_Color4sv(GET_DISPATCH(), ((const GLshort *)
+ bswap_16_array((uint16_t *) (pc + 0), 4)
+ ));
}
-void __glXDispSwap_Color4ubv(GLbyte * pc)
+void
+__glXDispSwap_Color4ubv(GLbyte * pc)
{
- CALL_Color4ubv( GET_DISPATCH(), (
- (const GLubyte *)(pc + 0)
- ) );
+ CALL_Color4ubv(GET_DISPATCH(), ((const GLubyte *) (pc + 0)
+ ));
}
-void __glXDispSwap_Color4uiv(GLbyte * pc)
+void
+__glXDispSwap_Color4uiv(GLbyte * pc)
{
- CALL_Color4uiv( GET_DISPATCH(), (
- (const GLuint *)bswap_32_array( (uint32_t *) (pc + 0), 4 )
- ) );
+ CALL_Color4uiv(GET_DISPATCH(), ((const GLuint *)
+ bswap_32_array((uint32_t *) (pc + 0), 4)
+ ));
}
-void __glXDispSwap_Color4usv(GLbyte * pc)
+void
+__glXDispSwap_Color4usv(GLbyte * pc)
{
- CALL_Color4usv( GET_DISPATCH(), (
- (const GLushort *)bswap_16_array( (uint16_t *) (pc + 0), 4 )
- ) );
+ CALL_Color4usv(GET_DISPATCH(), ((const GLushort *)
+ bswap_16_array((uint16_t *) (pc + 0), 4)
+ ));
}
-void __glXDispSwap_EdgeFlagv(GLbyte * pc)
+void
+__glXDispSwap_EdgeFlagv(GLbyte * pc)
{
- CALL_EdgeFlagv( GET_DISPATCH(), (
- (const GLboolean *)(pc + 0)
- ) );
+ CALL_EdgeFlagv(GET_DISPATCH(), ((const GLboolean *) (pc + 0)
+ ));
}
-void __glXDispSwap_End(GLbyte * pc)
+void
+__glXDispSwap_End(GLbyte * pc)
{
- CALL_End( GET_DISPATCH(), () );
+ CALL_End(GET_DISPATCH(), ());
}
-void __glXDispSwap_Indexdv(GLbyte * pc)
+void
+__glXDispSwap_Indexdv(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 8);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 8);
pc -= 4;
}
#endif
- CALL_Indexdv( GET_DISPATCH(), (
- (const GLdouble *)bswap_64_array( (uint64_t *) (pc + 0), 1 )
- ) );
+ CALL_Indexdv(GET_DISPATCH(), ((const GLdouble *)
+ bswap_64_array((uint64_t *) (pc + 0), 1)
+ ));
}
-void __glXDispSwap_Indexfv(GLbyte * pc)
+void
+__glXDispSwap_Indexfv(GLbyte * pc)
{
- CALL_Indexfv( GET_DISPATCH(), (
- (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 0), 1 )
- ) );
+ CALL_Indexfv(GET_DISPATCH(), ((const GLfloat *)
+ bswap_32_array((uint32_t *) (pc + 0), 1)
+ ));
}
-void __glXDispSwap_Indexiv(GLbyte * pc)
+void
+__glXDispSwap_Indexiv(GLbyte * pc)
{
- CALL_Indexiv( GET_DISPATCH(), (
- (const GLint *)bswap_32_array( (uint32_t *) (pc + 0), 1 )
- ) );
+ CALL_Indexiv(GET_DISPATCH(), ((const GLint *)
+ bswap_32_array((uint32_t *) (pc + 0), 1)
+ ));
}
-void __glXDispSwap_Indexsv(GLbyte * pc)
+void
+__glXDispSwap_Indexsv(GLbyte * pc)
{
- CALL_Indexsv( GET_DISPATCH(), (
- (const GLshort *)bswap_16_array( (uint16_t *) (pc + 0), 1 )
- ) );
+ CALL_Indexsv(GET_DISPATCH(), ((const GLshort *)
+ bswap_16_array((uint16_t *) (pc + 0), 1)
+ ));
}
-void __glXDispSwap_Normal3bv(GLbyte * pc)
+void
+__glXDispSwap_Normal3bv(GLbyte * pc)
{
- CALL_Normal3bv( GET_DISPATCH(), (
- (const GLbyte *)(pc + 0)
- ) );
+ CALL_Normal3bv(GET_DISPATCH(), ((const GLbyte *) (pc + 0)
+ ));
}
-void __glXDispSwap_Normal3dv(GLbyte * pc)
+void
+__glXDispSwap_Normal3dv(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 24);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 24);
pc -= 4;
}
#endif
- CALL_Normal3dv( GET_DISPATCH(), (
- (const GLdouble *)bswap_64_array( (uint64_t *) (pc + 0), 3 )
- ) );
+ CALL_Normal3dv(GET_DISPATCH(), ((const GLdouble *)
+ bswap_64_array((uint64_t *) (pc + 0), 3)
+ ));
}
-void __glXDispSwap_Normal3fv(GLbyte * pc)
+void
+__glXDispSwap_Normal3fv(GLbyte * pc)
{
- CALL_Normal3fv( GET_DISPATCH(), (
- (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 0), 3 )
- ) );
+ CALL_Normal3fv(GET_DISPATCH(), ((const GLfloat *)
+ bswap_32_array((uint32_t *) (pc + 0), 3)
+ ));
}
-void __glXDispSwap_Normal3iv(GLbyte * pc)
+void
+__glXDispSwap_Normal3iv(GLbyte * pc)
{
- CALL_Normal3iv( GET_DISPATCH(), (
- (const GLint *)bswap_32_array( (uint32_t *) (pc + 0), 3 )
- ) );
+ CALL_Normal3iv(GET_DISPATCH(), ((const GLint *)
+ bswap_32_array((uint32_t *) (pc + 0), 3)
+ ));
}
-void __glXDispSwap_Normal3sv(GLbyte * pc)
+void
+__glXDispSwap_Normal3sv(GLbyte * pc)
{
- CALL_Normal3sv( GET_DISPATCH(), (
- (const GLshort *)bswap_16_array( (uint16_t *) (pc + 0), 3 )
- ) );
+ CALL_Normal3sv(GET_DISPATCH(), ((const GLshort *)
+ bswap_16_array((uint16_t *) (pc + 0), 3)
+ ));
}
-void __glXDispSwap_RasterPos2dv(GLbyte * pc)
+void
+__glXDispSwap_RasterPos2dv(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 16);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 16);
pc -= 4;
}
#endif
- CALL_RasterPos2dv( GET_DISPATCH(), (
- (const GLdouble *)bswap_64_array( (uint64_t *) (pc + 0), 2 )
- ) );
+ CALL_RasterPos2dv(GET_DISPATCH(), ((const GLdouble *)
+ bswap_64_array((uint64_t *) (pc + 0), 2)
+ ));
}
-void __glXDispSwap_RasterPos2fv(GLbyte * pc)
+void
+__glXDispSwap_RasterPos2fv(GLbyte * pc)
{
- CALL_RasterPos2fv( GET_DISPATCH(), (
- (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 0), 2 )
- ) );
+ CALL_RasterPos2fv(GET_DISPATCH(), ((const GLfloat *)
+ bswap_32_array((uint32_t *) (pc + 0), 2)
+ ));
}
-void __glXDispSwap_RasterPos2iv(GLbyte * pc)
+void
+__glXDispSwap_RasterPos2iv(GLbyte * pc)
{
- CALL_RasterPos2iv( GET_DISPATCH(), (
- (const GLint *)bswap_32_array( (uint32_t *) (pc + 0), 2 )
- ) );
+ CALL_RasterPos2iv(GET_DISPATCH(), ((const GLint *)
+ bswap_32_array((uint32_t *) (pc + 0), 2)
+ ));
}
-void __glXDispSwap_RasterPos2sv(GLbyte * pc)
+void
+__glXDispSwap_RasterPos2sv(GLbyte * pc)
{
- CALL_RasterPos2sv( GET_DISPATCH(), (
- (const GLshort *)bswap_16_array( (uint16_t *) (pc + 0), 2 )
- ) );
+ CALL_RasterPos2sv(GET_DISPATCH(), ((const GLshort *)
+ bswap_16_array((uint16_t *) (pc + 0), 2)
+ ));
}
-void __glXDispSwap_RasterPos3dv(GLbyte * pc)
+void
+__glXDispSwap_RasterPos3dv(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 24);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 24);
pc -= 4;
}
#endif
- CALL_RasterPos3dv( GET_DISPATCH(), (
- (const GLdouble *)bswap_64_array( (uint64_t *) (pc + 0), 3 )
- ) );
+ CALL_RasterPos3dv(GET_DISPATCH(), ((const GLdouble *)
+ bswap_64_array((uint64_t *) (pc + 0), 3)
+ ));
}
-void __glXDispSwap_RasterPos3fv(GLbyte * pc)
+void
+__glXDispSwap_RasterPos3fv(GLbyte * pc)
{
- CALL_RasterPos3fv( GET_DISPATCH(), (
- (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 0), 3 )
- ) );
+ CALL_RasterPos3fv(GET_DISPATCH(), ((const GLfloat *)
+ bswap_32_array((uint32_t *) (pc + 0), 3)
+ ));
}
-void __glXDispSwap_RasterPos3iv(GLbyte * pc)
+void
+__glXDispSwap_RasterPos3iv(GLbyte * pc)
{
- CALL_RasterPos3iv( GET_DISPATCH(), (
- (const GLint *)bswap_32_array( (uint32_t *) (pc + 0), 3 )
- ) );
+ CALL_RasterPos3iv(GET_DISPATCH(), ((const GLint *)
+ bswap_32_array((uint32_t *) (pc + 0), 3)
+ ));
}
-void __glXDispSwap_RasterPos3sv(GLbyte * pc)
+void
+__glXDispSwap_RasterPos3sv(GLbyte * pc)
{
- CALL_RasterPos3sv( GET_DISPATCH(), (
- (const GLshort *)bswap_16_array( (uint16_t *) (pc + 0), 3 )
- ) );
+ CALL_RasterPos3sv(GET_DISPATCH(), ((const GLshort *)
+ bswap_16_array((uint16_t *) (pc + 0), 3)
+ ));
}
-void __glXDispSwap_RasterPos4dv(GLbyte * pc)
+void
+__glXDispSwap_RasterPos4dv(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 32);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 32);
pc -= 4;
}
#endif
- CALL_RasterPos4dv( GET_DISPATCH(), (
- (const GLdouble *)bswap_64_array( (uint64_t *) (pc + 0), 4 )
- ) );
+ CALL_RasterPos4dv(GET_DISPATCH(), ((const GLdouble *)
+ bswap_64_array((uint64_t *) (pc + 0), 4)
+ ));
}
-void __glXDispSwap_RasterPos4fv(GLbyte * pc)
+void
+__glXDispSwap_RasterPos4fv(GLbyte * pc)
{
- CALL_RasterPos4fv( GET_DISPATCH(), (
- (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 0), 4 )
- ) );
+ CALL_RasterPos4fv(GET_DISPATCH(), ((const GLfloat *)
+ bswap_32_array((uint32_t *) (pc + 0), 4)
+ ));
}
-void __glXDispSwap_RasterPos4iv(GLbyte * pc)
+void
+__glXDispSwap_RasterPos4iv(GLbyte * pc)
{
- CALL_RasterPos4iv( GET_DISPATCH(), (
- (const GLint *)bswap_32_array( (uint32_t *) (pc + 0), 4 )
- ) );
+ CALL_RasterPos4iv(GET_DISPATCH(), ((const GLint *)
+ bswap_32_array((uint32_t *) (pc + 0), 4)
+ ));
}
-void __glXDispSwap_RasterPos4sv(GLbyte * pc)
+void
+__glXDispSwap_RasterPos4sv(GLbyte * pc)
{
- CALL_RasterPos4sv( GET_DISPATCH(), (
- (const GLshort *)bswap_16_array( (uint16_t *) (pc + 0), 4 )
- ) );
+ CALL_RasterPos4sv(GET_DISPATCH(), ((const GLshort *)
+ bswap_16_array((uint16_t *) (pc + 0), 4)
+ ));
}
-void __glXDispSwap_Rectdv(GLbyte * pc)
+void
+__glXDispSwap_Rectdv(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 32);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 32);
pc -= 4;
}
#endif
- CALL_Rectdv( GET_DISPATCH(), (
- (const GLdouble *)bswap_64_array( (uint64_t *) (pc + 0), 2 ),
- (const GLdouble *)bswap_64_array( (uint64_t *) (pc + 16), 2 )
- ) );
+ CALL_Rectdv(GET_DISPATCH(), ((const GLdouble *)
+ bswap_64_array((uint64_t *) (pc + 0), 2),
+ (const GLdouble *)
+ bswap_64_array((uint64_t *) (pc + 16), 2)
+ ));
}
-void __glXDispSwap_Rectfv(GLbyte * pc)
+void
+__glXDispSwap_Rectfv(GLbyte * pc)
{
- CALL_Rectfv( GET_DISPATCH(), (
- (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 0), 2 ),
- (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 8), 2 )
- ) );
+ CALL_Rectfv(GET_DISPATCH(), ((const GLfloat *)
+ bswap_32_array((uint32_t *) (pc + 0), 2),
+ (const GLfloat *)
+ bswap_32_array((uint32_t *) (pc + 8), 2)
+ ));
}
-void __glXDispSwap_Rectiv(GLbyte * pc)
+void
+__glXDispSwap_Rectiv(GLbyte * pc)
{
- CALL_Rectiv( GET_DISPATCH(), (
- (const GLint *)bswap_32_array( (uint32_t *) (pc + 0), 2 ),
- (const GLint *)bswap_32_array( (uint32_t *) (pc + 8), 2 )
- ) );
+ CALL_Rectiv(GET_DISPATCH(), ((const GLint *)
+ bswap_32_array((uint32_t *) (pc + 0), 2),
+ (const GLint *)
+ bswap_32_array((uint32_t *) (pc + 8), 2)
+ ));
}
-void __glXDispSwap_Rectsv(GLbyte * pc)
+void
+__glXDispSwap_Rectsv(GLbyte * pc)
{
- CALL_Rectsv( GET_DISPATCH(), (
- (const GLshort *)bswap_16_array( (uint16_t *) (pc + 0), 2 ),
- (const GLshort *)bswap_16_array( (uint16_t *) (pc + 4), 2 )
- ) );
+ CALL_Rectsv(GET_DISPATCH(), ((const GLshort *)
+ bswap_16_array((uint16_t *) (pc + 0), 2),
+ (const GLshort *)
+ bswap_16_array((uint16_t *) (pc + 4), 2)
+ ));
}
-void __glXDispSwap_TexCoord1dv(GLbyte * pc)
+void
+__glXDispSwap_TexCoord1dv(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 8);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 8);
pc -= 4;
}
#endif
- CALL_TexCoord1dv( GET_DISPATCH(), (
- (const GLdouble *)bswap_64_array( (uint64_t *) (pc + 0), 1 )
- ) );
+ CALL_TexCoord1dv(GET_DISPATCH(), ((const GLdouble *)
+ bswap_64_array((uint64_t *) (pc + 0), 1)
+ ));
}
-void __glXDispSwap_TexCoord1fv(GLbyte * pc)
+void
+__glXDispSwap_TexCoord1fv(GLbyte * pc)
{
- CALL_TexCoord1fv( GET_DISPATCH(), (
- (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 0), 1 )
- ) );
+ CALL_TexCoord1fv(GET_DISPATCH(), ((const GLfloat *)
+ bswap_32_array((uint32_t *) (pc + 0), 1)
+ ));
}
-void __glXDispSwap_TexCoord1iv(GLbyte * pc)
+void
+__glXDispSwap_TexCoord1iv(GLbyte * pc)
{
- CALL_TexCoord1iv( GET_DISPATCH(), (
- (const GLint *)bswap_32_array( (uint32_t *) (pc + 0), 1 )
- ) );
+ CALL_TexCoord1iv(GET_DISPATCH(), ((const GLint *)
+ bswap_32_array((uint32_t *) (pc + 0), 1)
+ ));
}
-void __glXDispSwap_TexCoord1sv(GLbyte * pc)
+void
+__glXDispSwap_TexCoord1sv(GLbyte * pc)
{
- CALL_TexCoord1sv( GET_DISPATCH(), (
- (const GLshort *)bswap_16_array( (uint16_t *) (pc + 0), 1 )
- ) );
+ CALL_TexCoord1sv(GET_DISPATCH(), ((const GLshort *)
+ bswap_16_array((uint16_t *) (pc + 0), 1)
+ ));
}
-void __glXDispSwap_TexCoord2dv(GLbyte * pc)
+void
+__glXDispSwap_TexCoord2dv(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 16);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 16);
pc -= 4;
}
#endif
- CALL_TexCoord2dv( GET_DISPATCH(), (
- (const GLdouble *)bswap_64_array( (uint64_t *) (pc + 0), 2 )
- ) );
+ CALL_TexCoord2dv(GET_DISPATCH(), ((const GLdouble *)
+ bswap_64_array((uint64_t *) (pc + 0), 2)
+ ));
}
-void __glXDispSwap_TexCoord2fv(GLbyte * pc)
+void
+__glXDispSwap_TexCoord2fv(GLbyte * pc)
{
- CALL_TexCoord2fv( GET_DISPATCH(), (
- (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 0), 2 )
- ) );
+ CALL_TexCoord2fv(GET_DISPATCH(), ((const GLfloat *)
+ bswap_32_array((uint32_t *) (pc + 0), 2)
+ ));
}
-void __glXDispSwap_TexCoord2iv(GLbyte * pc)
+void
+__glXDispSwap_TexCoord2iv(GLbyte * pc)
{
- CALL_TexCoord2iv( GET_DISPATCH(), (
- (const GLint *)bswap_32_array( (uint32_t *) (pc + 0), 2 )
- ) );
+ CALL_TexCoord2iv(GET_DISPATCH(), ((const GLint *)
+ bswap_32_array((uint32_t *) (pc + 0), 2)
+ ));
}
-void __glXDispSwap_TexCoord2sv(GLbyte * pc)
+void
+__glXDispSwap_TexCoord2sv(GLbyte * pc)
{
- CALL_TexCoord2sv( GET_DISPATCH(), (
- (const GLshort *)bswap_16_array( (uint16_t *) (pc + 0), 2 )
- ) );
+ CALL_TexCoord2sv(GET_DISPATCH(), ((const GLshort *)
+ bswap_16_array((uint16_t *) (pc + 0), 2)
+ ));
}
-void __glXDispSwap_TexCoord3dv(GLbyte * pc)
+void
+__glXDispSwap_TexCoord3dv(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 24);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 24);
pc -= 4;
}
#endif
- CALL_TexCoord3dv( GET_DISPATCH(), (
- (const GLdouble *)bswap_64_array( (uint64_t *) (pc + 0), 3 )
- ) );
+ CALL_TexCoord3dv(GET_DISPATCH(), ((const GLdouble *)
+ bswap_64_array((uint64_t *) (pc + 0), 3)
+ ));
}
-void __glXDispSwap_TexCoord3fv(GLbyte * pc)
+void
+__glXDispSwap_TexCoord3fv(GLbyte * pc)
{
- CALL_TexCoord3fv( GET_DISPATCH(), (
- (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 0), 3 )
- ) );
+ CALL_TexCoord3fv(GET_DISPATCH(), ((const GLfloat *)
+ bswap_32_array((uint32_t *) (pc + 0), 3)
+ ));
}
-void __glXDispSwap_TexCoord3iv(GLbyte * pc)
+void
+__glXDispSwap_TexCoord3iv(GLbyte * pc)
{
- CALL_TexCoord3iv( GET_DISPATCH(), (
- (const GLint *)bswap_32_array( (uint32_t *) (pc + 0), 3 )
- ) );
+ CALL_TexCoord3iv(GET_DISPATCH(), ((const GLint *)
+ bswap_32_array((uint32_t *) (pc + 0), 3)
+ ));
}
-void __glXDispSwap_TexCoord3sv(GLbyte * pc)
+void
+__glXDispSwap_TexCoord3sv(GLbyte * pc)
{
- CALL_TexCoord3sv( GET_DISPATCH(), (
- (const GLshort *)bswap_16_array( (uint16_t *) (pc + 0), 3 )
- ) );
+ CALL_TexCoord3sv(GET_DISPATCH(), ((const GLshort *)
+ bswap_16_array((uint16_t *) (pc + 0), 3)
+ ));
}
-void __glXDispSwap_TexCoord4dv(GLbyte * pc)
+void
+__glXDispSwap_TexCoord4dv(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 32);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 32);
pc -= 4;
}
#endif
- CALL_TexCoord4dv( GET_DISPATCH(), (
- (const GLdouble *)bswap_64_array( (uint64_t *) (pc + 0), 4 )
- ) );
+ CALL_TexCoord4dv(GET_DISPATCH(), ((const GLdouble *)
+ bswap_64_array((uint64_t *) (pc + 0), 4)
+ ));
}
-void __glXDispSwap_TexCoord4fv(GLbyte * pc)
+void
+__glXDispSwap_TexCoord4fv(GLbyte * pc)
{
- CALL_TexCoord4fv( GET_DISPATCH(), (
- (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 0), 4 )
- ) );
+ CALL_TexCoord4fv(GET_DISPATCH(), ((const GLfloat *)
+ bswap_32_array((uint32_t *) (pc + 0), 4)
+ ));
}
-void __glXDispSwap_TexCoord4iv(GLbyte * pc)
+void
+__glXDispSwap_TexCoord4iv(GLbyte * pc)
{
- CALL_TexCoord4iv( GET_DISPATCH(), (
- (const GLint *)bswap_32_array( (uint32_t *) (pc + 0), 4 )
- ) );
+ CALL_TexCoord4iv(GET_DISPATCH(), ((const GLint *)
+ bswap_32_array((uint32_t *) (pc + 0), 4)
+ ));
}
-void __glXDispSwap_TexCoord4sv(GLbyte * pc)
+void
+__glXDispSwap_TexCoord4sv(GLbyte * pc)
{
- CALL_TexCoord4sv( GET_DISPATCH(), (
- (const GLshort *)bswap_16_array( (uint16_t *) (pc + 0), 4 )
- ) );
+ CALL_TexCoord4sv(GET_DISPATCH(), ((const GLshort *)
+ bswap_16_array((uint16_t *) (pc + 0), 4)
+ ));
}
-void __glXDispSwap_Vertex2dv(GLbyte * pc)
+void
+__glXDispSwap_Vertex2dv(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 16);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 16);
pc -= 4;
}
#endif
- CALL_Vertex2dv( GET_DISPATCH(), (
- (const GLdouble *)bswap_64_array( (uint64_t *) (pc + 0), 2 )
- ) );
+ CALL_Vertex2dv(GET_DISPATCH(), ((const GLdouble *)
+ bswap_64_array((uint64_t *) (pc + 0), 2)
+ ));
}
-void __glXDispSwap_Vertex2fv(GLbyte * pc)
+void
+__glXDispSwap_Vertex2fv(GLbyte * pc)
{
- CALL_Vertex2fv( GET_DISPATCH(), (
- (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 0), 2 )
- ) );
+ CALL_Vertex2fv(GET_DISPATCH(), ((const GLfloat *)
+ bswap_32_array((uint32_t *) (pc + 0), 2)
+ ));
}
-void __glXDispSwap_Vertex2iv(GLbyte * pc)
+void
+__glXDispSwap_Vertex2iv(GLbyte * pc)
{
- CALL_Vertex2iv( GET_DISPATCH(), (
- (const GLint *)bswap_32_array( (uint32_t *) (pc + 0), 2 )
- ) );
+ CALL_Vertex2iv(GET_DISPATCH(), ((const GLint *)
+ bswap_32_array((uint32_t *) (pc + 0), 2)
+ ));
}
-void __glXDispSwap_Vertex2sv(GLbyte * pc)
+void
+__glXDispSwap_Vertex2sv(GLbyte * pc)
{
- CALL_Vertex2sv( GET_DISPATCH(), (
- (const GLshort *)bswap_16_array( (uint16_t *) (pc + 0), 2 )
- ) );
+ CALL_Vertex2sv(GET_DISPATCH(), ((const GLshort *)
+ bswap_16_array((uint16_t *) (pc + 0), 2)
+ ));
}
-void __glXDispSwap_Vertex3dv(GLbyte * pc)
+void
+__glXDispSwap_Vertex3dv(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 24);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 24);
pc -= 4;
}
#endif
- CALL_Vertex3dv( GET_DISPATCH(), (
- (const GLdouble *)bswap_64_array( (uint64_t *) (pc + 0), 3 )
- ) );
+ CALL_Vertex3dv(GET_DISPATCH(), ((const GLdouble *)
+ bswap_64_array((uint64_t *) (pc + 0), 3)
+ ));
}
-void __glXDispSwap_Vertex3fv(GLbyte * pc)
+void
+__glXDispSwap_Vertex3fv(GLbyte * pc)
{
- CALL_Vertex3fv( GET_DISPATCH(), (
- (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 0), 3 )
- ) );
+ CALL_Vertex3fv(GET_DISPATCH(), ((const GLfloat *)
+ bswap_32_array((uint32_t *) (pc + 0), 3)
+ ));
}
-void __glXDispSwap_Vertex3iv(GLbyte * pc)
+void
+__glXDispSwap_Vertex3iv(GLbyte * pc)
{
- CALL_Vertex3iv( GET_DISPATCH(), (
- (const GLint *)bswap_32_array( (uint32_t *) (pc + 0), 3 )
- ) );
+ CALL_Vertex3iv(GET_DISPATCH(), ((const GLint *)
+ bswap_32_array((uint32_t *) (pc + 0), 3)
+ ));
}
-void __glXDispSwap_Vertex3sv(GLbyte * pc)
+void
+__glXDispSwap_Vertex3sv(GLbyte * pc)
{
- CALL_Vertex3sv( GET_DISPATCH(), (
- (const GLshort *)bswap_16_array( (uint16_t *) (pc + 0), 3 )
- ) );
+ CALL_Vertex3sv(GET_DISPATCH(), ((const GLshort *)
+ bswap_16_array((uint16_t *) (pc + 0), 3)
+ ));
}
-void __glXDispSwap_Vertex4dv(GLbyte * pc)
+void
+__glXDispSwap_Vertex4dv(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 32);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 32);
pc -= 4;
}
#endif
- CALL_Vertex4dv( GET_DISPATCH(), (
- (const GLdouble *)bswap_64_array( (uint64_t *) (pc + 0), 4 )
- ) );
+ CALL_Vertex4dv(GET_DISPATCH(), ((const GLdouble *)
+ bswap_64_array((uint64_t *) (pc + 0), 4)
+ ));
}
-void __glXDispSwap_Vertex4fv(GLbyte * pc)
+void
+__glXDispSwap_Vertex4fv(GLbyte * pc)
{
- CALL_Vertex4fv( GET_DISPATCH(), (
- (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 0), 4 )
- ) );
+ CALL_Vertex4fv(GET_DISPATCH(), ((const GLfloat *)
+ bswap_32_array((uint32_t *) (pc + 0), 4)
+ ));
}
-void __glXDispSwap_Vertex4iv(GLbyte * pc)
+void
+__glXDispSwap_Vertex4iv(GLbyte * pc)
{
- CALL_Vertex4iv( GET_DISPATCH(), (
- (const GLint *)bswap_32_array( (uint32_t *) (pc + 0), 4 )
- ) );
+ CALL_Vertex4iv(GET_DISPATCH(), ((const GLint *)
+ bswap_32_array((uint32_t *) (pc + 0), 4)
+ ));
}
-void __glXDispSwap_Vertex4sv(GLbyte * pc)
+void
+__glXDispSwap_Vertex4sv(GLbyte * pc)
{
- CALL_Vertex4sv( GET_DISPATCH(), (
- (const GLshort *)bswap_16_array( (uint16_t *) (pc + 0), 4 )
- ) );
+ CALL_Vertex4sv(GET_DISPATCH(), ((const GLshort *)
+ bswap_16_array((uint16_t *) (pc + 0), 4)
+ ));
}
-void __glXDispSwap_ClipPlane(GLbyte * pc)
+void
+__glXDispSwap_ClipPlane(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 36);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 36);
pc -= 4;
}
#endif
- CALL_ClipPlane( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 32 ),
- (const GLdouble *)bswap_64_array( (uint64_t *) (pc + 0), 4 )
- ) );
+ CALL_ClipPlane(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 32),
+ (const GLdouble *)
+ bswap_64_array((uint64_t *) (pc + 0), 4)
+ ));
}
-void __glXDispSwap_ColorMaterial(GLbyte * pc)
+void
+__glXDispSwap_ColorMaterial(GLbyte * pc)
{
- CALL_ColorMaterial( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (GLenum )bswap_ENUM ( pc + 4 )
- ) );
+ CALL_ColorMaterial(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ (GLenum) bswap_ENUM(pc + 4)
+ ));
}
-void __glXDispSwap_CullFace(GLbyte * pc)
+void
+__glXDispSwap_CullFace(GLbyte * pc)
{
- CALL_CullFace( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 )
- ) );
+ CALL_CullFace(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0)
+ ));
}
-void __glXDispSwap_Fogf(GLbyte * pc)
+void
+__glXDispSwap_Fogf(GLbyte * pc)
{
- CALL_Fogf( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (GLfloat )bswap_FLOAT32( pc + 4 )
- ) );
+ CALL_Fogf(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ (GLfloat) bswap_FLOAT32(pc + 4)
+ ));
}
-void __glXDispSwap_Fogfv(GLbyte * pc)
+void
+__glXDispSwap_Fogfv(GLbyte * pc)
{
- const GLenum pname = (GLenum )bswap_ENUM ( pc + 0 );
- const GLfloat * params;
+ const GLenum pname = (GLenum) bswap_ENUM(pc + 0);
+ const GLfloat *params;
- params = (const GLfloat *) bswap_32_array( (uint32_t *) (pc + 4), __glFogfv_size(pname) );
+ params =
+ (const GLfloat *) bswap_32_array((uint32_t *) (pc + 4),
+ __glFogfv_size(pname));
- CALL_Fogfv( GET_DISPATCH(), (
- pname,
- params
- ) );
+ CALL_Fogfv(GET_DISPATCH(), (pname, params));
}
-void __glXDispSwap_Fogi(GLbyte * pc)
+void
+__glXDispSwap_Fogi(GLbyte * pc)
{
- CALL_Fogi( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (GLint )bswap_CARD32 ( pc + 4 )
- ) );
+ CALL_Fogi(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ (GLint) bswap_CARD32(pc + 4)
+ ));
}
-void __glXDispSwap_Fogiv(GLbyte * pc)
+void
+__glXDispSwap_Fogiv(GLbyte * pc)
{
- const GLenum pname = (GLenum )bswap_ENUM ( pc + 0 );
- const GLint * params;
+ const GLenum pname = (GLenum) bswap_ENUM(pc + 0);
+ const GLint *params;
- params = (const GLint *) bswap_32_array( (uint32_t *) (pc + 4), __glFogiv_size(pname) );
+ params =
+ (const GLint *) bswap_32_array((uint32_t *) (pc + 4),
+ __glFogiv_size(pname));
- CALL_Fogiv( GET_DISPATCH(), (
- pname,
- params
- ) );
+ CALL_Fogiv(GET_DISPATCH(), (pname, params));
}
-void __glXDispSwap_FrontFace(GLbyte * pc)
+void
+__glXDispSwap_FrontFace(GLbyte * pc)
{
- CALL_FrontFace( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 )
- ) );
+ CALL_FrontFace(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0)
+ ));
}
-void __glXDispSwap_Hint(GLbyte * pc)
+void
+__glXDispSwap_Hint(GLbyte * pc)
{
- CALL_Hint( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (GLenum )bswap_ENUM ( pc + 4 )
- ) );
+ CALL_Hint(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ (GLenum) bswap_ENUM(pc + 4)
+ ));
}
-void __glXDispSwap_Lightf(GLbyte * pc)
+void
+__glXDispSwap_Lightf(GLbyte * pc)
{
- CALL_Lightf( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (GLenum )bswap_ENUM ( pc + 4 ),
- (GLfloat )bswap_FLOAT32( pc + 8 )
- ) );
+ CALL_Lightf(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ (GLenum) bswap_ENUM(pc + 4),
+ (GLfloat) bswap_FLOAT32(pc + 8)
+ ));
}
-void __glXDispSwap_Lightfv(GLbyte * pc)
+void
+__glXDispSwap_Lightfv(GLbyte * pc)
{
- const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 );
- const GLfloat * params;
+ const GLenum pname = (GLenum) bswap_ENUM(pc + 4);
+ const GLfloat *params;
- params = (const GLfloat *) bswap_32_array( (uint32_t *) (pc + 8), __glLightfv_size(pname) );
+ params =
+ (const GLfloat *) bswap_32_array((uint32_t *) (pc + 8),
+ __glLightfv_size(pname));
- CALL_Lightfv( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- pname,
- params
- ) );
+ CALL_Lightfv(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), pname, params));
}
-void __glXDispSwap_Lighti(GLbyte * pc)
+void
+__glXDispSwap_Lighti(GLbyte * pc)
{
- CALL_Lighti( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (GLenum )bswap_ENUM ( pc + 4 ),
- (GLint )bswap_CARD32 ( pc + 8 )
- ) );
+ CALL_Lighti(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ (GLenum) bswap_ENUM(pc + 4),
+ (GLint) bswap_CARD32(pc + 8)
+ ));
}
-void __glXDispSwap_Lightiv(GLbyte * pc)
+void
+__glXDispSwap_Lightiv(GLbyte * pc)
{
- const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 );
- const GLint * params;
+ const GLenum pname = (GLenum) bswap_ENUM(pc + 4);
+ const GLint *params;
- params = (const GLint *) bswap_32_array( (uint32_t *) (pc + 8), __glLightiv_size(pname) );
+ params =
+ (const GLint *) bswap_32_array((uint32_t *) (pc + 8),
+ __glLightiv_size(pname));
- CALL_Lightiv( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- pname,
- params
- ) );
+ CALL_Lightiv(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), pname, params));
}
-void __glXDispSwap_LightModelf(GLbyte * pc)
+void
+__glXDispSwap_LightModelf(GLbyte * pc)
{
- CALL_LightModelf( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (GLfloat )bswap_FLOAT32( pc + 4 )
- ) );
+ CALL_LightModelf(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ (GLfloat) bswap_FLOAT32(pc + 4)
+ ));
}
-void __glXDispSwap_LightModelfv(GLbyte * pc)
+void
+__glXDispSwap_LightModelfv(GLbyte * pc)
{
- const GLenum pname = (GLenum )bswap_ENUM ( pc + 0 );
- const GLfloat * params;
+ const GLenum pname = (GLenum) bswap_ENUM(pc + 0);
+ const GLfloat *params;
- params = (const GLfloat *) bswap_32_array( (uint32_t *) (pc + 4), __glLightModelfv_size(pname) );
+ params =
+ (const GLfloat *) bswap_32_array((uint32_t *) (pc + 4),
+ __glLightModelfv_size(pname));
- CALL_LightModelfv( GET_DISPATCH(), (
- pname,
- params
- ) );
+ CALL_LightModelfv(GET_DISPATCH(), (pname, params));
}
-void __glXDispSwap_LightModeli(GLbyte * pc)
+void
+__glXDispSwap_LightModeli(GLbyte * pc)
{
- CALL_LightModeli( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (GLint )bswap_CARD32 ( pc + 4 )
- ) );
+ CALL_LightModeli(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ (GLint) bswap_CARD32(pc + 4)
+ ));
}
-void __glXDispSwap_LightModeliv(GLbyte * pc)
+void
+__glXDispSwap_LightModeliv(GLbyte * pc)
{
- const GLenum pname = (GLenum )bswap_ENUM ( pc + 0 );
- const GLint * params;
+ const GLenum pname = (GLenum) bswap_ENUM(pc + 0);
+ const GLint *params;
- params = (const GLint *) bswap_32_array( (uint32_t *) (pc + 4), __glLightModeliv_size(pname) );
+ params =
+ (const GLint *) bswap_32_array((uint32_t *) (pc + 4),
+ __glLightModeliv_size(pname));
- CALL_LightModeliv( GET_DISPATCH(), (
- pname,
- params
- ) );
+ CALL_LightModeliv(GET_DISPATCH(), (pname, params));
}
-void __glXDispSwap_LineStipple(GLbyte * pc)
+void
+__glXDispSwap_LineStipple(GLbyte * pc)
{
- CALL_LineStipple( GET_DISPATCH(), (
- (GLint )bswap_CARD32 ( pc + 0 ),
- (GLushort)bswap_CARD16 ( pc + 4 )
- ) );
+ CALL_LineStipple(GET_DISPATCH(), ((GLint) bswap_CARD32(pc + 0),
+ (GLushort) bswap_CARD16(pc + 4)
+ ));
}
-void __glXDispSwap_LineWidth(GLbyte * pc)
+void
+__glXDispSwap_LineWidth(GLbyte * pc)
{
- CALL_LineWidth( GET_DISPATCH(), (
- (GLfloat )bswap_FLOAT32( pc + 0 )
- ) );
+ CALL_LineWidth(GET_DISPATCH(), ((GLfloat) bswap_FLOAT32(pc + 0)
+ ));
}
-void __glXDispSwap_Materialf(GLbyte * pc)
+void
+__glXDispSwap_Materialf(GLbyte * pc)
{
- CALL_Materialf( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (GLenum )bswap_ENUM ( pc + 4 ),
- (GLfloat )bswap_FLOAT32( pc + 8 )
- ) );
+ CALL_Materialf(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ (GLenum) bswap_ENUM(pc + 4),
+ (GLfloat) bswap_FLOAT32(pc + 8)
+ ));
}
-void __glXDispSwap_Materialfv(GLbyte * pc)
+void
+__glXDispSwap_Materialfv(GLbyte * pc)
{
- const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 );
- const GLfloat * params;
+ const GLenum pname = (GLenum) bswap_ENUM(pc + 4);
+ const GLfloat *params;
- params = (const GLfloat *) bswap_32_array( (uint32_t *) (pc + 8), __glMaterialfv_size(pname) );
+ params =
+ (const GLfloat *) bswap_32_array((uint32_t *) (pc + 8),
+ __glMaterialfv_size(pname));
- CALL_Materialfv( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- pname,
- params
- ) );
+ CALL_Materialfv(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ pname, params));
}
-void __glXDispSwap_Materiali(GLbyte * pc)
+void
+__glXDispSwap_Materiali(GLbyte * pc)
{
- CALL_Materiali( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (GLenum )bswap_ENUM ( pc + 4 ),
- (GLint )bswap_CARD32 ( pc + 8 )
- ) );
+ CALL_Materiali(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ (GLenum) bswap_ENUM(pc + 4),
+ (GLint) bswap_CARD32(pc + 8)
+ ));
}
-void __glXDispSwap_Materialiv(GLbyte * pc)
+void
+__glXDispSwap_Materialiv(GLbyte * pc)
{
- const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 );
- const GLint * params;
+ const GLenum pname = (GLenum) bswap_ENUM(pc + 4);
+ const GLint *params;
- params = (const GLint *) bswap_32_array( (uint32_t *) (pc + 8), __glMaterialiv_size(pname) );
+ params =
+ (const GLint *) bswap_32_array((uint32_t *) (pc + 8),
+ __glMaterialiv_size(pname));
- CALL_Materialiv( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- pname,
- params
- ) );
+ CALL_Materialiv(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ pname, params));
}
-void __glXDispSwap_PointSize(GLbyte * pc)
+void
+__glXDispSwap_PointSize(GLbyte * pc)
{
- CALL_PointSize( GET_DISPATCH(), (
- (GLfloat )bswap_FLOAT32( pc + 0 )
- ) );
+ CALL_PointSize(GET_DISPATCH(), ((GLfloat) bswap_FLOAT32(pc + 0)
+ ));
}
-void __glXDispSwap_PolygonMode(GLbyte * pc)
+void
+__glXDispSwap_PolygonMode(GLbyte * pc)
{
- CALL_PolygonMode( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (GLenum )bswap_ENUM ( pc + 4 )
- ) );
+ CALL_PolygonMode(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ (GLenum) bswap_ENUM(pc + 4)
+ ));
}
-void __glXDispSwap_PolygonStipple(GLbyte * pc)
+void
+__glXDispSwap_PolygonStipple(GLbyte * pc)
{
- const GLubyte * const mask = (const GLubyte *) ((pc + 20));
- __GLXpixelHeader * const hdr = (__GLXpixelHeader *)(pc);
+ const GLubyte *const mask = (const GLubyte *) ((pc + 20));
+ __GLXpixelHeader *const hdr = (__GLXpixelHeader *) (pc);
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ROW_LENGTH, (GLint) bswap_CARD32( & hdr->rowLength )) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_ROWS, (GLint) bswap_CARD32( & hdr->skipRows )) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_PIXELS, (GLint) bswap_CARD32( & hdr->skipPixels )) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ALIGNMENT, (GLint) bswap_CARD32( & hdr->alignment )) );
+ CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_ROW_LENGTH,
+ (GLint) bswap_CARD32(&hdr->rowLength)));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_SKIP_ROWS,
+ (GLint) bswap_CARD32(&hdr->skipRows)));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_SKIP_PIXELS,
+ (GLint) bswap_CARD32(&hdr->skipPixels)));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_ALIGNMENT,
+ (GLint) bswap_CARD32(&hdr->alignment)));
- CALL_PolygonStipple( GET_DISPATCH(), (
- mask
- ) );
+ CALL_PolygonStipple(GET_DISPATCH(), (mask));
}
-void __glXDispSwap_Scissor(GLbyte * pc)
+void
+__glXDispSwap_Scissor(GLbyte * pc)
{
- CALL_Scissor( GET_DISPATCH(), (
- (GLint )bswap_CARD32 ( pc + 0 ),
- (GLint )bswap_CARD32 ( pc + 4 ),
- (GLsizei )bswap_CARD32 ( pc + 8 ),
- (GLsizei )bswap_CARD32 ( pc + 12 )
- ) );
+ CALL_Scissor(GET_DISPATCH(), ((GLint) bswap_CARD32(pc + 0),
+ (GLint) bswap_CARD32(pc + 4),
+ (GLsizei) bswap_CARD32(pc + 8),
+ (GLsizei) bswap_CARD32(pc + 12)
+ ));
}
-void __glXDispSwap_ShadeModel(GLbyte * pc)
+void
+__glXDispSwap_ShadeModel(GLbyte * pc)
{
- CALL_ShadeModel( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 )
- ) );
+ CALL_ShadeModel(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0)
+ ));
}
-void __glXDispSwap_TexParameterf(GLbyte * pc)
+void
+__glXDispSwap_TexParameterf(GLbyte * pc)
{
- CALL_TexParameterf( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (GLenum )bswap_ENUM ( pc + 4 ),
- (GLfloat )bswap_FLOAT32( pc + 8 )
- ) );
+ CALL_TexParameterf(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ (GLenum) bswap_ENUM(pc + 4),
+ (GLfloat) bswap_FLOAT32(pc + 8)
+ ));
}
-void __glXDispSwap_TexParameterfv(GLbyte * pc)
+void
+__glXDispSwap_TexParameterfv(GLbyte * pc)
{
- const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 );
- const GLfloat * params;
+ const GLenum pname = (GLenum) bswap_ENUM(pc + 4);
+ const GLfloat *params;
- params = (const GLfloat *) bswap_32_array( (uint32_t *) (pc + 8), __glTexParameterfv_size(pname) );
+ params =
+ (const GLfloat *) bswap_32_array((uint32_t *) (pc + 8),
+ __glTexParameterfv_size(pname));
- CALL_TexParameterfv( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- pname,
- params
- ) );
+ CALL_TexParameterfv(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ pname, params));
}
-void __glXDispSwap_TexParameteri(GLbyte * pc)
+void
+__glXDispSwap_TexParameteri(GLbyte * pc)
{
- CALL_TexParameteri( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (GLenum )bswap_ENUM ( pc + 4 ),
- (GLint )bswap_CARD32 ( pc + 8 )
- ) );
+ CALL_TexParameteri(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ (GLenum) bswap_ENUM(pc + 4),
+ (GLint) bswap_CARD32(pc + 8)
+ ));
}
-void __glXDispSwap_TexParameteriv(GLbyte * pc)
+void
+__glXDispSwap_TexParameteriv(GLbyte * pc)
{
- const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 );
- const GLint * params;
+ const GLenum pname = (GLenum) bswap_ENUM(pc + 4);
+ const GLint *params;
- params = (const GLint *) bswap_32_array( (uint32_t *) (pc + 8), __glTexParameteriv_size(pname) );
+ params =
+ (const GLint *) bswap_32_array((uint32_t *) (pc + 8),
+ __glTexParameteriv_size(pname));
- CALL_TexParameteriv( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- pname,
- params
- ) );
+ CALL_TexParameteriv(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ pname, params));
}
-void __glXDispSwap_TexImage1D(GLbyte * pc)
+void
+__glXDispSwap_TexImage1D(GLbyte * pc)
{
- const GLvoid * const pixels = (const GLvoid *) ((pc + 52));
- __GLXpixelHeader * const hdr = (__GLXpixelHeader *)(pc);
+ const GLvoid *const pixels = (const GLvoid *) ((pc + 52));
+ __GLXpixelHeader *const hdr = (__GLXpixelHeader *) (pc);
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ROW_LENGTH, (GLint) bswap_CARD32( & hdr->rowLength )) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_ROWS, (GLint) bswap_CARD32( & hdr->skipRows )) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_PIXELS, (GLint) bswap_CARD32( & hdr->skipPixels )) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ALIGNMENT, (GLint) bswap_CARD32( & hdr->alignment )) );
+ CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes));
+ CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_ROW_LENGTH,
+ (GLint) bswap_CARD32(&hdr->rowLength)));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_SKIP_ROWS,
+ (GLint) bswap_CARD32(&hdr->skipRows)));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_SKIP_PIXELS,
+ (GLint) bswap_CARD32(&hdr->skipPixels)));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_ALIGNMENT,
+ (GLint) bswap_CARD32(&hdr->alignment)));
- CALL_TexImage1D( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 20 ),
- (GLint )bswap_CARD32 ( pc + 24 ),
- (GLint )bswap_CARD32 ( pc + 28 ),
- (GLsizei )bswap_CARD32 ( pc + 32 ),
- (GLint )bswap_CARD32 ( pc + 40 ),
- (GLenum )bswap_ENUM ( pc + 44 ),
- (GLenum )bswap_ENUM ( pc + 48 ),
- pixels
- ) );
+ CALL_TexImage1D(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 20),
+ (GLint) bswap_CARD32(pc + 24),
+ (GLint) bswap_CARD32(pc + 28),
+ (GLsizei) bswap_CARD32(pc + 32),
+ (GLint) bswap_CARD32(pc + 40),
+ (GLenum) bswap_ENUM(pc + 44),
+ (GLenum) bswap_ENUM(pc + 48), pixels));
}
-void __glXDispSwap_TexImage2D(GLbyte * pc)
+void
+__glXDispSwap_TexImage2D(GLbyte * pc)
{
- const GLvoid * const pixels = (const GLvoid *) ((pc + 52));
- __GLXpixelHeader * const hdr = (__GLXpixelHeader *)(pc);
+ const GLvoid *const pixels = (const GLvoid *) ((pc + 52));
+ __GLXpixelHeader *const hdr = (__GLXpixelHeader *) (pc);
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ROW_LENGTH, (GLint) bswap_CARD32( & hdr->rowLength )) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_ROWS, (GLint) bswap_CARD32( & hdr->skipRows )) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_PIXELS, (GLint) bswap_CARD32( & hdr->skipPixels )) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ALIGNMENT, (GLint) bswap_CARD32( & hdr->alignment )) );
+ CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes));
+ CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_ROW_LENGTH,
+ (GLint) bswap_CARD32(&hdr->rowLength)));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_SKIP_ROWS,
+ (GLint) bswap_CARD32(&hdr->skipRows)));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_SKIP_PIXELS,
+ (GLint) bswap_CARD32(&hdr->skipPixels)));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_ALIGNMENT,
+ (GLint) bswap_CARD32(&hdr->alignment)));
- CALL_TexImage2D( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 20 ),
- (GLint )bswap_CARD32 ( pc + 24 ),
- (GLint )bswap_CARD32 ( pc + 28 ),
- (GLsizei )bswap_CARD32 ( pc + 32 ),
- (GLsizei )bswap_CARD32 ( pc + 36 ),
- (GLint )bswap_CARD32 ( pc + 40 ),
- (GLenum )bswap_ENUM ( pc + 44 ),
- (GLenum )bswap_ENUM ( pc + 48 ),
- pixels
- ) );
+ CALL_TexImage2D(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 20),
+ (GLint) bswap_CARD32(pc + 24),
+ (GLint) bswap_CARD32(pc + 28),
+ (GLsizei) bswap_CARD32(pc + 32),
+ (GLsizei) bswap_CARD32(pc + 36),
+ (GLint) bswap_CARD32(pc + 40),
+ (GLenum) bswap_ENUM(pc + 44),
+ (GLenum) bswap_ENUM(pc + 48), pixels));
}
-void __glXDispSwap_TexEnvf(GLbyte * pc)
+void
+__glXDispSwap_TexEnvf(GLbyte * pc)
{
- CALL_TexEnvf( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (GLenum )bswap_ENUM ( pc + 4 ),
- (GLfloat )bswap_FLOAT32( pc + 8 )
- ) );
+ CALL_TexEnvf(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ (GLenum) bswap_ENUM(pc + 4),
+ (GLfloat) bswap_FLOAT32(pc + 8)
+ ));
}
-void __glXDispSwap_TexEnvfv(GLbyte * pc)
+void
+__glXDispSwap_TexEnvfv(GLbyte * pc)
{
- const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 );
- const GLfloat * params;
+ const GLenum pname = (GLenum) bswap_ENUM(pc + 4);
+ const GLfloat *params;
- params = (const GLfloat *) bswap_32_array( (uint32_t *) (pc + 8), __glTexEnvfv_size(pname) );
+ params =
+ (const GLfloat *) bswap_32_array((uint32_t *) (pc + 8),
+ __glTexEnvfv_size(pname));
- CALL_TexEnvfv( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- pname,
- params
- ) );
+ CALL_TexEnvfv(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), pname, params));
}
-void __glXDispSwap_TexEnvi(GLbyte * pc)
+void
+__glXDispSwap_TexEnvi(GLbyte * pc)
{
- CALL_TexEnvi( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (GLenum )bswap_ENUM ( pc + 4 ),
- (GLint )bswap_CARD32 ( pc + 8 )
- ) );
+ CALL_TexEnvi(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ (GLenum) bswap_ENUM(pc + 4),
+ (GLint) bswap_CARD32(pc + 8)
+ ));
}
-void __glXDispSwap_TexEnviv(GLbyte * pc)
+void
+__glXDispSwap_TexEnviv(GLbyte * pc)
{
- const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 );
- const GLint * params;
+ const GLenum pname = (GLenum) bswap_ENUM(pc + 4);
+ const GLint *params;
- params = (const GLint *) bswap_32_array( (uint32_t *) (pc + 8), __glTexEnviv_size(pname) );
+ params =
+ (const GLint *) bswap_32_array((uint32_t *) (pc + 8),
+ __glTexEnviv_size(pname));
- CALL_TexEnviv( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- pname,
- params
- ) );
+ CALL_TexEnviv(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), pname, params));
}
-void __glXDispSwap_TexGend(GLbyte * pc)
+void
+__glXDispSwap_TexGend(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 16);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 16);
pc -= 4;
}
#endif
- CALL_TexGend( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 8 ),
- (GLenum )bswap_ENUM ( pc + 12 ),
- (GLdouble)bswap_FLOAT64( pc + 0 )
- ) );
+ CALL_TexGend(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 8),
+ (GLenum) bswap_ENUM(pc + 12),
+ (GLdouble) bswap_FLOAT64(pc + 0)
+ ));
}
-void __glXDispSwap_TexGendv(GLbyte * pc)
+void
+__glXDispSwap_TexGendv(GLbyte * pc)
{
- const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 );
- const GLdouble * params;
+ const GLenum pname = (GLenum) bswap_ENUM(pc + 4);
+ const GLdouble *params;
#ifdef __GLX_ALIGN64
const GLuint compsize = __glTexGendv_size(pname);
const GLuint cmdlen = 12 + __GLX_PAD((compsize * 8)) - 4;
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, cmdlen);
+
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, cmdlen);
pc -= 4;
}
#endif
- params = (const GLdouble *) bswap_64_array( (uint64_t *) (pc + 8), __glTexGendv_size(pname) );
+ params =
+ (const GLdouble *) bswap_64_array((uint64_t *) (pc + 8),
+ __glTexGendv_size(pname));
- CALL_TexGendv( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- pname,
- params
- ) );
+ CALL_TexGendv(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), pname, params));
}
-void __glXDispSwap_TexGenf(GLbyte * pc)
+void
+__glXDispSwap_TexGenf(GLbyte * pc)
{
- CALL_TexGenf( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (GLenum )bswap_ENUM ( pc + 4 ),
- (GLfloat )bswap_FLOAT32( pc + 8 )
- ) );
+ CALL_TexGenf(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ (GLenum) bswap_ENUM(pc + 4),
+ (GLfloat) bswap_FLOAT32(pc + 8)
+ ));
}
-void __glXDispSwap_TexGenfv(GLbyte * pc)
+void
+__glXDispSwap_TexGenfv(GLbyte * pc)
{
- const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 );
- const GLfloat * params;
+ const GLenum pname = (GLenum) bswap_ENUM(pc + 4);
+ const GLfloat *params;
- params = (const GLfloat *) bswap_32_array( (uint32_t *) (pc + 8), __glTexGenfv_size(pname) );
+ params =
+ (const GLfloat *) bswap_32_array((uint32_t *) (pc + 8),
+ __glTexGenfv_size(pname));
- CALL_TexGenfv( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- pname,
- params
- ) );
+ CALL_TexGenfv(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), pname, params));
}
-void __glXDispSwap_TexGeni(GLbyte * pc)
+void
+__glXDispSwap_TexGeni(GLbyte * pc)
{
- CALL_TexGeni( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (GLenum )bswap_ENUM ( pc + 4 ),
- (GLint )bswap_CARD32 ( pc + 8 )
- ) );
+ CALL_TexGeni(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ (GLenum) bswap_ENUM(pc + 4),
+ (GLint) bswap_CARD32(pc + 8)
+ ));
}
-void __glXDispSwap_TexGeniv(GLbyte * pc)
+void
+__glXDispSwap_TexGeniv(GLbyte * pc)
{
- const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 );
- const GLint * params;
+ const GLenum pname = (GLenum) bswap_ENUM(pc + 4);
+ const GLint *params;
- params = (const GLint *) bswap_32_array( (uint32_t *) (pc + 8), __glTexGeniv_size(pname) );
+ params =
+ (const GLint *) bswap_32_array((uint32_t *) (pc + 8),
+ __glTexGeniv_size(pname));
- CALL_TexGeniv( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- pname,
- params
- ) );
+ CALL_TexGeniv(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0), pname, params));
}
-void __glXDispSwap_InitNames(GLbyte * pc)
+void
+__glXDispSwap_InitNames(GLbyte * pc)
{
- CALL_InitNames( GET_DISPATCH(), () );
+ CALL_InitNames(GET_DISPATCH(), ());
}
-void __glXDispSwap_LoadName(GLbyte * pc)
+void
+__glXDispSwap_LoadName(GLbyte * pc)
{
- CALL_LoadName( GET_DISPATCH(), (
- (GLuint )bswap_CARD32 ( pc + 0 )
- ) );
+ CALL_LoadName(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0)
+ ));
}
-void __glXDispSwap_PassThrough(GLbyte * pc)
+void
+__glXDispSwap_PassThrough(GLbyte * pc)
{
- CALL_PassThrough( GET_DISPATCH(), (
- (GLfloat )bswap_FLOAT32( pc + 0 )
- ) );
+ CALL_PassThrough(GET_DISPATCH(), ((GLfloat) bswap_FLOAT32(pc + 0)
+ ));
}
-void __glXDispSwap_PopName(GLbyte * pc)
+void
+__glXDispSwap_PopName(GLbyte * pc)
{
- CALL_PopName( GET_DISPATCH(), () );
+ CALL_PopName(GET_DISPATCH(), ());
}
-void __glXDispSwap_PushName(GLbyte * pc)
+void
+__glXDispSwap_PushName(GLbyte * pc)
{
- CALL_PushName( GET_DISPATCH(), (
- (GLuint )bswap_CARD32 ( pc + 0 )
- ) );
+ CALL_PushName(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0)
+ ));
}
-void __glXDispSwap_DrawBuffer(GLbyte * pc)
+void
+__glXDispSwap_DrawBuffer(GLbyte * pc)
{
- CALL_DrawBuffer( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 )
- ) );
+ CALL_DrawBuffer(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0)
+ ));
}
-void __glXDispSwap_Clear(GLbyte * pc)
+void
+__glXDispSwap_Clear(GLbyte * pc)
{
- CALL_Clear( GET_DISPATCH(), (
- (GLbitfield)bswap_CARD32 ( pc + 0 )
- ) );
+ CALL_Clear(GET_DISPATCH(), ((GLbitfield) bswap_CARD32(pc + 0)
+ ));
}
-void __glXDispSwap_ClearAccum(GLbyte * pc)
+void
+__glXDispSwap_ClearAccum(GLbyte * pc)
{
- CALL_ClearAccum( GET_DISPATCH(), (
- (GLfloat )bswap_FLOAT32( pc + 0 ),
- (GLfloat )bswap_FLOAT32( pc + 4 ),
- (GLfloat )bswap_FLOAT32( pc + 8 ),
- (GLfloat )bswap_FLOAT32( pc + 12 )
- ) );
+ CALL_ClearAccum(GET_DISPATCH(), ((GLfloat) bswap_FLOAT32(pc + 0),
+ (GLfloat) bswap_FLOAT32(pc + 4),
+ (GLfloat) bswap_FLOAT32(pc + 8),
+ (GLfloat) bswap_FLOAT32(pc + 12)
+ ));
}
-void __glXDispSwap_ClearIndex(GLbyte * pc)
+void
+__glXDispSwap_ClearIndex(GLbyte * pc)
{
- CALL_ClearIndex( GET_DISPATCH(), (
- (GLfloat )bswap_FLOAT32( pc + 0 )
- ) );
+ CALL_ClearIndex(GET_DISPATCH(), ((GLfloat) bswap_FLOAT32(pc + 0)
+ ));
}
-void __glXDispSwap_ClearColor(GLbyte * pc)
+void
+__glXDispSwap_ClearColor(GLbyte * pc)
{
- CALL_ClearColor( GET_DISPATCH(), (
- (GLclampf)bswap_FLOAT32( pc + 0 ),
- (GLclampf)bswap_FLOAT32( pc + 4 ),
- (GLclampf)bswap_FLOAT32( pc + 8 ),
- (GLclampf)bswap_FLOAT32( pc + 12 )
- ) );
+ CALL_ClearColor(GET_DISPATCH(), ((GLclampf) bswap_FLOAT32(pc + 0),
+ (GLclampf) bswap_FLOAT32(pc + 4),
+ (GLclampf) bswap_FLOAT32(pc + 8),
+ (GLclampf) bswap_FLOAT32(pc + 12)
+ ));
}
-void __glXDispSwap_ClearStencil(GLbyte * pc)
+void
+__glXDispSwap_ClearStencil(GLbyte * pc)
{
- CALL_ClearStencil( GET_DISPATCH(), (
- (GLint )bswap_CARD32 ( pc + 0 )
- ) );
+ CALL_ClearStencil(GET_DISPATCH(), ((GLint) bswap_CARD32(pc + 0)
+ ));
}
-void __glXDispSwap_ClearDepth(GLbyte * pc)
+void
+__glXDispSwap_ClearDepth(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 8);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 8);
pc -= 4;
}
#endif
- CALL_ClearDepth( GET_DISPATCH(), (
- (GLclampd)bswap_FLOAT64( pc + 0 )
- ) );
+ CALL_ClearDepth(GET_DISPATCH(), ((GLclampd) bswap_FLOAT64(pc + 0)
+ ));
}
-void __glXDispSwap_StencilMask(GLbyte * pc)
+void
+__glXDispSwap_StencilMask(GLbyte * pc)
{
- CALL_StencilMask( GET_DISPATCH(), (
- (GLuint )bswap_CARD32 ( pc + 0 )
- ) );
+ CALL_StencilMask(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0)
+ ));
}
-void __glXDispSwap_ColorMask(GLbyte * pc)
+void
+__glXDispSwap_ColorMask(GLbyte * pc)
{
- CALL_ColorMask( GET_DISPATCH(), (
- *(GLboolean *)(pc + 0),
- *(GLboolean *)(pc + 1),
- *(GLboolean *)(pc + 2),
- *(GLboolean *)(pc + 3)
- ) );
+ CALL_ColorMask(GET_DISPATCH(), (*(GLboolean *) (pc + 0),
+ *(GLboolean *) (pc + 1),
+ *(GLboolean *) (pc + 2),
+ *(GLboolean *) (pc + 3)
+ ));
}
-void __glXDispSwap_DepthMask(GLbyte * pc)
+void
+__glXDispSwap_DepthMask(GLbyte * pc)
{
- CALL_DepthMask( GET_DISPATCH(), (
- *(GLboolean *)(pc + 0)
- ) );
+ CALL_DepthMask(GET_DISPATCH(), (*(GLboolean *) (pc + 0)
+ ));
}
-void __glXDispSwap_IndexMask(GLbyte * pc)
+void
+__glXDispSwap_IndexMask(GLbyte * pc)
{
- CALL_IndexMask( GET_DISPATCH(), (
- (GLuint )bswap_CARD32 ( pc + 0 )
- ) );
+ CALL_IndexMask(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0)
+ ));
}
-void __glXDispSwap_Accum(GLbyte * pc)
+void
+__glXDispSwap_Accum(GLbyte * pc)
{
- CALL_Accum( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (GLfloat )bswap_FLOAT32( pc + 4 )
- ) );
+ CALL_Accum(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ (GLfloat) bswap_FLOAT32(pc + 4)
+ ));
}
-void __glXDispSwap_Disable(GLbyte * pc)
+void
+__glXDispSwap_Disable(GLbyte * pc)
{
- CALL_Disable( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 )
- ) );
+ CALL_Disable(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0)
+ ));
}
-void __glXDispSwap_Enable(GLbyte * pc)
+void
+__glXDispSwap_Enable(GLbyte * pc)
{
- CALL_Enable( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 )
- ) );
+ CALL_Enable(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0)
+ ));
}
-void __glXDispSwap_PopAttrib(GLbyte * pc)
+void
+__glXDispSwap_PopAttrib(GLbyte * pc)
{
- CALL_PopAttrib( GET_DISPATCH(), () );
+ CALL_PopAttrib(GET_DISPATCH(), ());
}
-void __glXDispSwap_PushAttrib(GLbyte * pc)
+void
+__glXDispSwap_PushAttrib(GLbyte * pc)
{
- CALL_PushAttrib( GET_DISPATCH(), (
- (GLbitfield)bswap_CARD32 ( pc + 0 )
- ) );
+ CALL_PushAttrib(GET_DISPATCH(), ((GLbitfield) bswap_CARD32(pc + 0)
+ ));
}
-void __glXDispSwap_MapGrid1d(GLbyte * pc)
+void
+__glXDispSwap_MapGrid1d(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 20);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 20);
pc -= 4;
}
#endif
- CALL_MapGrid1d( GET_DISPATCH(), (
- (GLint )bswap_CARD32 ( pc + 16 ),
- (GLdouble)bswap_FLOAT64( pc + 0 ),
- (GLdouble)bswap_FLOAT64( pc + 8 )
- ) );
+ CALL_MapGrid1d(GET_DISPATCH(), ((GLint) bswap_CARD32(pc + 16),
+ (GLdouble) bswap_FLOAT64(pc + 0),
+ (GLdouble) bswap_FLOAT64(pc + 8)
+ ));
}
-void __glXDispSwap_MapGrid1f(GLbyte * pc)
+void
+__glXDispSwap_MapGrid1f(GLbyte * pc)
{
- CALL_MapGrid1f( GET_DISPATCH(), (
- (GLint )bswap_CARD32 ( pc + 0 ),
- (GLfloat )bswap_FLOAT32( pc + 4 ),
- (GLfloat )bswap_FLOAT32( pc + 8 )
- ) );
+ CALL_MapGrid1f(GET_DISPATCH(), ((GLint) bswap_CARD32(pc + 0),
+ (GLfloat) bswap_FLOAT32(pc + 4),
+ (GLfloat) bswap_FLOAT32(pc + 8)
+ ));
}
-void __glXDispSwap_MapGrid2d(GLbyte * pc)
+void
+__glXDispSwap_MapGrid2d(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 40);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 40);
pc -= 4;
}
#endif
- CALL_MapGrid2d( GET_DISPATCH(), (
- (GLint )bswap_CARD32 ( pc + 32 ),
- (GLdouble)bswap_FLOAT64( pc + 0 ),
- (GLdouble)bswap_FLOAT64( pc + 8 ),
- (GLint )bswap_CARD32 ( pc + 36 ),
- (GLdouble)bswap_FLOAT64( pc + 16 ),
- (GLdouble)bswap_FLOAT64( pc + 24 )
- ) );
+ CALL_MapGrid2d(GET_DISPATCH(), ((GLint) bswap_CARD32(pc + 32),
+ (GLdouble) bswap_FLOAT64(pc + 0),
+ (GLdouble) bswap_FLOAT64(pc + 8),
+ (GLint) bswap_CARD32(pc + 36),
+ (GLdouble) bswap_FLOAT64(pc + 16),
+ (GLdouble) bswap_FLOAT64(pc + 24)
+ ));
}
-void __glXDispSwap_MapGrid2f(GLbyte * pc)
+void
+__glXDispSwap_MapGrid2f(GLbyte * pc)
{
- CALL_MapGrid2f( GET_DISPATCH(), (
- (GLint )bswap_CARD32 ( pc + 0 ),
- (GLfloat )bswap_FLOAT32( pc + 4 ),
- (GLfloat )bswap_FLOAT32( pc + 8 ),
- (GLint )bswap_CARD32 ( pc + 12 ),
- (GLfloat )bswap_FLOAT32( pc + 16 ),
- (GLfloat )bswap_FLOAT32( pc + 20 )
- ) );
+ CALL_MapGrid2f(GET_DISPATCH(), ((GLint) bswap_CARD32(pc + 0),
+ (GLfloat) bswap_FLOAT32(pc + 4),
+ (GLfloat) bswap_FLOAT32(pc + 8),
+ (GLint) bswap_CARD32(pc + 12),
+ (GLfloat) bswap_FLOAT32(pc + 16),
+ (GLfloat) bswap_FLOAT32(pc + 20)
+ ));
}
-void __glXDispSwap_EvalCoord1dv(GLbyte * pc)
+void
+__glXDispSwap_EvalCoord1dv(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 8);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 8);
pc -= 4;
}
#endif
- CALL_EvalCoord1dv( GET_DISPATCH(), (
- (const GLdouble *)bswap_64_array( (uint64_t *) (pc + 0), 1 )
- ) );
+ CALL_EvalCoord1dv(GET_DISPATCH(), ((const GLdouble *)
+ bswap_64_array((uint64_t *) (pc + 0), 1)
+ ));
}
-void __glXDispSwap_EvalCoord1fv(GLbyte * pc)
+void
+__glXDispSwap_EvalCoord1fv(GLbyte * pc)
{
- CALL_EvalCoord1fv( GET_DISPATCH(), (
- (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 0), 1 )
- ) );
+ CALL_EvalCoord1fv(GET_DISPATCH(), ((const GLfloat *)
+ bswap_32_array((uint32_t *) (pc + 0), 1)
+ ));
}
-void __glXDispSwap_EvalCoord2dv(GLbyte * pc)
+void
+__glXDispSwap_EvalCoord2dv(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 16);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 16);
pc -= 4;
}
#endif
- CALL_EvalCoord2dv( GET_DISPATCH(), (
- (const GLdouble *)bswap_64_array( (uint64_t *) (pc + 0), 2 )
- ) );
+ CALL_EvalCoord2dv(GET_DISPATCH(), ((const GLdouble *)
+ bswap_64_array((uint64_t *) (pc + 0), 2)
+ ));
}
-void __glXDispSwap_EvalCoord2fv(GLbyte * pc)
+void
+__glXDispSwap_EvalCoord2fv(GLbyte * pc)
{
- CALL_EvalCoord2fv( GET_DISPATCH(), (
- (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 0), 2 )
- ) );
+ CALL_EvalCoord2fv(GET_DISPATCH(), ((const GLfloat *)
+ bswap_32_array((uint32_t *) (pc + 0), 2)
+ ));
}
-void __glXDispSwap_EvalMesh1(GLbyte * pc)
+void
+__glXDispSwap_EvalMesh1(GLbyte * pc)
{
- CALL_EvalMesh1( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (GLint )bswap_CARD32 ( pc + 4 ),
- (GLint )bswap_CARD32 ( pc + 8 )
- ) );
+ CALL_EvalMesh1(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ (GLint) bswap_CARD32(pc + 4),
+ (GLint) bswap_CARD32(pc + 8)
+ ));
}
-void __glXDispSwap_EvalPoint1(GLbyte * pc)
+void
+__glXDispSwap_EvalPoint1(GLbyte * pc)
{
- CALL_EvalPoint1( GET_DISPATCH(), (
- (GLint )bswap_CARD32 ( pc + 0 )
- ) );
+ CALL_EvalPoint1(GET_DISPATCH(), ((GLint) bswap_CARD32(pc + 0)
+ ));
}
-void __glXDispSwap_EvalMesh2(GLbyte * pc)
+void
+__glXDispSwap_EvalMesh2(GLbyte * pc)
{
- CALL_EvalMesh2( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (GLint )bswap_CARD32 ( pc + 4 ),
- (GLint )bswap_CARD32 ( pc + 8 ),
- (GLint )bswap_CARD32 ( pc + 12 ),
- (GLint )bswap_CARD32 ( pc + 16 )
- ) );
+ CALL_EvalMesh2(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ (GLint) bswap_CARD32(pc + 4),
+ (GLint) bswap_CARD32(pc + 8),
+ (GLint) bswap_CARD32(pc + 12),
+ (GLint) bswap_CARD32(pc + 16)
+ ));
}
-void __glXDispSwap_EvalPoint2(GLbyte * pc)
+void
+__glXDispSwap_EvalPoint2(GLbyte * pc)
{
- CALL_EvalPoint2( GET_DISPATCH(), (
- (GLint )bswap_CARD32 ( pc + 0 ),
- (GLint )bswap_CARD32 ( pc + 4 )
- ) );
+ CALL_EvalPoint2(GET_DISPATCH(), ((GLint) bswap_CARD32(pc + 0),
+ (GLint) bswap_CARD32(pc + 4)
+ ));
}
-void __glXDispSwap_AlphaFunc(GLbyte * pc)
+void
+__glXDispSwap_AlphaFunc(GLbyte * pc)
{
- CALL_AlphaFunc( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (GLclampf)bswap_FLOAT32( pc + 4 )
- ) );
+ CALL_AlphaFunc(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ (GLclampf) bswap_FLOAT32(pc + 4)
+ ));
}
-void __glXDispSwap_BlendFunc(GLbyte * pc)
+void
+__glXDispSwap_BlendFunc(GLbyte * pc)
{
- CALL_BlendFunc( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (GLenum )bswap_ENUM ( pc + 4 )
- ) );
+ CALL_BlendFunc(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ (GLenum) bswap_ENUM(pc + 4)
+ ));
}
-void __glXDispSwap_LogicOp(GLbyte * pc)
+void
+__glXDispSwap_LogicOp(GLbyte * pc)
{
- CALL_LogicOp( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 )
- ) );
+ CALL_LogicOp(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0)
+ ));
}
-void __glXDispSwap_StencilFunc(GLbyte * pc)
+void
+__glXDispSwap_StencilFunc(GLbyte * pc)
{
- CALL_StencilFunc( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (GLint )bswap_CARD32 ( pc + 4 ),
- (GLuint )bswap_CARD32 ( pc + 8 )
- ) );
+ CALL_StencilFunc(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ (GLint) bswap_CARD32(pc + 4),
+ (GLuint) bswap_CARD32(pc + 8)
+ ));
}
-void __glXDispSwap_StencilOp(GLbyte * pc)
+void
+__glXDispSwap_StencilOp(GLbyte * pc)
{
- CALL_StencilOp( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (GLenum )bswap_ENUM ( pc + 4 ),
- (GLenum )bswap_ENUM ( pc + 8 )
- ) );
+ CALL_StencilOp(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ (GLenum) bswap_ENUM(pc + 4),
+ (GLenum) bswap_ENUM(pc + 8)
+ ));
}
-void __glXDispSwap_DepthFunc(GLbyte * pc)
+void
+__glXDispSwap_DepthFunc(GLbyte * pc)
{
- CALL_DepthFunc( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 )
- ) );
+ CALL_DepthFunc(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0)
+ ));
}
-void __glXDispSwap_PixelZoom(GLbyte * pc)
+void
+__glXDispSwap_PixelZoom(GLbyte * pc)
{
- CALL_PixelZoom( GET_DISPATCH(), (
- (GLfloat )bswap_FLOAT32( pc + 0 ),
- (GLfloat )bswap_FLOAT32( pc + 4 )
- ) );
+ CALL_PixelZoom(GET_DISPATCH(), ((GLfloat) bswap_FLOAT32(pc + 0),
+ (GLfloat) bswap_FLOAT32(pc + 4)
+ ));
}
-void __glXDispSwap_PixelTransferf(GLbyte * pc)
+void
+__glXDispSwap_PixelTransferf(GLbyte * pc)
{
- CALL_PixelTransferf( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (GLfloat )bswap_FLOAT32( pc + 4 )
- ) );
+ CALL_PixelTransferf(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ (GLfloat) bswap_FLOAT32(pc + 4)
+ ));
}
-void __glXDispSwap_PixelTransferi(GLbyte * pc)
+void
+__glXDispSwap_PixelTransferi(GLbyte * pc)
{
- CALL_PixelTransferi( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (GLint )bswap_CARD32 ( pc + 4 )
- ) );
+ CALL_PixelTransferi(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ (GLint) bswap_CARD32(pc + 4)
+ ));
}
-int __glXDispSwap_PixelStoref(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_PixelStoref(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- CALL_PixelStoref( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (GLfloat )bswap_FLOAT32( pc + 4 )
- ) );
+ if (cx != NULL) {
+ CALL_PixelStoref(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ (GLfloat) bswap_FLOAT32(pc + 4)
+ ));
error = Success;
}
return error;
}
-int __glXDispSwap_PixelStorei(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_PixelStorei(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- CALL_PixelStorei( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (GLint )bswap_CARD32 ( pc + 4 )
- ) );
+ if (cx != NULL) {
+ CALL_PixelStorei(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ (GLint) bswap_CARD32(pc + 4)
+ ));
error = Success;
}
return error;
}
-void __glXDispSwap_PixelMapfv(GLbyte * pc)
+void
+__glXDispSwap_PixelMapfv(GLbyte * pc)
{
- const GLsizei mapsize = (GLsizei )bswap_CARD32 ( pc + 4 );
+ const GLsizei mapsize = (GLsizei) bswap_CARD32(pc + 4);
- CALL_PixelMapfv( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- mapsize,
- (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 8), 0 )
- ) );
+ CALL_PixelMapfv(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ mapsize,
+ (const GLfloat *)
+ bswap_32_array((uint32_t *) (pc + 8), 0)
+ ));
}
-void __glXDispSwap_PixelMapuiv(GLbyte * pc)
+void
+__glXDispSwap_PixelMapuiv(GLbyte * pc)
{
- const GLsizei mapsize = (GLsizei )bswap_CARD32 ( pc + 4 );
+ const GLsizei mapsize = (GLsizei) bswap_CARD32(pc + 4);
- CALL_PixelMapuiv( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- mapsize,
- (const GLuint *)bswap_32_array( (uint32_t *) (pc + 8), 0 )
- ) );
+ CALL_PixelMapuiv(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ mapsize,
+ (const GLuint *)
+ bswap_32_array((uint32_t *) (pc + 8), 0)
+ ));
}
-void __glXDispSwap_PixelMapusv(GLbyte * pc)
+void
+__glXDispSwap_PixelMapusv(GLbyte * pc)
{
- const GLsizei mapsize = (GLsizei )bswap_CARD32 ( pc + 4 );
+ const GLsizei mapsize = (GLsizei) bswap_CARD32(pc + 4);
- CALL_PixelMapusv( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- mapsize,
- (const GLushort *)bswap_16_array( (uint16_t *) (pc + 8), 0 )
- ) );
+ CALL_PixelMapusv(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ mapsize,
+ (const GLushort *)
+ bswap_16_array((uint16_t *) (pc + 8), 0)
+ ));
}
-void __glXDispSwap_ReadBuffer(GLbyte * pc)
+void
+__glXDispSwap_ReadBuffer(GLbyte * pc)
{
- CALL_ReadBuffer( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 )
- ) );
+ CALL_ReadBuffer(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0)
+ ));
}
-void __glXDispSwap_CopyPixels(GLbyte * pc)
+void
+__glXDispSwap_CopyPixels(GLbyte * pc)
{
- CALL_CopyPixels( GET_DISPATCH(), (
- (GLint )bswap_CARD32 ( pc + 0 ),
- (GLint )bswap_CARD32 ( pc + 4 ),
- (GLsizei )bswap_CARD32 ( pc + 8 ),
- (GLsizei )bswap_CARD32 ( pc + 12 ),
- (GLenum )bswap_ENUM ( pc + 16 )
- ) );
+ CALL_CopyPixels(GET_DISPATCH(), ((GLint) bswap_CARD32(pc + 0),
+ (GLint) bswap_CARD32(pc + 4),
+ (GLsizei) bswap_CARD32(pc + 8),
+ (GLsizei) bswap_CARD32(pc + 12),
+ (GLenum) bswap_ENUM(pc + 16)
+ ));
}
-void __glXDispSwap_DrawPixels(GLbyte * pc)
+void
+__glXDispSwap_DrawPixels(GLbyte * pc)
{
- const GLvoid * const pixels = (const GLvoid *) ((pc + 36));
- __GLXpixelHeader * const hdr = (__GLXpixelHeader *)(pc);
+ const GLvoid *const pixels = (const GLvoid *) ((pc + 36));
+ __GLXpixelHeader *const hdr = (__GLXpixelHeader *) (pc);
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ROW_LENGTH, (GLint) bswap_CARD32( & hdr->rowLength )) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_ROWS, (GLint) bswap_CARD32( & hdr->skipRows )) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_PIXELS, (GLint) bswap_CARD32( & hdr->skipPixels )) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ALIGNMENT, (GLint) bswap_CARD32( & hdr->alignment )) );
+ CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes));
+ CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_ROW_LENGTH,
+ (GLint) bswap_CARD32(&hdr->rowLength)));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_SKIP_ROWS,
+ (GLint) bswap_CARD32(&hdr->skipRows)));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_SKIP_PIXELS,
+ (GLint) bswap_CARD32(&hdr->skipPixels)));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_ALIGNMENT,
+ (GLint) bswap_CARD32(&hdr->alignment)));
- CALL_DrawPixels( GET_DISPATCH(), (
- (GLsizei )bswap_CARD32 ( pc + 20 ),
- (GLsizei )bswap_CARD32 ( pc + 24 ),
- (GLenum )bswap_ENUM ( pc + 28 ),
- (GLenum )bswap_ENUM ( pc + 32 ),
- pixels
- ) );
+ CALL_DrawPixels(GET_DISPATCH(), ((GLsizei) bswap_CARD32(pc + 20),
+ (GLsizei) bswap_CARD32(pc + 24),
+ (GLenum) bswap_ENUM(pc + 28),
+ (GLenum) bswap_ENUM(pc + 32), pixels));
}
-int __glXDispSwap_GetBooleanv(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_GetBooleanv(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum pname = (GLenum )bswap_ENUM ( pc + 0 );
+ if (cx != NULL) {
+ const GLenum pname = (GLenum) bswap_ENUM(pc + 0);
const GLuint compsize = __glGetBooleanv_size(pname);
GLboolean answerBuffer[200];
- GLboolean * params = __glXGetAnswerBuffer(cl, compsize, answerBuffer, sizeof(answerBuffer), 1);
+ GLboolean *params =
+ __glXGetAnswerBuffer(cl, compsize, answerBuffer,
+ sizeof(answerBuffer), 1);
- if (params == NULL) return BadAlloc;
+ if (params == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetBooleanv( GET_DISPATCH(), (
- pname,
- params
- ) );
+ CALL_GetBooleanv(GET_DISPATCH(), (pname, params));
__glXSendReplySwap(cl->client, params, compsize, 1, GL_FALSE, 0);
error = Success;
}
@@ -1896,20 +2038,21 @@ int __glXDispSwap_GetBooleanv(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDispSwap_GetClipPlane(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_GetClipPlane(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
+ if (cx != NULL) {
GLdouble equation[4];
- CALL_GetClipPlane( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- equation
- ) );
- (void) bswap_64_array( (uint64_t *) equation, 4 );
+
+ CALL_GetClipPlane(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ equation));
+ (void) bswap_64_array((uint64_t *) equation, 4);
__glXSendReplySwap(cl->client, equation, 4, 8, GL_TRUE, 0);
error = Success;
}
@@ -1917,28 +2060,30 @@ int __glXDispSwap_GetClipPlane(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDispSwap_GetDoublev(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_GetDoublev(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum pname = (GLenum )bswap_ENUM ( pc + 0 );
+ if (cx != NULL) {
+ const GLenum pname = (GLenum) bswap_ENUM(pc + 0);
const GLuint compsize = __glGetDoublev_size(pname);
GLdouble answerBuffer[200];
- GLdouble * params = __glXGetAnswerBuffer(cl, compsize * 8, answerBuffer, sizeof(answerBuffer), 8);
+ GLdouble *params =
+ __glXGetAnswerBuffer(cl, compsize * 8, answerBuffer,
+ sizeof(answerBuffer), 8);
- if (params == NULL) return BadAlloc;
+ if (params == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetDoublev( GET_DISPATCH(), (
- pname,
- params
- ) );
- (void) bswap_64_array( (uint64_t *) params, compsize );
+ CALL_GetDoublev(GET_DISPATCH(), (pname, params));
+ (void) bswap_64_array((uint64_t *) params, compsize);
__glXSendReplySwap(cl->client, params, compsize, 8, GL_FALSE, 0);
error = Success;
}
@@ -1946,16 +2091,19 @@ int __glXDispSwap_GetDoublev(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDispSwap_GetError(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_GetError(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
+ if (cx != NULL) {
GLenum retval;
- retval = CALL_GetError( GET_DISPATCH(), () );
+
+ retval = CALL_GetError(GET_DISPATCH(), ());
__glXSendReplySwap(cl->client, dummy_answer, 0, 0, GL_FALSE, retval);
error = Success;
}
@@ -1963,28 +2111,30 @@ int __glXDispSwap_GetError(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDispSwap_GetFloatv(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_GetFloatv(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum pname = (GLenum )bswap_ENUM ( pc + 0 );
+ if (cx != NULL) {
+ const GLenum pname = (GLenum) bswap_ENUM(pc + 0);
const GLuint compsize = __glGetFloatv_size(pname);
GLfloat answerBuffer[200];
- GLfloat * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4);
+ GLfloat *params =
+ __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer,
+ sizeof(answerBuffer), 4);
- if (params == NULL) return BadAlloc;
+ if (params == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetFloatv( GET_DISPATCH(), (
- pname,
- params
- ) );
- (void) bswap_32_array( (uint32_t *) params, compsize );
+ CALL_GetFloatv(GET_DISPATCH(), (pname, params));
+ (void) bswap_32_array((uint32_t *) params, compsize);
__glXSendReplySwap(cl->client, params, compsize, 4, GL_FALSE, 0);
error = Success;
}
@@ -1992,28 +2142,30 @@ int __glXDispSwap_GetFloatv(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDispSwap_GetIntegerv(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_GetIntegerv(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum pname = (GLenum )bswap_ENUM ( pc + 0 );
+ if (cx != NULL) {
+ const GLenum pname = (GLenum) bswap_ENUM(pc + 0);
const GLuint compsize = __glGetIntegerv_size(pname);
GLint answerBuffer[200];
- GLint * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4);
+ GLint *params =
+ __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer,
+ sizeof(answerBuffer), 4);
- if (params == NULL) return BadAlloc;
+ if (params == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetIntegerv( GET_DISPATCH(), (
- pname,
- params
- ) );
- (void) bswap_32_array( (uint32_t *) params, compsize );
+ CALL_GetIntegerv(GET_DISPATCH(), (pname, params));
+ (void) bswap_32_array((uint32_t *) params, compsize);
__glXSendReplySwap(cl->client, params, compsize, 4, GL_FALSE, 0);
error = Success;
}
@@ -2021,29 +2173,31 @@ int __glXDispSwap_GetIntegerv(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDispSwap_GetLightfv(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_GetLightfv(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 );
+ if (cx != NULL) {
+ const GLenum pname = (GLenum) bswap_ENUM(pc + 4);
const GLuint compsize = __glGetLightfv_size(pname);
GLfloat answerBuffer[200];
- GLfloat * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4);
+ GLfloat *params =
+ __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer,
+ sizeof(answerBuffer), 4);
- if (params == NULL) return BadAlloc;
+ if (params == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetLightfv( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- pname,
- params
- ) );
- (void) bswap_32_array( (uint32_t *) params, compsize );
+ CALL_GetLightfv(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ pname, params));
+ (void) bswap_32_array((uint32_t *) params, compsize);
__glXSendReplySwap(cl->client, params, compsize, 4, GL_FALSE, 0);
error = Success;
}
@@ -2051,29 +2205,31 @@ int __glXDispSwap_GetLightfv(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDispSwap_GetLightiv(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_GetLightiv(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 );
+ if (cx != NULL) {
+ const GLenum pname = (GLenum) bswap_ENUM(pc + 4);
const GLuint compsize = __glGetLightiv_size(pname);
GLint answerBuffer[200];
- GLint * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4);
+ GLint *params =
+ __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer,
+ sizeof(answerBuffer), 4);
- if (params == NULL) return BadAlloc;
+ if (params == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetLightiv( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- pname,
- params
- ) );
- (void) bswap_32_array( (uint32_t *) params, compsize );
+ CALL_GetLightiv(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ pname, params));
+ (void) bswap_32_array((uint32_t *) params, compsize);
__glXSendReplySwap(cl->client, params, compsize, 4, GL_FALSE, 0);
error = Success;
}
@@ -2081,30 +2237,31 @@ int __glXDispSwap_GetLightiv(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDispSwap_GetMapdv(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_GetMapdv(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum target = (GLenum )bswap_ENUM ( pc + 0 );
- const GLenum query = (GLenum )bswap_ENUM ( pc + 4 );
+ if (cx != NULL) {
+ const GLenum target = (GLenum) bswap_ENUM(pc + 0);
+ const GLenum query = (GLenum) bswap_ENUM(pc + 4);
- const GLuint compsize = __glGetMapdv_size(target,query);
+ const GLuint compsize = __glGetMapdv_size(target, query);
GLdouble answerBuffer[200];
- GLdouble * v = __glXGetAnswerBuffer(cl, compsize * 8, answerBuffer, sizeof(answerBuffer), 8);
+ GLdouble *v =
+ __glXGetAnswerBuffer(cl, compsize * 8, answerBuffer,
+ sizeof(answerBuffer), 8);
- if (v == NULL) return BadAlloc;
+ if (v == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetMapdv( GET_DISPATCH(), (
- target,
- query,
- v
- ) );
- (void) bswap_64_array( (uint64_t *) v, compsize );
+ CALL_GetMapdv(GET_DISPATCH(), (target, query, v));
+ (void) bswap_64_array((uint64_t *) v, compsize);
__glXSendReplySwap(cl->client, v, compsize, 8, GL_FALSE, 0);
error = Success;
}
@@ -2112,30 +2269,31 @@ int __glXDispSwap_GetMapdv(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDispSwap_GetMapfv(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_GetMapfv(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum target = (GLenum )bswap_ENUM ( pc + 0 );
- const GLenum query = (GLenum )bswap_ENUM ( pc + 4 );
+ if (cx != NULL) {
+ const GLenum target = (GLenum) bswap_ENUM(pc + 0);
+ const GLenum query = (GLenum) bswap_ENUM(pc + 4);
- const GLuint compsize = __glGetMapfv_size(target,query);
+ const GLuint compsize = __glGetMapfv_size(target, query);
GLfloat answerBuffer[200];
- GLfloat * v = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4);
+ GLfloat *v =
+ __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer,
+ sizeof(answerBuffer), 4);
- if (v == NULL) return BadAlloc;
+ if (v == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetMapfv( GET_DISPATCH(), (
- target,
- query,
- v
- ) );
- (void) bswap_32_array( (uint32_t *) v, compsize );
+ CALL_GetMapfv(GET_DISPATCH(), (target, query, v));
+ (void) bswap_32_array((uint32_t *) v, compsize);
__glXSendReplySwap(cl->client, v, compsize, 4, GL_FALSE, 0);
error = Success;
}
@@ -2143,30 +2301,31 @@ int __glXDispSwap_GetMapfv(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDispSwap_GetMapiv(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_GetMapiv(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum target = (GLenum )bswap_ENUM ( pc + 0 );
- const GLenum query = (GLenum )bswap_ENUM ( pc + 4 );
+ if (cx != NULL) {
+ const GLenum target = (GLenum) bswap_ENUM(pc + 0);
+ const GLenum query = (GLenum) bswap_ENUM(pc + 4);
- const GLuint compsize = __glGetMapiv_size(target,query);
+ const GLuint compsize = __glGetMapiv_size(target, query);
GLint answerBuffer[200];
- GLint * v = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4);
+ GLint *v =
+ __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer,
+ sizeof(answerBuffer), 4);
- if (v == NULL) return BadAlloc;
+ if (v == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetMapiv( GET_DISPATCH(), (
- target,
- query,
- v
- ) );
- (void) bswap_32_array( (uint32_t *) v, compsize );
+ CALL_GetMapiv(GET_DISPATCH(), (target, query, v));
+ (void) bswap_32_array((uint32_t *) v, compsize);
__glXSendReplySwap(cl->client, v, compsize, 4, GL_FALSE, 0);
error = Success;
}
@@ -2174,29 +2333,31 @@ int __glXDispSwap_GetMapiv(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDispSwap_GetMaterialfv(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_GetMaterialfv(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 );
+ if (cx != NULL) {
+ const GLenum pname = (GLenum) bswap_ENUM(pc + 4);
const GLuint compsize = __glGetMaterialfv_size(pname);
GLfloat answerBuffer[200];
- GLfloat * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4);
+ GLfloat *params =
+ __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer,
+ sizeof(answerBuffer), 4);
- if (params == NULL) return BadAlloc;
+ if (params == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetMaterialfv( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- pname,
- params
- ) );
- (void) bswap_32_array( (uint32_t *) params, compsize );
+ CALL_GetMaterialfv(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ pname, params));
+ (void) bswap_32_array((uint32_t *) params, compsize);
__glXSendReplySwap(cl->client, params, compsize, 4, GL_FALSE, 0);
error = Success;
}
@@ -2204,29 +2365,31 @@ int __glXDispSwap_GetMaterialfv(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDispSwap_GetMaterialiv(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_GetMaterialiv(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 );
+ if (cx != NULL) {
+ const GLenum pname = (GLenum) bswap_ENUM(pc + 4);
const GLuint compsize = __glGetMaterialiv_size(pname);
GLint answerBuffer[200];
- GLint * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4);
+ GLint *params =
+ __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer,
+ sizeof(answerBuffer), 4);
- if (params == NULL) return BadAlloc;
+ if (params == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetMaterialiv( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- pname,
- params
- ) );
- (void) bswap_32_array( (uint32_t *) params, compsize );
+ CALL_GetMaterialiv(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ pname, params));
+ (void) bswap_32_array((uint32_t *) params, compsize);
__glXSendReplySwap(cl->client, params, compsize, 4, GL_FALSE, 0);
error = Success;
}
@@ -2234,28 +2397,30 @@ int __glXDispSwap_GetMaterialiv(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDispSwap_GetPixelMapfv(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_GetPixelMapfv(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum map = (GLenum )bswap_ENUM ( pc + 0 );
+ if (cx != NULL) {
+ const GLenum map = (GLenum) bswap_ENUM(pc + 0);
const GLuint compsize = __glGetPixelMapfv_size(map);
GLfloat answerBuffer[200];
- GLfloat * values = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4);
+ GLfloat *values =
+ __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer,
+ sizeof(answerBuffer), 4);
- if (values == NULL) return BadAlloc;
+ if (values == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetPixelMapfv( GET_DISPATCH(), (
- map,
- values
- ) );
- (void) bswap_32_array( (uint32_t *) values, compsize );
+ CALL_GetPixelMapfv(GET_DISPATCH(), (map, values));
+ (void) bswap_32_array((uint32_t *) values, compsize);
__glXSendReplySwap(cl->client, values, compsize, 4, GL_FALSE, 0);
error = Success;
}
@@ -2263,28 +2428,30 @@ int __glXDispSwap_GetPixelMapfv(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDispSwap_GetPixelMapuiv(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_GetPixelMapuiv(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum map = (GLenum )bswap_ENUM ( pc + 0 );
+ if (cx != NULL) {
+ const GLenum map = (GLenum) bswap_ENUM(pc + 0);
const GLuint compsize = __glGetPixelMapuiv_size(map);
GLuint answerBuffer[200];
- GLuint * values = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4);
+ GLuint *values =
+ __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer,
+ sizeof(answerBuffer), 4);
- if (values == NULL) return BadAlloc;
+ if (values == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetPixelMapuiv( GET_DISPATCH(), (
- map,
- values
- ) );
- (void) bswap_32_array( (uint32_t *) values, compsize );
+ CALL_GetPixelMapuiv(GET_DISPATCH(), (map, values));
+ (void) bswap_32_array((uint32_t *) values, compsize);
__glXSendReplySwap(cl->client, values, compsize, 4, GL_FALSE, 0);
error = Success;
}
@@ -2292,28 +2459,30 @@ int __glXDispSwap_GetPixelMapuiv(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDispSwap_GetPixelMapusv(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_GetPixelMapusv(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum map = (GLenum )bswap_ENUM ( pc + 0 );
+ if (cx != NULL) {
+ const GLenum map = (GLenum) bswap_ENUM(pc + 0);
const GLuint compsize = __glGetPixelMapusv_size(map);
GLushort answerBuffer[200];
- GLushort * values = __glXGetAnswerBuffer(cl, compsize * 2, answerBuffer, sizeof(answerBuffer), 2);
+ GLushort *values =
+ __glXGetAnswerBuffer(cl, compsize * 2, answerBuffer,
+ sizeof(answerBuffer), 2);
- if (values == NULL) return BadAlloc;
+ if (values == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetPixelMapusv( GET_DISPATCH(), (
- map,
- values
- ) );
- (void) bswap_16_array( (uint16_t *) values, compsize );
+ CALL_GetPixelMapusv(GET_DISPATCH(), (map, values));
+ (void) bswap_16_array((uint16_t *) values, compsize);
__glXSendReplySwap(cl->client, values, compsize, 2, GL_FALSE, 0);
error = Success;
}
@@ -2321,29 +2490,31 @@ int __glXDispSwap_GetPixelMapusv(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDispSwap_GetTexEnvfv(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_GetTexEnvfv(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 );
+ if (cx != NULL) {
+ const GLenum pname = (GLenum) bswap_ENUM(pc + 4);
const GLuint compsize = __glGetTexEnvfv_size(pname);
GLfloat answerBuffer[200];
- GLfloat * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4);
+ GLfloat *params =
+ __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer,
+ sizeof(answerBuffer), 4);
- if (params == NULL) return BadAlloc;
+ if (params == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetTexEnvfv( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- pname,
- params
- ) );
- (void) bswap_32_array( (uint32_t *) params, compsize );
+ CALL_GetTexEnvfv(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ pname, params));
+ (void) bswap_32_array((uint32_t *) params, compsize);
__glXSendReplySwap(cl->client, params, compsize, 4, GL_FALSE, 0);
error = Success;
}
@@ -2351,29 +2522,31 @@ int __glXDispSwap_GetTexEnvfv(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDispSwap_GetTexEnviv(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_GetTexEnviv(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 );
+ if (cx != NULL) {
+ const GLenum pname = (GLenum) bswap_ENUM(pc + 4);
const GLuint compsize = __glGetTexEnviv_size(pname);
GLint answerBuffer[200];
- GLint * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4);
+ GLint *params =
+ __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer,
+ sizeof(answerBuffer), 4);
- if (params == NULL) return BadAlloc;
+ if (params == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetTexEnviv( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- pname,
- params
- ) );
- (void) bswap_32_array( (uint32_t *) params, compsize );
+ CALL_GetTexEnviv(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ pname, params));
+ (void) bswap_32_array((uint32_t *) params, compsize);
__glXSendReplySwap(cl->client, params, compsize, 4, GL_FALSE, 0);
error = Success;
}
@@ -2381,29 +2554,31 @@ int __glXDispSwap_GetTexEnviv(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDispSwap_GetTexGendv(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_GetTexGendv(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 );
+ if (cx != NULL) {
+ const GLenum pname = (GLenum) bswap_ENUM(pc + 4);
const GLuint compsize = __glGetTexGendv_size(pname);
GLdouble answerBuffer[200];
- GLdouble * params = __glXGetAnswerBuffer(cl, compsize * 8, answerBuffer, sizeof(answerBuffer), 8);
+ GLdouble *params =
+ __glXGetAnswerBuffer(cl, compsize * 8, answerBuffer,
+ sizeof(answerBuffer), 8);
- if (params == NULL) return BadAlloc;
+ if (params == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetTexGendv( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- pname,
- params
- ) );
- (void) bswap_64_array( (uint64_t *) params, compsize );
+ CALL_GetTexGendv(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ pname, params));
+ (void) bswap_64_array((uint64_t *) params, compsize);
__glXSendReplySwap(cl->client, params, compsize, 8, GL_FALSE, 0);
error = Success;
}
@@ -2411,29 +2586,31 @@ int __glXDispSwap_GetTexGendv(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDispSwap_GetTexGenfv(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_GetTexGenfv(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 );
+ if (cx != NULL) {
+ const GLenum pname = (GLenum) bswap_ENUM(pc + 4);
const GLuint compsize = __glGetTexGenfv_size(pname);
GLfloat answerBuffer[200];
- GLfloat * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4);
+ GLfloat *params =
+ __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer,
+ sizeof(answerBuffer), 4);
- if (params == NULL) return BadAlloc;
+ if (params == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetTexGenfv( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- pname,
- params
- ) );
- (void) bswap_32_array( (uint32_t *) params, compsize );
+ CALL_GetTexGenfv(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ pname, params));
+ (void) bswap_32_array((uint32_t *) params, compsize);
__glXSendReplySwap(cl->client, params, compsize, 4, GL_FALSE, 0);
error = Success;
}
@@ -2441,29 +2618,31 @@ int __glXDispSwap_GetTexGenfv(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDispSwap_GetTexGeniv(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_GetTexGeniv(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 );
+ if (cx != NULL) {
+ const GLenum pname = (GLenum) bswap_ENUM(pc + 4);
const GLuint compsize = __glGetTexGeniv_size(pname);
GLint answerBuffer[200];
- GLint * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4);
+ GLint *params =
+ __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer,
+ sizeof(answerBuffer), 4);
- if (params == NULL) return BadAlloc;
+ if (params == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetTexGeniv( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- pname,
- params
- ) );
- (void) bswap_32_array( (uint32_t *) params, compsize );
+ CALL_GetTexGeniv(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ pname, params));
+ (void) bswap_32_array((uint32_t *) params, compsize);
__glXSendReplySwap(cl->client, params, compsize, 4, GL_FALSE, 0);
error = Success;
}
@@ -2471,29 +2650,31 @@ int __glXDispSwap_GetTexGeniv(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDispSwap_GetTexParameterfv(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_GetTexParameterfv(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 );
+ if (cx != NULL) {
+ const GLenum pname = (GLenum) bswap_ENUM(pc + 4);
const GLuint compsize = __glGetTexParameterfv_size(pname);
GLfloat answerBuffer[200];
- GLfloat * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4);
+ GLfloat *params =
+ __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer,
+ sizeof(answerBuffer), 4);
- if (params == NULL) return BadAlloc;
+ if (params == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetTexParameterfv( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- pname,
- params
- ) );
- (void) bswap_32_array( (uint32_t *) params, compsize );
+ CALL_GetTexParameterfv(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ pname, params));
+ (void) bswap_32_array((uint32_t *) params, compsize);
__glXSendReplySwap(cl->client, params, compsize, 4, GL_FALSE, 0);
error = Success;
}
@@ -2501,29 +2682,31 @@ int __glXDispSwap_GetTexParameterfv(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDispSwap_GetTexParameteriv(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_GetTexParameteriv(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 );
+ if (cx != NULL) {
+ const GLenum pname = (GLenum) bswap_ENUM(pc + 4);
const GLuint compsize = __glGetTexParameteriv_size(pname);
GLint answerBuffer[200];
- GLint * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4);
+ GLint *params =
+ __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer,
+ sizeof(answerBuffer), 4);
- if (params == NULL) return BadAlloc;
+ if (params == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetTexParameteriv( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- pname,
- params
- ) );
- (void) bswap_32_array( (uint32_t *) params, compsize );
+ CALL_GetTexParameteriv(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ pname, params));
+ (void) bswap_32_array((uint32_t *) params, compsize);
__glXSendReplySwap(cl->client, params, compsize, 4, GL_FALSE, 0);
error = Success;
}
@@ -2531,30 +2714,34 @@ int __glXDispSwap_GetTexParameteriv(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDispSwap_GetTexLevelParameterfv(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_GetTexLevelParameterfv(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum pname = (GLenum )bswap_ENUM ( pc + 8 );
+ if (cx != NULL) {
+ const GLenum pname = (GLenum) bswap_ENUM(pc + 8);
const GLuint compsize = __glGetTexLevelParameterfv_size(pname);
GLfloat answerBuffer[200];
- GLfloat * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4);
+ GLfloat *params =
+ __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer,
+ sizeof(answerBuffer), 4);
- if (params == NULL) return BadAlloc;
+ if (params == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetTexLevelParameterfv( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (GLint )bswap_CARD32 ( pc + 4 ),
- pname,
- params
- ) );
- (void) bswap_32_array( (uint32_t *) params, compsize );
+ CALL_GetTexLevelParameterfv(GET_DISPATCH(), ((GLenum)
+ bswap_ENUM(pc + 0),
+ (GLint) bswap_CARD32(pc +
+ 4),
+ pname, params));
+ (void) bswap_32_array((uint32_t *) params, compsize);
__glXSendReplySwap(cl->client, params, compsize, 4, GL_FALSE, 0);
error = Success;
}
@@ -2562,30 +2749,34 @@ int __glXDispSwap_GetTexLevelParameterfv(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDispSwap_GetTexLevelParameteriv(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_GetTexLevelParameteriv(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum pname = (GLenum )bswap_ENUM ( pc + 8 );
+ if (cx != NULL) {
+ const GLenum pname = (GLenum) bswap_ENUM(pc + 8);
const GLuint compsize = __glGetTexLevelParameteriv_size(pname);
GLint answerBuffer[200];
- GLint * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4);
+ GLint *params =
+ __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer,
+ sizeof(answerBuffer), 4);
- if (params == NULL) return BadAlloc;
+ if (params == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetTexLevelParameteriv( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (GLint )bswap_CARD32 ( pc + 4 ),
- pname,
- params
- ) );
- (void) bswap_32_array( (uint32_t *) params, compsize );
+ CALL_GetTexLevelParameteriv(GET_DISPATCH(), ((GLenum)
+ bswap_ENUM(pc + 0),
+ (GLint) bswap_CARD32(pc +
+ 4),
+ pname, params));
+ (void) bswap_32_array((uint32_t *) params, compsize);
__glXSendReplySwap(cl->client, params, compsize, 4, GL_FALSE, 0);
error = Success;
}
@@ -2593,18 +2784,20 @@ int __glXDispSwap_GetTexLevelParameteriv(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDispSwap_IsEnabled(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_IsEnabled(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
+ if (cx != NULL) {
GLboolean retval;
- retval = CALL_IsEnabled( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 )
- ) );
+
+ retval = CALL_IsEnabled(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0)
+ ));
__glXSendReplySwap(cl->client, dummy_answer, 0, 0, GL_FALSE, retval);
error = Success;
}
@@ -2612,18 +2805,20 @@ int __glXDispSwap_IsEnabled(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDispSwap_IsList(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_IsList(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
+ if (cx != NULL) {
GLboolean retval;
- retval = CALL_IsList( GET_DISPATCH(), (
- (GLuint )bswap_CARD32 ( pc + 0 )
- ) );
+
+ retval = CALL_IsList(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0)
+ ));
__glXSendReplySwap(cl->client, dummy_answer, 0, 0, GL_FALSE, retval);
error = Success;
}
@@ -2631,251 +2826,262 @@ int __glXDispSwap_IsList(__GLXclientState *cl, GLbyte *pc)
return error;
}
-void __glXDispSwap_DepthRange(GLbyte * pc)
+void
+__glXDispSwap_DepthRange(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 16);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 16);
pc -= 4;
}
#endif
- CALL_DepthRange( GET_DISPATCH(), (
- (GLclampd)bswap_FLOAT64( pc + 0 ),
- (GLclampd)bswap_FLOAT64( pc + 8 )
- ) );
+ CALL_DepthRange(GET_DISPATCH(), ((GLclampd) bswap_FLOAT64(pc + 0),
+ (GLclampd) bswap_FLOAT64(pc + 8)
+ ));
}
-void __glXDispSwap_Frustum(GLbyte * pc)
+void
+__glXDispSwap_Frustum(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 48);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 48);
pc -= 4;
}
#endif
- CALL_Frustum( GET_DISPATCH(), (
- (GLdouble)bswap_FLOAT64( pc + 0 ),
- (GLdouble)bswap_FLOAT64( pc + 8 ),
- (GLdouble)bswap_FLOAT64( pc + 16 ),
- (GLdouble)bswap_FLOAT64( pc + 24 ),
- (GLdouble)bswap_FLOAT64( pc + 32 ),
- (GLdouble)bswap_FLOAT64( pc + 40 )
- ) );
+ CALL_Frustum(GET_DISPATCH(), ((GLdouble) bswap_FLOAT64(pc + 0),
+ (GLdouble) bswap_FLOAT64(pc + 8),
+ (GLdouble) bswap_FLOAT64(pc + 16),
+ (GLdouble) bswap_FLOAT64(pc + 24),
+ (GLdouble) bswap_FLOAT64(pc + 32),
+ (GLdouble) bswap_FLOAT64(pc + 40)
+ ));
}
-void __glXDispSwap_LoadIdentity(GLbyte * pc)
+void
+__glXDispSwap_LoadIdentity(GLbyte * pc)
{
- CALL_LoadIdentity( GET_DISPATCH(), () );
+ CALL_LoadIdentity(GET_DISPATCH(), ());
}
-void __glXDispSwap_LoadMatrixf(GLbyte * pc)
+void
+__glXDispSwap_LoadMatrixf(GLbyte * pc)
{
- CALL_LoadMatrixf( GET_DISPATCH(), (
- (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 0), 16 )
- ) );
+ CALL_LoadMatrixf(GET_DISPATCH(), ((const GLfloat *)
+ bswap_32_array((uint32_t *) (pc + 0), 16)
+ ));
}
-void __glXDispSwap_LoadMatrixd(GLbyte * pc)
+void
+__glXDispSwap_LoadMatrixd(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 128);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 128);
pc -= 4;
}
#endif
- CALL_LoadMatrixd( GET_DISPATCH(), (
- (const GLdouble *)bswap_64_array( (uint64_t *) (pc + 0), 16 )
- ) );
+ CALL_LoadMatrixd(GET_DISPATCH(), ((const GLdouble *)
+ bswap_64_array((uint64_t *) (pc + 0), 16)
+ ));
}
-void __glXDispSwap_MatrixMode(GLbyte * pc)
+void
+__glXDispSwap_MatrixMode(GLbyte * pc)
{
- CALL_MatrixMode( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 )
- ) );
+ CALL_MatrixMode(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0)
+ ));
}
-void __glXDispSwap_MultMatrixf(GLbyte * pc)
+void
+__glXDispSwap_MultMatrixf(GLbyte * pc)
{
- CALL_MultMatrixf( GET_DISPATCH(), (
- (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 0), 16 )
- ) );
+ CALL_MultMatrixf(GET_DISPATCH(), ((const GLfloat *)
+ bswap_32_array((uint32_t *) (pc + 0), 16)
+ ));
}
-void __glXDispSwap_MultMatrixd(GLbyte * pc)
+void
+__glXDispSwap_MultMatrixd(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 128);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 128);
pc -= 4;
}
#endif
- CALL_MultMatrixd( GET_DISPATCH(), (
- (const GLdouble *)bswap_64_array( (uint64_t *) (pc + 0), 16 )
- ) );
+ CALL_MultMatrixd(GET_DISPATCH(), ((const GLdouble *)
+ bswap_64_array((uint64_t *) (pc + 0), 16)
+ ));
}
-void __glXDispSwap_Ortho(GLbyte * pc)
+void
+__glXDispSwap_Ortho(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 48);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 48);
pc -= 4;
}
#endif
- CALL_Ortho( GET_DISPATCH(), (
- (GLdouble)bswap_FLOAT64( pc + 0 ),
- (GLdouble)bswap_FLOAT64( pc + 8 ),
- (GLdouble)bswap_FLOAT64( pc + 16 ),
- (GLdouble)bswap_FLOAT64( pc + 24 ),
- (GLdouble)bswap_FLOAT64( pc + 32 ),
- (GLdouble)bswap_FLOAT64( pc + 40 )
- ) );
+ CALL_Ortho(GET_DISPATCH(), ((GLdouble) bswap_FLOAT64(pc + 0),
+ (GLdouble) bswap_FLOAT64(pc + 8),
+ (GLdouble) bswap_FLOAT64(pc + 16),
+ (GLdouble) bswap_FLOAT64(pc + 24),
+ (GLdouble) bswap_FLOAT64(pc + 32),
+ (GLdouble) bswap_FLOAT64(pc + 40)
+ ));
}
-void __glXDispSwap_PopMatrix(GLbyte * pc)
+void
+__glXDispSwap_PopMatrix(GLbyte * pc)
{
- CALL_PopMatrix( GET_DISPATCH(), () );
+ CALL_PopMatrix(GET_DISPATCH(), ());
}
-void __glXDispSwap_PushMatrix(GLbyte * pc)
+void
+__glXDispSwap_PushMatrix(GLbyte * pc)
{
- CALL_PushMatrix( GET_DISPATCH(), () );
+ CALL_PushMatrix(GET_DISPATCH(), ());
}
-void __glXDispSwap_Rotated(GLbyte * pc)
+void
+__glXDispSwap_Rotated(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 32);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 32);
pc -= 4;
}
#endif
- CALL_Rotated( GET_DISPATCH(), (
- (GLdouble)bswap_FLOAT64( pc + 0 ),
- (GLdouble)bswap_FLOAT64( pc + 8 ),
- (GLdouble)bswap_FLOAT64( pc + 16 ),
- (GLdouble)bswap_FLOAT64( pc + 24 )
- ) );
+ CALL_Rotated(GET_DISPATCH(), ((GLdouble) bswap_FLOAT64(pc + 0),
+ (GLdouble) bswap_FLOAT64(pc + 8),
+ (GLdouble) bswap_FLOAT64(pc + 16),
+ (GLdouble) bswap_FLOAT64(pc + 24)
+ ));
}
-void __glXDispSwap_Rotatef(GLbyte * pc)
+void
+__glXDispSwap_Rotatef(GLbyte * pc)
{
- CALL_Rotatef( GET_DISPATCH(), (
- (GLfloat )bswap_FLOAT32( pc + 0 ),
- (GLfloat )bswap_FLOAT32( pc + 4 ),
- (GLfloat )bswap_FLOAT32( pc + 8 ),
- (GLfloat )bswap_FLOAT32( pc + 12 )
- ) );
+ CALL_Rotatef(GET_DISPATCH(), ((GLfloat) bswap_FLOAT32(pc + 0),
+ (GLfloat) bswap_FLOAT32(pc + 4),
+ (GLfloat) bswap_FLOAT32(pc + 8),
+ (GLfloat) bswap_FLOAT32(pc + 12)
+ ));
}
-void __glXDispSwap_Scaled(GLbyte * pc)
+void
+__glXDispSwap_Scaled(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 24);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 24);
pc -= 4;
}
#endif
- CALL_Scaled( GET_DISPATCH(), (
- (GLdouble)bswap_FLOAT64( pc + 0 ),
- (GLdouble)bswap_FLOAT64( pc + 8 ),
- (GLdouble)bswap_FLOAT64( pc + 16 )
- ) );
+ CALL_Scaled(GET_DISPATCH(), ((GLdouble) bswap_FLOAT64(pc + 0),
+ (GLdouble) bswap_FLOAT64(pc + 8),
+ (GLdouble) bswap_FLOAT64(pc + 16)
+ ));
}
-void __glXDispSwap_Scalef(GLbyte * pc)
+void
+__glXDispSwap_Scalef(GLbyte * pc)
{
- CALL_Scalef( GET_DISPATCH(), (
- (GLfloat )bswap_FLOAT32( pc + 0 ),
- (GLfloat )bswap_FLOAT32( pc + 4 ),
- (GLfloat )bswap_FLOAT32( pc + 8 )
- ) );
+ CALL_Scalef(GET_DISPATCH(), ((GLfloat) bswap_FLOAT32(pc + 0),
+ (GLfloat) bswap_FLOAT32(pc + 4),
+ (GLfloat) bswap_FLOAT32(pc + 8)
+ ));
}
-void __glXDispSwap_Translated(GLbyte * pc)
+void
+__glXDispSwap_Translated(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 24);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 24);
pc -= 4;
}
#endif
- CALL_Translated( GET_DISPATCH(), (
- (GLdouble)bswap_FLOAT64( pc + 0 ),
- (GLdouble)bswap_FLOAT64( pc + 8 ),
- (GLdouble)bswap_FLOAT64( pc + 16 )
- ) );
+ CALL_Translated(GET_DISPATCH(), ((GLdouble) bswap_FLOAT64(pc + 0),
+ (GLdouble) bswap_FLOAT64(pc + 8),
+ (GLdouble) bswap_FLOAT64(pc + 16)
+ ));
}
-void __glXDispSwap_Translatef(GLbyte * pc)
+void
+__glXDispSwap_Translatef(GLbyte * pc)
{
- CALL_Translatef( GET_DISPATCH(), (
- (GLfloat )bswap_FLOAT32( pc + 0 ),
- (GLfloat )bswap_FLOAT32( pc + 4 ),
- (GLfloat )bswap_FLOAT32( pc + 8 )
- ) );
+ CALL_Translatef(GET_DISPATCH(), ((GLfloat) bswap_FLOAT32(pc + 0),
+ (GLfloat) bswap_FLOAT32(pc + 4),
+ (GLfloat) bswap_FLOAT32(pc + 8)
+ ));
}
-void __glXDispSwap_Viewport(GLbyte * pc)
+void
+__glXDispSwap_Viewport(GLbyte * pc)
{
- CALL_Viewport( GET_DISPATCH(), (
- (GLint )bswap_CARD32 ( pc + 0 ),
- (GLint )bswap_CARD32 ( pc + 4 ),
- (GLsizei )bswap_CARD32 ( pc + 8 ),
- (GLsizei )bswap_CARD32 ( pc + 12 )
- ) );
+ CALL_Viewport(GET_DISPATCH(), ((GLint) bswap_CARD32(pc + 0),
+ (GLint) bswap_CARD32(pc + 4),
+ (GLsizei) bswap_CARD32(pc + 8),
+ (GLsizei) bswap_CARD32(pc + 12)
+ ));
}
-void __glXDispSwap_BindTexture(GLbyte * pc)
+void
+__glXDispSwap_BindTexture(GLbyte * pc)
{
- CALL_BindTexture( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (GLuint )bswap_CARD32 ( pc + 4 )
- ) );
+ CALL_BindTexture(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ (GLuint) bswap_CARD32(pc + 4)
+ ));
}
-void __glXDispSwap_Indexubv(GLbyte * pc)
+void
+__glXDispSwap_Indexubv(GLbyte * pc)
{
- CALL_Indexubv( GET_DISPATCH(), (
- (const GLubyte *)(pc + 0)
- ) );
+ CALL_Indexubv(GET_DISPATCH(), ((const GLubyte *) (pc + 0)
+ ));
}
-void __glXDispSwap_PolygonOffset(GLbyte * pc)
+void
+__glXDispSwap_PolygonOffset(GLbyte * pc)
{
- CALL_PolygonOffset( GET_DISPATCH(), (
- (GLfloat )bswap_FLOAT32( pc + 0 ),
- (GLfloat )bswap_FLOAT32( pc + 4 )
- ) );
+ CALL_PolygonOffset(GET_DISPATCH(), ((GLfloat) bswap_FLOAT32(pc + 0),
+ (GLfloat) bswap_FLOAT32(pc + 4)
+ ));
}
-int __glXDispSwap_AreTexturesResident(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_AreTexturesResident(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- const GLsizei n = (GLsizei )bswap_CARD32 ( pc + 0 );
+ if (cx != NULL) {
+ const GLsizei n = (GLsizei) bswap_CARD32(pc + 0);
GLboolean retval;
GLboolean answerBuffer[200];
- GLboolean * residences = __glXGetAnswerBuffer(cl, n, answerBuffer, sizeof(answerBuffer), 1);
- retval = CALL_AreTexturesResident( GET_DISPATCH(), (
- n,
- (const GLuint *)bswap_32_array( (uint32_t *) (pc + 4), 0 ),
- residences
- ) );
+ GLboolean *residences =
+ __glXGetAnswerBuffer(cl, n, answerBuffer, sizeof(answerBuffer), 1);
+ retval =
+ CALL_AreTexturesResident(GET_DISPATCH(),
+ (n,
+ (const GLuint *)
+ bswap_32_array((uint32_t *) (pc + 4), 0),
+ residences));
__glXSendReplySwap(cl->client, residences, n, 1, GL_TRUE, retval);
error = Success;
}
@@ -2883,24 +3089,28 @@ int __glXDispSwap_AreTexturesResident(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDispSwap_AreTexturesResidentEXT(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_AreTexturesResidentEXT(__GLXclientState * cl, GLbyte * pc)
{
- xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc;
+ xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_VENDPRIV_HDR_SIZE;
- if ( cx != NULL ) {
- const GLsizei n = (GLsizei )bswap_CARD32 ( pc + 0 );
+ if (cx != NULL) {
+ const GLsizei n = (GLsizei) bswap_CARD32(pc + 0);
GLboolean retval;
GLboolean answerBuffer[200];
- GLboolean * residences = __glXGetAnswerBuffer(cl, n, answerBuffer, sizeof(answerBuffer), 1);
- retval = CALL_AreTexturesResident( GET_DISPATCH(), (
- n,
- (const GLuint *)bswap_32_array( (uint32_t *) (pc + 4), 0 ),
- residences
- ) );
+ GLboolean *residences =
+ __glXGetAnswerBuffer(cl, n, answerBuffer, sizeof(answerBuffer), 1);
+ retval =
+ CALL_AreTexturesResident(GET_DISPATCH(),
+ (n,
+ (const GLuint *)
+ bswap_32_array((uint32_t *) (pc + 4), 0),
+ residences));
__glXSendReplySwap(cl->client, residences, n, 1, GL_TRUE, retval);
error = Success;
}
@@ -2908,116 +3118,123 @@ int __glXDispSwap_AreTexturesResidentEXT(__GLXclientState *cl, GLbyte *pc)
return error;
}
-void __glXDispSwap_CopyTexImage1D(GLbyte * pc)
+void
+__glXDispSwap_CopyTexImage1D(GLbyte * pc)
{
- CALL_CopyTexImage1D( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (GLint )bswap_CARD32 ( pc + 4 ),
- (GLenum )bswap_ENUM ( pc + 8 ),
- (GLint )bswap_CARD32 ( pc + 12 ),
- (GLint )bswap_CARD32 ( pc + 16 ),
- (GLsizei )bswap_CARD32 ( pc + 20 ),
- (GLint )bswap_CARD32 ( pc + 24 )
- ) );
+ CALL_CopyTexImage1D(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ (GLint) bswap_CARD32(pc + 4),
+ (GLenum) bswap_ENUM(pc + 8),
+ (GLint) bswap_CARD32(pc + 12),
+ (GLint) bswap_CARD32(pc + 16),
+ (GLsizei) bswap_CARD32(pc + 20),
+ (GLint) bswap_CARD32(pc + 24)
+ ));
}
-void __glXDispSwap_CopyTexImage2D(GLbyte * pc)
+void
+__glXDispSwap_CopyTexImage2D(GLbyte * pc)
{
- CALL_CopyTexImage2D( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (GLint )bswap_CARD32 ( pc + 4 ),
- (GLenum )bswap_ENUM ( pc + 8 ),
- (GLint )bswap_CARD32 ( pc + 12 ),
- (GLint )bswap_CARD32 ( pc + 16 ),
- (GLsizei )bswap_CARD32 ( pc + 20 ),
- (GLsizei )bswap_CARD32 ( pc + 24 ),
- (GLint )bswap_CARD32 ( pc + 28 )
- ) );
+ CALL_CopyTexImage2D(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ (GLint) bswap_CARD32(pc + 4),
+ (GLenum) bswap_ENUM(pc + 8),
+ (GLint) bswap_CARD32(pc + 12),
+ (GLint) bswap_CARD32(pc + 16),
+ (GLsizei) bswap_CARD32(pc + 20),
+ (GLsizei) bswap_CARD32(pc + 24),
+ (GLint) bswap_CARD32(pc + 28)
+ ));
}
-void __glXDispSwap_CopyTexSubImage1D(GLbyte * pc)
+void
+__glXDispSwap_CopyTexSubImage1D(GLbyte * pc)
{
- CALL_CopyTexSubImage1D( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (GLint )bswap_CARD32 ( pc + 4 ),
- (GLint )bswap_CARD32 ( pc + 8 ),
- (GLint )bswap_CARD32 ( pc + 12 ),
- (GLint )bswap_CARD32 ( pc + 16 ),
- (GLsizei )bswap_CARD32 ( pc + 20 )
- ) );
+ CALL_CopyTexSubImage1D(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ (GLint) bswap_CARD32(pc + 4),
+ (GLint) bswap_CARD32(pc + 8),
+ (GLint) bswap_CARD32(pc + 12),
+ (GLint) bswap_CARD32(pc + 16),
+ (GLsizei) bswap_CARD32(pc + 20)
+ ));
}
-void __glXDispSwap_CopyTexSubImage2D(GLbyte * pc)
+void
+__glXDispSwap_CopyTexSubImage2D(GLbyte * pc)
{
- CALL_CopyTexSubImage2D( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (GLint )bswap_CARD32 ( pc + 4 ),
- (GLint )bswap_CARD32 ( pc + 8 ),
- (GLint )bswap_CARD32 ( pc + 12 ),
- (GLint )bswap_CARD32 ( pc + 16 ),
- (GLint )bswap_CARD32 ( pc + 20 ),
- (GLsizei )bswap_CARD32 ( pc + 24 ),
- (GLsizei )bswap_CARD32 ( pc + 28 )
- ) );
+ CALL_CopyTexSubImage2D(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ (GLint) bswap_CARD32(pc + 4),
+ (GLint) bswap_CARD32(pc + 8),
+ (GLint) bswap_CARD32(pc + 12),
+ (GLint) bswap_CARD32(pc + 16),
+ (GLint) bswap_CARD32(pc + 20),
+ (GLsizei) bswap_CARD32(pc + 24),
+ (GLsizei) bswap_CARD32(pc + 28)
+ ));
}
-int __glXDispSwap_DeleteTextures(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_DeleteTextures(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- const GLsizei n = (GLsizei )bswap_CARD32 ( pc + 0 );
-
- CALL_DeleteTextures( GET_DISPATCH(), (
- n,
- (const GLuint *)bswap_32_array( (uint32_t *) (pc + 4), 0 )
- ) );
+ if (cx != NULL) {
+ const GLsizei n = (GLsizei) bswap_CARD32(pc + 0);
+
+ CALL_DeleteTextures(GET_DISPATCH(), (n,
+ (const GLuint *)
+ bswap_32_array((uint32_t *) (pc +
+ 4), 0)
+ ));
error = Success;
}
return error;
}
-int __glXDispSwap_DeleteTexturesEXT(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_DeleteTexturesEXT(__GLXclientState * cl, GLbyte * pc)
{
- xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc;
+ xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_VENDPRIV_HDR_SIZE;
- if ( cx != NULL ) {
- const GLsizei n = (GLsizei )bswap_CARD32 ( pc + 0 );
-
- CALL_DeleteTextures( GET_DISPATCH(), (
- n,
- (const GLuint *)bswap_32_array( (uint32_t *) (pc + 4), 0 )
- ) );
+ if (cx != NULL) {
+ const GLsizei n = (GLsizei) bswap_CARD32(pc + 0);
+
+ CALL_DeleteTextures(GET_DISPATCH(), (n,
+ (const GLuint *)
+ bswap_32_array((uint32_t *) (pc +
+ 4), 0)
+ ));
error = Success;
}
return error;
}
-int __glXDispSwap_GenTextures(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_GenTextures(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- const GLsizei n = (GLsizei )bswap_CARD32 ( pc + 0 );
+ if (cx != NULL) {
+ const GLsizei n = (GLsizei) bswap_CARD32(pc + 0);
GLuint answerBuffer[200];
- GLuint * textures = __glXGetAnswerBuffer(cl, n * 4, answerBuffer, sizeof(answerBuffer), 4);
- CALL_GenTextures( GET_DISPATCH(), (
- n,
- textures
- ) );
- (void) bswap_32_array( (uint32_t *) textures, n );
+ GLuint *textures =
+ __glXGetAnswerBuffer(cl, n * 4, answerBuffer, sizeof(answerBuffer),
+ 4);
+ CALL_GenTextures(GET_DISPATCH(), (n, textures));
+ (void) bswap_32_array((uint32_t *) textures, n);
__glXSendReplySwap(cl->client, textures, n, 4, GL_TRUE, 0);
error = Success;
}
@@ -3025,23 +3242,24 @@ int __glXDispSwap_GenTextures(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDispSwap_GenTexturesEXT(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_GenTexturesEXT(__GLXclientState * cl, GLbyte * pc)
{
- xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc;
+ xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_VENDPRIV_HDR_SIZE;
- if ( cx != NULL ) {
- const GLsizei n = (GLsizei )bswap_CARD32 ( pc + 0 );
+ if (cx != NULL) {
+ const GLsizei n = (GLsizei) bswap_CARD32(pc + 0);
GLuint answerBuffer[200];
- GLuint * textures = __glXGetAnswerBuffer(cl, n * 4, answerBuffer, sizeof(answerBuffer), 4);
- CALL_GenTextures( GET_DISPATCH(), (
- n,
- textures
- ) );
- (void) bswap_32_array( (uint32_t *) textures, n );
+ GLuint *textures =
+ __glXGetAnswerBuffer(cl, n * 4, answerBuffer, sizeof(answerBuffer),
+ 4);
+ CALL_GenTextures(GET_DISPATCH(), (n, textures));
+ (void) bswap_32_array((uint32_t *) textures, n);
__glXSendReplySwap(cl->client, textures, n, 4, GL_TRUE, 0);
error = Success;
}
@@ -3049,18 +3267,20 @@ int __glXDispSwap_GenTexturesEXT(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDispSwap_IsTexture(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_IsTexture(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
+ if (cx != NULL) {
GLboolean retval;
- retval = CALL_IsTexture( GET_DISPATCH(), (
- (GLuint )bswap_CARD32 ( pc + 0 )
- ) );
+
+ retval = CALL_IsTexture(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0)
+ ));
__glXSendReplySwap(cl->client, dummy_answer, 0, 0, GL_FALSE, retval);
error = Success;
}
@@ -3068,18 +3288,20 @@ int __glXDispSwap_IsTexture(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDispSwap_IsTextureEXT(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_IsTextureEXT(__GLXclientState * cl, GLbyte * pc)
{
- xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc;
+ xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_VENDPRIV_HDR_SIZE;
- if ( cx != NULL ) {
+ if (cx != NULL) {
GLboolean retval;
- retval = CALL_IsTexture( GET_DISPATCH(), (
- (GLuint )bswap_CARD32 ( pc + 0 )
- ) );
+
+ retval = CALL_IsTexture(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0)
+ ));
__glXSendReplySwap(cl->client, dummy_answer, 0, 0, GL_FALSE, retval);
error = Success;
}
@@ -3087,166 +3309,192 @@ int __glXDispSwap_IsTextureEXT(__GLXclientState *cl, GLbyte *pc)
return error;
}
-void __glXDispSwap_PrioritizeTextures(GLbyte * pc)
-{
- const GLsizei n = (GLsizei )bswap_CARD32 ( pc + 0 );
+void
+__glXDispSwap_PrioritizeTextures(GLbyte * pc)
+{
+ const GLsizei n = (GLsizei) bswap_CARD32(pc + 0);
+
+ CALL_PrioritizeTextures(GET_DISPATCH(), (n,
+ (const GLuint *)
+ bswap_32_array((uint32_t *) (pc +
+ 4),
+ 0),
+ (const GLclampf *)
+ bswap_32_array((uint32_t *) (pc +
+ 4), 0)
+ ));
+}
+
+void
+__glXDispSwap_TexSubImage1D(GLbyte * pc)
+{
+ const GLvoid *const pixels = (const GLvoid *) ((pc + 56));
+ __GLXpixelHeader *const hdr = (__GLXpixelHeader *) (pc);
+
+ CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes));
+ CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_ROW_LENGTH,
+ (GLint) bswap_CARD32(&hdr->rowLength)));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_SKIP_ROWS,
+ (GLint) bswap_CARD32(&hdr->skipRows)));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_SKIP_PIXELS,
+ (GLint) bswap_CARD32(&hdr->skipPixels)));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_ALIGNMENT,
+ (GLint) bswap_CARD32(&hdr->alignment)));
+
+ CALL_TexSubImage1D(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 20),
+ (GLint) bswap_CARD32(pc + 24),
+ (GLint) bswap_CARD32(pc + 28),
+ (GLsizei) bswap_CARD32(pc + 36),
+ (GLenum) bswap_ENUM(pc + 44),
+ (GLenum) bswap_ENUM(pc + 48), pixels));
+}
+
+void
+__glXDispSwap_TexSubImage2D(GLbyte * pc)
+{
+ const GLvoid *const pixels = (const GLvoid *) ((pc + 56));
+ __GLXpixelHeader *const hdr = (__GLXpixelHeader *) (pc);
+
+ CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes));
+ CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_ROW_LENGTH,
+ (GLint) bswap_CARD32(&hdr->rowLength)));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_SKIP_ROWS,
+ (GLint) bswap_CARD32(&hdr->skipRows)));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_SKIP_PIXELS,
+ (GLint) bswap_CARD32(&hdr->skipPixels)));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_ALIGNMENT,
+ (GLint) bswap_CARD32(&hdr->alignment)));
- CALL_PrioritizeTextures( GET_DISPATCH(), (
- n,
- (const GLuint *)bswap_32_array( (uint32_t *) (pc + 4), 0 ),
- (const GLclampf *)bswap_32_array( (uint32_t *) (pc + 4), 0 )
- ) );
+ CALL_TexSubImage2D(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 20),
+ (GLint) bswap_CARD32(pc + 24),
+ (GLint) bswap_CARD32(pc + 28),
+ (GLint) bswap_CARD32(pc + 32),
+ (GLsizei) bswap_CARD32(pc + 36),
+ (GLsizei) bswap_CARD32(pc + 40),
+ (GLenum) bswap_ENUM(pc + 44),
+ (GLenum) bswap_ENUM(pc + 48), pixels));
}
-void __glXDispSwap_TexSubImage1D(GLbyte * pc)
+void
+__glXDispSwap_BlendColor(GLbyte * pc)
{
- const GLvoid * const pixels = (const GLvoid *) ((pc + 56));
- __GLXpixelHeader * const hdr = (__GLXpixelHeader *)(pc);
-
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ROW_LENGTH, (GLint) bswap_CARD32( & hdr->rowLength )) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_ROWS, (GLint) bswap_CARD32( & hdr->skipRows )) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_PIXELS, (GLint) bswap_CARD32( & hdr->skipPixels )) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ALIGNMENT, (GLint) bswap_CARD32( & hdr->alignment )) );
-
- CALL_TexSubImage1D( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 20 ),
- (GLint )bswap_CARD32 ( pc + 24 ),
- (GLint )bswap_CARD32 ( pc + 28 ),
- (GLsizei )bswap_CARD32 ( pc + 36 ),
- (GLenum )bswap_ENUM ( pc + 44 ),
- (GLenum )bswap_ENUM ( pc + 48 ),
- pixels
- ) );
+ CALL_BlendColor(GET_DISPATCH(), ((GLclampf) bswap_FLOAT32(pc + 0),
+ (GLclampf) bswap_FLOAT32(pc + 4),
+ (GLclampf) bswap_FLOAT32(pc + 8),
+ (GLclampf) bswap_FLOAT32(pc + 12)
+ ));
}
-void __glXDispSwap_TexSubImage2D(GLbyte * pc)
+void
+__glXDispSwap_BlendEquation(GLbyte * pc)
{
- const GLvoid * const pixels = (const GLvoid *) ((pc + 56));
- __GLXpixelHeader * const hdr = (__GLXpixelHeader *)(pc);
-
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ROW_LENGTH, (GLint) bswap_CARD32( & hdr->rowLength )) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_ROWS, (GLint) bswap_CARD32( & hdr->skipRows )) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_PIXELS, (GLint) bswap_CARD32( & hdr->skipPixels )) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ALIGNMENT, (GLint) bswap_CARD32( & hdr->alignment )) );
-
- CALL_TexSubImage2D( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 20 ),
- (GLint )bswap_CARD32 ( pc + 24 ),
- (GLint )bswap_CARD32 ( pc + 28 ),
- (GLint )bswap_CARD32 ( pc + 32 ),
- (GLsizei )bswap_CARD32 ( pc + 36 ),
- (GLsizei )bswap_CARD32 ( pc + 40 ),
- (GLenum )bswap_ENUM ( pc + 44 ),
- (GLenum )bswap_ENUM ( pc + 48 ),
- pixels
- ) );
+ CALL_BlendEquation(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0)
+ ));
}
-void __glXDispSwap_BlendColor(GLbyte * pc)
+void
+__glXDispSwap_ColorTable(GLbyte * pc)
{
- CALL_BlendColor( GET_DISPATCH(), (
- (GLclampf)bswap_FLOAT32( pc + 0 ),
- (GLclampf)bswap_FLOAT32( pc + 4 ),
- (GLclampf)bswap_FLOAT32( pc + 8 ),
- (GLclampf)bswap_FLOAT32( pc + 12 )
- ) );
-}
+ const GLvoid *const table = (const GLvoid *) ((pc + 40));
+ __GLXpixelHeader *const hdr = (__GLXpixelHeader *) (pc);
-void __glXDispSwap_BlendEquation(GLbyte * pc)
-{
- CALL_BlendEquation( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 )
- ) );
-}
+ CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes));
+ CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_ROW_LENGTH,
+ (GLint) bswap_CARD32(&hdr->rowLength)));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_SKIP_ROWS,
+ (GLint) bswap_CARD32(&hdr->skipRows)));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_SKIP_PIXELS,
+ (GLint) bswap_CARD32(&hdr->skipPixels)));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_ALIGNMENT,
+ (GLint) bswap_CARD32(&hdr->alignment)));
-void __glXDispSwap_ColorTable(GLbyte * pc)
-{
- const GLvoid * const table = (const GLvoid *) ((pc + 40));
- __GLXpixelHeader * const hdr = (__GLXpixelHeader *)(pc);
-
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ROW_LENGTH, (GLint) bswap_CARD32( & hdr->rowLength )) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_ROWS, (GLint) bswap_CARD32( & hdr->skipRows )) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_PIXELS, (GLint) bswap_CARD32( & hdr->skipPixels )) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ALIGNMENT, (GLint) bswap_CARD32( & hdr->alignment )) );
-
- CALL_ColorTable( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 20 ),
- (GLenum )bswap_ENUM ( pc + 24 ),
- (GLsizei )bswap_CARD32 ( pc + 28 ),
- (GLenum )bswap_ENUM ( pc + 32 ),
- (GLenum )bswap_ENUM ( pc + 36 ),
- table
- ) );
-}
+ CALL_ColorTable(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 20),
+ (GLenum) bswap_ENUM(pc + 24),
+ (GLsizei) bswap_CARD32(pc + 28),
+ (GLenum) bswap_ENUM(pc + 32),
+ (GLenum) bswap_ENUM(pc + 36), table));
+}
+
+void
+__glXDispSwap_ColorTableParameterfv(GLbyte * pc)
+{
+ const GLenum pname = (GLenum) bswap_ENUM(pc + 4);
+ const GLfloat *params;
+
+ params =
+ (const GLfloat *) bswap_32_array((uint32_t *) (pc + 8),
+ __glColorTableParameterfv_size(pname));
-void __glXDispSwap_ColorTableParameterfv(GLbyte * pc)
-{
- const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 );
- const GLfloat * params;
-
- params = (const GLfloat *) bswap_32_array( (uint32_t *) (pc + 8), __glColorTableParameterfv_size(pname) );
-
- CALL_ColorTableParameterfv( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- pname,
- params
- ) );
+ CALL_ColorTableParameterfv(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ pname, params));
}
-void __glXDispSwap_ColorTableParameteriv(GLbyte * pc)
+void
+__glXDispSwap_ColorTableParameteriv(GLbyte * pc)
{
- const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 );
- const GLint * params;
+ const GLenum pname = (GLenum) bswap_ENUM(pc + 4);
+ const GLint *params;
- params = (const GLint *) bswap_32_array( (uint32_t *) (pc + 8), __glColorTableParameteriv_size(pname) );
+ params =
+ (const GLint *) bswap_32_array((uint32_t *) (pc + 8),
+ __glColorTableParameteriv_size(pname));
- CALL_ColorTableParameteriv( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- pname,
- params
- ) );
+ CALL_ColorTableParameteriv(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ pname, params));
}
-void __glXDispSwap_CopyColorTable(GLbyte * pc)
+void
+__glXDispSwap_CopyColorTable(GLbyte * pc)
{
- CALL_CopyColorTable( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (GLenum )bswap_ENUM ( pc + 4 ),
- (GLint )bswap_CARD32 ( pc + 8 ),
- (GLint )bswap_CARD32 ( pc + 12 ),
- (GLsizei )bswap_CARD32 ( pc + 16 )
- ) );
+ CALL_CopyColorTable(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ (GLenum) bswap_ENUM(pc + 4),
+ (GLint) bswap_CARD32(pc + 8),
+ (GLint) bswap_CARD32(pc + 12),
+ (GLsizei) bswap_CARD32(pc + 16)
+ ));
}
-int __glXDispSwap_GetColorTableParameterfv(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_GetColorTableParameterfv(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 );
+ if (cx != NULL) {
+ const GLenum pname = (GLenum) bswap_ENUM(pc + 4);
const GLuint compsize = __glGetColorTableParameterfv_size(pname);
GLfloat answerBuffer[200];
- GLfloat * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4);
+ GLfloat *params =
+ __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer,
+ sizeof(answerBuffer), 4);
- if (params == NULL) return BadAlloc;
+ if (params == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetColorTableParameterfv( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- pname,
- params
- ) );
- (void) bswap_32_array( (uint32_t *) params, compsize );
+ CALL_GetColorTableParameterfv(GET_DISPATCH(), ((GLenum)
+ bswap_ENUM(pc + 0),
+ pname, params));
+ (void) bswap_32_array((uint32_t *) params, compsize);
__glXSendReplySwap(cl->client, params, compsize, 4, GL_FALSE, 0);
error = Success;
}
@@ -3254,29 +3502,32 @@ int __glXDispSwap_GetColorTableParameterfv(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDispSwap_GetColorTableParameterfvSGI(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_GetColorTableParameterfvSGI(__GLXclientState * cl, GLbyte * pc)
{
- xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc;
+ xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_VENDPRIV_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 );
+ if (cx != NULL) {
+ const GLenum pname = (GLenum) bswap_ENUM(pc + 4);
const GLuint compsize = __glGetColorTableParameterfv_size(pname);
GLfloat answerBuffer[200];
- GLfloat * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4);
+ GLfloat *params =
+ __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer,
+ sizeof(answerBuffer), 4);
- if (params == NULL) return BadAlloc;
+ if (params == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetColorTableParameterfv( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- pname,
- params
- ) );
- (void) bswap_32_array( (uint32_t *) params, compsize );
+ CALL_GetColorTableParameterfv(GET_DISPATCH(), ((GLenum)
+ bswap_ENUM(pc + 0),
+ pname, params));
+ (void) bswap_32_array((uint32_t *) params, compsize);
__glXSendReplySwap(cl->client, params, compsize, 4, GL_FALSE, 0);
error = Success;
}
@@ -3284,29 +3535,32 @@ int __glXDispSwap_GetColorTableParameterfvSGI(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDispSwap_GetColorTableParameteriv(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_GetColorTableParameteriv(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 );
+ if (cx != NULL) {
+ const GLenum pname = (GLenum) bswap_ENUM(pc + 4);
const GLuint compsize = __glGetColorTableParameteriv_size(pname);
GLint answerBuffer[200];
- GLint * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4);
+ GLint *params =
+ __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer,
+ sizeof(answerBuffer), 4);
- if (params == NULL) return BadAlloc;
+ if (params == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetColorTableParameteriv( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- pname,
- params
- ) );
- (void) bswap_32_array( (uint32_t *) params, compsize );
+ CALL_GetColorTableParameteriv(GET_DISPATCH(), ((GLenum)
+ bswap_ENUM(pc + 0),
+ pname, params));
+ (void) bswap_32_array((uint32_t *) params, compsize);
__glXSendReplySwap(cl->client, params, compsize, 4, GL_FALSE, 0);
error = Success;
}
@@ -3314,29 +3568,32 @@ int __glXDispSwap_GetColorTableParameteriv(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDispSwap_GetColorTableParameterivSGI(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_GetColorTableParameterivSGI(__GLXclientState * cl, GLbyte * pc)
{
- xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc;
+ xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_VENDPRIV_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 );
+ if (cx != NULL) {
+ const GLenum pname = (GLenum) bswap_ENUM(pc + 4);
const GLuint compsize = __glGetColorTableParameteriv_size(pname);
GLint answerBuffer[200];
- GLint * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4);
+ GLint *params =
+ __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer,
+ sizeof(answerBuffer), 4);
- if (params == NULL) return BadAlloc;
+ if (params == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetColorTableParameteriv( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- pname,
- params
- ) );
- (void) bswap_32_array( (uint32_t *) params, compsize );
+ CALL_GetColorTableParameteriv(GET_DISPATCH(), ((GLenum)
+ bswap_ENUM(pc + 0),
+ pname, params));
+ (void) bswap_32_array((uint32_t *) params, compsize);
__glXSendReplySwap(cl->client, params, compsize, 4, GL_FALSE, 0);
error = Success;
}
@@ -3344,176 +3601,203 @@ int __glXDispSwap_GetColorTableParameterivSGI(__GLXclientState *cl, GLbyte *pc)
return error;
}
-void __glXDispSwap_ColorSubTable(GLbyte * pc)
-{
- const GLvoid * const data = (const GLvoid *) ((pc + 40));
- __GLXpixelHeader * const hdr = (__GLXpixelHeader *)(pc);
-
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ROW_LENGTH, (GLint) bswap_CARD32( & hdr->rowLength )) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_ROWS, (GLint) bswap_CARD32( & hdr->skipRows )) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_PIXELS, (GLint) bswap_CARD32( & hdr->skipPixels )) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ALIGNMENT, (GLint) bswap_CARD32( & hdr->alignment )) );
-
- CALL_ColorSubTable( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 20 ),
- (GLsizei )bswap_CARD32 ( pc + 24 ),
- (GLsizei )bswap_CARD32 ( pc + 28 ),
- (GLenum )bswap_ENUM ( pc + 32 ),
- (GLenum )bswap_ENUM ( pc + 36 ),
- data
- ) );
-}
-
-void __glXDispSwap_CopyColorSubTable(GLbyte * pc)
-{
- CALL_CopyColorSubTable( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (GLsizei )bswap_CARD32 ( pc + 4 ),
- (GLint )bswap_CARD32 ( pc + 8 ),
- (GLint )bswap_CARD32 ( pc + 12 ),
- (GLsizei )bswap_CARD32 ( pc + 16 )
- ) );
-}
-
-void __glXDispSwap_ConvolutionFilter1D(GLbyte * pc)
-{
- const GLvoid * const image = (const GLvoid *) ((pc + 44));
- __GLXpixelHeader * const hdr = (__GLXpixelHeader *)(pc);
-
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ROW_LENGTH, (GLint) bswap_CARD32( & hdr->rowLength )) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_ROWS, (GLint) bswap_CARD32( & hdr->skipRows )) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_PIXELS, (GLint) bswap_CARD32( & hdr->skipPixels )) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ALIGNMENT, (GLint) bswap_CARD32( & hdr->alignment )) );
+void
+__glXDispSwap_ColorSubTable(GLbyte * pc)
+{
+ const GLvoid *const data = (const GLvoid *) ((pc + 40));
+ __GLXpixelHeader *const hdr = (__GLXpixelHeader *) (pc);
+
+ CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes));
+ CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_ROW_LENGTH,
+ (GLint) bswap_CARD32(&hdr->rowLength)));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_SKIP_ROWS,
+ (GLint) bswap_CARD32(&hdr->skipRows)));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_SKIP_PIXELS,
+ (GLint) bswap_CARD32(&hdr->skipPixels)));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_ALIGNMENT,
+ (GLint) bswap_CARD32(&hdr->alignment)));
+
+ CALL_ColorSubTable(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 20),
+ (GLsizei) bswap_CARD32(pc + 24),
+ (GLsizei) bswap_CARD32(pc + 28),
+ (GLenum) bswap_ENUM(pc + 32),
+ (GLenum) bswap_ENUM(pc + 36), data));
+}
+
+void
+__glXDispSwap_CopyColorSubTable(GLbyte * pc)
+{
+ CALL_CopyColorSubTable(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ (GLsizei) bswap_CARD32(pc + 4),
+ (GLint) bswap_CARD32(pc + 8),
+ (GLint) bswap_CARD32(pc + 12),
+ (GLsizei) bswap_CARD32(pc + 16)
+ ));
+}
+
+void
+__glXDispSwap_ConvolutionFilter1D(GLbyte * pc)
+{
+ const GLvoid *const image = (const GLvoid *) ((pc + 44));
+ __GLXpixelHeader *const hdr = (__GLXpixelHeader *) (pc);
- CALL_ConvolutionFilter1D( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 20 ),
- (GLenum )bswap_ENUM ( pc + 24 ),
- (GLsizei )bswap_CARD32 ( pc + 28 ),
- (GLenum )bswap_ENUM ( pc + 36 ),
- (GLenum )bswap_ENUM ( pc + 40 ),
- image
- ) );
-}
-
-void __glXDispSwap_ConvolutionFilter2D(GLbyte * pc)
-{
- const GLvoid * const image = (const GLvoid *) ((pc + 44));
- __GLXpixelHeader * const hdr = (__GLXpixelHeader *)(pc);
+ CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes));
+ CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_ROW_LENGTH,
+ (GLint) bswap_CARD32(&hdr->rowLength)));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_SKIP_ROWS,
+ (GLint) bswap_CARD32(&hdr->skipRows)));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_SKIP_PIXELS,
+ (GLint) bswap_CARD32(&hdr->skipPixels)));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_ALIGNMENT,
+ (GLint) bswap_CARD32(&hdr->alignment)));
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ROW_LENGTH, (GLint) bswap_CARD32( & hdr->rowLength )) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_ROWS, (GLint) bswap_CARD32( & hdr->skipRows )) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_PIXELS, (GLint) bswap_CARD32( & hdr->skipPixels )) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ALIGNMENT, (GLint) bswap_CARD32( & hdr->alignment )) );
+ CALL_ConvolutionFilter1D(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 20),
+ (GLenum) bswap_ENUM(pc + 24),
+ (GLsizei) bswap_CARD32(pc + 28),
+ (GLenum) bswap_ENUM(pc + 36),
+ (GLenum) bswap_ENUM(pc + 40),
+ image));
+}
+
+void
+__glXDispSwap_ConvolutionFilter2D(GLbyte * pc)
+{
+ const GLvoid *const image = (const GLvoid *) ((pc + 44));
+ __GLXpixelHeader *const hdr = (__GLXpixelHeader *) (pc);
+
+ CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes));
+ CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_ROW_LENGTH,
+ (GLint) bswap_CARD32(&hdr->rowLength)));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_SKIP_ROWS,
+ (GLint) bswap_CARD32(&hdr->skipRows)));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_SKIP_PIXELS,
+ (GLint) bswap_CARD32(&hdr->skipPixels)));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_ALIGNMENT,
+ (GLint) bswap_CARD32(&hdr->alignment)));
+
+ CALL_ConvolutionFilter2D(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 20),
+ (GLenum) bswap_ENUM(pc + 24),
+ (GLsizei) bswap_CARD32(pc + 28),
+ (GLsizei) bswap_CARD32(pc + 32),
+ (GLenum) bswap_ENUM(pc + 36),
+ (GLenum) bswap_ENUM(pc + 40),
+ image));
+}
+
+void
+__glXDispSwap_ConvolutionParameterf(GLbyte * pc)
+{
+ CALL_ConvolutionParameterf(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ (GLenum) bswap_ENUM(pc + 4),
+ (GLfloat) bswap_FLOAT32(pc + 8)
+ ));
+}
+
+void
+__glXDispSwap_ConvolutionParameterfv(GLbyte * pc)
+{
+ const GLenum pname = (GLenum) bswap_ENUM(pc + 4);
+ const GLfloat *params;
+
+ params =
+ (const GLfloat *) bswap_32_array((uint32_t *) (pc + 8),
+ __glConvolutionParameterfv_size
+ (pname));
- CALL_ConvolutionFilter2D( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 20 ),
- (GLenum )bswap_ENUM ( pc + 24 ),
- (GLsizei )bswap_CARD32 ( pc + 28 ),
- (GLsizei )bswap_CARD32 ( pc + 32 ),
- (GLenum )bswap_ENUM ( pc + 36 ),
- (GLenum )bswap_ENUM ( pc + 40 ),
- image
- ) );
+ CALL_ConvolutionParameterfv(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ pname, params));
}
-void __glXDispSwap_ConvolutionParameterf(GLbyte * pc)
+void
+__glXDispSwap_ConvolutionParameteri(GLbyte * pc)
{
- CALL_ConvolutionParameterf( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (GLenum )bswap_ENUM ( pc + 4 ),
- (GLfloat )bswap_FLOAT32( pc + 8 )
- ) );
+ CALL_ConvolutionParameteri(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ (GLenum) bswap_ENUM(pc + 4),
+ (GLint) bswap_CARD32(pc + 8)
+ ));
}
-void __glXDispSwap_ConvolutionParameterfv(GLbyte * pc)
+void
+__glXDispSwap_ConvolutionParameteriv(GLbyte * pc)
{
- const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 );
- const GLfloat * params;
+ const GLenum pname = (GLenum) bswap_ENUM(pc + 4);
+ const GLint *params;
- params = (const GLfloat *) bswap_32_array( (uint32_t *) (pc + 8), __glConvolutionParameterfv_size(pname) );
+ params =
+ (const GLint *) bswap_32_array((uint32_t *) (pc + 8),
+ __glConvolutionParameteriv_size(pname));
- CALL_ConvolutionParameterfv( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- pname,
- params
- ) );
-}
+ CALL_ConvolutionParameteriv(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ pname, params));
+}
-void __glXDispSwap_ConvolutionParameteri(GLbyte * pc)
-{
- CALL_ConvolutionParameteri( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (GLenum )bswap_ENUM ( pc + 4 ),
- (GLint )bswap_CARD32 ( pc + 8 )
- ) );
+void
+__glXDispSwap_CopyConvolutionFilter1D(GLbyte * pc)
+{
+ CALL_CopyConvolutionFilter1D(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ (GLenum) bswap_ENUM(pc + 4),
+ (GLint) bswap_CARD32(pc + 8),
+ (GLint) bswap_CARD32(pc + 12),
+ (GLsizei) bswap_CARD32(pc +
+ 16)
+ ));
}
-void __glXDispSwap_ConvolutionParameteriv(GLbyte * pc)
+void
+__glXDispSwap_CopyConvolutionFilter2D(GLbyte * pc)
{
- const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 );
- const GLint * params;
-
- params = (const GLint *) bswap_32_array( (uint32_t *) (pc + 8), __glConvolutionParameteriv_size(pname) );
-
- CALL_ConvolutionParameteriv( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- pname,
- params
- ) );
+ CALL_CopyConvolutionFilter2D(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ (GLenum) bswap_ENUM(pc + 4),
+ (GLint) bswap_CARD32(pc + 8),
+ (GLint) bswap_CARD32(pc + 12),
+ (GLsizei) bswap_CARD32(pc +
+ 16),
+ (GLsizei) bswap_CARD32(pc +
+ 20)
+ ));
}
-void __glXDispSwap_CopyConvolutionFilter1D(GLbyte * pc)
+int
+__glXDispSwap_GetConvolutionParameterfv(__GLXclientState * cl, GLbyte * pc)
{
- CALL_CopyConvolutionFilter1D( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (GLenum )bswap_ENUM ( pc + 4 ),
- (GLint )bswap_CARD32 ( pc + 8 ),
- (GLint )bswap_CARD32 ( pc + 12 ),
- (GLsizei )bswap_CARD32 ( pc + 16 )
- ) );
-}
-
-void __glXDispSwap_CopyConvolutionFilter2D(GLbyte * pc)
-{
- CALL_CopyConvolutionFilter2D( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (GLenum )bswap_ENUM ( pc + 4 ),
- (GLint )bswap_CARD32 ( pc + 8 ),
- (GLint )bswap_CARD32 ( pc + 12 ),
- (GLsizei )bswap_CARD32 ( pc + 16 ),
- (GLsizei )bswap_CARD32 ( pc + 20 )
- ) );
-}
-
-int __glXDispSwap_GetConvolutionParameterfv(__GLXclientState *cl, GLbyte *pc)
-{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 );
+ if (cx != NULL) {
+ const GLenum pname = (GLenum) bswap_ENUM(pc + 4);
const GLuint compsize = __glGetConvolutionParameterfv_size(pname);
GLfloat answerBuffer[200];
- GLfloat * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4);
+ GLfloat *params =
+ __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer,
+ sizeof(answerBuffer), 4);
- if (params == NULL) return BadAlloc;
+ if (params == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetConvolutionParameterfv( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- pname,
- params
- ) );
- (void) bswap_32_array( (uint32_t *) params, compsize );
+ CALL_GetConvolutionParameterfv(GET_DISPATCH(), ((GLenum)
+ bswap_ENUM(pc + 0),
+ pname, params));
+ (void) bswap_32_array((uint32_t *) params, compsize);
__glXSendReplySwap(cl->client, params, compsize, 4, GL_FALSE, 0);
error = Success;
}
@@ -3521,29 +3805,32 @@ int __glXDispSwap_GetConvolutionParameterfv(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDispSwap_GetConvolutionParameterfvEXT(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_GetConvolutionParameterfvEXT(__GLXclientState * cl, GLbyte * pc)
{
- xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc;
+ xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_VENDPRIV_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 );
+ if (cx != NULL) {
+ const GLenum pname = (GLenum) bswap_ENUM(pc + 4);
const GLuint compsize = __glGetConvolutionParameterfv_size(pname);
GLfloat answerBuffer[200];
- GLfloat * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4);
+ GLfloat *params =
+ __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer,
+ sizeof(answerBuffer), 4);
- if (params == NULL) return BadAlloc;
+ if (params == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetConvolutionParameterfv( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- pname,
- params
- ) );
- (void) bswap_32_array( (uint32_t *) params, compsize );
+ CALL_GetConvolutionParameterfv(GET_DISPATCH(), ((GLenum)
+ bswap_ENUM(pc + 0),
+ pname, params));
+ (void) bswap_32_array((uint32_t *) params, compsize);
__glXSendReplySwap(cl->client, params, compsize, 4, GL_FALSE, 0);
error = Success;
}
@@ -3551,29 +3838,32 @@ int __glXDispSwap_GetConvolutionParameterfvEXT(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDispSwap_GetConvolutionParameteriv(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_GetConvolutionParameteriv(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 );
+ if (cx != NULL) {
+ const GLenum pname = (GLenum) bswap_ENUM(pc + 4);
const GLuint compsize = __glGetConvolutionParameteriv_size(pname);
GLint answerBuffer[200];
- GLint * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4);
+ GLint *params =
+ __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer,
+ sizeof(answerBuffer), 4);
- if (params == NULL) return BadAlloc;
+ if (params == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetConvolutionParameteriv( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- pname,
- params
- ) );
- (void) bswap_32_array( (uint32_t *) params, compsize );
+ CALL_GetConvolutionParameteriv(GET_DISPATCH(), ((GLenum)
+ bswap_ENUM(pc + 0),
+ pname, params));
+ (void) bswap_32_array((uint32_t *) params, compsize);
__glXSendReplySwap(cl->client, params, compsize, 4, GL_FALSE, 0);
error = Success;
}
@@ -3581,29 +3871,32 @@ int __glXDispSwap_GetConvolutionParameteriv(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDispSwap_GetConvolutionParameterivEXT(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_GetConvolutionParameterivEXT(__GLXclientState * cl, GLbyte * pc)
{
- xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc;
+ xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_VENDPRIV_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 );
+ if (cx != NULL) {
+ const GLenum pname = (GLenum) bswap_ENUM(pc + 4);
const GLuint compsize = __glGetConvolutionParameteriv_size(pname);
GLint answerBuffer[200];
- GLint * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4);
+ GLint *params =
+ __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer,
+ sizeof(answerBuffer), 4);
- if (params == NULL) return BadAlloc;
+ if (params == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetConvolutionParameteriv( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- pname,
- params
- ) );
- (void) bswap_32_array( (uint32_t *) params, compsize );
+ CALL_GetConvolutionParameteriv(GET_DISPATCH(), ((GLenum)
+ bswap_ENUM(pc + 0),
+ pname, params));
+ (void) bswap_32_array((uint32_t *) params, compsize);
__glXSendReplySwap(cl->client, params, compsize, 4, GL_FALSE, 0);
error = Success;
}
@@ -3611,29 +3904,32 @@ int __glXDispSwap_GetConvolutionParameterivEXT(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDispSwap_GetHistogramParameterfv(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_GetHistogramParameterfv(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 );
+ if (cx != NULL) {
+ const GLenum pname = (GLenum) bswap_ENUM(pc + 4);
const GLuint compsize = __glGetHistogramParameterfv_size(pname);
GLfloat answerBuffer[200];
- GLfloat * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4);
+ GLfloat *params =
+ __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer,
+ sizeof(answerBuffer), 4);
- if (params == NULL) return BadAlloc;
+ if (params == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetHistogramParameterfv( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- pname,
- params
- ) );
- (void) bswap_32_array( (uint32_t *) params, compsize );
+ CALL_GetHistogramParameterfv(GET_DISPATCH(), ((GLenum)
+ bswap_ENUM(pc + 0), pname,
+ params));
+ (void) bswap_32_array((uint32_t *) params, compsize);
__glXSendReplySwap(cl->client, params, compsize, 4, GL_FALSE, 0);
error = Success;
}
@@ -3641,29 +3937,32 @@ int __glXDispSwap_GetHistogramParameterfv(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDispSwap_GetHistogramParameterfvEXT(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_GetHistogramParameterfvEXT(__GLXclientState * cl, GLbyte * pc)
{
- xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc;
+ xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_VENDPRIV_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 );
+ if (cx != NULL) {
+ const GLenum pname = (GLenum) bswap_ENUM(pc + 4);
const GLuint compsize = __glGetHistogramParameterfv_size(pname);
GLfloat answerBuffer[200];
- GLfloat * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4);
+ GLfloat *params =
+ __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer,
+ sizeof(answerBuffer), 4);
- if (params == NULL) return BadAlloc;
+ if (params == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetHistogramParameterfv( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- pname,
- params
- ) );
- (void) bswap_32_array( (uint32_t *) params, compsize );
+ CALL_GetHistogramParameterfv(GET_DISPATCH(), ((GLenum)
+ bswap_ENUM(pc + 0), pname,
+ params));
+ (void) bswap_32_array((uint32_t *) params, compsize);
__glXSendReplySwap(cl->client, params, compsize, 4, GL_FALSE, 0);
error = Success;
}
@@ -3671,29 +3970,32 @@ int __glXDispSwap_GetHistogramParameterfvEXT(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDispSwap_GetHistogramParameteriv(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_GetHistogramParameteriv(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 );
+ if (cx != NULL) {
+ const GLenum pname = (GLenum) bswap_ENUM(pc + 4);
const GLuint compsize = __glGetHistogramParameteriv_size(pname);
GLint answerBuffer[200];
- GLint * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4);
+ GLint *params =
+ __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer,
+ sizeof(answerBuffer), 4);
- if (params == NULL) return BadAlloc;
+ if (params == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetHistogramParameteriv( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- pname,
- params
- ) );
- (void) bswap_32_array( (uint32_t *) params, compsize );
+ CALL_GetHistogramParameteriv(GET_DISPATCH(), ((GLenum)
+ bswap_ENUM(pc + 0), pname,
+ params));
+ (void) bswap_32_array((uint32_t *) params, compsize);
__glXSendReplySwap(cl->client, params, compsize, 4, GL_FALSE, 0);
error = Success;
}
@@ -3701,29 +4003,32 @@ int __glXDispSwap_GetHistogramParameteriv(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDispSwap_GetHistogramParameterivEXT(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_GetHistogramParameterivEXT(__GLXclientState * cl, GLbyte * pc)
{
- xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc;
+ xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_VENDPRIV_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 );
+ if (cx != NULL) {
+ const GLenum pname = (GLenum) bswap_ENUM(pc + 4);
const GLuint compsize = __glGetHistogramParameteriv_size(pname);
GLint answerBuffer[200];
- GLint * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4);
+ GLint *params =
+ __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer,
+ sizeof(answerBuffer), 4);
- if (params == NULL) return BadAlloc;
+ if (params == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetHistogramParameteriv( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- pname,
- params
- ) );
- (void) bswap_32_array( (uint32_t *) params, compsize );
+ CALL_GetHistogramParameteriv(GET_DISPATCH(), ((GLenum)
+ bswap_ENUM(pc + 0), pname,
+ params));
+ (void) bswap_32_array((uint32_t *) params, compsize);
__glXSendReplySwap(cl->client, params, compsize, 4, GL_FALSE, 0);
error = Success;
}
@@ -3731,29 +4036,31 @@ int __glXDispSwap_GetHistogramParameterivEXT(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDispSwap_GetMinmaxParameterfv(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_GetMinmaxParameterfv(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 );
+ if (cx != NULL) {
+ const GLenum pname = (GLenum) bswap_ENUM(pc + 4);
const GLuint compsize = __glGetMinmaxParameterfv_size(pname);
GLfloat answerBuffer[200];
- GLfloat * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4);
+ GLfloat *params =
+ __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer,
+ sizeof(answerBuffer), 4);
- if (params == NULL) return BadAlloc;
+ if (params == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetMinmaxParameterfv( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- pname,
- params
- ) );
- (void) bswap_32_array( (uint32_t *) params, compsize );
+ CALL_GetMinmaxParameterfv(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ pname, params));
+ (void) bswap_32_array((uint32_t *) params, compsize);
__glXSendReplySwap(cl->client, params, compsize, 4, GL_FALSE, 0);
error = Success;
}
@@ -3761,29 +4068,31 @@ int __glXDispSwap_GetMinmaxParameterfv(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDispSwap_GetMinmaxParameterfvEXT(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_GetMinmaxParameterfvEXT(__GLXclientState * cl, GLbyte * pc)
{
- xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc;
+ xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_VENDPRIV_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 );
+ if (cx != NULL) {
+ const GLenum pname = (GLenum) bswap_ENUM(pc + 4);
const GLuint compsize = __glGetMinmaxParameterfv_size(pname);
GLfloat answerBuffer[200];
- GLfloat * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4);
+ GLfloat *params =
+ __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer,
+ sizeof(answerBuffer), 4);
- if (params == NULL) return BadAlloc;
+ if (params == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetMinmaxParameterfv( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- pname,
- params
- ) );
- (void) bswap_32_array( (uint32_t *) params, compsize );
+ CALL_GetMinmaxParameterfv(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ pname, params));
+ (void) bswap_32_array((uint32_t *) params, compsize);
__glXSendReplySwap(cl->client, params, compsize, 4, GL_FALSE, 0);
error = Success;
}
@@ -3791,29 +4100,31 @@ int __glXDispSwap_GetMinmaxParameterfvEXT(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDispSwap_GetMinmaxParameteriv(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_GetMinmaxParameteriv(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 );
+ if (cx != NULL) {
+ const GLenum pname = (GLenum) bswap_ENUM(pc + 4);
const GLuint compsize = __glGetMinmaxParameteriv_size(pname);
GLint answerBuffer[200];
- GLint * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4);
+ GLint *params =
+ __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer,
+ sizeof(answerBuffer), 4);
- if (params == NULL) return BadAlloc;
+ if (params == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetMinmaxParameteriv( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- pname,
- params
- ) );
- (void) bswap_32_array( (uint32_t *) params, compsize );
+ CALL_GetMinmaxParameteriv(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ pname, params));
+ (void) bswap_32_array((uint32_t *) params, compsize);
__glXSendReplySwap(cl->client, params, compsize, 4, GL_FALSE, 0);
error = Success;
}
@@ -3821,29 +4132,31 @@ int __glXDispSwap_GetMinmaxParameteriv(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDispSwap_GetMinmaxParameterivEXT(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_GetMinmaxParameterivEXT(__GLXclientState * cl, GLbyte * pc)
{
- xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc;
+ xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_VENDPRIV_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 );
+ if (cx != NULL) {
+ const GLenum pname = (GLenum) bswap_ENUM(pc + 4);
const GLuint compsize = __glGetMinmaxParameteriv_size(pname);
GLint answerBuffer[200];
- GLint * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4);
+ GLint *params =
+ __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer,
+ sizeof(answerBuffer), 4);
- if (params == NULL) return BadAlloc;
+ if (params == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetMinmaxParameteriv( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- pname,
- params
- ) );
- (void) bswap_32_array( (uint32_t *) params, compsize );
+ CALL_GetMinmaxParameteriv(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ pname, params));
+ (void) bswap_32_array((uint32_t *) params, compsize);
__glXSendReplySwap(cl->client, params, compsize, 4, GL_FALSE, 0);
error = Success;
}
@@ -3851,397 +4164,496 @@ int __glXDispSwap_GetMinmaxParameterivEXT(__GLXclientState *cl, GLbyte *pc)
return error;
}
-void __glXDispSwap_Histogram(GLbyte * pc)
-{
- CALL_Histogram( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (GLsizei )bswap_CARD32 ( pc + 4 ),
- (GLenum )bswap_ENUM ( pc + 8 ),
- *(GLboolean *)(pc + 12)
- ) );
-}
-
-void __glXDispSwap_Minmax(GLbyte * pc)
-{
- CALL_Minmax( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (GLenum )bswap_ENUM ( pc + 4 ),
- *(GLboolean *)(pc + 8)
- ) );
-}
-
-void __glXDispSwap_ResetHistogram(GLbyte * pc)
-{
- CALL_ResetHistogram( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 )
- ) );
-}
-
-void __glXDispSwap_ResetMinmax(GLbyte * pc)
-{
- CALL_ResetMinmax( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 )
- ) );
-}
-
-void __glXDispSwap_TexImage3D(GLbyte * pc)
-{
- const CARD32 ptr_is_null = *(CARD32 *)(pc + 76);
- const GLvoid * const pixels = (const GLvoid *) ((ptr_is_null != 0) ? NULL : (pc + 80));
- __GLXpixel3DHeader * const hdr = (__GLXpixel3DHeader *)(pc);
-
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ROW_LENGTH, (GLint) bswap_CARD32( & hdr->rowLength )) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_IMAGE_HEIGHT, (GLint) bswap_CARD32( & hdr->imageHeight )) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_ROWS, (GLint) bswap_CARD32( & hdr->skipRows )) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_IMAGES, (GLint) bswap_CARD32( & hdr->skipImages )) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_PIXELS, (GLint) bswap_CARD32( & hdr->skipPixels )) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ALIGNMENT, (GLint) bswap_CARD32( & hdr->alignment )) );
-
- CALL_TexImage3D( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 36 ),
- (GLint )bswap_CARD32 ( pc + 40 ),
- (GLint )bswap_CARD32 ( pc + 44 ),
- (GLsizei )bswap_CARD32 ( pc + 48 ),
- (GLsizei )bswap_CARD32 ( pc + 52 ),
- (GLsizei )bswap_CARD32 ( pc + 56 ),
- (GLint )bswap_CARD32 ( pc + 64 ),
- (GLenum )bswap_ENUM ( pc + 68 ),
- (GLenum )bswap_ENUM ( pc + 72 ),
- pixels
- ) );
-}
-
-void __glXDispSwap_TexSubImage3D(GLbyte * pc)
-{
- const GLvoid * const pixels = (const GLvoid *) ((pc + 88));
- __GLXpixel3DHeader * const hdr = (__GLXpixel3DHeader *)(pc);
-
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ROW_LENGTH, (GLint) bswap_CARD32( & hdr->rowLength )) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_IMAGE_HEIGHT, (GLint) bswap_CARD32( & hdr->imageHeight )) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_ROWS, (GLint) bswap_CARD32( & hdr->skipRows )) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_IMAGES, (GLint) bswap_CARD32( & hdr->skipImages )) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_PIXELS, (GLint) bswap_CARD32( & hdr->skipPixels )) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ALIGNMENT, (GLint) bswap_CARD32( & hdr->alignment )) );
-
- CALL_TexSubImage3D( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 36 ),
- (GLint )bswap_CARD32 ( pc + 40 ),
- (GLint )bswap_CARD32 ( pc + 44 ),
- (GLint )bswap_CARD32 ( pc + 48 ),
- (GLint )bswap_CARD32 ( pc + 52 ),
- (GLsizei )bswap_CARD32 ( pc + 60 ),
- (GLsizei )bswap_CARD32 ( pc + 64 ),
- (GLsizei )bswap_CARD32 ( pc + 68 ),
- (GLenum )bswap_ENUM ( pc + 76 ),
- (GLenum )bswap_ENUM ( pc + 80 ),
- pixels
- ) );
-}
-
-void __glXDispSwap_CopyTexSubImage3D(GLbyte * pc)
-{
- CALL_CopyTexSubImage3D( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (GLint )bswap_CARD32 ( pc + 4 ),
- (GLint )bswap_CARD32 ( pc + 8 ),
- (GLint )bswap_CARD32 ( pc + 12 ),
- (GLint )bswap_CARD32 ( pc + 16 ),
- (GLint )bswap_CARD32 ( pc + 20 ),
- (GLint )bswap_CARD32 ( pc + 24 ),
- (GLsizei )bswap_CARD32 ( pc + 28 ),
- (GLsizei )bswap_CARD32 ( pc + 32 )
- ) );
-}
-
-void __glXDispSwap_ActiveTextureARB(GLbyte * pc)
-{
- CALL_ActiveTextureARB( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 )
- ) );
-}
-
-void __glXDispSwap_MultiTexCoord1dvARB(GLbyte * pc)
+void
+__glXDispSwap_Histogram(GLbyte * pc)
+{
+ CALL_Histogram(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ (GLsizei) bswap_CARD32(pc + 4),
+ (GLenum) bswap_ENUM(pc + 8),
+ *(GLboolean *) (pc + 12)
+ ));
+}
+
+void
+__glXDispSwap_Minmax(GLbyte * pc)
+{
+ CALL_Minmax(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ (GLenum) bswap_ENUM(pc + 4),
+ *(GLboolean *) (pc + 8)
+ ));
+}
+
+void
+__glXDispSwap_ResetHistogram(GLbyte * pc)
+{
+ CALL_ResetHistogram(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0)
+ ));
+}
+
+void
+__glXDispSwap_ResetMinmax(GLbyte * pc)
+{
+ CALL_ResetMinmax(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0)
+ ));
+}
+
+void
+__glXDispSwap_TexImage3D(GLbyte * pc)
+{
+ const CARD32 ptr_is_null = *(CARD32 *) (pc + 76);
+ const GLvoid *const pixels =
+ (const GLvoid *) ((ptr_is_null != 0) ? NULL : (pc + 80));
+ __GLXpixel3DHeader *const hdr = (__GLXpixel3DHeader *) (pc);
+
+ CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes));
+ CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_ROW_LENGTH,
+ (GLint) bswap_CARD32(&hdr->rowLength)));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_IMAGE_HEIGHT,
+ (GLint) bswap_CARD32(&hdr->imageHeight)));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_SKIP_ROWS,
+ (GLint) bswap_CARD32(&hdr->skipRows)));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_SKIP_IMAGES,
+ (GLint) bswap_CARD32(&hdr->skipImages)));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_SKIP_PIXELS,
+ (GLint) bswap_CARD32(&hdr->skipPixels)));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_ALIGNMENT,
+ (GLint) bswap_CARD32(&hdr->alignment)));
+
+ CALL_TexImage3D(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 36),
+ (GLint) bswap_CARD32(pc + 40),
+ (GLint) bswap_CARD32(pc + 44),
+ (GLsizei) bswap_CARD32(pc + 48),
+ (GLsizei) bswap_CARD32(pc + 52),
+ (GLsizei) bswap_CARD32(pc + 56),
+ (GLint) bswap_CARD32(pc + 64),
+ (GLenum) bswap_ENUM(pc + 68),
+ (GLenum) bswap_ENUM(pc + 72), pixels));
+}
+
+void
+__glXDispSwap_TexSubImage3D(GLbyte * pc)
+{
+ const GLvoid *const pixels = (const GLvoid *) ((pc + 88));
+ __GLXpixel3DHeader *const hdr = (__GLXpixel3DHeader *) (pc);
+
+ CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes));
+ CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_ROW_LENGTH,
+ (GLint) bswap_CARD32(&hdr->rowLength)));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_IMAGE_HEIGHT,
+ (GLint) bswap_CARD32(&hdr->imageHeight)));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_SKIP_ROWS,
+ (GLint) bswap_CARD32(&hdr->skipRows)));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_SKIP_IMAGES,
+ (GLint) bswap_CARD32(&hdr->skipImages)));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_SKIP_PIXELS,
+ (GLint) bswap_CARD32(&hdr->skipPixels)));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_ALIGNMENT,
+ (GLint) bswap_CARD32(&hdr->alignment)));
+
+ CALL_TexSubImage3D(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 36),
+ (GLint) bswap_CARD32(pc + 40),
+ (GLint) bswap_CARD32(pc + 44),
+ (GLint) bswap_CARD32(pc + 48),
+ (GLint) bswap_CARD32(pc + 52),
+ (GLsizei) bswap_CARD32(pc + 60),
+ (GLsizei) bswap_CARD32(pc + 64),
+ (GLsizei) bswap_CARD32(pc + 68),
+ (GLenum) bswap_ENUM(pc + 76),
+ (GLenum) bswap_ENUM(pc + 80), pixels));
+}
+
+void
+__glXDispSwap_CopyTexSubImage3D(GLbyte * pc)
+{
+ CALL_CopyTexSubImage3D(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ (GLint) bswap_CARD32(pc + 4),
+ (GLint) bswap_CARD32(pc + 8),
+ (GLint) bswap_CARD32(pc + 12),
+ (GLint) bswap_CARD32(pc + 16),
+ (GLint) bswap_CARD32(pc + 20),
+ (GLint) bswap_CARD32(pc + 24),
+ (GLsizei) bswap_CARD32(pc + 28),
+ (GLsizei) bswap_CARD32(pc + 32)
+ ));
+}
+
+void
+__glXDispSwap_ActiveTextureARB(GLbyte * pc)
+{
+ CALL_ActiveTextureARB(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0)
+ ));
+}
+
+void
+__glXDispSwap_MultiTexCoord1dvARB(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 12);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 12);
pc -= 4;
}
#endif
- CALL_MultiTexCoord1dvARB( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 8 ),
- (const GLdouble *)bswap_64_array( (uint64_t *) (pc + 0), 1 )
- ) );
+ CALL_MultiTexCoord1dvARB(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 8),
+ (const GLdouble *)
+ bswap_64_array((uint64_t *) (pc +
+ 0),
+ 1)
+ ));
}
-void __glXDispSwap_MultiTexCoord1fvARB(GLbyte * pc)
+void
+__glXDispSwap_MultiTexCoord1fvARB(GLbyte * pc)
{
- CALL_MultiTexCoord1fvARB( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 4), 1 )
- ) );
+ CALL_MultiTexCoord1fvARB(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ (const GLfloat *)
+ bswap_32_array((uint32_t *) (pc +
+ 4),
+ 1)
+ ));
}
-void __glXDispSwap_MultiTexCoord1ivARB(GLbyte * pc)
+void
+__glXDispSwap_MultiTexCoord1ivARB(GLbyte * pc)
{
- CALL_MultiTexCoord1ivARB( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (const GLint *)bswap_32_array( (uint32_t *) (pc + 4), 1 )
- ) );
+ CALL_MultiTexCoord1ivARB(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ (const GLint *)
+ bswap_32_array((uint32_t *) (pc +
+ 4),
+ 1)
+ ));
}
-void __glXDispSwap_MultiTexCoord1svARB(GLbyte * pc)
+void
+__glXDispSwap_MultiTexCoord1svARB(GLbyte * pc)
{
- CALL_MultiTexCoord1svARB( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (const GLshort *)bswap_16_array( (uint16_t *) (pc + 4), 1 )
- ) );
+ CALL_MultiTexCoord1svARB(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ (const GLshort *)
+ bswap_16_array((uint16_t *) (pc +
+ 4),
+ 1)
+ ));
}
-void __glXDispSwap_MultiTexCoord2dvARB(GLbyte * pc)
+void
+__glXDispSwap_MultiTexCoord2dvARB(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 20);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 20);
pc -= 4;
}
#endif
- CALL_MultiTexCoord2dvARB( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 16 ),
- (const GLdouble *)bswap_64_array( (uint64_t *) (pc + 0), 2 )
- ) );
+ CALL_MultiTexCoord2dvARB(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 16),
+ (const GLdouble *)
+ bswap_64_array((uint64_t *) (pc +
+ 0),
+ 2)
+ ));
}
-void __glXDispSwap_MultiTexCoord2fvARB(GLbyte * pc)
+void
+__glXDispSwap_MultiTexCoord2fvARB(GLbyte * pc)
{
- CALL_MultiTexCoord2fvARB( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 4), 2 )
- ) );
+ CALL_MultiTexCoord2fvARB(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ (const GLfloat *)
+ bswap_32_array((uint32_t *) (pc +
+ 4),
+ 2)
+ ));
}
-void __glXDispSwap_MultiTexCoord2ivARB(GLbyte * pc)
+void
+__glXDispSwap_MultiTexCoord2ivARB(GLbyte * pc)
{
- CALL_MultiTexCoord2ivARB( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (const GLint *)bswap_32_array( (uint32_t *) (pc + 4), 2 )
- ) );
+ CALL_MultiTexCoord2ivARB(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ (const GLint *)
+ bswap_32_array((uint32_t *) (pc +
+ 4),
+ 2)
+ ));
}
-void __glXDispSwap_MultiTexCoord2svARB(GLbyte * pc)
+void
+__glXDispSwap_MultiTexCoord2svARB(GLbyte * pc)
{
- CALL_MultiTexCoord2svARB( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (const GLshort *)bswap_16_array( (uint16_t *) (pc + 4), 2 )
- ) );
+ CALL_MultiTexCoord2svARB(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ (const GLshort *)
+ bswap_16_array((uint16_t *) (pc +
+ 4),
+ 2)
+ ));
}
-void __glXDispSwap_MultiTexCoord3dvARB(GLbyte * pc)
+void
+__glXDispSwap_MultiTexCoord3dvARB(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 28);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 28);
pc -= 4;
}
#endif
- CALL_MultiTexCoord3dvARB( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 24 ),
- (const GLdouble *)bswap_64_array( (uint64_t *) (pc + 0), 3 )
- ) );
+ CALL_MultiTexCoord3dvARB(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 24),
+ (const GLdouble *)
+ bswap_64_array((uint64_t *) (pc +
+ 0),
+ 3)
+ ));
}
-void __glXDispSwap_MultiTexCoord3fvARB(GLbyte * pc)
+void
+__glXDispSwap_MultiTexCoord3fvARB(GLbyte * pc)
{
- CALL_MultiTexCoord3fvARB( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 4), 3 )
- ) );
+ CALL_MultiTexCoord3fvARB(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ (const GLfloat *)
+ bswap_32_array((uint32_t *) (pc +
+ 4),
+ 3)
+ ));
}
-void __glXDispSwap_MultiTexCoord3ivARB(GLbyte * pc)
+void
+__glXDispSwap_MultiTexCoord3ivARB(GLbyte * pc)
{
- CALL_MultiTexCoord3ivARB( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (const GLint *)bswap_32_array( (uint32_t *) (pc + 4), 3 )
- ) );
+ CALL_MultiTexCoord3ivARB(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ (const GLint *)
+ bswap_32_array((uint32_t *) (pc +
+ 4),
+ 3)
+ ));
}
-void __glXDispSwap_MultiTexCoord3svARB(GLbyte * pc)
+void
+__glXDispSwap_MultiTexCoord3svARB(GLbyte * pc)
{
- CALL_MultiTexCoord3svARB( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (const GLshort *)bswap_16_array( (uint16_t *) (pc + 4), 3 )
- ) );
+ CALL_MultiTexCoord3svARB(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ (const GLshort *)
+ bswap_16_array((uint16_t *) (pc +
+ 4),
+ 3)
+ ));
}
-void __glXDispSwap_MultiTexCoord4dvARB(GLbyte * pc)
+void
+__glXDispSwap_MultiTexCoord4dvARB(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 36);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 36);
pc -= 4;
}
#endif
- CALL_MultiTexCoord4dvARB( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 32 ),
- (const GLdouble *)bswap_64_array( (uint64_t *) (pc + 0), 4 )
- ) );
-}
-
-void __glXDispSwap_MultiTexCoord4fvARB(GLbyte * pc)
-{
- CALL_MultiTexCoord4fvARB( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 4), 4 )
- ) );
-}
-
-void __glXDispSwap_MultiTexCoord4ivARB(GLbyte * pc)
-{
- CALL_MultiTexCoord4ivARB( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (const GLint *)bswap_32_array( (uint32_t *) (pc + 4), 4 )
- ) );
-}
-
-void __glXDispSwap_MultiTexCoord4svARB(GLbyte * pc)
-{
- CALL_MultiTexCoord4svARB( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (const GLshort *)bswap_16_array( (uint16_t *) (pc + 4), 4 )
- ) );
-}
-
-void __glXDispSwap_SampleCoverageARB(GLbyte * pc)
-{
- CALL_SampleCoverageARB( GET_DISPATCH(), (
- (GLclampf)bswap_FLOAT32( pc + 0 ),
- *(GLboolean *)(pc + 4)
- ) );
-}
-
-void __glXDispSwap_CompressedTexImage1DARB(GLbyte * pc)
-{
- const GLsizei imageSize = (GLsizei )bswap_CARD32 ( pc + 20 );
-
- CALL_CompressedTexImage1DARB( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (GLint )bswap_CARD32 ( pc + 4 ),
- (GLenum )bswap_ENUM ( pc + 8 ),
- (GLsizei )bswap_CARD32 ( pc + 12 ),
- (GLint )bswap_CARD32 ( pc + 16 ),
- imageSize,
- (const GLvoid *)(pc + 24)
- ) );
-}
-
-void __glXDispSwap_CompressedTexImage2DARB(GLbyte * pc)
-{
- const GLsizei imageSize = (GLsizei )bswap_CARD32 ( pc + 24 );
-
- CALL_CompressedTexImage2DARB( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (GLint )bswap_CARD32 ( pc + 4 ),
- (GLenum )bswap_ENUM ( pc + 8 ),
- (GLsizei )bswap_CARD32 ( pc + 12 ),
- (GLsizei )bswap_CARD32 ( pc + 16 ),
- (GLint )bswap_CARD32 ( pc + 20 ),
- imageSize,
- (const GLvoid *)(pc + 28)
- ) );
-}
-
-void __glXDispSwap_CompressedTexImage3DARB(GLbyte * pc)
-{
- const GLsizei imageSize = (GLsizei )bswap_CARD32 ( pc + 28 );
-
- CALL_CompressedTexImage3DARB( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (GLint )bswap_CARD32 ( pc + 4 ),
- (GLenum )bswap_ENUM ( pc + 8 ),
- (GLsizei )bswap_CARD32 ( pc + 12 ),
- (GLsizei )bswap_CARD32 ( pc + 16 ),
- (GLsizei )bswap_CARD32 ( pc + 20 ),
- (GLint )bswap_CARD32 ( pc + 24 ),
- imageSize,
- (const GLvoid *)(pc + 32)
- ) );
+ CALL_MultiTexCoord4dvARB(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 32),
+ (const GLdouble *)
+ bswap_64_array((uint64_t *) (pc +
+ 0),
+ 4)
+ ));
}
-void __glXDispSwap_CompressedTexSubImage1DARB(GLbyte * pc)
+void
+__glXDispSwap_MultiTexCoord4fvARB(GLbyte * pc)
{
- const GLsizei imageSize = (GLsizei )bswap_CARD32 ( pc + 20 );
-
- CALL_CompressedTexSubImage1DARB( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (GLint )bswap_CARD32 ( pc + 4 ),
- (GLint )bswap_CARD32 ( pc + 8 ),
- (GLsizei )bswap_CARD32 ( pc + 12 ),
- (GLenum )bswap_ENUM ( pc + 16 ),
- imageSize,
- (const GLvoid *)(pc + 24)
- ) );
+ CALL_MultiTexCoord4fvARB(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ (const GLfloat *)
+ bswap_32_array((uint32_t *) (pc +
+ 4),
+ 4)
+ ));
}
-
-void __glXDispSwap_CompressedTexSubImage2DARB(GLbyte * pc)
-{
- const GLsizei imageSize = (GLsizei )bswap_CARD32 ( pc + 28 );
-
- CALL_CompressedTexSubImage2DARB( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (GLint )bswap_CARD32 ( pc + 4 ),
- (GLint )bswap_CARD32 ( pc + 8 ),
- (GLint )bswap_CARD32 ( pc + 12 ),
- (GLsizei )bswap_CARD32 ( pc + 16 ),
- (GLsizei )bswap_CARD32 ( pc + 20 ),
- (GLenum )bswap_ENUM ( pc + 24 ),
- imageSize,
- (const GLvoid *)(pc + 32)
- ) );
-}
-
-void __glXDispSwap_CompressedTexSubImage3DARB(GLbyte * pc)
+
+void
+__glXDispSwap_MultiTexCoord4ivARB(GLbyte * pc)
{
- const GLsizei imageSize = (GLsizei )bswap_CARD32 ( pc + 36 );
-
- CALL_CompressedTexSubImage3DARB( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (GLint )bswap_CARD32 ( pc + 4 ),
- (GLint )bswap_CARD32 ( pc + 8 ),
- (GLint )bswap_CARD32 ( pc + 12 ),
- (GLint )bswap_CARD32 ( pc + 16 ),
- (GLsizei )bswap_CARD32 ( pc + 20 ),
- (GLsizei )bswap_CARD32 ( pc + 24 ),
- (GLsizei )bswap_CARD32 ( pc + 28 ),
- (GLenum )bswap_ENUM ( pc + 32 ),
- imageSize,
- (const GLvoid *)(pc + 40)
- ) );
+ CALL_MultiTexCoord4ivARB(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ (const GLint *)
+ bswap_32_array((uint32_t *) (pc +
+ 4),
+ 4)
+ ));
}
-int __glXDispSwap_GetProgramEnvParameterdvARB(__GLXclientState *cl, GLbyte *pc)
+void
+__glXDispSwap_MultiTexCoord4svARB(GLbyte * pc)
{
- xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc;
+ CALL_MultiTexCoord4svARB(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ (const GLshort *)
+ bswap_16_array((uint16_t *) (pc +
+ 4),
+ 4)
+ ));
+}
+
+void
+__glXDispSwap_SampleCoverageARB(GLbyte * pc)
+{
+ CALL_SampleCoverageARB(GET_DISPATCH(), ((GLclampf) bswap_FLOAT32(pc + 0),
+ *(GLboolean *) (pc + 4)
+ ));
+}
+
+void
+__glXDispSwap_CompressedTexImage1DARB(GLbyte * pc)
+{
+ const GLsizei imageSize = (GLsizei) bswap_CARD32(pc + 20);
+
+ CALL_CompressedTexImage1DARB(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ (GLint) bswap_CARD32(pc + 4),
+ (GLenum) bswap_ENUM(pc + 8),
+ (GLsizei) bswap_CARD32(pc +
+ 12),
+ (GLint) bswap_CARD32(pc + 16),
+ imageSize,
+ (const GLvoid *) (pc + 24)
+ ));
+}
+
+void
+__glXDispSwap_CompressedTexImage2DARB(GLbyte * pc)
+{
+ const GLsizei imageSize = (GLsizei) bswap_CARD32(pc + 24);
+
+ CALL_CompressedTexImage2DARB(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ (GLint) bswap_CARD32(pc + 4),
+ (GLenum) bswap_ENUM(pc + 8),
+ (GLsizei) bswap_CARD32(pc +
+ 12),
+ (GLsizei) bswap_CARD32(pc +
+ 16),
+ (GLint) bswap_CARD32(pc + 20),
+ imageSize,
+ (const GLvoid *) (pc + 28)
+ ));
+}
+
+void
+__glXDispSwap_CompressedTexImage3DARB(GLbyte * pc)
+{
+ const GLsizei imageSize = (GLsizei) bswap_CARD32(pc + 28);
+
+ CALL_CompressedTexImage3DARB(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ (GLint) bswap_CARD32(pc + 4),
+ (GLenum) bswap_ENUM(pc + 8),
+ (GLsizei) bswap_CARD32(pc +
+ 12),
+ (GLsizei) bswap_CARD32(pc +
+ 16),
+ (GLsizei) bswap_CARD32(pc +
+ 20),
+ (GLint) bswap_CARD32(pc + 24),
+ imageSize,
+ (const GLvoid *) (pc + 32)
+ ));
+}
+
+void
+__glXDispSwap_CompressedTexSubImage1DARB(GLbyte * pc)
+{
+ const GLsizei imageSize = (GLsizei) bswap_CARD32(pc + 20);
+
+ CALL_CompressedTexSubImage1DARB(GET_DISPATCH(), ((GLenum)
+ bswap_ENUM(pc + 0),
+ (GLint) bswap_CARD32(pc +
+ 4),
+ (GLint) bswap_CARD32(pc +
+ 8),
+ (GLsizei) bswap_CARD32(pc +
+ 12),
+ (GLenum) bswap_ENUM(pc +
+ 16),
+ imageSize,
+ (const GLvoid *) (pc + 24)
+ ));
+}
+
+void
+__glXDispSwap_CompressedTexSubImage2DARB(GLbyte * pc)
+{
+ const GLsizei imageSize = (GLsizei) bswap_CARD32(pc + 28);
+
+ CALL_CompressedTexSubImage2DARB(GET_DISPATCH(), ((GLenum)
+ bswap_ENUM(pc + 0),
+ (GLint) bswap_CARD32(pc +
+ 4),
+ (GLint) bswap_CARD32(pc +
+ 8),
+ (GLint) bswap_CARD32(pc +
+ 12),
+ (GLsizei) bswap_CARD32(pc +
+ 16),
+ (GLsizei) bswap_CARD32(pc +
+ 20),
+ (GLenum) bswap_ENUM(pc +
+ 24),
+ imageSize,
+ (const GLvoid *) (pc + 32)
+ ));
+}
+
+void
+__glXDispSwap_CompressedTexSubImage3DARB(GLbyte * pc)
+{
+ const GLsizei imageSize = (GLsizei) bswap_CARD32(pc + 36);
+
+ CALL_CompressedTexSubImage3DARB(GET_DISPATCH(), ((GLenum)
+ bswap_ENUM(pc + 0),
+ (GLint) bswap_CARD32(pc +
+ 4),
+ (GLint) bswap_CARD32(pc +
+ 8),
+ (GLint) bswap_CARD32(pc +
+ 12),
+ (GLint) bswap_CARD32(pc +
+ 16),
+ (GLsizei) bswap_CARD32(pc +
+ 20),
+ (GLsizei) bswap_CARD32(pc +
+ 24),
+ (GLsizei) bswap_CARD32(pc +
+ 28),
+ (GLenum) bswap_ENUM(pc +
+ 32),
+ imageSize,
+ (const GLvoid *) (pc + 40)
+ ));
+}
+
+int
+__glXDispSwap_GetProgramEnvParameterdvARB(__GLXclientState * cl, GLbyte * pc)
+{
+ xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_VENDPRIV_HDR_SIZE;
- if ( cx != NULL ) {
+ if (cx != NULL) {
GLdouble params[4];
- CALL_GetProgramEnvParameterdvARB( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (GLuint )bswap_CARD32 ( pc + 4 ),
- params
- ) );
- (void) bswap_64_array( (uint64_t *) params, 4 );
+
+ CALL_GetProgramEnvParameterdvARB(GET_DISPATCH(), ((GLenum)
+ bswap_ENUM(pc + 0),
+ (GLuint)
+ bswap_CARD32(pc + 4),
+ params));
+ (void) bswap_64_array((uint64_t *) params, 4);
__glXSendReplySwap(cl->client, params, 4, 8, GL_FALSE, 0);
error = Success;
}
@@ -4249,21 +4661,24 @@ int __glXDispSwap_GetProgramEnvParameterdvARB(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDispSwap_GetProgramEnvParameterfvARB(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_GetProgramEnvParameterfvARB(__GLXclientState * cl, GLbyte * pc)
{
- xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc;
+ xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_VENDPRIV_HDR_SIZE;
- if ( cx != NULL ) {
+ if (cx != NULL) {
GLfloat params[4];
- CALL_GetProgramEnvParameterfvARB( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (GLuint )bswap_CARD32 ( pc + 4 ),
- params
- ) );
- (void) bswap_32_array( (uint32_t *) params, 4 );
+
+ CALL_GetProgramEnvParameterfvARB(GET_DISPATCH(), ((GLenum)
+ bswap_ENUM(pc + 0),
+ (GLuint)
+ bswap_CARD32(pc + 4),
+ params));
+ (void) bswap_32_array((uint32_t *) params, 4);
__glXSendReplySwap(cl->client, params, 4, 4, GL_FALSE, 0);
error = Success;
}
@@ -4271,21 +4686,25 @@ int __glXDispSwap_GetProgramEnvParameterfvARB(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDispSwap_GetProgramLocalParameterdvARB(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_GetProgramLocalParameterdvARB(__GLXclientState * cl, GLbyte * pc)
{
- xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc;
+ xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_VENDPRIV_HDR_SIZE;
- if ( cx != NULL ) {
+ if (cx != NULL) {
GLdouble params[4];
- CALL_GetProgramLocalParameterdvARB( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (GLuint )bswap_CARD32 ( pc + 4 ),
- params
- ) );
- (void) bswap_64_array( (uint64_t *) params, 4 );
+
+ CALL_GetProgramLocalParameterdvARB(GET_DISPATCH(), ((GLenum)
+ bswap_ENUM(pc + 0),
+ (GLuint)
+ bswap_CARD32(pc +
+ 4),
+ params));
+ (void) bswap_64_array((uint64_t *) params, 4);
__glXSendReplySwap(cl->client, params, 4, 8, GL_FALSE, 0);
error = Success;
}
@@ -4293,21 +4712,25 @@ int __glXDispSwap_GetProgramLocalParameterdvARB(__GLXclientState *cl, GLbyte *pc
return error;
}
-int __glXDispSwap_GetProgramLocalParameterfvARB(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_GetProgramLocalParameterfvARB(__GLXclientState * cl, GLbyte * pc)
{
- xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc;
+ xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_VENDPRIV_HDR_SIZE;
- if ( cx != NULL ) {
+ if (cx != NULL) {
GLfloat params[4];
- CALL_GetProgramLocalParameterfvARB( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (GLuint )bswap_CARD32 ( pc + 4 ),
- params
- ) );
- (void) bswap_32_array( (uint32_t *) params, 4 );
+
+ CALL_GetProgramLocalParameterfvARB(GET_DISPATCH(), ((GLenum)
+ bswap_ENUM(pc + 0),
+ (GLuint)
+ bswap_CARD32(pc +
+ 4),
+ params));
+ (void) bswap_32_array((uint32_t *) params, 4);
__glXSendReplySwap(cl->client, params, 4, 4, GL_FALSE, 0);
error = Success;
}
@@ -4315,29 +4738,31 @@ int __glXDispSwap_GetProgramLocalParameterfvARB(__GLXclientState *cl, GLbyte *pc
return error;
}
-int __glXDispSwap_GetProgramivARB(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_GetProgramivARB(__GLXclientState * cl, GLbyte * pc)
{
- xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc;
+ xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_VENDPRIV_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 );
+ if (cx != NULL) {
+ const GLenum pname = (GLenum) bswap_ENUM(pc + 4);
const GLuint compsize = __glGetProgramivARB_size(pname);
GLint answerBuffer[200];
- GLint * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4);
+ GLint *params =
+ __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer,
+ sizeof(answerBuffer), 4);
- if (params == NULL) return BadAlloc;
+ if (params == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetProgramivARB( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- pname,
- params
- ) );
- (void) bswap_32_array( (uint32_t *) params, compsize );
+ CALL_GetProgramivARB(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ pname, params));
+ (void) bswap_32_array((uint32_t *) params, compsize);
__glXSendReplySwap(cl->client, params, compsize, 4, GL_FALSE, 0);
error = Success;
}
@@ -4345,29 +4770,32 @@ int __glXDispSwap_GetProgramivARB(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDispSwap_GetVertexAttribdvARB(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_GetVertexAttribdvARB(__GLXclientState * cl, GLbyte * pc)
{
- xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc;
+ xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_VENDPRIV_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 );
+ if (cx != NULL) {
+ const GLenum pname = (GLenum) bswap_ENUM(pc + 4);
const GLuint compsize = __glGetVertexAttribdvARB_size(pname);
GLdouble answerBuffer[200];
- GLdouble * params = __glXGetAnswerBuffer(cl, compsize * 8, answerBuffer, sizeof(answerBuffer), 8);
+ GLdouble *params =
+ __glXGetAnswerBuffer(cl, compsize * 8, answerBuffer,
+ sizeof(answerBuffer), 8);
- if (params == NULL) return BadAlloc;
+ if (params == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetVertexAttribdvARB( GET_DISPATCH(), (
- (GLuint )bswap_CARD32 ( pc + 0 ),
- pname,
- params
- ) );
- (void) bswap_64_array( (uint64_t *) params, compsize );
+ CALL_GetVertexAttribdvARB(GET_DISPATCH(), ((GLuint)
+ bswap_CARD32(pc + 0), pname,
+ params));
+ (void) bswap_64_array((uint64_t *) params, compsize);
__glXSendReplySwap(cl->client, params, compsize, 8, GL_FALSE, 0);
error = Success;
}
@@ -4375,29 +4803,32 @@ int __glXDispSwap_GetVertexAttribdvARB(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDispSwap_GetVertexAttribfvARB(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_GetVertexAttribfvARB(__GLXclientState * cl, GLbyte * pc)
{
- xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc;
+ xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_VENDPRIV_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 );
+ if (cx != NULL) {
+ const GLenum pname = (GLenum) bswap_ENUM(pc + 4);
const GLuint compsize = __glGetVertexAttribfvARB_size(pname);
GLfloat answerBuffer[200];
- GLfloat * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4);
+ GLfloat *params =
+ __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer,
+ sizeof(answerBuffer), 4);
- if (params == NULL) return BadAlloc;
+ if (params == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetVertexAttribfvARB( GET_DISPATCH(), (
- (GLuint )bswap_CARD32 ( pc + 0 ),
- pname,
- params
- ) );
- (void) bswap_32_array( (uint32_t *) params, compsize );
+ CALL_GetVertexAttribfvARB(GET_DISPATCH(), ((GLuint)
+ bswap_CARD32(pc + 0), pname,
+ params));
+ (void) bswap_32_array((uint32_t *) params, compsize);
__glXSendReplySwap(cl->client, params, compsize, 4, GL_FALSE, 0);
error = Success;
}
@@ -4405,29 +4836,32 @@ int __glXDispSwap_GetVertexAttribfvARB(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDispSwap_GetVertexAttribivARB(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_GetVertexAttribivARB(__GLXclientState * cl, GLbyte * pc)
{
- xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc;
+ xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_VENDPRIV_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 );
+ if (cx != NULL) {
+ const GLenum pname = (GLenum) bswap_ENUM(pc + 4);
const GLuint compsize = __glGetVertexAttribivARB_size(pname);
GLint answerBuffer[200];
- GLint * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4);
+ GLint *params =
+ __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer,
+ sizeof(answerBuffer), 4);
- if (params == NULL) return BadAlloc;
+ if (params == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetVertexAttribivARB( GET_DISPATCH(), (
- (GLuint )bswap_CARD32 ( pc + 0 ),
- pname,
- params
- ) );
- (void) bswap_32_array( (uint32_t *) params, compsize );
+ CALL_GetVertexAttribivARB(GET_DISPATCH(), ((GLuint)
+ bswap_CARD32(pc + 0), pname,
+ params));
+ (void) bswap_32_array((uint32_t *) params, compsize);
__glXSendReplySwap(cl->client, params, compsize, 4, GL_FALSE, 0);
error = Success;
}
@@ -4435,332 +4869,398 @@ int __glXDispSwap_GetVertexAttribivARB(__GLXclientState *cl, GLbyte *pc)
return error;
}
-void __glXDispSwap_ProgramEnvParameter4dvARB(GLbyte * pc)
+void
+__glXDispSwap_ProgramEnvParameter4dvARB(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 40);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 40);
pc -= 4;
}
#endif
- CALL_ProgramEnvParameter4dvARB( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (GLuint )bswap_CARD32 ( pc + 4 ),
- (const GLdouble *)bswap_64_array( (uint64_t *) (pc + 8), 4 )
- ) );
+ CALL_ProgramEnvParameter4dvARB(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ (GLuint) bswap_CARD32(pc +
+ 4),
+ (const GLdouble *)
+ bswap_64_array((uint64_t
+ *) (pc + 8),
+ 4)
+ ));
}
-void __glXDispSwap_ProgramEnvParameter4fvARB(GLbyte * pc)
+void
+__glXDispSwap_ProgramEnvParameter4fvARB(GLbyte * pc)
{
- CALL_ProgramEnvParameter4fvARB( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (GLuint )bswap_CARD32 ( pc + 4 ),
- (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 8), 4 )
- ) );
+ CALL_ProgramEnvParameter4fvARB(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ (GLuint) bswap_CARD32(pc +
+ 4),
+ (const GLfloat *)
+ bswap_32_array((uint32_t
+ *) (pc + 8),
+ 4)
+ ));
}
-void __glXDispSwap_ProgramLocalParameter4dvARB(GLbyte * pc)
+void
+__glXDispSwap_ProgramLocalParameter4dvARB(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 40);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 40);
pc -= 4;
}
#endif
- CALL_ProgramLocalParameter4dvARB( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (GLuint )bswap_CARD32 ( pc + 4 ),
- (const GLdouble *)bswap_64_array( (uint64_t *) (pc + 8), 4 )
- ) );
+ CALL_ProgramLocalParameter4dvARB(GET_DISPATCH(), ((GLenum)
+ bswap_ENUM(pc + 0),
+ (GLuint) bswap_CARD32(pc +
+ 4),
+ (const GLdouble *)
+ bswap_64_array((uint64_t
+ *) (pc +
+ 8), 4)
+ ));
}
-void __glXDispSwap_ProgramLocalParameter4fvARB(GLbyte * pc)
+void
+__glXDispSwap_ProgramLocalParameter4fvARB(GLbyte * pc)
{
- CALL_ProgramLocalParameter4fvARB( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (GLuint )bswap_CARD32 ( pc + 4 ),
- (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 8), 4 )
- ) );
+ CALL_ProgramLocalParameter4fvARB(GET_DISPATCH(), ((GLenum)
+ bswap_ENUM(pc + 0),
+ (GLuint) bswap_CARD32(pc +
+ 4),
+ (const GLfloat *)
+ bswap_32_array((uint32_t
+ *) (pc +
+ 8), 4)
+ ));
}
-void __glXDispSwap_ProgramStringARB(GLbyte * pc)
+void
+__glXDispSwap_ProgramStringARB(GLbyte * pc)
{
- const GLsizei len = (GLsizei )bswap_CARD32 ( pc + 8 );
+ const GLsizei len = (GLsizei) bswap_CARD32(pc + 8);
- CALL_ProgramStringARB( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (GLenum )bswap_ENUM ( pc + 4 ),
- len,
- (const GLvoid *)(pc + 12)
- ) );
+ CALL_ProgramStringARB(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ (GLenum) bswap_ENUM(pc + 4),
+ len, (const GLvoid *) (pc + 12)
+ ));
}
-void __glXDispSwap_VertexAttrib1dvARB(GLbyte * pc)
+void
+__glXDispSwap_VertexAttrib1dvARB(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 12);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 12);
pc -= 4;
}
#endif
- CALL_VertexAttrib1dvARB( GET_DISPATCH(), (
- (GLuint )bswap_CARD32 ( pc + 0 ),
- (const GLdouble *)bswap_64_array( (uint64_t *) (pc + 4), 1 )
- ) );
+ CALL_VertexAttrib1dvARB(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0),
+ (const GLdouble *)
+ bswap_64_array((uint64_t *) (pc +
+ 4), 1)
+ ));
}
-void __glXDispSwap_VertexAttrib1fvARB(GLbyte * pc)
+void
+__glXDispSwap_VertexAttrib1fvARB(GLbyte * pc)
{
- CALL_VertexAttrib1fvARB( GET_DISPATCH(), (
- (GLuint )bswap_CARD32 ( pc + 0 ),
- (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 4), 1 )
- ) );
+ CALL_VertexAttrib1fvARB(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0),
+ (const GLfloat *)
+ bswap_32_array((uint32_t *) (pc +
+ 4), 1)
+ ));
}
-void __glXDispSwap_VertexAttrib1svARB(GLbyte * pc)
+void
+__glXDispSwap_VertexAttrib1svARB(GLbyte * pc)
{
- CALL_VertexAttrib1svARB( GET_DISPATCH(), (
- (GLuint )bswap_CARD32 ( pc + 0 ),
- (const GLshort *)bswap_16_array( (uint16_t *) (pc + 4), 1 )
- ) );
+ CALL_VertexAttrib1svARB(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0),
+ (const GLshort *)
+ bswap_16_array((uint16_t *) (pc +
+ 4), 1)
+ ));
}
-void __glXDispSwap_VertexAttrib2dvARB(GLbyte * pc)
+void
+__glXDispSwap_VertexAttrib2dvARB(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 20);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 20);
pc -= 4;
}
#endif
- CALL_VertexAttrib2dvARB( GET_DISPATCH(), (
- (GLuint )bswap_CARD32 ( pc + 0 ),
- (const GLdouble *)bswap_64_array( (uint64_t *) (pc + 4), 2 )
- ) );
+ CALL_VertexAttrib2dvARB(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0),
+ (const GLdouble *)
+ bswap_64_array((uint64_t *) (pc +
+ 4), 2)
+ ));
}
-void __glXDispSwap_VertexAttrib2fvARB(GLbyte * pc)
+void
+__glXDispSwap_VertexAttrib2fvARB(GLbyte * pc)
{
- CALL_VertexAttrib2fvARB( GET_DISPATCH(), (
- (GLuint )bswap_CARD32 ( pc + 0 ),
- (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 4), 2 )
- ) );
+ CALL_VertexAttrib2fvARB(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0),
+ (const GLfloat *)
+ bswap_32_array((uint32_t *) (pc +
+ 4), 2)
+ ));
}
-void __glXDispSwap_VertexAttrib2svARB(GLbyte * pc)
+void
+__glXDispSwap_VertexAttrib2svARB(GLbyte * pc)
{
- CALL_VertexAttrib2svARB( GET_DISPATCH(), (
- (GLuint )bswap_CARD32 ( pc + 0 ),
- (const GLshort *)bswap_16_array( (uint16_t *) (pc + 4), 2 )
- ) );
+ CALL_VertexAttrib2svARB(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0),
+ (const GLshort *)
+ bswap_16_array((uint16_t *) (pc +
+ 4), 2)
+ ));
}
-void __glXDispSwap_VertexAttrib3dvARB(GLbyte * pc)
+void
+__glXDispSwap_VertexAttrib3dvARB(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 28);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 28);
pc -= 4;
}
#endif
- CALL_VertexAttrib3dvARB( GET_DISPATCH(), (
- (GLuint )bswap_CARD32 ( pc + 0 ),
- (const GLdouble *)bswap_64_array( (uint64_t *) (pc + 4), 3 )
- ) );
+ CALL_VertexAttrib3dvARB(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0),
+ (const GLdouble *)
+ bswap_64_array((uint64_t *) (pc +
+ 4), 3)
+ ));
}
-void __glXDispSwap_VertexAttrib3fvARB(GLbyte * pc)
+void
+__glXDispSwap_VertexAttrib3fvARB(GLbyte * pc)
{
- CALL_VertexAttrib3fvARB( GET_DISPATCH(), (
- (GLuint )bswap_CARD32 ( pc + 0 ),
- (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 4), 3 )
- ) );
+ CALL_VertexAttrib3fvARB(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0),
+ (const GLfloat *)
+ bswap_32_array((uint32_t *) (pc +
+ 4), 3)
+ ));
}
-void __glXDispSwap_VertexAttrib3svARB(GLbyte * pc)
+void
+__glXDispSwap_VertexAttrib3svARB(GLbyte * pc)
{
- CALL_VertexAttrib3svARB( GET_DISPATCH(), (
- (GLuint )bswap_CARD32 ( pc + 0 ),
- (const GLshort *)bswap_16_array( (uint16_t *) (pc + 4), 3 )
- ) );
+ CALL_VertexAttrib3svARB(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0),
+ (const GLshort *)
+ bswap_16_array((uint16_t *) (pc +
+ 4), 3)
+ ));
}
-void __glXDispSwap_VertexAttrib4NbvARB(GLbyte * pc)
+void
+__glXDispSwap_VertexAttrib4NbvARB(GLbyte * pc)
{
- CALL_VertexAttrib4NbvARB( GET_DISPATCH(), (
- (GLuint )bswap_CARD32 ( pc + 0 ),
- (const GLbyte *)(pc + 4)
- ) );
+ CALL_VertexAttrib4NbvARB(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0),
+ (const GLbyte *) (pc + 4)
+ ));
}
-void __glXDispSwap_VertexAttrib4NivARB(GLbyte * pc)
+void
+__glXDispSwap_VertexAttrib4NivARB(GLbyte * pc)
{
- CALL_VertexAttrib4NivARB( GET_DISPATCH(), (
- (GLuint )bswap_CARD32 ( pc + 0 ),
- (const GLint *)bswap_32_array( (uint32_t *) (pc + 4), 4 )
- ) );
+ CALL_VertexAttrib4NivARB(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0),
+ (const GLint *)
+ bswap_32_array((uint32_t *) (pc +
+ 4),
+ 4)
+ ));
}
-void __glXDispSwap_VertexAttrib4NsvARB(GLbyte * pc)
+void
+__glXDispSwap_VertexAttrib4NsvARB(GLbyte * pc)
{
- CALL_VertexAttrib4NsvARB( GET_DISPATCH(), (
- (GLuint )bswap_CARD32 ( pc + 0 ),
- (const GLshort *)bswap_16_array( (uint16_t *) (pc + 4), 4 )
- ) );
+ CALL_VertexAttrib4NsvARB(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0),
+ (const GLshort *)
+ bswap_16_array((uint16_t *) (pc +
+ 4),
+ 4)
+ ));
}
-void __glXDispSwap_VertexAttrib4NubvARB(GLbyte * pc)
+void
+__glXDispSwap_VertexAttrib4NubvARB(GLbyte * pc)
{
- CALL_VertexAttrib4NubvARB( GET_DISPATCH(), (
- (GLuint )bswap_CARD32 ( pc + 0 ),
- (const GLubyte *)(pc + 4)
- ) );
+ CALL_VertexAttrib4NubvARB(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0),
+ (const GLubyte *) (pc + 4)
+ ));
}
-void __glXDispSwap_VertexAttrib4NuivARB(GLbyte * pc)
+void
+__glXDispSwap_VertexAttrib4NuivARB(GLbyte * pc)
{
- CALL_VertexAttrib4NuivARB( GET_DISPATCH(), (
- (GLuint )bswap_CARD32 ( pc + 0 ),
- (const GLuint *)bswap_32_array( (uint32_t *) (pc + 4), 4 )
- ) );
+ CALL_VertexAttrib4NuivARB(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0),
+ (const GLuint *)
+ bswap_32_array((uint32_t *) (pc +
+ 4),
+ 4)
+ ));
}
-void __glXDispSwap_VertexAttrib4NusvARB(GLbyte * pc)
+void
+__glXDispSwap_VertexAttrib4NusvARB(GLbyte * pc)
{
- CALL_VertexAttrib4NusvARB( GET_DISPATCH(), (
- (GLuint )bswap_CARD32 ( pc + 0 ),
- (const GLushort *)bswap_16_array( (uint16_t *) (pc + 4), 4 )
- ) );
+ CALL_VertexAttrib4NusvARB(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0),
+ (const GLushort *)
+ bswap_16_array((uint16_t *) (pc +
+ 4),
+ 4)
+ ));
}
-void __glXDispSwap_VertexAttrib4bvARB(GLbyte * pc)
+void
+__glXDispSwap_VertexAttrib4bvARB(GLbyte * pc)
{
- CALL_VertexAttrib4bvARB( GET_DISPATCH(), (
- (GLuint )bswap_CARD32 ( pc + 0 ),
- (const GLbyte *)(pc + 4)
- ) );
+ CALL_VertexAttrib4bvARB(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0),
+ (const GLbyte *) (pc + 4)
+ ));
}
-void __glXDispSwap_VertexAttrib4dvARB(GLbyte * pc)
+void
+__glXDispSwap_VertexAttrib4dvARB(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 36);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 36);
pc -= 4;
}
#endif
- CALL_VertexAttrib4dvARB( GET_DISPATCH(), (
- (GLuint )bswap_CARD32 ( pc + 0 ),
- (const GLdouble *)bswap_64_array( (uint64_t *) (pc + 4), 4 )
- ) );
+ CALL_VertexAttrib4dvARB(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0),
+ (const GLdouble *)
+ bswap_64_array((uint64_t *) (pc +
+ 4), 4)
+ ));
}
-void __glXDispSwap_VertexAttrib4fvARB(GLbyte * pc)
+void
+__glXDispSwap_VertexAttrib4fvARB(GLbyte * pc)
{
- CALL_VertexAttrib4fvARB( GET_DISPATCH(), (
- (GLuint )bswap_CARD32 ( pc + 0 ),
- (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 4), 4 )
- ) );
+ CALL_VertexAttrib4fvARB(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0),
+ (const GLfloat *)
+ bswap_32_array((uint32_t *) (pc +
+ 4), 4)
+ ));
}
-void __glXDispSwap_VertexAttrib4ivARB(GLbyte * pc)
+void
+__glXDispSwap_VertexAttrib4ivARB(GLbyte * pc)
{
- CALL_VertexAttrib4ivARB( GET_DISPATCH(), (
- (GLuint )bswap_CARD32 ( pc + 0 ),
- (const GLint *)bswap_32_array( (uint32_t *) (pc + 4), 4 )
- ) );
+ CALL_VertexAttrib4ivARB(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0),
+ (const GLint *)
+ bswap_32_array((uint32_t *) (pc +
+ 4), 4)
+ ));
}
-void __glXDispSwap_VertexAttrib4svARB(GLbyte * pc)
+void
+__glXDispSwap_VertexAttrib4svARB(GLbyte * pc)
{
- CALL_VertexAttrib4svARB( GET_DISPATCH(), (
- (GLuint )bswap_CARD32 ( pc + 0 ),
- (const GLshort *)bswap_16_array( (uint16_t *) (pc + 4), 4 )
- ) );
+ CALL_VertexAttrib4svARB(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0),
+ (const GLshort *)
+ bswap_16_array((uint16_t *) (pc +
+ 4), 4)
+ ));
}
-void __glXDispSwap_VertexAttrib4ubvARB(GLbyte * pc)
+void
+__glXDispSwap_VertexAttrib4ubvARB(GLbyte * pc)
{
- CALL_VertexAttrib4ubvARB( GET_DISPATCH(), (
- (GLuint )bswap_CARD32 ( pc + 0 ),
- (const GLubyte *)(pc + 4)
- ) );
+ CALL_VertexAttrib4ubvARB(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0),
+ (const GLubyte *) (pc + 4)
+ ));
}
-void __glXDispSwap_VertexAttrib4uivARB(GLbyte * pc)
+void
+__glXDispSwap_VertexAttrib4uivARB(GLbyte * pc)
{
- CALL_VertexAttrib4uivARB( GET_DISPATCH(), (
- (GLuint )bswap_CARD32 ( pc + 0 ),
- (const GLuint *)bswap_32_array( (uint32_t *) (pc + 4), 4 )
- ) );
+ CALL_VertexAttrib4uivARB(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0),
+ (const GLuint *)
+ bswap_32_array((uint32_t *) (pc +
+ 4),
+ 4)
+ ));
}
-void __glXDispSwap_VertexAttrib4usvARB(GLbyte * pc)
+void
+__glXDispSwap_VertexAttrib4usvARB(GLbyte * pc)
{
- CALL_VertexAttrib4usvARB( GET_DISPATCH(), (
- (GLuint )bswap_CARD32 ( pc + 0 ),
- (const GLushort *)bswap_16_array( (uint16_t *) (pc + 4), 4 )
- ) );
+ CALL_VertexAttrib4usvARB(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0),
+ (const GLushort *)
+ bswap_16_array((uint16_t *) (pc +
+ 4),
+ 4)
+ ));
}
-void __glXDispSwap_BeginQueryARB(GLbyte * pc)
+void
+__glXDispSwap_BeginQueryARB(GLbyte * pc)
{
- CALL_BeginQueryARB( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (GLuint )bswap_CARD32 ( pc + 4 )
- ) );
+ CALL_BeginQueryARB(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ (GLuint) bswap_CARD32(pc + 4)
+ ));
}
-int __glXDispSwap_DeleteQueriesARB(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_DeleteQueriesARB(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- const GLsizei n = (GLsizei )bswap_CARD32 ( pc + 0 );
-
- CALL_DeleteQueriesARB( GET_DISPATCH(), (
- n,
- (const GLuint *)bswap_32_array( (uint32_t *) (pc + 4), 0 )
- ) );
+ if (cx != NULL) {
+ const GLsizei n = (GLsizei) bswap_CARD32(pc + 0);
+
+ CALL_DeleteQueriesARB(GET_DISPATCH(), (n,
+ (const GLuint *)
+ bswap_32_array((uint32_t *) (pc +
+ 4),
+ 0)
+ ));
error = Success;
}
return error;
}
-void __glXDispSwap_EndQueryARB(GLbyte * pc)
+void
+__glXDispSwap_EndQueryARB(GLbyte * pc)
{
- CALL_EndQueryARB( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 )
- ) );
+ CALL_EndQueryARB(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0)
+ ));
}
-int __glXDispSwap_GenQueriesARB(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_GenQueriesARB(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- const GLsizei n = (GLsizei )bswap_CARD32 ( pc + 0 );
+ if (cx != NULL) {
+ const GLsizei n = (GLsizei) bswap_CARD32(pc + 0);
GLuint answerBuffer[200];
- GLuint * ids = __glXGetAnswerBuffer(cl, n * 4, answerBuffer, sizeof(answerBuffer), 4);
- CALL_GenQueriesARB( GET_DISPATCH(), (
- n,
- ids
- ) );
- (void) bswap_32_array( (uint32_t *) ids, n );
+ GLuint *ids =
+ __glXGetAnswerBuffer(cl, n * 4, answerBuffer, sizeof(answerBuffer),
+ 4);
+ CALL_GenQueriesARB(GET_DISPATCH(), (n, ids));
+ (void) bswap_32_array((uint32_t *) ids, n);
__glXSendReplySwap(cl->client, ids, n, 4, GL_TRUE, 0);
error = Success;
}
@@ -4768,29 +5268,31 @@ int __glXDispSwap_GenQueriesARB(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDispSwap_GetQueryObjectivARB(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_GetQueryObjectivARB(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 );
+ if (cx != NULL) {
+ const GLenum pname = (GLenum) bswap_ENUM(pc + 4);
const GLuint compsize = __glGetQueryObjectivARB_size(pname);
GLint answerBuffer[200];
- GLint * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4);
+ GLint *params =
+ __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer,
+ sizeof(answerBuffer), 4);
- if (params == NULL) return BadAlloc;
+ if (params == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetQueryObjectivARB( GET_DISPATCH(), (
- (GLuint )bswap_CARD32 ( pc + 0 ),
- pname,
- params
- ) );
- (void) bswap_32_array( (uint32_t *) params, compsize );
+ CALL_GetQueryObjectivARB(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0),
+ pname, params));
+ (void) bswap_32_array((uint32_t *) params, compsize);
__glXSendReplySwap(cl->client, params, compsize, 4, GL_FALSE, 0);
error = Success;
}
@@ -4798,29 +5300,32 @@ int __glXDispSwap_GetQueryObjectivARB(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDispSwap_GetQueryObjectuivARB(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_GetQueryObjectuivARB(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 );
+ if (cx != NULL) {
+ const GLenum pname = (GLenum) bswap_ENUM(pc + 4);
const GLuint compsize = __glGetQueryObjectuivARB_size(pname);
GLuint answerBuffer[200];
- GLuint * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4);
+ GLuint *params =
+ __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer,
+ sizeof(answerBuffer), 4);
- if (params == NULL) return BadAlloc;
+ if (params == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetQueryObjectuivARB( GET_DISPATCH(), (
- (GLuint )bswap_CARD32 ( pc + 0 ),
- pname,
- params
- ) );
- (void) bswap_32_array( (uint32_t *) params, compsize );
+ CALL_GetQueryObjectuivARB(GET_DISPATCH(), ((GLuint)
+ bswap_CARD32(pc + 0), pname,
+ params));
+ (void) bswap_32_array((uint32_t *) params, compsize);
__glXSendReplySwap(cl->client, params, compsize, 4, GL_FALSE, 0);
error = Success;
}
@@ -4828,29 +5333,31 @@ int __glXDispSwap_GetQueryObjectuivARB(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDispSwap_GetQueryivARB(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_GetQueryivARB(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 );
+ if (cx != NULL) {
+ const GLenum pname = (GLenum) bswap_ENUM(pc + 4);
const GLuint compsize = __glGetQueryivARB_size(pname);
GLint answerBuffer[200];
- GLint * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4);
+ GLint *params =
+ __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer,
+ sizeof(answerBuffer), 4);
- if (params == NULL) return BadAlloc;
+ if (params == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetQueryivARB( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- pname,
- params
- ) );
- (void) bswap_32_array( (uint32_t *) params, compsize );
+ CALL_GetQueryivARB(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ pname, params));
+ (void) bswap_32_array((uint32_t *) params, compsize);
__glXSendReplySwap(cl->client, params, compsize, 4, GL_FALSE, 0);
error = Success;
}
@@ -4858,18 +5365,20 @@ int __glXDispSwap_GetQueryivARB(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDispSwap_IsQueryARB(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_IsQueryARB(__GLXclientState * cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
+ if (cx != NULL) {
GLboolean retval;
- retval = CALL_IsQueryARB( GET_DISPATCH(), (
- (GLuint )bswap_CARD32 ( pc + 0 )
- ) );
+
+ retval = CALL_IsQueryARB(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0)
+ ));
__glXSendReplySwap(cl->client, dummy_answer, 0, 0, GL_FALSE, retval);
error = Success;
}
@@ -4877,190 +5386,226 @@ int __glXDispSwap_IsQueryARB(__GLXclientState *cl, GLbyte *pc)
return error;
}
-void __glXDispSwap_DrawBuffersARB(GLbyte * pc)
+void
+__glXDispSwap_DrawBuffersARB(GLbyte * pc)
{
- const GLsizei n = (GLsizei )bswap_CARD32 ( pc + 0 );
+ const GLsizei n = (GLsizei) bswap_CARD32(pc + 0);
- CALL_DrawBuffersARB( GET_DISPATCH(), (
- n,
- (const GLenum *)bswap_32_array( (uint32_t *) (pc + 4), 0 )
- ) );
+ CALL_DrawBuffersARB(GET_DISPATCH(), (n,
+ (const GLenum *)
+ bswap_32_array((uint32_t *) (pc + 4),
+ 0)
+ ));
}
-void __glXDispSwap_ClampColorARB(GLbyte * pc)
+void
+__glXDispSwap_ClampColorARB(GLbyte * pc)
{
- CALL_ClampColorARB( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (GLenum )bswap_ENUM ( pc + 4 )
- ) );
+ CALL_ClampColorARB(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ (GLenum) bswap_ENUM(pc + 4)
+ ));
}
-void __glXDispSwap_RenderbufferStorageMultisample(GLbyte * pc)
+void
+__glXDispSwap_RenderbufferStorageMultisample(GLbyte * pc)
{
- CALL_RenderbufferStorageMultisample( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (GLsizei )bswap_CARD32 ( pc + 4 ),
- (GLenum )bswap_ENUM ( pc + 8 ),
- (GLsizei )bswap_CARD32 ( pc + 12 ),
- (GLsizei )bswap_CARD32 ( pc + 16 )
- ) );
+ CALL_RenderbufferStorageMultisample(GET_DISPATCH(), ((GLenum)
+ bswap_ENUM(pc + 0),
+ (GLsizei)
+ bswap_CARD32(pc + 4),
+ (GLenum) bswap_ENUM(pc
+ +
+ 8),
+ (GLsizei)
+ bswap_CARD32(pc + 12),
+ (GLsizei)
+ bswap_CARD32(pc + 16)
+ ));
}
-void __glXDispSwap_SampleMaskSGIS(GLbyte * pc)
+void
+__glXDispSwap_SampleMaskSGIS(GLbyte * pc)
{
- CALL_SampleMaskSGIS( GET_DISPATCH(), (
- (GLclampf)bswap_FLOAT32( pc + 0 ),
- *(GLboolean *)(pc + 4)
- ) );
+ CALL_SampleMaskSGIS(GET_DISPATCH(), ((GLclampf) bswap_FLOAT32(pc + 0),
+ *(GLboolean *) (pc + 4)
+ ));
}
-void __glXDispSwap_SamplePatternSGIS(GLbyte * pc)
+void
+__glXDispSwap_SamplePatternSGIS(GLbyte * pc)
{
- CALL_SamplePatternSGIS( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 )
- ) );
+ CALL_SamplePatternSGIS(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0)
+ ));
}
-void __glXDispSwap_PointParameterfEXT(GLbyte * pc)
+void
+__glXDispSwap_PointParameterfEXT(GLbyte * pc)
{
- CALL_PointParameterfEXT( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (GLfloat )bswap_FLOAT32( pc + 4 )
- ) );
+ CALL_PointParameterfEXT(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ (GLfloat) bswap_FLOAT32(pc + 4)
+ ));
}
-void __glXDispSwap_PointParameterfvEXT(GLbyte * pc)
+void
+__glXDispSwap_PointParameterfvEXT(GLbyte * pc)
{
- const GLenum pname = (GLenum )bswap_ENUM ( pc + 0 );
- const GLfloat * params;
+ const GLenum pname = (GLenum) bswap_ENUM(pc + 0);
+ const GLfloat *params;
- params = (const GLfloat *) bswap_32_array( (uint32_t *) (pc + 4), __glPointParameterfvEXT_size(pname) );
+ params =
+ (const GLfloat *) bswap_32_array((uint32_t *) (pc + 4),
+ __glPointParameterfvEXT_size(pname));
- CALL_PointParameterfvEXT( GET_DISPATCH(), (
- pname,
- params
- ) );
+ CALL_PointParameterfvEXT(GET_DISPATCH(), (pname, params));
}
-void __glXDispSwap_SecondaryColor3bvEXT(GLbyte * pc)
+void
+__glXDispSwap_SecondaryColor3bvEXT(GLbyte * pc)
{
- CALL_SecondaryColor3bvEXT( GET_DISPATCH(), (
- (const GLbyte *)(pc + 0)
- ) );
+ CALL_SecondaryColor3bvEXT(GET_DISPATCH(), ((const GLbyte *) (pc + 0)
+ ));
}
-void __glXDispSwap_SecondaryColor3dvEXT(GLbyte * pc)
+void
+__glXDispSwap_SecondaryColor3dvEXT(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 24);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 24);
pc -= 4;
}
#endif
- CALL_SecondaryColor3dvEXT( GET_DISPATCH(), (
- (const GLdouble *)bswap_64_array( (uint64_t *) (pc + 0), 3 )
- ) );
+ CALL_SecondaryColor3dvEXT(GET_DISPATCH(), ((const GLdouble *)
+ bswap_64_array((uint64_t *) (pc +
+ 0),
+ 3)
+ ));
}
-void __glXDispSwap_SecondaryColor3fvEXT(GLbyte * pc)
+void
+__glXDispSwap_SecondaryColor3fvEXT(GLbyte * pc)
{
- CALL_SecondaryColor3fvEXT( GET_DISPATCH(), (
- (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 0), 3 )
- ) );
+ CALL_SecondaryColor3fvEXT(GET_DISPATCH(), ((const GLfloat *)
+ bswap_32_array((uint32_t *) (pc +
+ 0),
+ 3)
+ ));
}
-void __glXDispSwap_SecondaryColor3ivEXT(GLbyte * pc)
+void
+__glXDispSwap_SecondaryColor3ivEXT(GLbyte * pc)
{
- CALL_SecondaryColor3ivEXT( GET_DISPATCH(), (
- (const GLint *)bswap_32_array( (uint32_t *) (pc + 0), 3 )
- ) );
+ CALL_SecondaryColor3ivEXT(GET_DISPATCH(), ((const GLint *)
+ bswap_32_array((uint32_t *) (pc +
+ 0),
+ 3)
+ ));
}
-void __glXDispSwap_SecondaryColor3svEXT(GLbyte * pc)
+void
+__glXDispSwap_SecondaryColor3svEXT(GLbyte * pc)
{
- CALL_SecondaryColor3svEXT( GET_DISPATCH(), (
- (const GLshort *)bswap_16_array( (uint16_t *) (pc + 0), 3 )
- ) );
+ CALL_SecondaryColor3svEXT(GET_DISPATCH(), ((const GLshort *)
+ bswap_16_array((uint16_t *) (pc +
+ 0),
+ 3)
+ ));
}
-void __glXDispSwap_SecondaryColor3ubvEXT(GLbyte * pc)
+void
+__glXDispSwap_SecondaryColor3ubvEXT(GLbyte * pc)
{
- CALL_SecondaryColor3ubvEXT( GET_DISPATCH(), (
- (const GLubyte *)(pc + 0)
- ) );
+ CALL_SecondaryColor3ubvEXT(GET_DISPATCH(), ((const GLubyte *) (pc + 0)
+ ));
}
-void __glXDispSwap_SecondaryColor3uivEXT(GLbyte * pc)
+void
+__glXDispSwap_SecondaryColor3uivEXT(GLbyte * pc)
{
- CALL_SecondaryColor3uivEXT( GET_DISPATCH(), (
- (const GLuint *)bswap_32_array( (uint32_t *) (pc + 0), 3 )
- ) );
+ CALL_SecondaryColor3uivEXT(GET_DISPATCH(), ((const GLuint *)
+ bswap_32_array((uint32_t *) (pc
+ +
+ 0),
+ 3)
+ ));
}
-void __glXDispSwap_SecondaryColor3usvEXT(GLbyte * pc)
+void
+__glXDispSwap_SecondaryColor3usvEXT(GLbyte * pc)
{
- CALL_SecondaryColor3usvEXT( GET_DISPATCH(), (
- (const GLushort *)bswap_16_array( (uint16_t *) (pc + 0), 3 )
- ) );
+ CALL_SecondaryColor3usvEXT(GET_DISPATCH(), ((const GLushort *)
+ bswap_16_array((uint16_t *) (pc
+ +
+ 0),
+ 3)
+ ));
}
-void __glXDispSwap_FogCoorddvEXT(GLbyte * pc)
+void
+__glXDispSwap_FogCoorddvEXT(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 8);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 8);
pc -= 4;
}
#endif
- CALL_FogCoorddvEXT( GET_DISPATCH(), (
- (const GLdouble *)bswap_64_array( (uint64_t *) (pc + 0), 1 )
- ) );
+ CALL_FogCoorddvEXT(GET_DISPATCH(), ((const GLdouble *)
+ bswap_64_array((uint64_t *) (pc + 0), 1)
+ ));
}
-void __glXDispSwap_FogCoordfvEXT(GLbyte * pc)
+void
+__glXDispSwap_FogCoordfvEXT(GLbyte * pc)
{
- CALL_FogCoordfvEXT( GET_DISPATCH(), (
- (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 0), 1 )
- ) );
+ CALL_FogCoordfvEXT(GET_DISPATCH(), ((const GLfloat *)
+ bswap_32_array((uint32_t *) (pc + 0), 1)
+ ));
}
-void __glXDispSwap_BlendFuncSeparateEXT(GLbyte * pc)
+void
+__glXDispSwap_BlendFuncSeparateEXT(GLbyte * pc)
{
- CALL_BlendFuncSeparateEXT( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (GLenum )bswap_ENUM ( pc + 4 ),
- (GLenum )bswap_ENUM ( pc + 8 ),
- (GLenum )bswap_ENUM ( pc + 12 )
- ) );
+ CALL_BlendFuncSeparateEXT(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ (GLenum) bswap_ENUM(pc + 4),
+ (GLenum) bswap_ENUM(pc + 8),
+ (GLenum) bswap_ENUM(pc + 12)
+ ));
}
-void __glXDispSwap_WindowPos3fvMESA(GLbyte * pc)
+void
+__glXDispSwap_WindowPos3fvMESA(GLbyte * pc)
{
- CALL_WindowPos3fvMESA( GET_DISPATCH(), (
- (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 0), 3 )
- ) );
+ CALL_WindowPos3fvMESA(GET_DISPATCH(), ((const GLfloat *)
+ bswap_32_array((uint32_t *) (pc + 0),
+ 3)
+ ));
}
-int __glXDispSwap_AreProgramsResidentNV(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_AreProgramsResidentNV(__GLXclientState * cl, GLbyte * pc)
{
- xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc;
+ xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_VENDPRIV_HDR_SIZE;
- if ( cx != NULL ) {
- const GLsizei n = (GLsizei )bswap_CARD32 ( pc + 0 );
+ if (cx != NULL) {
+ const GLsizei n = (GLsizei) bswap_CARD32(pc + 0);
GLboolean retval;
GLboolean answerBuffer[200];
- GLboolean * residences = __glXGetAnswerBuffer(cl, n, answerBuffer, sizeof(answerBuffer), 1);
- retval = CALL_AreProgramsResidentNV( GET_DISPATCH(), (
- n,
- (const GLuint *)bswap_32_array( (uint32_t *) (pc + 4), 0 ),
- residences
- ) );
+ GLboolean *residences =
+ __glXGetAnswerBuffer(cl, n, answerBuffer, sizeof(answerBuffer), 1);
+ retval =
+ CALL_AreProgramsResidentNV(GET_DISPATCH(),
+ (n,
+ (const GLuint *)
+ bswap_32_array((uint32_t *) (pc + 4),
+ 0), residences));
__glXSendReplySwap(cl->client, residences, n, 1, GL_FALSE, retval);
error = Success;
}
@@ -5068,60 +5613,67 @@ int __glXDispSwap_AreProgramsResidentNV(__GLXclientState *cl, GLbyte *pc)
return error;
}
-void __glXDispSwap_BindProgramNV(GLbyte * pc)
+void
+__glXDispSwap_BindProgramNV(GLbyte * pc)
{
- CALL_BindProgramNV( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (GLuint )bswap_CARD32 ( pc + 4 )
- ) );
+ CALL_BindProgramNV(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ (GLuint) bswap_CARD32(pc + 4)
+ ));
}
-int __glXDispSwap_DeleteProgramsNV(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_DeleteProgramsNV(__GLXclientState * cl, GLbyte * pc)
{
- xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc;
+ xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_VENDPRIV_HDR_SIZE;
- if ( cx != NULL ) {
- const GLsizei n = (GLsizei )bswap_CARD32 ( pc + 0 );
-
- CALL_DeleteProgramsNV( GET_DISPATCH(), (
- n,
- (const GLuint *)bswap_32_array( (uint32_t *) (pc + 4), 0 )
- ) );
+ if (cx != NULL) {
+ const GLsizei n = (GLsizei) bswap_CARD32(pc + 0);
+
+ CALL_DeleteProgramsNV(GET_DISPATCH(), (n,
+ (const GLuint *)
+ bswap_32_array((uint32_t *) (pc +
+ 4),
+ 0)
+ ));
error = Success;
}
return error;
}
-void __glXDispSwap_ExecuteProgramNV(GLbyte * pc)
+void
+__glXDispSwap_ExecuteProgramNV(GLbyte * pc)
{
- CALL_ExecuteProgramNV( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (GLuint )bswap_CARD32 ( pc + 4 ),
- (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 8), 4 )
- ) );
+ CALL_ExecuteProgramNV(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ (GLuint) bswap_CARD32(pc + 4),
+ (const GLfloat *)
+ bswap_32_array((uint32_t *) (pc + 8),
+ 4)
+ ));
}
-int __glXDispSwap_GenProgramsNV(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_GenProgramsNV(__GLXclientState * cl, GLbyte * pc)
{
- xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc;
+ xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_VENDPRIV_HDR_SIZE;
- if ( cx != NULL ) {
- const GLsizei n = (GLsizei )bswap_CARD32 ( pc + 0 );
+ if (cx != NULL) {
+ const GLsizei n = (GLsizei) bswap_CARD32(pc + 0);
GLuint answerBuffer[200];
- GLuint * programs = __glXGetAnswerBuffer(cl, n * 4, answerBuffer, sizeof(answerBuffer), 4);
- CALL_GenProgramsNV( GET_DISPATCH(), (
- n,
- programs
- ) );
- (void) bswap_32_array( (uint32_t *) programs, n );
+ GLuint *programs =
+ __glXGetAnswerBuffer(cl, n * 4, answerBuffer, sizeof(answerBuffer),
+ 4);
+ CALL_GenProgramsNV(GET_DISPATCH(), (n, programs));
+ (void) bswap_32_array((uint32_t *) programs, n);
__glXSendReplySwap(cl->client, programs, n, 4, GL_TRUE, 0);
error = Success;
}
@@ -5129,22 +5681,26 @@ int __glXDispSwap_GenProgramsNV(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDispSwap_GetProgramParameterdvNV(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_GetProgramParameterdvNV(__GLXclientState * cl, GLbyte * pc)
{
- xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc;
+ xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_VENDPRIV_HDR_SIZE;
- if ( cx != NULL ) {
+ if (cx != NULL) {
GLdouble params[4];
- CALL_GetProgramParameterdvNV( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (GLuint )bswap_CARD32 ( pc + 4 ),
- (GLenum )bswap_ENUM ( pc + 8 ),
- params
- ) );
- (void) bswap_64_array( (uint64_t *) params, 4 );
+
+ CALL_GetProgramParameterdvNV(GET_DISPATCH(), ((GLenum)
+ bswap_ENUM(pc + 0),
+ (GLuint) bswap_CARD32(pc +
+ 4),
+ (GLenum) bswap_ENUM(pc +
+ 8),
+ params));
+ (void) bswap_64_array((uint64_t *) params, 4);
__glXSendReplySwap(cl->client, params, 4, 8, GL_FALSE, 0);
error = Success;
}
@@ -5152,22 +5708,26 @@ int __glXDispSwap_GetProgramParameterdvNV(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDispSwap_GetProgramParameterfvNV(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_GetProgramParameterfvNV(__GLXclientState * cl, GLbyte * pc)
{
- xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc;
+ xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_VENDPRIV_HDR_SIZE;
- if ( cx != NULL ) {
+ if (cx != NULL) {
GLfloat params[4];
- CALL_GetProgramParameterfvNV( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (GLuint )bswap_CARD32 ( pc + 4 ),
- (GLenum )bswap_ENUM ( pc + 8 ),
- params
- ) );
- (void) bswap_32_array( (uint32_t *) params, 4 );
+
+ CALL_GetProgramParameterfvNV(GET_DISPATCH(), ((GLenum)
+ bswap_ENUM(pc + 0),
+ (GLuint) bswap_CARD32(pc +
+ 4),
+ (GLenum) bswap_ENUM(pc +
+ 8),
+ params));
+ (void) bswap_32_array((uint32_t *) params, 4);
__glXSendReplySwap(cl->client, params, 4, 4, GL_FALSE, 0);
error = Success;
}
@@ -5175,29 +5735,31 @@ int __glXDispSwap_GetProgramParameterfvNV(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDispSwap_GetProgramivNV(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_GetProgramivNV(__GLXclientState * cl, GLbyte * pc)
{
- xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc;
+ xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_VENDPRIV_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 );
+ if (cx != NULL) {
+ const GLenum pname = (GLenum) bswap_ENUM(pc + 4);
const GLuint compsize = __glGetProgramivNV_size(pname);
GLint answerBuffer[200];
- GLint * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4);
+ GLint *params =
+ __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer,
+ sizeof(answerBuffer), 4);
- if (params == NULL) return BadAlloc;
+ if (params == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetProgramivNV( GET_DISPATCH(), (
- (GLuint )bswap_CARD32 ( pc + 0 ),
- pname,
- params
- ) );
- (void) bswap_32_array( (uint32_t *) params, compsize );
+ CALL_GetProgramivNV(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0),
+ pname, params));
+ (void) bswap_32_array((uint32_t *) params, compsize);
__glXSendReplySwap(cl->client, params, compsize, 4, GL_FALSE, 0);
error = Success;
}
@@ -5205,22 +5767,23 @@ int __glXDispSwap_GetProgramivNV(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDispSwap_GetTrackMatrixivNV(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_GetTrackMatrixivNV(__GLXclientState * cl, GLbyte * pc)
{
- xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc;
+ xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_VENDPRIV_HDR_SIZE;
- if ( cx != NULL ) {
+ if (cx != NULL) {
GLint params[1];
- CALL_GetTrackMatrixivNV( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (GLuint )bswap_CARD32 ( pc + 4 ),
- (GLenum )bswap_ENUM ( pc + 8 ),
- params
- ) );
- (void) bswap_32_array( (uint32_t *) params, 1 );
+
+ CALL_GetTrackMatrixivNV(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ (GLuint) bswap_CARD32(pc + 4),
+ (GLenum) bswap_ENUM(pc + 8),
+ params));
+ (void) bswap_32_array((uint32_t *) params, 1);
__glXSendReplySwap(cl->client, params, 1, 4, GL_FALSE, 0);
error = Success;
}
@@ -5228,29 +5791,31 @@ int __glXDispSwap_GetTrackMatrixivNV(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDispSwap_GetVertexAttribdvNV(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_GetVertexAttribdvNV(__GLXclientState * cl, GLbyte * pc)
{
- xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc;
+ xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_VENDPRIV_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 );
+ if (cx != NULL) {
+ const GLenum pname = (GLenum) bswap_ENUM(pc + 4);
const GLuint compsize = __glGetVertexAttribdvNV_size(pname);
GLdouble answerBuffer[200];
- GLdouble * params = __glXGetAnswerBuffer(cl, compsize * 8, answerBuffer, sizeof(answerBuffer), 8);
+ GLdouble *params =
+ __glXGetAnswerBuffer(cl, compsize * 8, answerBuffer,
+ sizeof(answerBuffer), 8);
- if (params == NULL) return BadAlloc;
+ if (params == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetVertexAttribdvNV( GET_DISPATCH(), (
- (GLuint )bswap_CARD32 ( pc + 0 ),
- pname,
- params
- ) );
- (void) bswap_64_array( (uint64_t *) params, compsize );
+ CALL_GetVertexAttribdvNV(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0),
+ pname, params));
+ (void) bswap_64_array((uint64_t *) params, compsize);
__glXSendReplySwap(cl->client, params, compsize, 8, GL_FALSE, 0);
error = Success;
}
@@ -5258,29 +5823,31 @@ int __glXDispSwap_GetVertexAttribdvNV(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDispSwap_GetVertexAttribfvNV(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_GetVertexAttribfvNV(__GLXclientState * cl, GLbyte * pc)
{
- xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc;
+ xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_VENDPRIV_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 );
+ if (cx != NULL) {
+ const GLenum pname = (GLenum) bswap_ENUM(pc + 4);
const GLuint compsize = __glGetVertexAttribfvNV_size(pname);
GLfloat answerBuffer[200];
- GLfloat * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4);
+ GLfloat *params =
+ __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer,
+ sizeof(answerBuffer), 4);
- if (params == NULL) return BadAlloc;
+ if (params == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetVertexAttribfvNV( GET_DISPATCH(), (
- (GLuint )bswap_CARD32 ( pc + 0 ),
- pname,
- params
- ) );
- (void) bswap_32_array( (uint32_t *) params, compsize );
+ CALL_GetVertexAttribfvNV(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0),
+ pname, params));
+ (void) bswap_32_array((uint32_t *) params, compsize);
__glXSendReplySwap(cl->client, params, compsize, 4, GL_FALSE, 0);
error = Success;
}
@@ -5288,29 +5855,31 @@ int __glXDispSwap_GetVertexAttribfvNV(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDispSwap_GetVertexAttribivNV(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_GetVertexAttribivNV(__GLXclientState * cl, GLbyte * pc)
{
- xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc;
+ xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_VENDPRIV_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum pname = (GLenum )bswap_ENUM ( pc + 4 );
+ if (cx != NULL) {
+ const GLenum pname = (GLenum) bswap_ENUM(pc + 4);
const GLuint compsize = __glGetVertexAttribivNV_size(pname);
GLint answerBuffer[200];
- GLint * params = __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer, sizeof(answerBuffer), 4);
+ GLint *params =
+ __glXGetAnswerBuffer(cl, compsize * 4, answerBuffer,
+ sizeof(answerBuffer), 4);
- if (params == NULL) return BadAlloc;
+ if (params == NULL)
+ return BadAlloc;
__glXClearErrorOccured();
- CALL_GetVertexAttribivNV( GET_DISPATCH(), (
- (GLuint )bswap_CARD32 ( pc + 0 ),
- pname,
- params
- ) );
- (void) bswap_32_array( (uint32_t *) params, compsize );
+ CALL_GetVertexAttribivNV(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0),
+ pname, params));
+ (void) bswap_32_array((uint32_t *) params, compsize);
__glXSendReplySwap(cl->client, params, compsize, 4, GL_FALSE, 0);
error = Success;
}
@@ -5318,18 +5887,20 @@ int __glXDispSwap_GetVertexAttribivNV(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDispSwap_IsProgramNV(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_IsProgramNV(__GLXclientState * cl, GLbyte * pc)
{
- xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc;
+ xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_VENDPRIV_HDR_SIZE;
- if ( cx != NULL ) {
+ if (cx != NULL) {
GLboolean retval;
- retval = CALL_IsProgramNV( GET_DISPATCH(), (
- (GLuint )bswap_CARD32 ( pc + 0 )
- ) );
+
+ retval = CALL_IsProgramNV(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0)
+ ));
__glXSendReplySwap(cl->client, dummy_answer, 0, 0, GL_FALSE, retval);
error = Success;
}
@@ -5337,423 +5908,489 @@ int __glXDispSwap_IsProgramNV(__GLXclientState *cl, GLbyte *pc)
return error;
}
-void __glXDispSwap_LoadProgramNV(GLbyte * pc)
+void
+__glXDispSwap_LoadProgramNV(GLbyte * pc)
{
- const GLsizei len = (GLsizei )bswap_CARD32 ( pc + 8 );
+ const GLsizei len = (GLsizei) bswap_CARD32(pc + 8);
- CALL_LoadProgramNV( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (GLuint )bswap_CARD32 ( pc + 4 ),
- len,
- (const GLubyte *)(pc + 12)
- ) );
+ CALL_LoadProgramNV(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ (GLuint) bswap_CARD32(pc + 4),
+ len, (const GLubyte *) (pc + 12)
+ ));
}
-void __glXDispSwap_ProgramParameters4dvNV(GLbyte * pc)
+void
+__glXDispSwap_ProgramParameters4dvNV(GLbyte * pc)
{
- const GLsizei num = (GLsizei )bswap_CARD32 ( pc + 8 );
+ const GLsizei num = (GLsizei) bswap_CARD32(pc + 8);
#ifdef __GLX_ALIGN64
const GLuint cmdlen = 16 + __GLX_PAD((num * 32)) - 4;
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, cmdlen);
+
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, cmdlen);
pc -= 4;
}
#endif
- CALL_ProgramParameters4dvNV( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (GLuint )bswap_CARD32 ( pc + 4 ),
- num,
- (const GLdouble *)bswap_64_array( (uint64_t *) (pc + 12), 0 )
- ) );
+ CALL_ProgramParameters4dvNV(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ (GLuint) bswap_CARD32(pc + 4),
+ num,
+ (const GLdouble *)
+ bswap_64_array((uint64_t *) (pc
+ +
+ 12),
+ 0)
+ ));
}
-void __glXDispSwap_ProgramParameters4fvNV(GLbyte * pc)
+void
+__glXDispSwap_ProgramParameters4fvNV(GLbyte * pc)
{
- const GLsizei num = (GLsizei )bswap_CARD32 ( pc + 8 );
+ const GLsizei num = (GLsizei) bswap_CARD32(pc + 8);
- CALL_ProgramParameters4fvNV( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (GLuint )bswap_CARD32 ( pc + 4 ),
- num,
- (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 12), 0 )
- ) );
+ CALL_ProgramParameters4fvNV(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ (GLuint) bswap_CARD32(pc + 4),
+ num,
+ (const GLfloat *)
+ bswap_32_array((uint32_t *) (pc
+ +
+ 12),
+ 0)
+ ));
}
-void __glXDispSwap_RequestResidentProgramsNV(GLbyte * pc)
+void
+__glXDispSwap_RequestResidentProgramsNV(GLbyte * pc)
{
- const GLsizei n = (GLsizei )bswap_CARD32 ( pc + 0 );
+ const GLsizei n = (GLsizei) bswap_CARD32(pc + 0);
- CALL_RequestResidentProgramsNV( GET_DISPATCH(), (
- n,
- (const GLuint *)bswap_32_array( (uint32_t *) (pc + 4), 0 )
- ) );
+ CALL_RequestResidentProgramsNV(GET_DISPATCH(), (n,
+ (const GLuint *)
+ bswap_32_array((uint32_t
+ *) (pc + 4),
+ 0)
+ ));
}
-void __glXDispSwap_TrackMatrixNV(GLbyte * pc)
+void
+__glXDispSwap_TrackMatrixNV(GLbyte * pc)
{
- CALL_TrackMatrixNV( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (GLuint )bswap_CARD32 ( pc + 4 ),
- (GLenum )bswap_ENUM ( pc + 8 ),
- (GLenum )bswap_ENUM ( pc + 12 )
- ) );
+ CALL_TrackMatrixNV(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ (GLuint) bswap_CARD32(pc + 4),
+ (GLenum) bswap_ENUM(pc + 8),
+ (GLenum) bswap_ENUM(pc + 12)
+ ));
}
-void __glXDispSwap_VertexAttrib1dvNV(GLbyte * pc)
+void
+__glXDispSwap_VertexAttrib1dvNV(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 12);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 12);
pc -= 4;
}
#endif
- CALL_VertexAttrib1dvNV( GET_DISPATCH(), (
- (GLuint )bswap_CARD32 ( pc + 0 ),
- (const GLdouble *)bswap_64_array( (uint64_t *) (pc + 4), 1 )
- ) );
+ CALL_VertexAttrib1dvNV(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0),
+ (const GLdouble *)
+ bswap_64_array((uint64_t *) (pc +
+ 4), 1)
+ ));
}
-void __glXDispSwap_VertexAttrib1fvNV(GLbyte * pc)
+void
+__glXDispSwap_VertexAttrib1fvNV(GLbyte * pc)
{
- CALL_VertexAttrib1fvNV( GET_DISPATCH(), (
- (GLuint )bswap_CARD32 ( pc + 0 ),
- (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 4), 1 )
- ) );
+ CALL_VertexAttrib1fvNV(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0),
+ (const GLfloat *)
+ bswap_32_array((uint32_t *) (pc +
+ 4), 1)
+ ));
}
-void __glXDispSwap_VertexAttrib1svNV(GLbyte * pc)
+void
+__glXDispSwap_VertexAttrib1svNV(GLbyte * pc)
{
- CALL_VertexAttrib1svNV( GET_DISPATCH(), (
- (GLuint )bswap_CARD32 ( pc + 0 ),
- (const GLshort *)bswap_16_array( (uint16_t *) (pc + 4), 1 )
- ) );
+ CALL_VertexAttrib1svNV(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0),
+ (const GLshort *)
+ bswap_16_array((uint16_t *) (pc +
+ 4), 1)
+ ));
}
-void __glXDispSwap_VertexAttrib2dvNV(GLbyte * pc)
+void
+__glXDispSwap_VertexAttrib2dvNV(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 20);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 20);
pc -= 4;
}
#endif
- CALL_VertexAttrib2dvNV( GET_DISPATCH(), (
- (GLuint )bswap_CARD32 ( pc + 0 ),
- (const GLdouble *)bswap_64_array( (uint64_t *) (pc + 4), 2 )
- ) );
+ CALL_VertexAttrib2dvNV(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0),
+ (const GLdouble *)
+ bswap_64_array((uint64_t *) (pc +
+ 4), 2)
+ ));
}
-void __glXDispSwap_VertexAttrib2fvNV(GLbyte * pc)
+void
+__glXDispSwap_VertexAttrib2fvNV(GLbyte * pc)
{
- CALL_VertexAttrib2fvNV( GET_DISPATCH(), (
- (GLuint )bswap_CARD32 ( pc + 0 ),
- (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 4), 2 )
- ) );
+ CALL_VertexAttrib2fvNV(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0),
+ (const GLfloat *)
+ bswap_32_array((uint32_t *) (pc +
+ 4), 2)
+ ));
}
-void __glXDispSwap_VertexAttrib2svNV(GLbyte * pc)
+void
+__glXDispSwap_VertexAttrib2svNV(GLbyte * pc)
{
- CALL_VertexAttrib2svNV( GET_DISPATCH(), (
- (GLuint )bswap_CARD32 ( pc + 0 ),
- (const GLshort *)bswap_16_array( (uint16_t *) (pc + 4), 2 )
- ) );
+ CALL_VertexAttrib2svNV(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0),
+ (const GLshort *)
+ bswap_16_array((uint16_t *) (pc +
+ 4), 2)
+ ));
}
-void __glXDispSwap_VertexAttrib3dvNV(GLbyte * pc)
+void
+__glXDispSwap_VertexAttrib3dvNV(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 28);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 28);
pc -= 4;
}
#endif
- CALL_VertexAttrib3dvNV( GET_DISPATCH(), (
- (GLuint )bswap_CARD32 ( pc + 0 ),
- (const GLdouble *)bswap_64_array( (uint64_t *) (pc + 4), 3 )
- ) );
+ CALL_VertexAttrib3dvNV(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0),
+ (const GLdouble *)
+ bswap_64_array((uint64_t *) (pc +
+ 4), 3)
+ ));
}
-void __glXDispSwap_VertexAttrib3fvNV(GLbyte * pc)
+void
+__glXDispSwap_VertexAttrib3fvNV(GLbyte * pc)
{
- CALL_VertexAttrib3fvNV( GET_DISPATCH(), (
- (GLuint )bswap_CARD32 ( pc + 0 ),
- (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 4), 3 )
- ) );
+ CALL_VertexAttrib3fvNV(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0),
+ (const GLfloat *)
+ bswap_32_array((uint32_t *) (pc +
+ 4), 3)
+ ));
}
-void __glXDispSwap_VertexAttrib3svNV(GLbyte * pc)
+void
+__glXDispSwap_VertexAttrib3svNV(GLbyte * pc)
{
- CALL_VertexAttrib3svNV( GET_DISPATCH(), (
- (GLuint )bswap_CARD32 ( pc + 0 ),
- (const GLshort *)bswap_16_array( (uint16_t *) (pc + 4), 3 )
- ) );
+ CALL_VertexAttrib3svNV(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0),
+ (const GLshort *)
+ bswap_16_array((uint16_t *) (pc +
+ 4), 3)
+ ));
}
-void __glXDispSwap_VertexAttrib4dvNV(GLbyte * pc)
+void
+__glXDispSwap_VertexAttrib4dvNV(GLbyte * pc)
{
#ifdef __GLX_ALIGN64
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, 36);
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, 36);
pc -= 4;
}
#endif
- CALL_VertexAttrib4dvNV( GET_DISPATCH(), (
- (GLuint )bswap_CARD32 ( pc + 0 ),
- (const GLdouble *)bswap_64_array( (uint64_t *) (pc + 4), 4 )
- ) );
+ CALL_VertexAttrib4dvNV(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0),
+ (const GLdouble *)
+ bswap_64_array((uint64_t *) (pc +
+ 4), 4)
+ ));
}
-void __glXDispSwap_VertexAttrib4fvNV(GLbyte * pc)
+void
+__glXDispSwap_VertexAttrib4fvNV(GLbyte * pc)
{
- CALL_VertexAttrib4fvNV( GET_DISPATCH(), (
- (GLuint )bswap_CARD32 ( pc + 0 ),
- (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 4), 4 )
- ) );
+ CALL_VertexAttrib4fvNV(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0),
+ (const GLfloat *)
+ bswap_32_array((uint32_t *) (pc +
+ 4), 4)
+ ));
}
-void __glXDispSwap_VertexAttrib4svNV(GLbyte * pc)
+void
+__glXDispSwap_VertexAttrib4svNV(GLbyte * pc)
{
- CALL_VertexAttrib4svNV( GET_DISPATCH(), (
- (GLuint )bswap_CARD32 ( pc + 0 ),
- (const GLshort *)bswap_16_array( (uint16_t *) (pc + 4), 4 )
- ) );
+ CALL_VertexAttrib4svNV(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0),
+ (const GLshort *)
+ bswap_16_array((uint16_t *) (pc +
+ 4), 4)
+ ));
}
-void __glXDispSwap_VertexAttrib4ubvNV(GLbyte * pc)
+void
+__glXDispSwap_VertexAttrib4ubvNV(GLbyte * pc)
{
- CALL_VertexAttrib4ubvNV( GET_DISPATCH(), (
- (GLuint )bswap_CARD32 ( pc + 0 ),
- (const GLubyte *)(pc + 4)
- ) );
+ CALL_VertexAttrib4ubvNV(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0),
+ (const GLubyte *) (pc + 4)
+ ));
}
-void __glXDispSwap_VertexAttribs1dvNV(GLbyte * pc)
+void
+__glXDispSwap_VertexAttribs1dvNV(GLbyte * pc)
{
- const GLsizei n = (GLsizei )bswap_CARD32 ( pc + 4 );
+ const GLsizei n = (GLsizei) bswap_CARD32(pc + 4);
#ifdef __GLX_ALIGN64
const GLuint cmdlen = 12 + __GLX_PAD((n * 8)) - 4;
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, cmdlen);
+
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, cmdlen);
pc -= 4;
}
#endif
- CALL_VertexAttribs1dvNV( GET_DISPATCH(), (
- (GLuint )bswap_CARD32 ( pc + 0 ),
- n,
- (const GLdouble *)bswap_64_array( (uint64_t *) (pc + 8), 0 )
- ) );
+ CALL_VertexAttribs1dvNV(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0),
+ n,
+ (const GLdouble *)
+ bswap_64_array((uint64_t *) (pc +
+ 8), 0)
+ ));
}
-void __glXDispSwap_VertexAttribs1fvNV(GLbyte * pc)
+void
+__glXDispSwap_VertexAttribs1fvNV(GLbyte * pc)
{
- const GLsizei n = (GLsizei )bswap_CARD32 ( pc + 4 );
+ const GLsizei n = (GLsizei) bswap_CARD32(pc + 4);
- CALL_VertexAttribs1fvNV( GET_DISPATCH(), (
- (GLuint )bswap_CARD32 ( pc + 0 ),
- n,
- (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 8), 0 )
- ) );
+ CALL_VertexAttribs1fvNV(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0),
+ n,
+ (const GLfloat *)
+ bswap_32_array((uint32_t *) (pc +
+ 8), 0)
+ ));
}
-void __glXDispSwap_VertexAttribs1svNV(GLbyte * pc)
+void
+__glXDispSwap_VertexAttribs1svNV(GLbyte * pc)
{
- const GLsizei n = (GLsizei )bswap_CARD32 ( pc + 4 );
+ const GLsizei n = (GLsizei) bswap_CARD32(pc + 4);
- CALL_VertexAttribs1svNV( GET_DISPATCH(), (
- (GLuint )bswap_CARD32 ( pc + 0 ),
- n,
- (const GLshort *)bswap_16_array( (uint16_t *) (pc + 8), 0 )
- ) );
+ CALL_VertexAttribs1svNV(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0),
+ n,
+ (const GLshort *)
+ bswap_16_array((uint16_t *) (pc +
+ 8), 0)
+ ));
}
-void __glXDispSwap_VertexAttribs2dvNV(GLbyte * pc)
+void
+__glXDispSwap_VertexAttribs2dvNV(GLbyte * pc)
{
- const GLsizei n = (GLsizei )bswap_CARD32 ( pc + 4 );
+ const GLsizei n = (GLsizei) bswap_CARD32(pc + 4);
#ifdef __GLX_ALIGN64
const GLuint cmdlen = 12 + __GLX_PAD((n * 16)) - 4;
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, cmdlen);
+
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, cmdlen);
pc -= 4;
}
#endif
- CALL_VertexAttribs2dvNV( GET_DISPATCH(), (
- (GLuint )bswap_CARD32 ( pc + 0 ),
- n,
- (const GLdouble *)bswap_64_array( (uint64_t *) (pc + 8), 0 )
- ) );
+ CALL_VertexAttribs2dvNV(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0),
+ n,
+ (const GLdouble *)
+ bswap_64_array((uint64_t *) (pc +
+ 8), 0)
+ ));
}
-void __glXDispSwap_VertexAttribs2fvNV(GLbyte * pc)
+void
+__glXDispSwap_VertexAttribs2fvNV(GLbyte * pc)
{
- const GLsizei n = (GLsizei )bswap_CARD32 ( pc + 4 );
+ const GLsizei n = (GLsizei) bswap_CARD32(pc + 4);
- CALL_VertexAttribs2fvNV( GET_DISPATCH(), (
- (GLuint )bswap_CARD32 ( pc + 0 ),
- n,
- (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 8), 0 )
- ) );
+ CALL_VertexAttribs2fvNV(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0),
+ n,
+ (const GLfloat *)
+ bswap_32_array((uint32_t *) (pc +
+ 8), 0)
+ ));
}
-void __glXDispSwap_VertexAttribs2svNV(GLbyte * pc)
+void
+__glXDispSwap_VertexAttribs2svNV(GLbyte * pc)
{
- const GLsizei n = (GLsizei )bswap_CARD32 ( pc + 4 );
+ const GLsizei n = (GLsizei) bswap_CARD32(pc + 4);
- CALL_VertexAttribs2svNV( GET_DISPATCH(), (
- (GLuint )bswap_CARD32 ( pc + 0 ),
- n,
- (const GLshort *)bswap_16_array( (uint16_t *) (pc + 8), 0 )
- ) );
+ CALL_VertexAttribs2svNV(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0),
+ n,
+ (const GLshort *)
+ bswap_16_array((uint16_t *) (pc +
+ 8), 0)
+ ));
}
-void __glXDispSwap_VertexAttribs3dvNV(GLbyte * pc)
+void
+__glXDispSwap_VertexAttribs3dvNV(GLbyte * pc)
{
- const GLsizei n = (GLsizei )bswap_CARD32 ( pc + 4 );
+ const GLsizei n = (GLsizei) bswap_CARD32(pc + 4);
#ifdef __GLX_ALIGN64
const GLuint cmdlen = 12 + __GLX_PAD((n * 24)) - 4;
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, cmdlen);
+
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, cmdlen);
pc -= 4;
}
#endif
- CALL_VertexAttribs3dvNV( GET_DISPATCH(), (
- (GLuint )bswap_CARD32 ( pc + 0 ),
- n,
- (const GLdouble *)bswap_64_array( (uint64_t *) (pc + 8), 0 )
- ) );
+ CALL_VertexAttribs3dvNV(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0),
+ n,
+ (const GLdouble *)
+ bswap_64_array((uint64_t *) (pc +
+ 8), 0)
+ ));
}
-void __glXDispSwap_VertexAttribs3fvNV(GLbyte * pc)
+void
+__glXDispSwap_VertexAttribs3fvNV(GLbyte * pc)
{
- const GLsizei n = (GLsizei )bswap_CARD32 ( pc + 4 );
+ const GLsizei n = (GLsizei) bswap_CARD32(pc + 4);
- CALL_VertexAttribs3fvNV( GET_DISPATCH(), (
- (GLuint )bswap_CARD32 ( pc + 0 ),
- n,
- (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 8), 0 )
- ) );
+ CALL_VertexAttribs3fvNV(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0),
+ n,
+ (const GLfloat *)
+ bswap_32_array((uint32_t *) (pc +
+ 8), 0)
+ ));
}
-void __glXDispSwap_VertexAttribs3svNV(GLbyte * pc)
+void
+__glXDispSwap_VertexAttribs3svNV(GLbyte * pc)
{
- const GLsizei n = (GLsizei )bswap_CARD32 ( pc + 4 );
+ const GLsizei n = (GLsizei) bswap_CARD32(pc + 4);
- CALL_VertexAttribs3svNV( GET_DISPATCH(), (
- (GLuint )bswap_CARD32 ( pc + 0 ),
- n,
- (const GLshort *)bswap_16_array( (uint16_t *) (pc + 8), 0 )
- ) );
+ CALL_VertexAttribs3svNV(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0),
+ n,
+ (const GLshort *)
+ bswap_16_array((uint16_t *) (pc +
+ 8), 0)
+ ));
}
-void __glXDispSwap_VertexAttribs4dvNV(GLbyte * pc)
+void
+__glXDispSwap_VertexAttribs4dvNV(GLbyte * pc)
{
- const GLsizei n = (GLsizei )bswap_CARD32 ( pc + 4 );
+ const GLsizei n = (GLsizei) bswap_CARD32(pc + 4);
#ifdef __GLX_ALIGN64
const GLuint cmdlen = 12 + __GLX_PAD((n * 32)) - 4;
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, cmdlen);
+
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, cmdlen);
pc -= 4;
}
#endif
- CALL_VertexAttribs4dvNV( GET_DISPATCH(), (
- (GLuint )bswap_CARD32 ( pc + 0 ),
- n,
- (const GLdouble *)bswap_64_array( (uint64_t *) (pc + 8), 0 )
- ) );
+ CALL_VertexAttribs4dvNV(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0),
+ n,
+ (const GLdouble *)
+ bswap_64_array((uint64_t *) (pc +
+ 8), 0)
+ ));
}
-void __glXDispSwap_VertexAttribs4fvNV(GLbyte * pc)
+void
+__glXDispSwap_VertexAttribs4fvNV(GLbyte * pc)
{
- const GLsizei n = (GLsizei )bswap_CARD32 ( pc + 4 );
+ const GLsizei n = (GLsizei) bswap_CARD32(pc + 4);
- CALL_VertexAttribs4fvNV( GET_DISPATCH(), (
- (GLuint )bswap_CARD32 ( pc + 0 ),
- n,
- (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 8), 0 )
- ) );
+ CALL_VertexAttribs4fvNV(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0),
+ n,
+ (const GLfloat *)
+ bswap_32_array((uint32_t *) (pc +
+ 8), 0)
+ ));
}
-void __glXDispSwap_VertexAttribs4svNV(GLbyte * pc)
+void
+__glXDispSwap_VertexAttribs4svNV(GLbyte * pc)
{
- const GLsizei n = (GLsizei )bswap_CARD32 ( pc + 4 );
+ const GLsizei n = (GLsizei) bswap_CARD32(pc + 4);
- CALL_VertexAttribs4svNV( GET_DISPATCH(), (
- (GLuint )bswap_CARD32 ( pc + 0 ),
- n,
- (const GLshort *)bswap_16_array( (uint16_t *) (pc + 8), 0 )
- ) );
+ CALL_VertexAttribs4svNV(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0),
+ n,
+ (const GLshort *)
+ bswap_16_array((uint16_t *) (pc +
+ 8), 0)
+ ));
}
-void __glXDispSwap_VertexAttribs4ubvNV(GLbyte * pc)
+void
+__glXDispSwap_VertexAttribs4ubvNV(GLbyte * pc)
{
- const GLsizei n = (GLsizei )bswap_CARD32 ( pc + 4 );
+ const GLsizei n = (GLsizei) bswap_CARD32(pc + 4);
- CALL_VertexAttribs4ubvNV( GET_DISPATCH(), (
- (GLuint )bswap_CARD32 ( pc + 0 ),
- n,
- (const GLubyte *)(pc + 8)
- ) );
+ CALL_VertexAttribs4ubvNV(GET_DISPATCH(), ((GLuint) bswap_CARD32(pc + 0),
+ n, (const GLubyte *) (pc + 8)
+ ));
}
-void __glXDispSwap_PointParameteriNV(GLbyte * pc)
+void
+__glXDispSwap_PointParameteriNV(GLbyte * pc)
{
- CALL_PointParameteriNV( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (GLint )bswap_CARD32 ( pc + 4 )
- ) );
+ CALL_PointParameteriNV(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ (GLint) bswap_CARD32(pc + 4)
+ ));
}
-void __glXDispSwap_PointParameterivNV(GLbyte * pc)
+void
+__glXDispSwap_PointParameterivNV(GLbyte * pc)
{
- const GLenum pname = (GLenum )bswap_ENUM ( pc + 0 );
- const GLint * params;
+ const GLenum pname = (GLenum) bswap_ENUM(pc + 0);
+ const GLint *params;
- params = (const GLint *) bswap_32_array( (uint32_t *) (pc + 4), __glPointParameterivNV_size(pname) );
+ params =
+ (const GLint *) bswap_32_array((uint32_t *) (pc + 4),
+ __glPointParameterivNV_size(pname));
- CALL_PointParameterivNV( GET_DISPATCH(), (
- pname,
- params
- ) );
+ CALL_PointParameterivNV(GET_DISPATCH(), (pname, params));
}
-void __glXDispSwap_ActiveStencilFaceEXT(GLbyte * pc)
+void
+__glXDispSwap_ActiveStencilFaceEXT(GLbyte * pc)
{
- CALL_ActiveStencilFaceEXT( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 )
- ) );
+ CALL_ActiveStencilFaceEXT(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0)
+ ));
}
-int __glXDispSwap_GetProgramNamedParameterdvNV(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_GetProgramNamedParameterdvNV(__GLXclientState * cl, GLbyte * pc)
{
- xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc;
+ xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_VENDPRIV_HDR_SIZE;
- if ( cx != NULL ) {
- const GLsizei len = (GLsizei )bswap_CARD32 ( pc + 4 );
+ if (cx != NULL) {
+ const GLsizei len = (GLsizei) bswap_CARD32(pc + 4);
GLdouble params[4];
- CALL_GetProgramNamedParameterdvNV( GET_DISPATCH(), (
- (GLuint )bswap_CARD32 ( pc + 0 ),
- len,
- (const GLubyte *)(pc + 8),
- params
- ) );
- (void) bswap_64_array( (uint64_t *) params, 4 );
+
+ CALL_GetProgramNamedParameterdvNV(GET_DISPATCH(), ((GLuint)
+ bswap_CARD32(pc + 0),
+ len,
+ (const GLubyte *) (pc
+ +
+ 8),
+ params));
+ (void) bswap_64_array((uint64_t *) params, 4);
__glXSendReplySwap(cl->client, params, 4, 8, GL_TRUE, 0);
error = Success;
}
@@ -5761,24 +6398,28 @@ int __glXDispSwap_GetProgramNamedParameterdvNV(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDispSwap_GetProgramNamedParameterfvNV(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_GetProgramNamedParameterfvNV(__GLXclientState * cl, GLbyte * pc)
{
- xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc;
+ xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_VENDPRIV_HDR_SIZE;
- if ( cx != NULL ) {
- const GLsizei len = (GLsizei )bswap_CARD32 ( pc + 4 );
+ if (cx != NULL) {
+ const GLsizei len = (GLsizei) bswap_CARD32(pc + 4);
GLfloat params[4];
- CALL_GetProgramNamedParameterfvNV( GET_DISPATCH(), (
- (GLuint )bswap_CARD32 ( pc + 0 ),
- len,
- (const GLubyte *)(pc + 8),
- params
- ) );
- (void) bswap_32_array( (uint32_t *) params, 4 );
+
+ CALL_GetProgramNamedParameterfvNV(GET_DISPATCH(), ((GLuint)
+ bswap_CARD32(pc + 0),
+ len,
+ (const GLubyte *) (pc
+ +
+ 8),
+ params));
+ (void) bswap_32_array((uint32_t *) params, 4);
__glXSendReplySwap(cl->client, params, 4, 4, GL_TRUE, 0);
error = Success;
}
@@ -5786,74 +6427,87 @@ int __glXDispSwap_GetProgramNamedParameterfvNV(__GLXclientState *cl, GLbyte *pc)
return error;
}
-void __glXDispSwap_ProgramNamedParameter4dvNV(GLbyte * pc)
+void
+__glXDispSwap_ProgramNamedParameter4dvNV(GLbyte * pc)
{
- const GLsizei len = (GLsizei )bswap_CARD32 ( pc + 36 );
+ const GLsizei len = (GLsizei) bswap_CARD32(pc + 36);
#ifdef __GLX_ALIGN64
const GLuint cmdlen = 44 + __GLX_PAD(len) - 4;
- if ((unsigned long)(pc) & 7) {
- (void) memmove(pc-4, pc, cmdlen);
+
+ if ((unsigned long) (pc) & 7) {
+ (void) memmove(pc - 4, pc, cmdlen);
pc -= 4;
}
#endif
- CALL_ProgramNamedParameter4dvNV( GET_DISPATCH(), (
- (GLuint )bswap_CARD32 ( pc + 32 ),
- len,
- (const GLubyte *)(pc + 40),
- (const GLdouble *)bswap_64_array( (uint64_t *) (pc + 0), 4 )
- ) );
+ CALL_ProgramNamedParameter4dvNV(GET_DISPATCH(), ((GLuint)
+ bswap_CARD32(pc + 32), len,
+ (const GLubyte *) (pc +
+ 40),
+ (const GLdouble *)
+ bswap_64_array((uint64_t
+ *) (pc +
+ 0), 4)
+ ));
}
-void __glXDispSwap_ProgramNamedParameter4fvNV(GLbyte * pc)
+void
+__glXDispSwap_ProgramNamedParameter4fvNV(GLbyte * pc)
{
- const GLsizei len = (GLsizei )bswap_CARD32 ( pc + 4 );
+ const GLsizei len = (GLsizei) bswap_CARD32(pc + 4);
- CALL_ProgramNamedParameter4fvNV( GET_DISPATCH(), (
- (GLuint )bswap_CARD32 ( pc + 0 ),
- len,
- (const GLubyte *)(pc + 24),
- (const GLfloat *)bswap_32_array( (uint32_t *) (pc + 8), 4 )
- ) );
+ CALL_ProgramNamedParameter4fvNV(GET_DISPATCH(), ((GLuint)
+ bswap_CARD32(pc + 0), len,
+ (const GLubyte *) (pc +
+ 24),
+ (const GLfloat *)
+ bswap_32_array((uint32_t
+ *) (pc +
+ 8), 4)
+ ));
}
-void __glXDispSwap_BlendEquationSeparateEXT(GLbyte * pc)
+void
+__glXDispSwap_BlendEquationSeparateEXT(GLbyte * pc)
{
- CALL_BlendEquationSeparateEXT( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (GLenum )bswap_ENUM ( pc + 4 )
- ) );
+ CALL_BlendEquationSeparateEXT(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ (GLenum) bswap_ENUM(pc + 4)
+ ));
}
-void __glXDispSwap_BindFramebufferEXT(GLbyte * pc)
+void
+__glXDispSwap_BindFramebufferEXT(GLbyte * pc)
{
- CALL_BindFramebufferEXT( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (GLuint )bswap_CARD32 ( pc + 4 )
- ) );
+ CALL_BindFramebufferEXT(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ (GLuint) bswap_CARD32(pc + 4)
+ ));
}
-void __glXDispSwap_BindRenderbufferEXT(GLbyte * pc)
+void
+__glXDispSwap_BindRenderbufferEXT(GLbyte * pc)
{
- CALL_BindRenderbufferEXT( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (GLuint )bswap_CARD32 ( pc + 4 )
- ) );
+ CALL_BindRenderbufferEXT(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ (GLuint) bswap_CARD32(pc + 4)
+ ));
}
-int __glXDispSwap_CheckFramebufferStatusEXT(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_CheckFramebufferStatusEXT(__GLXclientState * cl, GLbyte * pc)
{
- xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc;
+ xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_VENDPRIV_HDR_SIZE;
- if ( cx != NULL ) {
+ if (cx != NULL) {
GLenum retval;
- retval = CALL_CheckFramebufferStatusEXT( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 )
- ) );
+
+ retval = CALL_CheckFramebufferStatusEXT(GET_DISPATCH(), ((GLenum)
+ bswap_ENUM(pc +
+ 0)
+ ));
__glXSendReplySwap(cl->client, dummy_answer, 0, 0, GL_FALSE, retval);
error = Success;
}
@@ -5861,87 +6515,103 @@ int __glXDispSwap_CheckFramebufferStatusEXT(__GLXclientState *cl, GLbyte *pc)
return error;
}
-void __glXDispSwap_DeleteFramebuffersEXT(GLbyte * pc)
+void
+__glXDispSwap_DeleteFramebuffersEXT(GLbyte * pc)
{
- const GLsizei n = (GLsizei )bswap_CARD32 ( pc + 0 );
+ const GLsizei n = (GLsizei) bswap_CARD32(pc + 0);
- CALL_DeleteFramebuffersEXT( GET_DISPATCH(), (
- n,
- (const GLuint *)bswap_32_array( (uint32_t *) (pc + 4), 0 )
- ) );
+ CALL_DeleteFramebuffersEXT(GET_DISPATCH(), (n,
+ (const GLuint *)
+ bswap_32_array((uint32_t *) (pc
+ +
+ 4),
+ 0)
+ ));
}
-void __glXDispSwap_DeleteRenderbuffersEXT(GLbyte * pc)
+void
+__glXDispSwap_DeleteRenderbuffersEXT(GLbyte * pc)
{
- const GLsizei n = (GLsizei )bswap_CARD32 ( pc + 0 );
+ const GLsizei n = (GLsizei) bswap_CARD32(pc + 0);
- CALL_DeleteRenderbuffersEXT( GET_DISPATCH(), (
- n,
- (const GLuint *)bswap_32_array( (uint32_t *) (pc + 4), 0 )
- ) );
+ CALL_DeleteRenderbuffersEXT(GET_DISPATCH(), (n,
+ (const GLuint *)
+ bswap_32_array((uint32_t *) (pc
+ +
+ 4),
+ 0)
+ ));
}
-void __glXDispSwap_FramebufferRenderbufferEXT(GLbyte * pc)
+void
+__glXDispSwap_FramebufferRenderbufferEXT(GLbyte * pc)
{
- CALL_FramebufferRenderbufferEXT( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (GLenum )bswap_ENUM ( pc + 4 ),
- (GLenum )bswap_ENUM ( pc + 8 ),
- (GLuint )bswap_CARD32 ( pc + 12 )
- ) );
+ CALL_FramebufferRenderbufferEXT(GET_DISPATCH(), ((GLenum)
+ bswap_ENUM(pc + 0),
+ (GLenum) bswap_ENUM(pc +
+ 4),
+ (GLenum) bswap_ENUM(pc +
+ 8),
+ (GLuint) bswap_CARD32(pc +
+ 12)
+ ));
}
-void __glXDispSwap_FramebufferTexture1DEXT(GLbyte * pc)
+void
+__glXDispSwap_FramebufferTexture1DEXT(GLbyte * pc)
{
- CALL_FramebufferTexture1DEXT( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (GLenum )bswap_ENUM ( pc + 4 ),
- (GLenum )bswap_ENUM ( pc + 8 ),
- (GLuint )bswap_CARD32 ( pc + 12 ),
- (GLint )bswap_CARD32 ( pc + 16 )
- ) );
+ CALL_FramebufferTexture1DEXT(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ (GLenum) bswap_ENUM(pc + 4),
+ (GLenum) bswap_ENUM(pc + 8),
+ (GLuint) bswap_CARD32(pc +
+ 12),
+ (GLint) bswap_CARD32(pc + 16)
+ ));
}
-void __glXDispSwap_FramebufferTexture2DEXT(GLbyte * pc)
+void
+__glXDispSwap_FramebufferTexture2DEXT(GLbyte * pc)
{
- CALL_FramebufferTexture2DEXT( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (GLenum )bswap_ENUM ( pc + 4 ),
- (GLenum )bswap_ENUM ( pc + 8 ),
- (GLuint )bswap_CARD32 ( pc + 12 ),
- (GLint )bswap_CARD32 ( pc + 16 )
- ) );
+ CALL_FramebufferTexture2DEXT(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ (GLenum) bswap_ENUM(pc + 4),
+ (GLenum) bswap_ENUM(pc + 8),
+ (GLuint) bswap_CARD32(pc +
+ 12),
+ (GLint) bswap_CARD32(pc + 16)
+ ));
}
-void __glXDispSwap_FramebufferTexture3DEXT(GLbyte * pc)
+void
+__glXDispSwap_FramebufferTexture3DEXT(GLbyte * pc)
{
- CALL_FramebufferTexture3DEXT( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (GLenum )bswap_ENUM ( pc + 4 ),
- (GLenum )bswap_ENUM ( pc + 8 ),
- (GLuint )bswap_CARD32 ( pc + 12 ),
- (GLint )bswap_CARD32 ( pc + 16 ),
- (GLint )bswap_CARD32 ( pc + 20 )
- ) );
+ CALL_FramebufferTexture3DEXT(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ (GLenum) bswap_ENUM(pc + 4),
+ (GLenum) bswap_ENUM(pc + 8),
+ (GLuint) bswap_CARD32(pc +
+ 12),
+ (GLint) bswap_CARD32(pc + 16),
+ (GLint) bswap_CARD32(pc + 20)
+ ));
}
-int __glXDispSwap_GenFramebuffersEXT(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_GenFramebuffersEXT(__GLXclientState * cl, GLbyte * pc)
{
- xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc;
+ xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_VENDPRIV_HDR_SIZE;
- if ( cx != NULL ) {
- const GLsizei n = (GLsizei )bswap_CARD32 ( pc + 0 );
+ if (cx != NULL) {
+ const GLsizei n = (GLsizei) bswap_CARD32(pc + 0);
GLuint answerBuffer[200];
- GLuint * framebuffers = __glXGetAnswerBuffer(cl, n * 4, answerBuffer, sizeof(answerBuffer), 4);
- CALL_GenFramebuffersEXT( GET_DISPATCH(), (
- n,
- framebuffers
- ) );
- (void) bswap_32_array( (uint32_t *) framebuffers, n );
+ GLuint *framebuffers =
+ __glXGetAnswerBuffer(cl, n * 4, answerBuffer, sizeof(answerBuffer),
+ 4);
+ CALL_GenFramebuffersEXT(GET_DISPATCH(), (n, framebuffers));
+ (void) bswap_32_array((uint32_t *) framebuffers, n);
__glXSendReplySwap(cl->client, framebuffers, n, 4, GL_TRUE, 0);
error = Success;
}
@@ -5949,23 +6619,24 @@ int __glXDispSwap_GenFramebuffersEXT(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDispSwap_GenRenderbuffersEXT(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_GenRenderbuffersEXT(__GLXclientState * cl, GLbyte * pc)
{
- xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc;
+ xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_VENDPRIV_HDR_SIZE;
- if ( cx != NULL ) {
- const GLsizei n = (GLsizei )bswap_CARD32 ( pc + 0 );
+ if (cx != NULL) {
+ const GLsizei n = (GLsizei) bswap_CARD32(pc + 0);
GLuint answerBuffer[200];
- GLuint * renderbuffers = __glXGetAnswerBuffer(cl, n * 4, answerBuffer, sizeof(answerBuffer), 4);
- CALL_GenRenderbuffersEXT( GET_DISPATCH(), (
- n,
- renderbuffers
- ) );
- (void) bswap_32_array( (uint32_t *) renderbuffers, n );
+ GLuint *renderbuffers =
+ __glXGetAnswerBuffer(cl, n * 4, answerBuffer, sizeof(answerBuffer),
+ 4);
+ CALL_GenRenderbuffersEXT(GET_DISPATCH(), (n, renderbuffers));
+ (void) bswap_32_array((uint32_t *) renderbuffers, n);
__glXSendReplySwap(cl->client, renderbuffers, n, 4, GL_TRUE, 0);
error = Success;
}
@@ -5973,29 +6644,37 @@ int __glXDispSwap_GenRenderbuffersEXT(__GLXclientState *cl, GLbyte *pc)
return error;
}
-void __glXDispSwap_GenerateMipmapEXT(GLbyte * pc)
+void
+__glXDispSwap_GenerateMipmapEXT(GLbyte * pc)
{
- CALL_GenerateMipmapEXT( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 )
- ) );
+ CALL_GenerateMipmapEXT(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0)
+ ));
}
-int __glXDispSwap_GetFramebufferAttachmentParameterivEXT(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_GetFramebufferAttachmentParameterivEXT(__GLXclientState * cl,
+ GLbyte * pc)
{
- xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc;
+ xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_VENDPRIV_HDR_SIZE;
- if ( cx != NULL ) {
+ if (cx != NULL) {
GLint params[1];
- CALL_GetFramebufferAttachmentParameterivEXT( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (GLenum )bswap_ENUM ( pc + 4 ),
- (GLenum )bswap_ENUM ( pc + 8 ),
- params
- ) );
- (void) bswap_32_array( (uint32_t *) params, 1 );
+
+ CALL_GetFramebufferAttachmentParameterivEXT(GET_DISPATCH(), ((GLenum)
+ bswap_ENUM
+ (pc + 0),
+ (GLenum)
+ bswap_ENUM
+ (pc + 4),
+ (GLenum)
+ bswap_ENUM
+ (pc + 8),
+ params));
+ (void) bswap_32_array((uint32_t *) params, 1);
__glXSendReplySwap(cl->client, params, 1, 4, GL_FALSE, 0);
error = Success;
}
@@ -6003,21 +6682,24 @@ int __glXDispSwap_GetFramebufferAttachmentParameterivEXT(__GLXclientState *cl, G
return error;
}
-int __glXDispSwap_GetRenderbufferParameterivEXT(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_GetRenderbufferParameterivEXT(__GLXclientState * cl, GLbyte * pc)
{
- xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc;
+ xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_VENDPRIV_HDR_SIZE;
- if ( cx != NULL ) {
+ if (cx != NULL) {
GLint params[1];
- CALL_GetRenderbufferParameterivEXT( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (GLenum )bswap_ENUM ( pc + 4 ),
- params
- ) );
- (void) bswap_32_array( (uint32_t *) params, 1 );
+
+ CALL_GetRenderbufferParameterivEXT(GET_DISPATCH(), ((GLenum)
+ bswap_ENUM(pc + 0),
+ (GLenum)
+ bswap_ENUM(pc + 4),
+ params));
+ (void) bswap_32_array((uint32_t *) params, 1);
__glXSendReplySwap(cl->client, params, 1, 4, GL_FALSE, 0);
error = Success;
}
@@ -6025,18 +6707,21 @@ int __glXDispSwap_GetRenderbufferParameterivEXT(__GLXclientState *cl, GLbyte *pc
return error;
}
-int __glXDispSwap_IsFramebufferEXT(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_IsFramebufferEXT(__GLXclientState * cl, GLbyte * pc)
{
- xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc;
+ xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_VENDPRIV_HDR_SIZE;
- if ( cx != NULL ) {
+ if (cx != NULL) {
GLboolean retval;
- retval = CALL_IsFramebufferEXT( GET_DISPATCH(), (
- (GLuint )bswap_CARD32 ( pc + 0 )
- ) );
+
+ retval = CALL_IsFramebufferEXT(GET_DISPATCH(), ((GLuint)
+ bswap_CARD32(pc + 0)
+ ));
__glXSendReplySwap(cl->client, dummy_answer, 0, 0, GL_FALSE, retval);
error = Success;
}
@@ -6044,18 +6729,21 @@ int __glXDispSwap_IsFramebufferEXT(__GLXclientState *cl, GLbyte *pc)
return error;
}
-int __glXDispSwap_IsRenderbufferEXT(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_IsRenderbufferEXT(__GLXclientState * cl, GLbyte * pc)
{
- xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc;
+ xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, bswap_CARD32( &req->contextTag ), &error);
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_CARD32(&req->contextTag), &error);
pc += __GLX_VENDPRIV_HDR_SIZE;
- if ( cx != NULL ) {
+ if (cx != NULL) {
GLboolean retval;
- retval = CALL_IsRenderbufferEXT( GET_DISPATCH(), (
- (GLuint )bswap_CARD32 ( pc + 0 )
- ) );
+
+ retval = CALL_IsRenderbufferEXT(GET_DISPATCH(), ((GLuint)
+ bswap_CARD32(pc + 0)
+ ));
__glXSendReplySwap(cl->client, dummy_answer, 0, 0, GL_FALSE, retval);
error = Success;
}
@@ -6063,40 +6751,44 @@ int __glXDispSwap_IsRenderbufferEXT(__GLXclientState *cl, GLbyte *pc)
return error;
}
-void __glXDispSwap_RenderbufferStorageEXT(GLbyte * pc)
+void
+__glXDispSwap_RenderbufferStorageEXT(GLbyte * pc)
{
- CALL_RenderbufferStorageEXT( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (GLenum )bswap_ENUM ( pc + 4 ),
- (GLsizei )bswap_CARD32 ( pc + 8 ),
- (GLsizei )bswap_CARD32 ( pc + 12 )
- ) );
+ CALL_RenderbufferStorageEXT(GET_DISPATCH(), ((GLenum) bswap_ENUM(pc + 0),
+ (GLenum) bswap_ENUM(pc + 4),
+ (GLsizei) bswap_CARD32(pc + 8),
+ (GLsizei) bswap_CARD32(pc + 12)
+ ));
}
-void __glXDispSwap_BlitFramebufferEXT(GLbyte * pc)
+void
+__glXDispSwap_BlitFramebufferEXT(GLbyte * pc)
{
- CALL_BlitFramebufferEXT( GET_DISPATCH(), (
- (GLint )bswap_CARD32 ( pc + 0 ),
- (GLint )bswap_CARD32 ( pc + 4 ),
- (GLint )bswap_CARD32 ( pc + 8 ),
- (GLint )bswap_CARD32 ( pc + 12 ),
- (GLint )bswap_CARD32 ( pc + 16 ),
- (GLint )bswap_CARD32 ( pc + 20 ),
- (GLint )bswap_CARD32 ( pc + 24 ),
- (GLint )bswap_CARD32 ( pc + 28 ),
- (GLbitfield)bswap_CARD32 ( pc + 32 ),
- (GLenum )bswap_ENUM ( pc + 36 )
- ) );
+ CALL_BlitFramebufferEXT(GET_DISPATCH(), ((GLint) bswap_CARD32(pc + 0),
+ (GLint) bswap_CARD32(pc + 4),
+ (GLint) bswap_CARD32(pc + 8),
+ (GLint) bswap_CARD32(pc + 12),
+ (GLint) bswap_CARD32(pc + 16),
+ (GLint) bswap_CARD32(pc + 20),
+ (GLint) bswap_CARD32(pc + 24),
+ (GLint) bswap_CARD32(pc + 28),
+ (GLbitfield) bswap_CARD32(pc + 32),
+ (GLenum) bswap_ENUM(pc + 36)
+ ));
}
-void __glXDispSwap_FramebufferTextureLayerEXT(GLbyte * pc)
+void
+__glXDispSwap_FramebufferTextureLayerEXT(GLbyte * pc)
{
- CALL_FramebufferTextureLayerEXT( GET_DISPATCH(), (
- (GLenum )bswap_ENUM ( pc + 0 ),
- (GLenum )bswap_ENUM ( pc + 4 ),
- (GLuint )bswap_CARD32 ( pc + 8 ),
- (GLint )bswap_CARD32 ( pc + 12 ),
- (GLint )bswap_CARD32 ( pc + 16 )
- ) );
+ CALL_FramebufferTextureLayerEXT(GET_DISPATCH(), ((GLenum)
+ bswap_ENUM(pc + 0),
+ (GLenum) bswap_ENUM(pc +
+ 4),
+ (GLuint) bswap_CARD32(pc +
+ 8),
+ (GLint) bswap_CARD32(pc +
+ 12),
+ (GLint) bswap_CARD32(pc +
+ 16)
+ ));
}
-
diff --git a/glx/indirect_program.c b/glx/indirect_program.c
index fbf9d3fed..3b50ecd53 100644
--- a/glx/indirect_program.c
+++ b/glx/indirect_program.c
@@ -45,9 +45,9 @@
#include "glthread.h"
#include "dispatch.h"
-static int DoGetProgramString(struct __GLXclientStateRec *cl, GLbyte *pc,
- unsigned get_programiv_offset, unsigned get_program_string_offset,
- Bool do_swap);
+static int DoGetProgramString(struct __GLXclientStateRec *cl, GLbyte * pc,
+ unsigned get_programiv_offset,
+ unsigned get_program_string_offset, Bool do_swap);
/**
* Handle both types of glGetProgramString calls.
@@ -58,91 +58,92 @@ static int DoGetProgramString(struct __GLXclientStateRec *cl, GLbyte *pc,
* caller. These can be the offsets of either the ARB versions or the NV
* versions.
*/
-int DoGetProgramString(struct __GLXclientStateRec *cl, GLbyte *pc,
- unsigned get_programiv_offset,
- unsigned get_program_string_offset,
- Bool do_swap)
+int
+DoGetProgramString(struct __GLXclientStateRec *cl, GLbyte * pc,
+ unsigned get_programiv_offset,
+ unsigned get_program_string_offset, Bool do_swap)
{
- xGLXVendorPrivateWithReplyReq * const req =
- (xGLXVendorPrivateWithReplyReq *) pc;
+ xGLXVendorPrivateWithReplyReq *const req =
+ (xGLXVendorPrivateWithReplyReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent(cl, req->contextTag, & error);
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
ClientPtr client = cl->client;
-
pc += __GLX_VENDPRIV_HDR_SIZE;
if (cx != NULL) {
- GLenum target;
- GLenum pname;
- GLint compsize = 0;
- char *answer = NULL, answerBuffer[200];
-
- if (do_swap) {
- target = (GLenum) bswap_32(*(int *)(pc + 0));
- pname = (GLenum) bswap_32(*(int *)(pc + 4));
- }
- else {
- target = *(GLenum *)(pc + 0);
- pname = *(GLuint *)(pc + 4);
- }
-
- /* The value of the GL_PROGRAM_LENGTH_ARB and GL_PROGRAM_LENGTH_NV
- * enumerants is the same.
- */
- CALL_by_offset(GET_DISPATCH(),
- (void (GLAPIENTRYP)(GLuint, GLenum, GLint *)),
- get_programiv_offset,
- (target, GL_PROGRAM_LENGTH_ARB, &compsize));
-
- if (compsize != 0) {
- __GLX_GET_ANSWER_BUFFER(answer,cl,compsize,1);
- __glXClearErrorOccured();
-
- CALL_by_offset(GET_DISPATCH(),
- (void (GLAPIENTRYP)(GLuint, GLenum, GLubyte *)),
- get_program_string_offset,
- (target, pname, (GLubyte *)answer));
- }
-
- if (__glXErrorOccured()) {
- __GLX_BEGIN_REPLY(0);
- __GLX_SEND_HEADER();
- } else {
- __GLX_BEGIN_REPLY(compsize);
- ((xGLXGetTexImageReply *)&__glXReply)->width = compsize;
- __GLX_SEND_HEADER();
- __GLX_SEND_VOID_ARRAY(compsize);
- }
-
- error = Success;
+ GLenum target;
+ GLenum pname;
+ GLint compsize = 0;
+ char *answer = NULL, answerBuffer[200];
+
+ if (do_swap) {
+ target = (GLenum) bswap_32(*(int *) (pc + 0));
+ pname = (GLenum) bswap_32(*(int *) (pc + 4));
+ }
+ else {
+ target = *(GLenum *) (pc + 0);
+ pname = *(GLuint *) (pc + 4);
+ }
+
+ /* The value of the GL_PROGRAM_LENGTH_ARB and GL_PROGRAM_LENGTH_NV
+ * enumerants is the same.
+ */
+ CALL_by_offset(GET_DISPATCH(),
+ (void (GLAPIENTRYP) (GLuint, GLenum, GLint *)),
+ get_programiv_offset,
+ (target, GL_PROGRAM_LENGTH_ARB, &compsize));
+
+ if (compsize != 0) {
+ __GLX_GET_ANSWER_BUFFER(answer, cl, compsize, 1);
+ __glXClearErrorOccured();
+
+ CALL_by_offset(GET_DISPATCH(),
+ (void (GLAPIENTRYP) (GLuint, GLenum, GLubyte *)),
+ get_program_string_offset,
+ (target, pname, (GLubyte *) answer));
+ }
+
+ if (__glXErrorOccured()) {
+ __GLX_BEGIN_REPLY(0);
+ __GLX_SEND_HEADER();
+ }
+ else {
+ __GLX_BEGIN_REPLY(compsize);
+ ((xGLXGetTexImageReply *) & __glXReply)->width = compsize;
+ __GLX_SEND_HEADER();
+ __GLX_SEND_VOID_ARRAY(compsize);
+ }
+
+ error = Success;
}
return error;
}
-int __glXDisp_GetProgramStringARB(struct __GLXclientStateRec *cl, GLbyte *pc)
+int
+__glXDisp_GetProgramStringARB(struct __GLXclientStateRec *cl, GLbyte * pc)
{
return DoGetProgramString(cl, pc, _gloffset_GetProgramivARB,
- _gloffset_GetProgramStringARB, False);
+ _gloffset_GetProgramStringARB, False);
}
-
-int __glXDispSwap_GetProgramStringARB(struct __GLXclientStateRec *cl, GLbyte *pc)
+int
+__glXDispSwap_GetProgramStringARB(struct __GLXclientStateRec *cl, GLbyte * pc)
{
return DoGetProgramString(cl, pc, _gloffset_GetProgramivARB,
- _gloffset_GetProgramStringARB, True);
+ _gloffset_GetProgramStringARB, True);
}
-
-int __glXDisp_GetProgramStringNV(struct __GLXclientStateRec *cl, GLbyte *pc)
+int
+__glXDisp_GetProgramStringNV(struct __GLXclientStateRec *cl, GLbyte * pc)
{
return DoGetProgramString(cl, pc, _gloffset_GetProgramivNV,
- _gloffset_GetProgramStringNV, False);
+ _gloffset_GetProgramStringNV, False);
}
-
-int __glXDispSwap_GetProgramStringNV(struct __GLXclientStateRec *cl, GLbyte *pc)
+int
+__glXDispSwap_GetProgramStringNV(struct __GLXclientStateRec *cl, GLbyte * pc)
{
return DoGetProgramString(cl, pc, _gloffset_GetProgramivNV,
- _gloffset_GetProgramStringNV, True);
+ _gloffset_GetProgramStringNV, True);
}
diff --git a/glx/indirect_reqsize.c b/glx/indirect_reqsize.c
index 20e2a5de1..86ea9700f 100644
--- a/glx/indirect_reqsize.c
+++ b/glx/indirect_reqsize.c
@@ -25,7 +25,6 @@
* SOFTWARE.
*/
-
#include <GL/gl.h>
#include "glxserver.h"
#include "glxbyteorder.h"
@@ -48,9 +47,8 @@
{ return __glX ## to ## ReqSize( pc, swap ); }
#endif
-
int
-__glXCallListsReqSize(const GLbyte *pc, Bool swap)
+__glXCallListsReqSize(const GLbyte * pc, Bool swap)
{
GLsizei n = *(GLsizei *) (pc + 0);
GLenum type = *(GLenum *) (pc + 4);
@@ -66,7 +64,7 @@ __glXCallListsReqSize(const GLbyte *pc, Bool swap)
}
int
-__glXBitmapReqSize(const GLbyte *pc, Bool swap)
+__glXBitmapReqSize(const GLbyte * pc, Bool swap)
{
GLint row_length = *(GLint *) (pc + 4);
GLint image_height = 0;
@@ -90,7 +88,7 @@ __glXBitmapReqSize(const GLbyte *pc, Bool swap)
}
int
-__glXFogfvReqSize(const GLbyte *pc, Bool swap)
+__glXFogfvReqSize(const GLbyte * pc, Bool swap)
{
GLenum pname = *(GLenum *) (pc + 0);
GLsizei compsize;
@@ -104,7 +102,7 @@ __glXFogfvReqSize(const GLbyte *pc, Bool swap)
}
int
-__glXLightfvReqSize(const GLbyte *pc, Bool swap)
+__glXLightfvReqSize(const GLbyte * pc, Bool swap)
{
GLenum pname = *(GLenum *) (pc + 4);
GLsizei compsize;
@@ -118,7 +116,7 @@ __glXLightfvReqSize(const GLbyte *pc, Bool swap)
}
int
-__glXLightModelfvReqSize(const GLbyte *pc, Bool swap)
+__glXLightModelfvReqSize(const GLbyte * pc, Bool swap)
{
GLenum pname = *(GLenum *) (pc + 0);
GLsizei compsize;
@@ -132,7 +130,7 @@ __glXLightModelfvReqSize(const GLbyte *pc, Bool swap)
}
int
-__glXMaterialfvReqSize(const GLbyte *pc, Bool swap)
+__glXMaterialfvReqSize(const GLbyte * pc, Bool swap)
{
GLenum pname = *(GLenum *) (pc + 4);
GLsizei compsize;
@@ -146,7 +144,7 @@ __glXMaterialfvReqSize(const GLbyte *pc, Bool swap)
}
int
-__glXPolygonStippleReqSize(const GLbyte *pc, Bool swap)
+__glXPolygonStippleReqSize(const GLbyte * pc, Bool swap)
{
GLint row_length = *(GLint *) (pc + 4);
GLint image_height = 0;
@@ -166,7 +164,7 @@ __glXPolygonStippleReqSize(const GLbyte *pc, Bool swap)
}
int
-__glXTexParameterfvReqSize(const GLbyte *pc, Bool swap)
+__glXTexParameterfvReqSize(const GLbyte * pc, Bool swap)
{
GLenum pname = *(GLenum *) (pc + 4);
GLsizei compsize;
@@ -180,7 +178,7 @@ __glXTexParameterfvReqSize(const GLbyte *pc, Bool swap)
}
int
-__glXTexImage1DReqSize(const GLbyte *pc, Bool swap)
+__glXTexImage1DReqSize(const GLbyte * pc, Bool swap)
{
GLint row_length = *(GLint *) (pc + 4);
GLint image_height = 0;
@@ -208,7 +206,7 @@ __glXTexImage1DReqSize(const GLbyte *pc, Bool swap)
}
int
-__glXTexImage2DReqSize(const GLbyte *pc, Bool swap)
+__glXTexImage2DReqSize(const GLbyte * pc, Bool swap)
{
GLint row_length = *(GLint *) (pc + 4);
GLint image_height = 0;
@@ -238,7 +236,7 @@ __glXTexImage2DReqSize(const GLbyte *pc, Bool swap)
}
int
-__glXTexEnvfvReqSize(const GLbyte *pc, Bool swap)
+__glXTexEnvfvReqSize(const GLbyte * pc, Bool swap)
{
GLenum pname = *(GLenum *) (pc + 4);
GLsizei compsize;
@@ -252,7 +250,7 @@ __glXTexEnvfvReqSize(const GLbyte *pc, Bool swap)
}
int
-__glXTexGendvReqSize(const GLbyte *pc, Bool swap)
+__glXTexGendvReqSize(const GLbyte * pc, Bool swap)
{
GLenum pname = *(GLenum *) (pc + 4);
GLsizei compsize;
@@ -266,7 +264,7 @@ __glXTexGendvReqSize(const GLbyte *pc, Bool swap)
}
int
-__glXTexGenfvReqSize(const GLbyte *pc, Bool swap)
+__glXTexGenfvReqSize(const GLbyte * pc, Bool swap)
{
GLenum pname = *(GLenum *) (pc + 4);
GLsizei compsize;
@@ -280,7 +278,7 @@ __glXTexGenfvReqSize(const GLbyte *pc, Bool swap)
}
int
-__glXPixelMapfvReqSize(const GLbyte *pc, Bool swap)
+__glXPixelMapfvReqSize(const GLbyte * pc, Bool swap)
{
GLsizei mapsize = *(GLsizei *) (pc + 4);
@@ -292,7 +290,7 @@ __glXPixelMapfvReqSize(const GLbyte *pc, Bool swap)
}
int
-__glXPixelMapusvReqSize(const GLbyte *pc, Bool swap)
+__glXPixelMapusvReqSize(const GLbyte * pc, Bool swap)
{
GLsizei mapsize = *(GLsizei *) (pc + 4);
@@ -304,7 +302,7 @@ __glXPixelMapusvReqSize(const GLbyte *pc, Bool swap)
}
int
-__glXDrawPixelsReqSize(const GLbyte *pc, Bool swap)
+__glXDrawPixelsReqSize(const GLbyte * pc, Bool swap)
{
GLint row_length = *(GLint *) (pc + 4);
GLint image_height = 0;
@@ -332,7 +330,7 @@ __glXDrawPixelsReqSize(const GLbyte *pc, Bool swap)
}
int
-__glXPrioritizeTexturesReqSize(const GLbyte *pc, Bool swap)
+__glXPrioritizeTexturesReqSize(const GLbyte * pc, Bool swap)
{
GLsizei n = *(GLsizei *) (pc + 0);
@@ -344,7 +342,7 @@ __glXPrioritizeTexturesReqSize(const GLbyte *pc, Bool swap)
}
int
-__glXTexSubImage1DReqSize(const GLbyte *pc, Bool swap)
+__glXTexSubImage1DReqSize(const GLbyte * pc, Bool swap)
{
GLint row_length = *(GLint *) (pc + 4);
GLint image_height = 0;
@@ -372,7 +370,7 @@ __glXTexSubImage1DReqSize(const GLbyte *pc, Bool swap)
}
int
-__glXTexSubImage2DReqSize(const GLbyte *pc, Bool swap)
+__glXTexSubImage2DReqSize(const GLbyte * pc, Bool swap)
{
GLint row_length = *(GLint *) (pc + 4);
GLint image_height = 0;
@@ -402,7 +400,7 @@ __glXTexSubImage2DReqSize(const GLbyte *pc, Bool swap)
}
int
-__glXColorTableReqSize(const GLbyte *pc, Bool swap)
+__glXColorTableReqSize(const GLbyte * pc, Bool swap)
{
GLint row_length = *(GLint *) (pc + 4);
GLint image_height = 0;
@@ -430,7 +428,7 @@ __glXColorTableReqSize(const GLbyte *pc, Bool swap)
}
int
-__glXColorTableParameterfvReqSize(const GLbyte *pc, Bool swap)
+__glXColorTableParameterfvReqSize(const GLbyte * pc, Bool swap)
{
GLenum pname = *(GLenum *) (pc + 4);
GLsizei compsize;
@@ -444,7 +442,7 @@ __glXColorTableParameterfvReqSize(const GLbyte *pc, Bool swap)
}
int
-__glXColorSubTableReqSize(const GLbyte *pc, Bool swap)
+__glXColorSubTableReqSize(const GLbyte * pc, Bool swap)
{
GLint row_length = *(GLint *) (pc + 4);
GLint image_height = 0;
@@ -472,7 +470,7 @@ __glXColorSubTableReqSize(const GLbyte *pc, Bool swap)
}
int
-__glXConvolutionFilter1DReqSize(const GLbyte *pc, Bool swap)
+__glXConvolutionFilter1DReqSize(const GLbyte * pc, Bool swap)
{
GLint row_length = *(GLint *) (pc + 4);
GLint image_height = 0;
@@ -500,7 +498,7 @@ __glXConvolutionFilter1DReqSize(const GLbyte *pc, Bool swap)
}
int
-__glXConvolutionFilter2DReqSize(const GLbyte *pc, Bool swap)
+__glXConvolutionFilter2DReqSize(const GLbyte * pc, Bool swap)
{
GLint row_length = *(GLint *) (pc + 4);
GLint image_height = 0;
@@ -530,7 +528,7 @@ __glXConvolutionFilter2DReqSize(const GLbyte *pc, Bool swap)
}
int
-__glXConvolutionParameterfvReqSize(const GLbyte *pc, Bool swap)
+__glXConvolutionParameterfvReqSize(const GLbyte * pc, Bool swap)
{
GLenum pname = *(GLenum *) (pc + 4);
GLsizei compsize;
@@ -544,7 +542,7 @@ __glXConvolutionParameterfvReqSize(const GLbyte *pc, Bool swap)
}
int
-__glXTexImage3DReqSize(const GLbyte *pc, Bool swap)
+__glXTexImage3DReqSize(const GLbyte * pc, Bool swap)
{
GLint row_length = *(GLint *) (pc + 4);
GLint image_height = *(GLint *) (pc + 8);
@@ -581,7 +579,7 @@ __glXTexImage3DReqSize(const GLbyte *pc, Bool swap)
}
int
-__glXTexSubImage3DReqSize(const GLbyte *pc, Bool swap)
+__glXTexSubImage3DReqSize(const GLbyte * pc, Bool swap)
{
GLint row_length = *(GLint *) (pc + 4);
GLint image_height = *(GLint *) (pc + 8);
@@ -615,7 +613,7 @@ __glXTexSubImage3DReqSize(const GLbyte *pc, Bool swap)
}
int
-__glXCompressedTexImage1DARBReqSize(const GLbyte *pc, Bool swap)
+__glXCompressedTexImage1DARBReqSize(const GLbyte * pc, Bool swap)
{
GLsizei imageSize = *(GLsizei *) (pc + 20);
@@ -627,7 +625,7 @@ __glXCompressedTexImage1DARBReqSize(const GLbyte *pc, Bool swap)
}
int
-__glXCompressedTexImage2DARBReqSize(const GLbyte *pc, Bool swap)
+__glXCompressedTexImage2DARBReqSize(const GLbyte * pc, Bool swap)
{
GLsizei imageSize = *(GLsizei *) (pc + 24);
@@ -639,7 +637,7 @@ __glXCompressedTexImage2DARBReqSize(const GLbyte *pc, Bool swap)
}
int
-__glXCompressedTexImage3DARBReqSize(const GLbyte *pc, Bool swap)
+__glXCompressedTexImage3DARBReqSize(const GLbyte * pc, Bool swap)
{
GLsizei imageSize = *(GLsizei *) (pc + 28);
@@ -651,7 +649,7 @@ __glXCompressedTexImage3DARBReqSize(const GLbyte *pc, Bool swap)
}
int
-__glXCompressedTexSubImage3DARBReqSize(const GLbyte *pc, Bool swap)
+__glXCompressedTexSubImage3DARBReqSize(const GLbyte * pc, Bool swap)
{
GLsizei imageSize = *(GLsizei *) (pc + 36);
@@ -663,7 +661,7 @@ __glXCompressedTexSubImage3DARBReqSize(const GLbyte *pc, Bool swap)
}
int
-__glXProgramStringARBReqSize(const GLbyte *pc, Bool swap)
+__glXProgramStringARBReqSize(const GLbyte * pc, Bool swap)
{
GLsizei len = *(GLsizei *) (pc + 8);
@@ -675,7 +673,7 @@ __glXProgramStringARBReqSize(const GLbyte *pc, Bool swap)
}
int
-__glXDrawBuffersARBReqSize(const GLbyte *pc, Bool swap)
+__glXDrawBuffersARBReqSize(const GLbyte * pc, Bool swap)
{
GLsizei n = *(GLsizei *) (pc + 0);
@@ -687,7 +685,7 @@ __glXDrawBuffersARBReqSize(const GLbyte *pc, Bool swap)
}
int
-__glXPointParameterfvEXTReqSize(const GLbyte *pc, Bool swap)
+__glXPointParameterfvEXTReqSize(const GLbyte * pc, Bool swap)
{
GLenum pname = *(GLenum *) (pc + 0);
GLsizei compsize;
@@ -701,7 +699,7 @@ __glXPointParameterfvEXTReqSize(const GLbyte *pc, Bool swap)
}
int
-__glXProgramParameters4dvNVReqSize(const GLbyte *pc, Bool swap)
+__glXProgramParameters4dvNVReqSize(const GLbyte * pc, Bool swap)
{
GLsizei num = *(GLsizei *) (pc + 8);
@@ -713,7 +711,7 @@ __glXProgramParameters4dvNVReqSize(const GLbyte *pc, Bool swap)
}
int
-__glXProgramParameters4fvNVReqSize(const GLbyte *pc, Bool swap)
+__glXProgramParameters4fvNVReqSize(const GLbyte * pc, Bool swap)
{
GLsizei num = *(GLsizei *) (pc + 8);
@@ -725,7 +723,7 @@ __glXProgramParameters4fvNVReqSize(const GLbyte *pc, Bool swap)
}
int
-__glXVertexAttribs1dvNVReqSize(const GLbyte *pc, Bool swap)
+__glXVertexAttribs1dvNVReqSize(const GLbyte * pc, Bool swap)
{
GLsizei n = *(GLsizei *) (pc + 4);
@@ -737,7 +735,7 @@ __glXVertexAttribs1dvNVReqSize(const GLbyte *pc, Bool swap)
}
int
-__glXVertexAttribs2dvNVReqSize(const GLbyte *pc, Bool swap)
+__glXVertexAttribs2dvNVReqSize(const GLbyte * pc, Bool swap)
{
GLsizei n = *(GLsizei *) (pc + 4);
@@ -749,7 +747,7 @@ __glXVertexAttribs2dvNVReqSize(const GLbyte *pc, Bool swap)
}
int
-__glXVertexAttribs3dvNVReqSize(const GLbyte *pc, Bool swap)
+__glXVertexAttribs3dvNVReqSize(const GLbyte * pc, Bool swap)
{
GLsizei n = *(GLsizei *) (pc + 4);
@@ -761,7 +759,7 @@ __glXVertexAttribs3dvNVReqSize(const GLbyte *pc, Bool swap)
}
int
-__glXVertexAttribs3fvNVReqSize(const GLbyte *pc, Bool swap)
+__glXVertexAttribs3fvNVReqSize(const GLbyte * pc, Bool swap)
{
GLsizei n = *(GLsizei *) (pc + 4);
@@ -773,7 +771,7 @@ __glXVertexAttribs3fvNVReqSize(const GLbyte *pc, Bool swap)
}
int
-__glXVertexAttribs3svNVReqSize(const GLbyte *pc, Bool swap)
+__glXVertexAttribs3svNVReqSize(const GLbyte * pc, Bool swap)
{
GLsizei n = *(GLsizei *) (pc + 4);
@@ -785,7 +783,7 @@ __glXVertexAttribs3svNVReqSize(const GLbyte *pc, Bool swap)
}
int
-__glXVertexAttribs4dvNVReqSize(const GLbyte *pc, Bool swap)
+__glXVertexAttribs4dvNVReqSize(const GLbyte * pc, Bool swap)
{
GLsizei n = *(GLsizei *) (pc + 4);
@@ -797,7 +795,7 @@ __glXVertexAttribs4dvNVReqSize(const GLbyte *pc, Bool swap)
}
int
-__glXProgramNamedParameter4fvNVReqSize(const GLbyte *pc, Bool swap)
+__glXProgramNamedParameter4fvNVReqSize(const GLbyte * pc, Bool swap)
{
GLsizei len = *(GLsizei *) (pc + 4);
diff --git a/glx/indirect_reqsize.h b/glx/indirect_reqsize.h
index e3515e0b5..d2c1da762 100644
--- a/glx/indirect_reqsize.h
+++ b/glx/indirect_reqsize.h
@@ -36,81 +36,129 @@
#define PURE
#endif
-extern PURE _X_HIDDEN int __glXCallListsReqSize(const GLbyte *pc, Bool swap);
-extern PURE _X_HIDDEN int __glXBitmapReqSize(const GLbyte *pc, Bool swap);
-extern PURE _X_HIDDEN int __glXFogfvReqSize(const GLbyte *pc, Bool swap);
-extern PURE _X_HIDDEN int __glXFogivReqSize(const GLbyte *pc, Bool swap);
-extern PURE _X_HIDDEN int __glXLightfvReqSize(const GLbyte *pc, Bool swap);
-extern PURE _X_HIDDEN int __glXLightivReqSize(const GLbyte *pc, Bool swap);
-extern PURE _X_HIDDEN int __glXLightModelfvReqSize(const GLbyte *pc, Bool swap);
-extern PURE _X_HIDDEN int __glXLightModelivReqSize(const GLbyte *pc, Bool swap);
-extern PURE _X_HIDDEN int __glXMaterialfvReqSize(const GLbyte *pc, Bool swap);
-extern PURE _X_HIDDEN int __glXMaterialivReqSize(const GLbyte *pc, Bool swap);
-extern PURE _X_HIDDEN int __glXPolygonStippleReqSize(const GLbyte *pc, Bool swap);
-extern PURE _X_HIDDEN int __glXTexParameterfvReqSize(const GLbyte *pc, Bool swap);
-extern PURE _X_HIDDEN int __glXTexParameterivReqSize(const GLbyte *pc, Bool swap);
-extern PURE _X_HIDDEN int __glXTexImage1DReqSize(const GLbyte *pc, Bool swap);
-extern PURE _X_HIDDEN int __glXTexImage2DReqSize(const GLbyte *pc, Bool swap);
-extern PURE _X_HIDDEN int __glXTexEnvfvReqSize(const GLbyte *pc, Bool swap);
-extern PURE _X_HIDDEN int __glXTexEnvivReqSize(const GLbyte *pc, Bool swap);
-extern PURE _X_HIDDEN int __glXTexGendvReqSize(const GLbyte *pc, Bool swap);
-extern PURE _X_HIDDEN int __glXTexGenfvReqSize(const GLbyte *pc, Bool swap);
-extern PURE _X_HIDDEN int __glXTexGenivReqSize(const GLbyte *pc, Bool swap);
-extern PURE _X_HIDDEN int __glXMap1dReqSize(const GLbyte *pc, Bool swap);
-extern PURE _X_HIDDEN int __glXMap1fReqSize(const GLbyte *pc, Bool swap);
-extern PURE _X_HIDDEN int __glXMap2dReqSize(const GLbyte *pc, Bool swap);
-extern PURE _X_HIDDEN int __glXMap2fReqSize(const GLbyte *pc, Bool swap);
-extern PURE _X_HIDDEN int __glXPixelMapfvReqSize(const GLbyte *pc, Bool swap);
-extern PURE _X_HIDDEN int __glXPixelMapuivReqSize(const GLbyte *pc, Bool swap);
-extern PURE _X_HIDDEN int __glXPixelMapusvReqSize(const GLbyte *pc, Bool swap);
-extern PURE _X_HIDDEN int __glXDrawPixelsReqSize(const GLbyte *pc, Bool swap);
-extern PURE _X_HIDDEN int __glXDrawArraysReqSize(const GLbyte *pc, Bool swap);
-extern PURE _X_HIDDEN int __glXPrioritizeTexturesReqSize(const GLbyte *pc, Bool swap);
-extern PURE _X_HIDDEN int __glXTexSubImage1DReqSize(const GLbyte *pc, Bool swap);
-extern PURE _X_HIDDEN int __glXTexSubImage2DReqSize(const GLbyte *pc, Bool swap);
-extern PURE _X_HIDDEN int __glXColorTableReqSize(const GLbyte *pc, Bool swap);
-extern PURE _X_HIDDEN int __glXColorTableParameterfvReqSize(const GLbyte *pc, Bool swap);
-extern PURE _X_HIDDEN int __glXColorTableParameterivReqSize(const GLbyte *pc, Bool swap);
-extern PURE _X_HIDDEN int __glXColorSubTableReqSize(const GLbyte *pc, Bool swap);
-extern PURE _X_HIDDEN int __glXConvolutionFilter1DReqSize(const GLbyte *pc, Bool swap);
-extern PURE _X_HIDDEN int __glXConvolutionFilter2DReqSize(const GLbyte *pc, Bool swap);
-extern PURE _X_HIDDEN int __glXConvolutionParameterfvReqSize(const GLbyte *pc, Bool swap);
-extern PURE _X_HIDDEN int __glXConvolutionParameterivReqSize(const GLbyte *pc, Bool swap);
-extern PURE _X_HIDDEN int __glXSeparableFilter2DReqSize(const GLbyte *pc, Bool swap);
-extern PURE _X_HIDDEN int __glXTexImage3DReqSize(const GLbyte *pc, Bool swap);
-extern PURE _X_HIDDEN int __glXTexSubImage3DReqSize(const GLbyte *pc, Bool swap);
-extern PURE _X_HIDDEN int __glXCompressedTexImage1DARBReqSize(const GLbyte *pc, Bool swap);
-extern PURE _X_HIDDEN int __glXCompressedTexImage2DARBReqSize(const GLbyte *pc, Bool swap);
-extern PURE _X_HIDDEN int __glXCompressedTexImage3DARBReqSize(const GLbyte *pc, Bool swap);
-extern PURE _X_HIDDEN int __glXCompressedTexSubImage1DARBReqSize(const GLbyte *pc, Bool swap);
-extern PURE _X_HIDDEN int __glXCompressedTexSubImage2DARBReqSize(const GLbyte *pc, Bool swap);
-extern PURE _X_HIDDEN int __glXCompressedTexSubImage3DARBReqSize(const GLbyte *pc, Bool swap);
-extern PURE _X_HIDDEN int __glXProgramStringARBReqSize(const GLbyte *pc, Bool swap);
-extern PURE _X_HIDDEN int __glXDrawBuffersARBReqSize(const GLbyte *pc, Bool swap);
-extern PURE _X_HIDDEN int __glXPointParameterfvEXTReqSize(const GLbyte *pc, Bool swap);
-extern PURE _X_HIDDEN int __glXLoadProgramNVReqSize(const GLbyte *pc, Bool swap);
-extern PURE _X_HIDDEN int __glXProgramParameters4dvNVReqSize(const GLbyte *pc, Bool swap);
-extern PURE _X_HIDDEN int __glXProgramParameters4fvNVReqSize(const GLbyte *pc, Bool swap);
-extern PURE _X_HIDDEN int __glXRequestResidentProgramsNVReqSize(const GLbyte *pc, Bool swap);
-extern PURE _X_HIDDEN int __glXVertexAttribs1dvNVReqSize(const GLbyte *pc, Bool swap);
-extern PURE _X_HIDDEN int __glXVertexAttribs1fvNVReqSize(const GLbyte *pc, Bool swap);
-extern PURE _X_HIDDEN int __glXVertexAttribs1svNVReqSize(const GLbyte *pc, Bool swap);
-extern PURE _X_HIDDEN int __glXVertexAttribs2dvNVReqSize(const GLbyte *pc, Bool swap);
-extern PURE _X_HIDDEN int __glXVertexAttribs2fvNVReqSize(const GLbyte *pc, Bool swap);
-extern PURE _X_HIDDEN int __glXVertexAttribs2svNVReqSize(const GLbyte *pc, Bool swap);
-extern PURE _X_HIDDEN int __glXVertexAttribs3dvNVReqSize(const GLbyte *pc, Bool swap);
-extern PURE _X_HIDDEN int __glXVertexAttribs3fvNVReqSize(const GLbyte *pc, Bool swap);
-extern PURE _X_HIDDEN int __glXVertexAttribs3svNVReqSize(const GLbyte *pc, Bool swap);
-extern PURE _X_HIDDEN int __glXVertexAttribs4dvNVReqSize(const GLbyte *pc, Bool swap);
-extern PURE _X_HIDDEN int __glXVertexAttribs4fvNVReqSize(const GLbyte *pc, Bool swap);
-extern PURE _X_HIDDEN int __glXVertexAttribs4svNVReqSize(const GLbyte *pc, Bool swap);
-extern PURE _X_HIDDEN int __glXVertexAttribs4ubvNVReqSize(const GLbyte *pc, Bool swap);
-extern PURE _X_HIDDEN int __glXPointParameterivNVReqSize(const GLbyte *pc, Bool swap);
-extern PURE _X_HIDDEN int __glXProgramNamedParameter4dvNVReqSize(const GLbyte *pc, Bool swap);
-extern PURE _X_HIDDEN int __glXProgramNamedParameter4fvNVReqSize(const GLbyte *pc, Bool swap);
-extern PURE _X_HIDDEN int __glXDeleteFramebuffersEXTReqSize(const GLbyte *pc, Bool swap);
-extern PURE _X_HIDDEN int __glXDeleteRenderbuffersEXTReqSize(const GLbyte *pc, Bool swap);
+extern PURE _X_HIDDEN int __glXCallListsReqSize(const GLbyte * pc, Bool swap);
+extern PURE _X_HIDDEN int __glXBitmapReqSize(const GLbyte * pc, Bool swap);
+extern PURE _X_HIDDEN int __glXFogfvReqSize(const GLbyte * pc, Bool swap);
+extern PURE _X_HIDDEN int __glXFogivReqSize(const GLbyte * pc, Bool swap);
+extern PURE _X_HIDDEN int __glXLightfvReqSize(const GLbyte * pc, Bool swap);
+extern PURE _X_HIDDEN int __glXLightivReqSize(const GLbyte * pc, Bool swap);
+extern PURE _X_HIDDEN int __glXLightModelfvReqSize(const GLbyte * pc,
+ Bool swap);
+extern PURE _X_HIDDEN int __glXLightModelivReqSize(const GLbyte * pc,
+ Bool swap);
+extern PURE _X_HIDDEN int __glXMaterialfvReqSize(const GLbyte * pc, Bool swap);
+extern PURE _X_HIDDEN int __glXMaterialivReqSize(const GLbyte * pc, Bool swap);
+extern PURE _X_HIDDEN int __glXPolygonStippleReqSize(const GLbyte * pc,
+ Bool swap);
+extern PURE _X_HIDDEN int __glXTexParameterfvReqSize(const GLbyte * pc,
+ Bool swap);
+extern PURE _X_HIDDEN int __glXTexParameterivReqSize(const GLbyte * pc,
+ Bool swap);
+extern PURE _X_HIDDEN int __glXTexImage1DReqSize(const GLbyte * pc, Bool swap);
+extern PURE _X_HIDDEN int __glXTexImage2DReqSize(const GLbyte * pc, Bool swap);
+extern PURE _X_HIDDEN int __glXTexEnvfvReqSize(const GLbyte * pc, Bool swap);
+extern PURE _X_HIDDEN int __glXTexEnvivReqSize(const GLbyte * pc, Bool swap);
+extern PURE _X_HIDDEN int __glXTexGendvReqSize(const GLbyte * pc, Bool swap);
+extern PURE _X_HIDDEN int __glXTexGenfvReqSize(const GLbyte * pc, Bool swap);
+extern PURE _X_HIDDEN int __glXTexGenivReqSize(const GLbyte * pc, Bool swap);
+extern PURE _X_HIDDEN int __glXMap1dReqSize(const GLbyte * pc, Bool swap);
+extern PURE _X_HIDDEN int __glXMap1fReqSize(const GLbyte * pc, Bool swap);
+extern PURE _X_HIDDEN int __glXMap2dReqSize(const GLbyte * pc, Bool swap);
+extern PURE _X_HIDDEN int __glXMap2fReqSize(const GLbyte * pc, Bool swap);
+extern PURE _X_HIDDEN int __glXPixelMapfvReqSize(const GLbyte * pc, Bool swap);
+extern PURE _X_HIDDEN int __glXPixelMapuivReqSize(const GLbyte * pc, Bool swap);
+extern PURE _X_HIDDEN int __glXPixelMapusvReqSize(const GLbyte * pc, Bool swap);
+extern PURE _X_HIDDEN int __glXDrawPixelsReqSize(const GLbyte * pc, Bool swap);
+extern PURE _X_HIDDEN int __glXDrawArraysReqSize(const GLbyte * pc, Bool swap);
+extern PURE _X_HIDDEN int __glXPrioritizeTexturesReqSize(const GLbyte * pc,
+ Bool swap);
+extern PURE _X_HIDDEN int __glXTexSubImage1DReqSize(const GLbyte * pc,
+ Bool swap);
+extern PURE _X_HIDDEN int __glXTexSubImage2DReqSize(const GLbyte * pc,
+ Bool swap);
+extern PURE _X_HIDDEN int __glXColorTableReqSize(const GLbyte * pc, Bool swap);
+extern PURE _X_HIDDEN int __glXColorTableParameterfvReqSize(const GLbyte * pc,
+ Bool swap);
+extern PURE _X_HIDDEN int __glXColorTableParameterivReqSize(const GLbyte * pc,
+ Bool swap);
+extern PURE _X_HIDDEN int __glXColorSubTableReqSize(const GLbyte * pc,
+ Bool swap);
+extern PURE _X_HIDDEN int __glXConvolutionFilter1DReqSize(const GLbyte * pc,
+ Bool swap);
+extern PURE _X_HIDDEN int __glXConvolutionFilter2DReqSize(const GLbyte * pc,
+ Bool swap);
+extern PURE _X_HIDDEN int __glXConvolutionParameterfvReqSize(const GLbyte * pc,
+ Bool swap);
+extern PURE _X_HIDDEN int __glXConvolutionParameterivReqSize(const GLbyte * pc,
+ Bool swap);
+extern PURE _X_HIDDEN int __glXSeparableFilter2DReqSize(const GLbyte * pc,
+ Bool swap);
+extern PURE _X_HIDDEN int __glXTexImage3DReqSize(const GLbyte * pc, Bool swap);
+extern PURE _X_HIDDEN int __glXTexSubImage3DReqSize(const GLbyte * pc,
+ Bool swap);
+extern PURE _X_HIDDEN int __glXCompressedTexImage1DARBReqSize(const GLbyte * pc,
+ Bool swap);
+extern PURE _X_HIDDEN int __glXCompressedTexImage2DARBReqSize(const GLbyte * pc,
+ Bool swap);
+extern PURE _X_HIDDEN int __glXCompressedTexImage3DARBReqSize(const GLbyte * pc,
+ Bool swap);
+extern PURE _X_HIDDEN int __glXCompressedTexSubImage1DARBReqSize(const GLbyte *
+ pc, Bool swap);
+extern PURE _X_HIDDEN int __glXCompressedTexSubImage2DARBReqSize(const GLbyte *
+ pc, Bool swap);
+extern PURE _X_HIDDEN int __glXCompressedTexSubImage3DARBReqSize(const GLbyte *
+ pc, Bool swap);
+extern PURE _X_HIDDEN int __glXProgramStringARBReqSize(const GLbyte * pc,
+ Bool swap);
+extern PURE _X_HIDDEN int __glXDrawBuffersARBReqSize(const GLbyte * pc,
+ Bool swap);
+extern PURE _X_HIDDEN int __glXPointParameterfvEXTReqSize(const GLbyte * pc,
+ Bool swap);
+extern PURE _X_HIDDEN int __glXLoadProgramNVReqSize(const GLbyte * pc,
+ Bool swap);
+extern PURE _X_HIDDEN int __glXProgramParameters4dvNVReqSize(const GLbyte * pc,
+ Bool swap);
+extern PURE _X_HIDDEN int __glXProgramParameters4fvNVReqSize(const GLbyte * pc,
+ Bool swap);
+extern PURE _X_HIDDEN int __glXRequestResidentProgramsNVReqSize(const GLbyte *
+ pc, Bool swap);
+extern PURE _X_HIDDEN int __glXVertexAttribs1dvNVReqSize(const GLbyte * pc,
+ Bool swap);
+extern PURE _X_HIDDEN int __glXVertexAttribs1fvNVReqSize(const GLbyte * pc,
+ Bool swap);
+extern PURE _X_HIDDEN int __glXVertexAttribs1svNVReqSize(const GLbyte * pc,
+ Bool swap);
+extern PURE _X_HIDDEN int __glXVertexAttribs2dvNVReqSize(const GLbyte * pc,
+ Bool swap);
+extern PURE _X_HIDDEN int __glXVertexAttribs2fvNVReqSize(const GLbyte * pc,
+ Bool swap);
+extern PURE _X_HIDDEN int __glXVertexAttribs2svNVReqSize(const GLbyte * pc,
+ Bool swap);
+extern PURE _X_HIDDEN int __glXVertexAttribs3dvNVReqSize(const GLbyte * pc,
+ Bool swap);
+extern PURE _X_HIDDEN int __glXVertexAttribs3fvNVReqSize(const GLbyte * pc,
+ Bool swap);
+extern PURE _X_HIDDEN int __glXVertexAttribs3svNVReqSize(const GLbyte * pc,
+ Bool swap);
+extern PURE _X_HIDDEN int __glXVertexAttribs4dvNVReqSize(const GLbyte * pc,
+ Bool swap);
+extern PURE _X_HIDDEN int __glXVertexAttribs4fvNVReqSize(const GLbyte * pc,
+ Bool swap);
+extern PURE _X_HIDDEN int __glXVertexAttribs4svNVReqSize(const GLbyte * pc,
+ Bool swap);
+extern PURE _X_HIDDEN int __glXVertexAttribs4ubvNVReqSize(const GLbyte * pc,
+ Bool swap);
+extern PURE _X_HIDDEN int __glXPointParameterivNVReqSize(const GLbyte * pc,
+ Bool swap);
+extern PURE _X_HIDDEN int __glXProgramNamedParameter4dvNVReqSize(const GLbyte *
+ pc, Bool swap);
+extern PURE _X_HIDDEN int __glXProgramNamedParameter4fvNVReqSize(const GLbyte *
+ pc, Bool swap);
+extern PURE _X_HIDDEN int __glXDeleteFramebuffersEXTReqSize(const GLbyte * pc,
+ Bool swap);
+extern PURE _X_HIDDEN int __glXDeleteRenderbuffersEXTReqSize(const GLbyte * pc,
+ Bool swap);
#undef PURE
-#endif /* !defined( _INDIRECT_REQSIZE_H_ ) */
+#endif /* !defined( _INDIRECT_REQSIZE_H_ ) */
diff --git a/glx/indirect_size.h b/glx/indirect_size.h
index 0731c3516..56ffc1c68 100644
--- a/glx/indirect_size.h
+++ b/glx/indirect_size.h
@@ -72,14 +72,12 @@ extern _X_INTERNAL PURE FASTCALL GLint __glMap2d_size(GLenum);
extern _X_INTERNAL PURE FASTCALL GLint __glMap2f_size(GLenum);
extern _X_INTERNAL PURE FASTCALL GLint __glColorTableParameterfv_size(GLenum);
extern _X_INTERNAL PURE FASTCALL GLint __glColorTableParameteriv_size(GLenum);
-extern _X_INTERNAL PURE FASTCALL GLint
-__glConvolutionParameterfv_size(GLenum);
-extern _X_INTERNAL PURE FASTCALL GLint
-__glConvolutionParameteriv_size(GLenum);
+extern _X_INTERNAL PURE FASTCALL GLint __glConvolutionParameterfv_size(GLenum);
+extern _X_INTERNAL PURE FASTCALL GLint __glConvolutionParameteriv_size(GLenum);
extern _X_INTERNAL PURE FASTCALL GLint __glPointParameterfvEXT_size(GLenum);
extern _X_INTERNAL PURE FASTCALL GLint __glPointParameterivNV_size(GLenum);
#undef PURE
#undef FASTCALL
-#endif /* !defined( _INDIRECT_SIZE_H_ ) */
+#endif /* !defined( _INDIRECT_SIZE_H_ ) */
diff --git a/glx/indirect_size_get.c b/glx/indirect_size_get.c
index 3e5687d2f..da3a6cb85 100644
--- a/glx/indirect_size_get.c
+++ b/glx/indirect_size_get.c
@@ -25,7 +25,6 @@
* SOFTWARE.
*/
-
#include <X11/Xfuncproto.h>
#include <GL/gl.h>
#include "indirect_size_get.h"
@@ -45,7 +44,6 @@
#define FASTCALL
#endif
-
#if defined(__CYGWIN__) || defined(__MINGW32__) || defined(GLX_USE_APPLEGL)
#undef HAVE_ALIAS
#endif
@@ -60,7 +58,6 @@
{ return __gl ## to ## _size( e ); }
#endif
-
_X_INTERNAL PURE FASTCALL GLint
__glCallLists_size(GLenum e)
{
diff --git a/glx/indirect_size_get.h b/glx/indirect_size_get.h
index 9f8ec2835..4cfb3a6ba 100644
--- a/glx/indirect_size_get.h
+++ b/glx/indirect_size_get.h
@@ -65,10 +65,8 @@ extern _X_INTERNAL PURE FASTCALL GLint __glGetTexGenfv_size(GLenum);
extern _X_INTERNAL PURE FASTCALL GLint __glGetTexGeniv_size(GLenum);
extern _X_INTERNAL PURE FASTCALL GLint __glGetTexParameterfv_size(GLenum);
extern _X_INTERNAL PURE FASTCALL GLint __glGetTexParameteriv_size(GLenum);
-extern _X_INTERNAL PURE FASTCALL GLint
-__glGetTexLevelParameterfv_size(GLenum);
-extern _X_INTERNAL PURE FASTCALL GLint
-__glGetTexLevelParameteriv_size(GLenum);
+extern _X_INTERNAL PURE FASTCALL GLint __glGetTexLevelParameterfv_size(GLenum);
+extern _X_INTERNAL PURE FASTCALL GLint __glGetTexLevelParameteriv_size(GLenum);
extern _X_INTERNAL PURE FASTCALL GLint
__glGetColorTableParameterfv_size(GLenum);
extern _X_INTERNAL PURE FASTCALL GLint
@@ -77,10 +75,8 @@ extern _X_INTERNAL PURE FASTCALL GLint
__glGetConvolutionParameterfv_size(GLenum);
extern _X_INTERNAL PURE FASTCALL GLint
__glGetConvolutionParameteriv_size(GLenum);
-extern _X_INTERNAL PURE FASTCALL GLint
-__glGetHistogramParameterfv_size(GLenum);
-extern _X_INTERNAL PURE FASTCALL GLint
-__glGetHistogramParameteriv_size(GLenum);
+extern _X_INTERNAL PURE FASTCALL GLint __glGetHistogramParameterfv_size(GLenum);
+extern _X_INTERNAL PURE FASTCALL GLint __glGetHistogramParameteriv_size(GLenum);
extern _X_INTERNAL PURE FASTCALL GLint __glGetMinmaxParameterfv_size(GLenum);
extern _X_INTERNAL PURE FASTCALL GLint __glGetMinmaxParameteriv_size(GLenum);
extern _X_INTERNAL PURE FASTCALL GLint __glGetProgramivARB_size(GLenum);
@@ -100,4 +96,4 @@ __glGetFramebufferAttachmentParameterivEXT_size(GLenum);
#undef PURE
#undef FASTCALL
-#endif /* !defined( _INDIRECT_SIZE_GET_H_ ) */
+#endif /* !defined( _INDIRECT_SIZE_GET_H_ ) */
diff --git a/glx/indirect_table.c b/glx/indirect_table.c
index d08f1f168..8922e43fd 100644
--- a/glx/indirect_table.c
+++ b/glx/indirect_table.c
@@ -78,7 +78,8 @@ static const void *Single_function_table[112][2] = {
/* [ 1] = 1 */ {__glXDisp_Render, __glXDispSwap_Render},
/* [ 2] = 2 */ {__glXDisp_RenderLarge, __glXDispSwap_RenderLarge},
/* [ 3] = 3 */ {__glXDisp_CreateContext, __glXDispSwap_CreateContext},
- /* [ 4] = 4 */ {__glXDisp_DestroyContext, __glXDispSwap_DestroyContext},
+ /* [ 4] = 4 */ {__glXDisp_DestroyContext,
+ __glXDispSwap_DestroyContext},
/* [ 5] = 5 */ {__glXDisp_MakeCurrent, __glXDispSwap_MakeCurrent},
/* [ 6] = 6 */ {__glXDisp_IsDirect, __glXDispSwap_IsDirect},
/* [ 7] = 7 */ {__glXDisp_QueryVersion, __glXDispSwap_QueryVersion},
@@ -87,29 +88,43 @@ static const void *Single_function_table[112][2] = {
/* [ 10] = 10 */ {__glXDisp_CopyContext, __glXDispSwap_CopyContext},
/* [ 11] = 11 */ {__glXDisp_SwapBuffers, __glXDispSwap_SwapBuffers},
/* [ 12] = 12 */ {__glXDisp_UseXFont, __glXDispSwap_UseXFont},
- /* [ 13] = 13 */ {__glXDisp_CreateGLXPixmap, __glXDispSwap_CreateGLXPixmap},
- /* [ 14] = 14 */ {__glXDisp_GetVisualConfigs, __glXDispSwap_GetVisualConfigs},
- /* [ 15] = 15 */ {__glXDisp_DestroyGLXPixmap, __glXDispSwap_DestroyGLXPixmap},
+ /* [ 13] = 13 */ {__glXDisp_CreateGLXPixmap,
+ __glXDispSwap_CreateGLXPixmap},
+ /* [ 14] = 14 */ {__glXDisp_GetVisualConfigs,
+ __glXDispSwap_GetVisualConfigs},
+ /* [ 15] = 15 */ {__glXDisp_DestroyGLXPixmap,
+ __glXDispSwap_DestroyGLXPixmap},
/* [ 16] = 16 */ {__glXDisp_VendorPrivate, __glXDispSwap_VendorPrivate},
- /* [ 17] = 17 */ {__glXDisp_VendorPrivateWithReply, __glXDispSwap_VendorPrivateWithReply},
- /* [ 18] = 18 */ {__glXDisp_QueryExtensionsString, __glXDispSwap_QueryExtensionsString},
- /* [ 19] = 19 */ {__glXDisp_QueryServerString, __glXDispSwap_QueryServerString},
+ /* [ 17] = 17 */ {__glXDisp_VendorPrivateWithReply,
+ __glXDispSwap_VendorPrivateWithReply},
+ /* [ 18] = 18 */ {__glXDisp_QueryExtensionsString,
+ __glXDispSwap_QueryExtensionsString},
+ /* [ 19] = 19 */ {__glXDisp_QueryServerString,
+ __glXDispSwap_QueryServerString},
/* [ 20] = 20 */ {__glXDisp_ClientInfo, __glXDispSwap_ClientInfo},
/* [ 21] = 21 */ {__glXDisp_GetFBConfigs, __glXDispSwap_GetFBConfigs},
/* [ 22] = 22 */ {__glXDisp_CreatePixmap, __glXDispSwap_CreatePixmap},
/* [ 23] = 23 */ {__glXDisp_DestroyPixmap, __glXDispSwap_DestroyPixmap},
- /* [ 24] = 24 */ {__glXDisp_CreateNewContext, __glXDispSwap_CreateNewContext},
+ /* [ 24] = 24 */ {__glXDisp_CreateNewContext,
+ __glXDispSwap_CreateNewContext},
/* [ 25] = 25 */ {__glXDisp_QueryContext, __glXDispSwap_QueryContext},
- /* [ 26] = 26 */ {__glXDisp_MakeContextCurrent, __glXDispSwap_MakeContextCurrent},
+ /* [ 26] = 26 */ {__glXDisp_MakeContextCurrent,
+ __glXDispSwap_MakeContextCurrent},
/* [ 27] = 27 */ {__glXDisp_CreatePbuffer, __glXDispSwap_CreatePbuffer},
- /* [ 28] = 28 */ {__glXDisp_DestroyPbuffer, __glXDispSwap_DestroyPbuffer},
- /* [ 29] = 29 */ {__glXDisp_GetDrawableAttributes, __glXDispSwap_GetDrawableAttributes},
- /* [ 30] = 30 */ {__glXDisp_ChangeDrawableAttributes, __glXDispSwap_ChangeDrawableAttributes},
+ /* [ 28] = 28 */ {__glXDisp_DestroyPbuffer,
+ __glXDispSwap_DestroyPbuffer},
+ /* [ 29] = 29 */ {__glXDisp_GetDrawableAttributes,
+ __glXDispSwap_GetDrawableAttributes},
+ /* [ 30] = 30 */ {__glXDisp_ChangeDrawableAttributes,
+ __glXDispSwap_ChangeDrawableAttributes},
/* [ 31] = 31 */ {__glXDisp_CreateWindow, __glXDispSwap_CreateWindow},
/* [ 32] = 32 */ {__glXDisp_DestroyWindow, __glXDispSwap_DestroyWindow},
- /* [ 33] = 33 */ {__glXDisp_SetClientInfoARB, __glXDispSwap_SetClientInfoARB},
- /* [ 34] = 34 */ {__glXDisp_CreateContextAttribsARB, __glXDispSwap_CreateContextAttribsARB},
- /* [ 35] = 35 */ {__glXDisp_SetClientInfo2ARB, __glXDispSwap_SetClientInfo2ARB},
+ /* [ 33] = 33 */ {__glXDisp_SetClientInfoARB,
+ __glXDispSwap_SetClientInfoARB},
+ /* [ 34] = 34 */ {__glXDisp_CreateContextAttribsARB,
+ __glXDispSwap_CreateContextAttribsARB},
+ /* [ 35] = 35 */ {__glXDisp_SetClientInfo2ARB,
+ __glXDispSwap_SetClientInfo2ARB},
/* [ 36] = 36 */ {NULL, NULL},
/* [ 37] = 37 */ {NULL, NULL},
/* [ 38] = 38 */ {NULL, NULL},
@@ -123,7 +138,8 @@ static const void *Single_function_table[112][2] = {
/* [ 46] = 102 */ {__glXDisp_EndList, __glXDispSwap_EndList},
/* [ 47] = 103 */ {__glXDisp_DeleteLists, __glXDispSwap_DeleteLists},
/* [ 48] = 104 */ {__glXDisp_GenLists, __glXDispSwap_GenLists},
- /* [ 49] = 105 */ {__glXDisp_FeedbackBuffer, __glXDispSwap_FeedbackBuffer},
+ /* [ 49] = 105 */ {__glXDisp_FeedbackBuffer,
+ __glXDispSwap_FeedbackBuffer},
/* [ 50] = 106 */ {__glXDisp_SelectBuffer, __glXDispSwap_SelectBuffer},
/* [ 51] = 107 */ {__glXDisp_RenderMode, __glXDispSwap_RenderMode},
/* [ 52] = 108 */ {__glXDisp_Finish, __glXDispSwap_Finish},
@@ -144,9 +160,12 @@ static const void *Single_function_table[112][2] = {
/* [ 67] = 123 */ {__glXDisp_GetMaterialfv, __glXDispSwap_GetMaterialfv},
/* [ 68] = 124 */ {__glXDisp_GetMaterialiv, __glXDispSwap_GetMaterialiv},
/* [ 69] = 125 */ {__glXDisp_GetPixelMapfv, __glXDispSwap_GetPixelMapfv},
- /* [ 70] = 126 */ {__glXDisp_GetPixelMapuiv, __glXDispSwap_GetPixelMapuiv},
- /* [ 71] = 127 */ {__glXDisp_GetPixelMapusv, __glXDispSwap_GetPixelMapusv},
- /* [ 72] = 128 */ {__glXDisp_GetPolygonStipple, __glXDispSwap_GetPolygonStipple},
+ /* [ 70] = 126 */ {__glXDisp_GetPixelMapuiv,
+ __glXDispSwap_GetPixelMapuiv},
+ /* [ 71] = 127 */ {__glXDisp_GetPixelMapusv,
+ __glXDispSwap_GetPixelMapusv},
+ /* [ 72] = 128 */ {__glXDisp_GetPolygonStipple,
+ __glXDispSwap_GetPolygonStipple},
/* [ 73] = 129 */ {__glXDisp_GetString, __glXDispSwap_GetString},
/* [ 74] = 130 */ {__glXDisp_GetTexEnvfv, __glXDispSwap_GetTexEnvfv},
/* [ 75] = 131 */ {__glXDisp_GetTexEnviv, __glXDispSwap_GetTexEnviv},
@@ -154,37 +173,57 @@ static const void *Single_function_table[112][2] = {
/* [ 77] = 133 */ {__glXDisp_GetTexGenfv, __glXDispSwap_GetTexGenfv},
/* [ 78] = 134 */ {__glXDisp_GetTexGeniv, __glXDispSwap_GetTexGeniv},
/* [ 79] = 135 */ {__glXDisp_GetTexImage, __glXDispSwap_GetTexImage},
- /* [ 80] = 136 */ {__glXDisp_GetTexParameterfv, __glXDispSwap_GetTexParameterfv},
- /* [ 81] = 137 */ {__glXDisp_GetTexParameteriv, __glXDispSwap_GetTexParameteriv},
- /* [ 82] = 138 */ {__glXDisp_GetTexLevelParameterfv, __glXDispSwap_GetTexLevelParameterfv},
- /* [ 83] = 139 */ {__glXDisp_GetTexLevelParameteriv, __glXDispSwap_GetTexLevelParameteriv},
+ /* [ 80] = 136 */ {__glXDisp_GetTexParameterfv,
+ __glXDispSwap_GetTexParameterfv},
+ /* [ 81] = 137 */ {__glXDisp_GetTexParameteriv,
+ __glXDispSwap_GetTexParameteriv},
+ /* [ 82] = 138 */ {__glXDisp_GetTexLevelParameterfv,
+ __glXDispSwap_GetTexLevelParameterfv},
+ /* [ 83] = 139 */ {__glXDisp_GetTexLevelParameteriv,
+ __glXDispSwap_GetTexLevelParameteriv},
/* [ 84] = 140 */ {__glXDisp_IsEnabled, __glXDispSwap_IsEnabled},
/* [ 85] = 141 */ {__glXDisp_IsList, __glXDispSwap_IsList},
/* [ 86] = 142 */ {__glXDisp_Flush, __glXDispSwap_Flush},
- /* [ 87] = 143 */ {__glXDisp_AreTexturesResident, __glXDispSwap_AreTexturesResident},
- /* [ 88] = 144 */ {__glXDisp_DeleteTextures, __glXDispSwap_DeleteTextures},
+ /* [ 87] = 143 */ {__glXDisp_AreTexturesResident,
+ __glXDispSwap_AreTexturesResident},
+ /* [ 88] = 144 */ {__glXDisp_DeleteTextures,
+ __glXDispSwap_DeleteTextures},
/* [ 89] = 145 */ {__glXDisp_GenTextures, __glXDispSwap_GenTextures},
/* [ 90] = 146 */ {__glXDisp_IsTexture, __glXDispSwap_IsTexture},
/* [ 91] = 147 */ {__glXDisp_GetColorTable, __glXDispSwap_GetColorTable},
- /* [ 92] = 148 */ {__glXDisp_GetColorTableParameterfv, __glXDispSwap_GetColorTableParameterfv},
- /* [ 93] = 149 */ {__glXDisp_GetColorTableParameteriv, __glXDispSwap_GetColorTableParameteriv},
- /* [ 94] = 150 */ {__glXDisp_GetConvolutionFilter, __glXDispSwap_GetConvolutionFilter},
- /* [ 95] = 151 */ {__glXDisp_GetConvolutionParameterfv, __glXDispSwap_GetConvolutionParameterfv},
- /* [ 96] = 152 */ {__glXDisp_GetConvolutionParameteriv, __glXDispSwap_GetConvolutionParameteriv},
- /* [ 97] = 153 */ {__glXDisp_GetSeparableFilter, __glXDispSwap_GetSeparableFilter},
+ /* [ 92] = 148 */ {__glXDisp_GetColorTableParameterfv,
+ __glXDispSwap_GetColorTableParameterfv},
+ /* [ 93] = 149 */ {__glXDisp_GetColorTableParameteriv,
+ __glXDispSwap_GetColorTableParameteriv},
+ /* [ 94] = 150 */ {__glXDisp_GetConvolutionFilter,
+ __glXDispSwap_GetConvolutionFilter},
+ /* [ 95] = 151 */ {__glXDisp_GetConvolutionParameterfv,
+ __glXDispSwap_GetConvolutionParameterfv},
+ /* [ 96] = 152 */ {__glXDisp_GetConvolutionParameteriv,
+ __glXDispSwap_GetConvolutionParameteriv},
+ /* [ 97] = 153 */ {__glXDisp_GetSeparableFilter,
+ __glXDispSwap_GetSeparableFilter},
/* [ 98] = 154 */ {__glXDisp_GetHistogram, __glXDispSwap_GetHistogram},
- /* [ 99] = 155 */ {__glXDisp_GetHistogramParameterfv, __glXDispSwap_GetHistogramParameterfv},
- /* [ 100] = 156 */ {__glXDisp_GetHistogramParameteriv, __glXDispSwap_GetHistogramParameteriv},
+ /* [ 99] = 155 */ {__glXDisp_GetHistogramParameterfv,
+ __glXDispSwap_GetHistogramParameterfv},
+ /* [ 100] = 156 */ {__glXDisp_GetHistogramParameteriv,
+ __glXDispSwap_GetHistogramParameteriv},
/* [ 101] = 157 */ {__glXDisp_GetMinmax, __glXDispSwap_GetMinmax},
- /* [ 102] = 158 */ {__glXDisp_GetMinmaxParameterfv, __glXDispSwap_GetMinmaxParameterfv},
- /* [ 103] = 159 */ {__glXDisp_GetMinmaxParameteriv, __glXDispSwap_GetMinmaxParameteriv},
- /* [ 104] = 160 */ {__glXDisp_GetCompressedTexImageARB, __glXDispSwap_GetCompressedTexImageARB},
- /* [ 105] = 161 */ {__glXDisp_DeleteQueriesARB, __glXDispSwap_DeleteQueriesARB},
+ /* [ 102] = 158 */ {__glXDisp_GetMinmaxParameterfv,
+ __glXDispSwap_GetMinmaxParameterfv},
+ /* [ 103] = 159 */ {__glXDisp_GetMinmaxParameteriv,
+ __glXDispSwap_GetMinmaxParameteriv},
+ /* [ 104] = 160 */ {__glXDisp_GetCompressedTexImageARB,
+ __glXDispSwap_GetCompressedTexImageARB},
+ /* [ 105] = 161 */ {__glXDisp_DeleteQueriesARB,
+ __glXDispSwap_DeleteQueriesARB},
/* [ 106] = 162 */ {__glXDisp_GenQueriesARB, __glXDispSwap_GenQueriesARB},
/* [ 107] = 163 */ {__glXDisp_IsQueryARB, __glXDispSwap_IsQueryARB},
/* [ 108] = 164 */ {__glXDisp_GetQueryivARB, __glXDispSwap_GetQueryivARB},
- /* [ 109] = 165 */ {__glXDisp_GetQueryObjectivARB, __glXDispSwap_GetQueryObjectivARB},
- /* [ 110] = 166 */ {__glXDisp_GetQueryObjectuivARB, __glXDispSwap_GetQueryObjectuivARB},
+ /* [ 109] = 165 */ {__glXDisp_GetQueryObjectivARB,
+ __glXDispSwap_GetQueryObjectivARB},
+ /* [ 110] = 166 */ {__glXDisp_GetQueryObjectuivARB,
+ __glXDispSwap_GetQueryObjectuivARB},
/* [ 111] = 167 */ {NULL, NULL},
};
@@ -436,13 +475,16 @@ static const void *Render_function_table[408][2] = {
/* [ 99] = 99 */ {__glXDisp_Materialiv, __glXDispSwap_Materialiv},
/* [ 100] = 100 */ {__glXDisp_PointSize, __glXDispSwap_PointSize},
/* [ 101] = 101 */ {__glXDisp_PolygonMode, __glXDispSwap_PolygonMode},
- /* [ 102] = 102 */ {__glXDisp_PolygonStipple, __glXDispSwap_PolygonStipple},
+ /* [ 102] = 102 */ {__glXDisp_PolygonStipple,
+ __glXDispSwap_PolygonStipple},
/* [ 103] = 103 */ {__glXDisp_Scissor, __glXDispSwap_Scissor},
/* [ 104] = 104 */ {__glXDisp_ShadeModel, __glXDispSwap_ShadeModel},
/* [ 105] = 105 */ {__glXDisp_TexParameterf, __glXDispSwap_TexParameterf},
- /* [ 106] = 106 */ {__glXDisp_TexParameterfv, __glXDispSwap_TexParameterfv},
+ /* [ 106] = 106 */ {__glXDisp_TexParameterfv,
+ __glXDispSwap_TexParameterfv},
/* [ 107] = 107 */ {__glXDisp_TexParameteri, __glXDispSwap_TexParameteri},
- /* [ 108] = 108 */ {__glXDisp_TexParameteriv, __glXDispSwap_TexParameteriv},
+ /* [ 108] = 108 */ {__glXDisp_TexParameteriv,
+ __glXDispSwap_TexParameteriv},
/* [ 109] = 109 */ {__glXDisp_TexImage1D, __glXDispSwap_TexImage1D},
/* [ 110] = 110 */ {__glXDisp_TexImage2D, __glXDispSwap_TexImage2D},
/* [ 111] = 111 */ {__glXDisp_TexEnvf, __glXDispSwap_TexEnvf},
@@ -500,8 +542,10 @@ static const void *Render_function_table[408][2] = {
/* [ 163] = 163 */ {__glXDisp_StencilOp, __glXDispSwap_StencilOp},
/* [ 164] = 164 */ {__glXDisp_DepthFunc, __glXDispSwap_DepthFunc},
/* [ 165] = 165 */ {__glXDisp_PixelZoom, __glXDispSwap_PixelZoom},
- /* [ 166] = 166 */ {__glXDisp_PixelTransferf, __glXDispSwap_PixelTransferf},
- /* [ 167] = 167 */ {__glXDisp_PixelTransferi, __glXDispSwap_PixelTransferi},
+ /* [ 166] = 166 */ {__glXDisp_PixelTransferf,
+ __glXDispSwap_PixelTransferf},
+ /* [ 167] = 167 */ {__glXDisp_PixelTransferi,
+ __glXDispSwap_PixelTransferi},
/* [ 168] = 168 */ {__glXDisp_PixelMapfv, __glXDispSwap_PixelMapfv},
/* [ 169] = 169 */ {__glXDisp_PixelMapuiv, __glXDispSwap_PixelMapuiv},
/* [ 170] = 170 */ {__glXDisp_PixelMapusv, __glXDispSwap_PixelMapusv},
@@ -530,30 +574,54 @@ static const void *Render_function_table[408][2] = {
/* [ 193] = 193 */ {__glXDisp_DrawArrays, __glXDispSwap_DrawArrays},
/* [ 194] = 194 */ {__glXDisp_Indexubv, __glXDispSwap_Indexubv},
/* [ 195] = 195 */ {__glXDisp_ColorSubTable, __glXDispSwap_ColorSubTable},
- /* [ 196] = 196 */ {__glXDisp_CopyColorSubTable, __glXDispSwap_CopyColorSubTable},
- /* [ 197] = 197 */ {__glXDisp_ActiveTextureARB, __glXDispSwap_ActiveTextureARB},
- /* [ 198] = 198 */ {__glXDisp_MultiTexCoord1dvARB, __glXDispSwap_MultiTexCoord1dvARB},
- /* [ 199] = 199 */ {__glXDisp_MultiTexCoord1fvARB, __glXDispSwap_MultiTexCoord1fvARB},
- /* [ 200] = 200 */ {__glXDisp_MultiTexCoord1ivARB, __glXDispSwap_MultiTexCoord1ivARB},
- /* [ 201] = 201 */ {__glXDisp_MultiTexCoord1svARB, __glXDispSwap_MultiTexCoord1svARB},
- /* [ 202] = 202 */ {__glXDisp_MultiTexCoord2dvARB, __glXDispSwap_MultiTexCoord2dvARB},
- /* [ 203] = 203 */ {__glXDisp_MultiTexCoord2fvARB, __glXDispSwap_MultiTexCoord2fvARB},
- /* [ 204] = 204 */ {__glXDisp_MultiTexCoord2ivARB, __glXDispSwap_MultiTexCoord2ivARB},
- /* [ 205] = 205 */ {__glXDisp_MultiTexCoord2svARB, __glXDispSwap_MultiTexCoord2svARB},
- /* [ 206] = 206 */ {__glXDisp_MultiTexCoord3dvARB, __glXDispSwap_MultiTexCoord3dvARB},
- /* [ 207] = 207 */ {__glXDisp_MultiTexCoord3fvARB, __glXDispSwap_MultiTexCoord3fvARB},
- /* [ 208] = 208 */ {__glXDisp_MultiTexCoord3ivARB, __glXDispSwap_MultiTexCoord3ivARB},
- /* [ 209] = 209 */ {__glXDisp_MultiTexCoord3svARB, __glXDispSwap_MultiTexCoord3svARB},
- /* [ 210] = 210 */ {__glXDisp_MultiTexCoord4dvARB, __glXDispSwap_MultiTexCoord4dvARB},
- /* [ 211] = 211 */ {__glXDisp_MultiTexCoord4fvARB, __glXDispSwap_MultiTexCoord4fvARB},
- /* [ 212] = 212 */ {__glXDisp_MultiTexCoord4ivARB, __glXDispSwap_MultiTexCoord4ivARB},
- /* [ 213] = 213 */ {__glXDisp_MultiTexCoord4svARB, __glXDispSwap_MultiTexCoord4svARB},
- /* [ 214] = 214 */ {__glXDisp_CompressedTexImage1DARB, __glXDispSwap_CompressedTexImage1DARB},
- /* [ 215] = 215 */ {__glXDisp_CompressedTexImage2DARB, __glXDispSwap_CompressedTexImage2DARB},
- /* [ 216] = 216 */ {__glXDisp_CompressedTexImage3DARB, __glXDispSwap_CompressedTexImage3DARB},
- /* [ 217] = 217 */ {__glXDisp_CompressedTexSubImage1DARB, __glXDispSwap_CompressedTexSubImage1DARB},
- /* [ 218] = 218 */ {__glXDisp_CompressedTexSubImage2DARB, __glXDispSwap_CompressedTexSubImage2DARB},
- /* [ 219] = 219 */ {__glXDisp_CompressedTexSubImage3DARB, __glXDispSwap_CompressedTexSubImage3DARB},
+ /* [ 196] = 196 */ {__glXDisp_CopyColorSubTable,
+ __glXDispSwap_CopyColorSubTable},
+ /* [ 197] = 197 */ {__glXDisp_ActiveTextureARB,
+ __glXDispSwap_ActiveTextureARB},
+ /* [ 198] = 198 */ {__glXDisp_MultiTexCoord1dvARB,
+ __glXDispSwap_MultiTexCoord1dvARB},
+ /* [ 199] = 199 */ {__glXDisp_MultiTexCoord1fvARB,
+ __glXDispSwap_MultiTexCoord1fvARB},
+ /* [ 200] = 200 */ {__glXDisp_MultiTexCoord1ivARB,
+ __glXDispSwap_MultiTexCoord1ivARB},
+ /* [ 201] = 201 */ {__glXDisp_MultiTexCoord1svARB,
+ __glXDispSwap_MultiTexCoord1svARB},
+ /* [ 202] = 202 */ {__glXDisp_MultiTexCoord2dvARB,
+ __glXDispSwap_MultiTexCoord2dvARB},
+ /* [ 203] = 203 */ {__glXDisp_MultiTexCoord2fvARB,
+ __glXDispSwap_MultiTexCoord2fvARB},
+ /* [ 204] = 204 */ {__glXDisp_MultiTexCoord2ivARB,
+ __glXDispSwap_MultiTexCoord2ivARB},
+ /* [ 205] = 205 */ {__glXDisp_MultiTexCoord2svARB,
+ __glXDispSwap_MultiTexCoord2svARB},
+ /* [ 206] = 206 */ {__glXDisp_MultiTexCoord3dvARB,
+ __glXDispSwap_MultiTexCoord3dvARB},
+ /* [ 207] = 207 */ {__glXDisp_MultiTexCoord3fvARB,
+ __glXDispSwap_MultiTexCoord3fvARB},
+ /* [ 208] = 208 */ {__glXDisp_MultiTexCoord3ivARB,
+ __glXDispSwap_MultiTexCoord3ivARB},
+ /* [ 209] = 209 */ {__glXDisp_MultiTexCoord3svARB,
+ __glXDispSwap_MultiTexCoord3svARB},
+ /* [ 210] = 210 */ {__glXDisp_MultiTexCoord4dvARB,
+ __glXDispSwap_MultiTexCoord4dvARB},
+ /* [ 211] = 211 */ {__glXDisp_MultiTexCoord4fvARB,
+ __glXDispSwap_MultiTexCoord4fvARB},
+ /* [ 212] = 212 */ {__glXDisp_MultiTexCoord4ivARB,
+ __glXDispSwap_MultiTexCoord4ivARB},
+ /* [ 213] = 213 */ {__glXDisp_MultiTexCoord4svARB,
+ __glXDispSwap_MultiTexCoord4svARB},
+ /* [ 214] = 214 */ {__glXDisp_CompressedTexImage1DARB,
+ __glXDispSwap_CompressedTexImage1DARB},
+ /* [ 215] = 215 */ {__glXDisp_CompressedTexImage2DARB,
+ __glXDispSwap_CompressedTexImage2DARB},
+ /* [ 216] = 216 */ {__glXDisp_CompressedTexImage3DARB,
+ __glXDispSwap_CompressedTexImage3DARB},
+ /* [ 217] = 217 */ {__glXDisp_CompressedTexSubImage1DARB,
+ __glXDispSwap_CompressedTexSubImage1DARB},
+ /* [ 218] = 218 */ {__glXDisp_CompressedTexSubImage2DARB,
+ __glXDispSwap_CompressedTexSubImage2DARB},
+ /* [ 219] = 219 */ {__glXDisp_CompressedTexSubImage3DARB,
+ __glXDispSwap_CompressedTexSubImage3DARB},
/* [ 220] = 220 */ {NULL, NULL},
/* [ 221] = 221 */ {NULL, NULL},
/* [ 222] = 222 */ {NULL, NULL},
@@ -563,26 +631,35 @@ static const void *Render_function_table[408][2] = {
/* [ 226] = 226 */ {NULL, NULL},
/* [ 227] = 227 */ {NULL, NULL},
/* [ 228] = 228 */ {NULL, NULL},
- /* [ 229] = 229 */ {__glXDisp_SampleCoverageARB, __glXDispSwap_SampleCoverageARB},
- /* [ 230] = 230 */ {__glXDisp_WindowPos3fvMESA, __glXDispSwap_WindowPos3fvMESA},
+ /* [ 229] = 229 */ {__glXDisp_SampleCoverageARB,
+ __glXDispSwap_SampleCoverageARB},
+ /* [ 230] = 230 */ {__glXDisp_WindowPos3fvMESA,
+ __glXDispSwap_WindowPos3fvMESA},
/* [ 231] = 231 */ {__glXDisp_BeginQueryARB, __glXDispSwap_BeginQueryARB},
/* [ 232] = 232 */ {__glXDisp_EndQueryARB, __glXDispSwap_EndQueryARB},
- /* [ 233] = 233 */ {__glXDisp_DrawBuffersARB, __glXDispSwap_DrawBuffersARB},
+ /* [ 233] = 233 */ {__glXDisp_DrawBuffersARB,
+ __glXDispSwap_DrawBuffersARB},
/* [ 234] = 234 */ {__glXDisp_ClampColorARB, __glXDispSwap_ClampColorARB},
/* [ 235] = 235 */ {NULL, NULL},
/* [ 236] = 236 */ {NULL, NULL},
- /* [ 237] = 237 */ {__glXDisp_FramebufferTextureLayerEXT, __glXDispSwap_FramebufferTextureLayerEXT},
+ /* [ 237] = 237 */ {__glXDisp_FramebufferTextureLayerEXT,
+ __glXDispSwap_FramebufferTextureLayerEXT},
/* [ 238] = 238 */ {NULL, NULL},
/* [ 239] = 239 */ {NULL, NULL},
- /* [ 240] = 2048 */ {__glXDisp_SampleMaskSGIS, __glXDispSwap_SampleMaskSGIS},
- /* [ 241] = 2049 */ {__glXDisp_SamplePatternSGIS, __glXDispSwap_SamplePatternSGIS},
+ /* [ 240] = 2048 */ {__glXDisp_SampleMaskSGIS,
+ __glXDispSwap_SampleMaskSGIS},
+ /* [ 241] = 2049 */ {__glXDisp_SamplePatternSGIS,
+ __glXDispSwap_SamplePatternSGIS},
/* [ 242] = 2050 */ {NULL, NULL},
/* [ 243] = 2051 */ {NULL, NULL},
/* [ 244] = 2052 */ {NULL, NULL},
/* [ 245] = 2053 */ {__glXDisp_ColorTable, __glXDispSwap_ColorTable},
- /* [ 246] = 2054 */ {__glXDisp_ColorTableParameterfv, __glXDispSwap_ColorTableParameterfv},
- /* [ 247] = 2055 */ {__glXDisp_ColorTableParameteriv, __glXDispSwap_ColorTableParameteriv},
- /* [ 248] = 2056 */ {__glXDisp_CopyColorTable, __glXDispSwap_CopyColorTable},
+ /* [ 246] = 2054 */ {__glXDisp_ColorTableParameterfv,
+ __glXDispSwap_ColorTableParameterfv},
+ /* [ 247] = 2055 */ {__glXDisp_ColorTableParameteriv,
+ __glXDispSwap_ColorTableParameteriv},
+ /* [ 248] = 2056 */ {__glXDisp_CopyColorTable,
+ __glXDispSwap_CopyColorTable},
/* [ 249] = 2057 */ {NULL, NULL},
/* [ 250] = 2058 */ {NULL, NULL},
/* [ 251] = 2059 */ {NULL, NULL},
@@ -591,8 +668,10 @@ static const void *Render_function_table[408][2] = {
/* [ 254] = 2062 */ {NULL, NULL},
/* [ 255] = 2063 */ {NULL, NULL},
/* [ 256] = 2064 */ {NULL, NULL},
- /* [ 257] = 2065 */ {__glXDisp_PointParameterfEXT, __glXDispSwap_PointParameterfEXT},
- /* [ 258] = 2066 */ {__glXDisp_PointParameterfvEXT, __glXDispSwap_PointParameterfvEXT},
+ /* [ 257] = 2065 */ {__glXDisp_PointParameterfEXT,
+ __glXDispSwap_PointParameterfEXT},
+ /* [ 258] = 2066 */ {__glXDisp_PointParameterfvEXT,
+ __glXDispSwap_PointParameterfvEXT},
/* [ 259] = 2067 */ {NULL, NULL},
/* [ 260] = 2068 */ {NULL, NULL},
/* [ 261] = 2069 */ {NULL, NULL},
@@ -603,633 +682,734 @@ static const void *Render_function_table[408][2] = {
/* [ 266] = 4098 */ {NULL, NULL},
/* [ 267] = 4099 */ {__glXDisp_TexSubImage1D, __glXDispSwap_TexSubImage1D},
/* [ 268] = 4100 */ {__glXDisp_TexSubImage2D, __glXDispSwap_TexSubImage2D},
- /* [ 269] = 4101 */ {__glXDisp_ConvolutionFilter1D, __glXDispSwap_ConvolutionFilter1D},
- /* [ 270] = 4102 */ {__glXDisp_ConvolutionFilter2D, __glXDispSwap_ConvolutionFilter2D},
- /* [ 271] = 4103 */ {__glXDisp_ConvolutionParameterf, __glXDispSwap_ConvolutionParameterf},
- /* [ 272] = 4104 */ {__glXDisp_ConvolutionParameterfv, __glXDispSwap_ConvolutionParameterfv},
- /* [ 273] = 4105 */ {__glXDisp_ConvolutionParameteri, __glXDispSwap_ConvolutionParameteri},
- /* [ 274] = 4106 */ {__glXDisp_ConvolutionParameteriv, __glXDispSwap_ConvolutionParameteriv},
- /* [ 275] = 4107 */ {__glXDisp_CopyConvolutionFilter1D, __glXDispSwap_CopyConvolutionFilter1D},
- /* [ 276] = 4108 */ {__glXDisp_CopyConvolutionFilter2D, __glXDispSwap_CopyConvolutionFilter2D},
- /* [ 277] = 4109 */ {__glXDisp_SeparableFilter2D, __glXDispSwap_SeparableFilter2D},
+ /* [ 269] = 4101 */ {__glXDisp_ConvolutionFilter1D,
+ __glXDispSwap_ConvolutionFilter1D},
+ /* [ 270] = 4102 */ {__glXDisp_ConvolutionFilter2D,
+ __glXDispSwap_ConvolutionFilter2D},
+ /* [ 271] = 4103 */ {__glXDisp_ConvolutionParameterf,
+ __glXDispSwap_ConvolutionParameterf},
+ /* [ 272] = 4104 */ {__glXDisp_ConvolutionParameterfv,
+ __glXDispSwap_ConvolutionParameterfv},
+ /* [ 273] = 4105 */ {__glXDisp_ConvolutionParameteri,
+ __glXDispSwap_ConvolutionParameteri},
+ /* [ 274] = 4106 */ {__glXDisp_ConvolutionParameteriv,
+ __glXDispSwap_ConvolutionParameteriv},
+ /* [ 275] = 4107 */ {__glXDisp_CopyConvolutionFilter1D,
+ __glXDispSwap_CopyConvolutionFilter1D},
+ /* [ 276] = 4108 */ {__glXDisp_CopyConvolutionFilter2D,
+ __glXDispSwap_CopyConvolutionFilter2D},
+ /* [ 277] = 4109 */ {__glXDisp_SeparableFilter2D,
+ __glXDispSwap_SeparableFilter2D},
/* [ 278] = 4110 */ {__glXDisp_Histogram, __glXDispSwap_Histogram},
/* [ 279] = 4111 */ {__glXDisp_Minmax, __glXDispSwap_Minmax},
- /* [ 280] = 4112 */ {__glXDisp_ResetHistogram, __glXDispSwap_ResetHistogram},
+ /* [ 280] = 4112 */ {__glXDisp_ResetHistogram,
+ __glXDispSwap_ResetHistogram},
/* [ 281] = 4113 */ {__glXDisp_ResetMinmax, __glXDispSwap_ResetMinmax},
/* [ 282] = 4114 */ {__glXDisp_TexImage3D, __glXDispSwap_TexImage3D},
/* [ 283] = 4115 */ {__glXDisp_TexSubImage3D, __glXDispSwap_TexSubImage3D},
/* [ 284] = 4116 */ {NULL, NULL},
/* [ 285] = 4117 */ {__glXDisp_BindTexture, __glXDispSwap_BindTexture},
- /* [ 286] = 4118 */ {__glXDisp_PrioritizeTextures, __glXDispSwap_PrioritizeTextures},
- /* [ 287] = 4119 */ {__glXDisp_CopyTexImage1D, __glXDispSwap_CopyTexImage1D},
- /* [ 288] = 4120 */ {__glXDisp_CopyTexImage2D, __glXDispSwap_CopyTexImage2D},
- /* [ 289] = 4121 */ {__glXDisp_CopyTexSubImage1D, __glXDispSwap_CopyTexSubImage1D},
- /* [ 290] = 4122 */ {__glXDisp_CopyTexSubImage2D, __glXDispSwap_CopyTexSubImage2D},
- /* [ 291] = 4123 */ {__glXDisp_CopyTexSubImage3D, __glXDispSwap_CopyTexSubImage3D},
+ /* [ 286] = 4118 */ {__glXDisp_PrioritizeTextures,
+ __glXDispSwap_PrioritizeTextures},
+ /* [ 287] = 4119 */ {__glXDisp_CopyTexImage1D,
+ __glXDispSwap_CopyTexImage1D},
+ /* [ 288] = 4120 */ {__glXDisp_CopyTexImage2D,
+ __glXDispSwap_CopyTexImage2D},
+ /* [ 289] = 4121 */ {__glXDisp_CopyTexSubImage1D,
+ __glXDispSwap_CopyTexSubImage1D},
+ /* [ 290] = 4122 */ {__glXDisp_CopyTexSubImage2D,
+ __glXDispSwap_CopyTexSubImage2D},
+ /* [ 291] = 4123 */ {__glXDisp_CopyTexSubImage3D,
+ __glXDispSwap_CopyTexSubImage3D},
/* [ 292] = 4124 */ {__glXDisp_FogCoordfvEXT, __glXDispSwap_FogCoordfvEXT},
/* [ 293] = 4125 */ {__glXDisp_FogCoorddvEXT, __glXDispSwap_FogCoorddvEXT},
- /* [ 294] = 4126 */ {__glXDisp_SecondaryColor3bvEXT, __glXDispSwap_SecondaryColor3bvEXT},
- /* [ 295] = 4127 */ {__glXDisp_SecondaryColor3svEXT, __glXDispSwap_SecondaryColor3svEXT},
+ /* [ 294] = 4126 */ {__glXDisp_SecondaryColor3bvEXT,
+ __glXDispSwap_SecondaryColor3bvEXT},
+ /* [ 295] = 4127 */ {__glXDisp_SecondaryColor3svEXT,
+ __glXDispSwap_SecondaryColor3svEXT},
/* [ 296] = 4176 */ {NULL, NULL},
/* [ 297] = 4177 */ {NULL, NULL},
/* [ 298] = 4178 */ {NULL, NULL},
/* [ 299] = 4179 */ {NULL, NULL},
/* [ 300] = 4180 */ {__glXDisp_BindProgramNV, __glXDispSwap_BindProgramNV},
- /* [ 301] = 4181 */ {__glXDisp_ExecuteProgramNV, __glXDispSwap_ExecuteProgramNV},
- /* [ 302] = 4182 */ {__glXDisp_RequestResidentProgramsNV, __glXDispSwap_RequestResidentProgramsNV},
+ /* [ 301] = 4181 */ {__glXDisp_ExecuteProgramNV,
+ __glXDispSwap_ExecuteProgramNV},
+ /* [ 302] = 4182 */ {__glXDisp_RequestResidentProgramsNV,
+ __glXDispSwap_RequestResidentProgramsNV},
/* [ 303] = 4183 */ {__glXDisp_LoadProgramNV, __glXDispSwap_LoadProgramNV},
- /* [ 304] = 4184 */ {__glXDisp_ProgramEnvParameter4fvARB, __glXDispSwap_ProgramEnvParameter4fvARB},
- /* [ 305] = 4185 */ {__glXDisp_ProgramEnvParameter4dvARB, __glXDispSwap_ProgramEnvParameter4dvARB},
- /* [ 306] = 4186 */ {__glXDisp_ProgramParameters4fvNV, __glXDispSwap_ProgramParameters4fvNV},
- /* [ 307] = 4187 */ {__glXDisp_ProgramParameters4dvNV, __glXDispSwap_ProgramParameters4dvNV},
+ /* [ 304] = 4184 */ {__glXDisp_ProgramEnvParameter4fvARB,
+ __glXDispSwap_ProgramEnvParameter4fvARB},
+ /* [ 305] = 4185 */ {__glXDisp_ProgramEnvParameter4dvARB,
+ __glXDispSwap_ProgramEnvParameter4dvARB},
+ /* [ 306] = 4186 */ {__glXDisp_ProgramParameters4fvNV,
+ __glXDispSwap_ProgramParameters4fvNV},
+ /* [ 307] = 4187 */ {__glXDisp_ProgramParameters4dvNV,
+ __glXDispSwap_ProgramParameters4dvNV},
/* [ 308] = 4188 */ {__glXDisp_TrackMatrixNV, __glXDispSwap_TrackMatrixNV},
- /* [ 309] = 4189 */ {__glXDisp_VertexAttrib1svARB, __glXDispSwap_VertexAttrib1svARB},
- /* [ 310] = 4190 */ {__glXDisp_VertexAttrib2svARB, __glXDispSwap_VertexAttrib2svARB},
- /* [ 311] = 4191 */ {__glXDisp_VertexAttrib3svARB, __glXDispSwap_VertexAttrib3svARB},
- /* [ 312] = 4192 */ {__glXDisp_VertexAttrib4svARB, __glXDispSwap_VertexAttrib4svARB},
- /* [ 313] = 4193 */ {__glXDisp_VertexAttrib1fvARB, __glXDispSwap_VertexAttrib1fvARB},
- /* [ 314] = 4194 */ {__glXDisp_VertexAttrib2fvARB, __glXDispSwap_VertexAttrib2fvARB},
- /* [ 315] = 4195 */ {__glXDisp_VertexAttrib3fvARB, __glXDispSwap_VertexAttrib3fvARB},
- /* [ 316] = 4196 */ {__glXDisp_VertexAttrib4fvARB, __glXDispSwap_VertexAttrib4fvARB},
- /* [ 317] = 4197 */ {__glXDisp_VertexAttrib1dvARB, __glXDispSwap_VertexAttrib1dvARB},
- /* [ 318] = 4198 */ {__glXDisp_VertexAttrib2dvARB, __glXDispSwap_VertexAttrib2dvARB},
- /* [ 319] = 4199 */ {__glXDisp_VertexAttrib3dvARB, __glXDispSwap_VertexAttrib3dvARB},
- /* [ 320] = 4200 */ {__glXDisp_VertexAttrib4dvARB, __glXDispSwap_VertexAttrib4dvARB},
- /* [ 321] = 4201 */ {__glXDisp_VertexAttrib4NubvARB, __glXDispSwap_VertexAttrib4NubvARB},
- /* [ 322] = 4202 */ {__glXDisp_VertexAttribs1svNV, __glXDispSwap_VertexAttribs1svNV},
- /* [ 323] = 4203 */ {__glXDisp_VertexAttribs2svNV, __glXDispSwap_VertexAttribs2svNV},
- /* [ 324] = 4204 */ {__glXDisp_VertexAttribs3svNV, __glXDispSwap_VertexAttribs3svNV},
- /* [ 325] = 4205 */ {__glXDisp_VertexAttribs4svNV, __glXDispSwap_VertexAttribs4svNV},
- /* [ 326] = 4206 */ {__glXDisp_VertexAttribs1fvNV, __glXDispSwap_VertexAttribs1fvNV},
- /* [ 327] = 4207 */ {__glXDisp_VertexAttribs2fvNV, __glXDispSwap_VertexAttribs2fvNV},
- /* [ 328] = 4208 */ {__glXDisp_VertexAttribs3fvNV, __glXDispSwap_VertexAttribs3fvNV},
- /* [ 329] = 4209 */ {__glXDisp_VertexAttribs4fvNV, __glXDispSwap_VertexAttribs4fvNV},
- /* [ 330] = 4210 */ {__glXDisp_VertexAttribs1dvNV, __glXDispSwap_VertexAttribs1dvNV},
- /* [ 331] = 4211 */ {__glXDisp_VertexAttribs2dvNV, __glXDispSwap_VertexAttribs2dvNV},
- /* [ 332] = 4212 */ {__glXDisp_VertexAttribs3dvNV, __glXDispSwap_VertexAttribs3dvNV},
- /* [ 333] = 4213 */ {__glXDisp_VertexAttribs4dvNV, __glXDispSwap_VertexAttribs4dvNV},
- /* [ 334] = 4214 */ {__glXDisp_VertexAttribs4ubvNV, __glXDispSwap_VertexAttribs4ubvNV},
- /* [ 335] = 4215 */ {__glXDisp_ProgramLocalParameter4fvARB, __glXDispSwap_ProgramLocalParameter4fvARB},
- /* [ 336] = 4216 */ {__glXDisp_ProgramLocalParameter4dvARB, __glXDispSwap_ProgramLocalParameter4dvARB},
- /* [ 337] = 4217 */ {__glXDisp_ProgramStringARB, __glXDispSwap_ProgramStringARB},
- /* [ 338] = 4218 */ {__glXDisp_ProgramNamedParameter4fvNV, __glXDispSwap_ProgramNamedParameter4fvNV},
- /* [ 339] = 4219 */ {__glXDisp_ProgramNamedParameter4dvNV, __glXDispSwap_ProgramNamedParameter4dvNV},
- /* [ 340] = 4220 */ {__glXDisp_ActiveStencilFaceEXT, __glXDispSwap_ActiveStencilFaceEXT},
- /* [ 341] = 4221 */ {__glXDisp_PointParameteriNV, __glXDispSwap_PointParameteriNV},
- /* [ 342] = 4222 */ {__glXDisp_PointParameterivNV, __glXDispSwap_PointParameterivNV},
+ /* [ 309] = 4189 */ {__glXDisp_VertexAttrib1svARB,
+ __glXDispSwap_VertexAttrib1svARB},
+ /* [ 310] = 4190 */ {__glXDisp_VertexAttrib2svARB,
+ __glXDispSwap_VertexAttrib2svARB},
+ /* [ 311] = 4191 */ {__glXDisp_VertexAttrib3svARB,
+ __glXDispSwap_VertexAttrib3svARB},
+ /* [ 312] = 4192 */ {__glXDisp_VertexAttrib4svARB,
+ __glXDispSwap_VertexAttrib4svARB},
+ /* [ 313] = 4193 */ {__glXDisp_VertexAttrib1fvARB,
+ __glXDispSwap_VertexAttrib1fvARB},
+ /* [ 314] = 4194 */ {__glXDisp_VertexAttrib2fvARB,
+ __glXDispSwap_VertexAttrib2fvARB},
+ /* [ 315] = 4195 */ {__glXDisp_VertexAttrib3fvARB,
+ __glXDispSwap_VertexAttrib3fvARB},
+ /* [ 316] = 4196 */ {__glXDisp_VertexAttrib4fvARB,
+ __glXDispSwap_VertexAttrib4fvARB},
+ /* [ 317] = 4197 */ {__glXDisp_VertexAttrib1dvARB,
+ __glXDispSwap_VertexAttrib1dvARB},
+ /* [ 318] = 4198 */ {__glXDisp_VertexAttrib2dvARB,
+ __glXDispSwap_VertexAttrib2dvARB},
+ /* [ 319] = 4199 */ {__glXDisp_VertexAttrib3dvARB,
+ __glXDispSwap_VertexAttrib3dvARB},
+ /* [ 320] = 4200 */ {__glXDisp_VertexAttrib4dvARB,
+ __glXDispSwap_VertexAttrib4dvARB},
+ /* [ 321] = 4201 */ {__glXDisp_VertexAttrib4NubvARB,
+ __glXDispSwap_VertexAttrib4NubvARB},
+ /* [ 322] = 4202 */ {__glXDisp_VertexAttribs1svNV,
+ __glXDispSwap_VertexAttribs1svNV},
+ /* [ 323] = 4203 */ {__glXDisp_VertexAttribs2svNV,
+ __glXDispSwap_VertexAttribs2svNV},
+ /* [ 324] = 4204 */ {__glXDisp_VertexAttribs3svNV,
+ __glXDispSwap_VertexAttribs3svNV},
+ /* [ 325] = 4205 */ {__glXDisp_VertexAttribs4svNV,
+ __glXDispSwap_VertexAttribs4svNV},
+ /* [ 326] = 4206 */ {__glXDisp_VertexAttribs1fvNV,
+ __glXDispSwap_VertexAttribs1fvNV},
+ /* [ 327] = 4207 */ {__glXDisp_VertexAttribs2fvNV,
+ __glXDispSwap_VertexAttribs2fvNV},
+ /* [ 328] = 4208 */ {__glXDisp_VertexAttribs3fvNV,
+ __glXDispSwap_VertexAttribs3fvNV},
+ /* [ 329] = 4209 */ {__glXDisp_VertexAttribs4fvNV,
+ __glXDispSwap_VertexAttribs4fvNV},
+ /* [ 330] = 4210 */ {__glXDisp_VertexAttribs1dvNV,
+ __glXDispSwap_VertexAttribs1dvNV},
+ /* [ 331] = 4211 */ {__glXDisp_VertexAttribs2dvNV,
+ __glXDispSwap_VertexAttribs2dvNV},
+ /* [ 332] = 4212 */ {__glXDisp_VertexAttribs3dvNV,
+ __glXDispSwap_VertexAttribs3dvNV},
+ /* [ 333] = 4213 */ {__glXDisp_VertexAttribs4dvNV,
+ __glXDispSwap_VertexAttribs4dvNV},
+ /* [ 334] = 4214 */ {__glXDisp_VertexAttribs4ubvNV,
+ __glXDispSwap_VertexAttribs4ubvNV},
+ /* [ 335] = 4215 */ {__glXDisp_ProgramLocalParameter4fvARB,
+ __glXDispSwap_ProgramLocalParameter4fvARB},
+ /* [ 336] = 4216 */ {__glXDisp_ProgramLocalParameter4dvARB,
+ __glXDispSwap_ProgramLocalParameter4dvARB},
+ /* [ 337] = 4217 */ {__glXDisp_ProgramStringARB,
+ __glXDispSwap_ProgramStringARB},
+ /* [ 338] = 4218 */ {__glXDisp_ProgramNamedParameter4fvNV,
+ __glXDispSwap_ProgramNamedParameter4fvNV},
+ /* [ 339] = 4219 */ {__glXDisp_ProgramNamedParameter4dvNV,
+ __glXDispSwap_ProgramNamedParameter4dvNV},
+ /* [ 340] = 4220 */ {__glXDisp_ActiveStencilFaceEXT,
+ __glXDispSwap_ActiveStencilFaceEXT},
+ /* [ 341] = 4221 */ {__glXDisp_PointParameteriNV,
+ __glXDispSwap_PointParameteriNV},
+ /* [ 342] = 4222 */ {__glXDisp_PointParameterivNV,
+ __glXDispSwap_PointParameterivNV},
/* [ 343] = 4223 */ {NULL, NULL},
/* [ 344] = 4224 */ {NULL, NULL},
/* [ 345] = 4225 */ {NULL, NULL},
/* [ 346] = 4226 */ {NULL, NULL},
/* [ 347] = 4227 */ {NULL, NULL},
- /* [ 348] = 4228 */ {__glXDisp_BlendEquationSeparateEXT, __glXDispSwap_BlendEquationSeparateEXT},
+ /* [ 348] = 4228 */ {__glXDisp_BlendEquationSeparateEXT,
+ __glXDispSwap_BlendEquationSeparateEXT},
/* [ 349] = 4229 */ {NULL, NULL},
- /* [ 350] = 4230 */ {__glXDisp_VertexAttrib4bvARB, __glXDispSwap_VertexAttrib4bvARB},
- /* [ 351] = 4231 */ {__glXDisp_VertexAttrib4ivARB, __glXDispSwap_VertexAttrib4ivARB},
- /* [ 352] = 4232 */ {__glXDisp_VertexAttrib4ubvARB, __glXDispSwap_VertexAttrib4ubvARB},
- /* [ 353] = 4233 */ {__glXDisp_VertexAttrib4usvARB, __glXDispSwap_VertexAttrib4usvARB},
- /* [ 354] = 4234 */ {__glXDisp_VertexAttrib4uivARB, __glXDispSwap_VertexAttrib4uivARB},
- /* [ 355] = 4235 */ {__glXDisp_VertexAttrib4NbvARB, __glXDispSwap_VertexAttrib4NbvARB},
- /* [ 356] = 4236 */ {__glXDisp_VertexAttrib4NsvARB, __glXDispSwap_VertexAttrib4NsvARB},
- /* [ 357] = 4237 */ {__glXDisp_VertexAttrib4NivARB, __glXDispSwap_VertexAttrib4NivARB},
- /* [ 358] = 4238 */ {__glXDisp_VertexAttrib4NusvARB, __glXDispSwap_VertexAttrib4NusvARB},
- /* [ 359] = 4239 */ {__glXDisp_VertexAttrib4NuivARB, __glXDispSwap_VertexAttrib4NuivARB},
- /* [ 360] = 4320 */ {__glXDisp_DeleteFramebuffersEXT, __glXDispSwap_DeleteFramebuffersEXT},
- /* [ 361] = 4321 */ {__glXDisp_FramebufferTexture1DEXT, __glXDispSwap_FramebufferTexture1DEXT},
- /* [ 362] = 4322 */ {__glXDisp_FramebufferTexture2DEXT, __glXDispSwap_FramebufferTexture2DEXT},
- /* [ 363] = 4323 */ {__glXDisp_FramebufferTexture3DEXT, __glXDispSwap_FramebufferTexture3DEXT},
- /* [ 364] = 4324 */ {__glXDisp_FramebufferRenderbufferEXT, __glXDispSwap_FramebufferRenderbufferEXT},
- /* [ 365] = 4325 */ {__glXDisp_GenerateMipmapEXT, __glXDispSwap_GenerateMipmapEXT},
+ /* [ 350] = 4230 */ {__glXDisp_VertexAttrib4bvARB,
+ __glXDispSwap_VertexAttrib4bvARB},
+ /* [ 351] = 4231 */ {__glXDisp_VertexAttrib4ivARB,
+ __glXDispSwap_VertexAttrib4ivARB},
+ /* [ 352] = 4232 */ {__glXDisp_VertexAttrib4ubvARB,
+ __glXDispSwap_VertexAttrib4ubvARB},
+ /* [ 353] = 4233 */ {__glXDisp_VertexAttrib4usvARB,
+ __glXDispSwap_VertexAttrib4usvARB},
+ /* [ 354] = 4234 */ {__glXDisp_VertexAttrib4uivARB,
+ __glXDispSwap_VertexAttrib4uivARB},
+ /* [ 355] = 4235 */ {__glXDisp_VertexAttrib4NbvARB,
+ __glXDispSwap_VertexAttrib4NbvARB},
+ /* [ 356] = 4236 */ {__glXDisp_VertexAttrib4NsvARB,
+ __glXDispSwap_VertexAttrib4NsvARB},
+ /* [ 357] = 4237 */ {__glXDisp_VertexAttrib4NivARB,
+ __glXDispSwap_VertexAttrib4NivARB},
+ /* [ 358] = 4238 */ {__glXDisp_VertexAttrib4NusvARB,
+ __glXDispSwap_VertexAttrib4NusvARB},
+ /* [ 359] = 4239 */ {__glXDisp_VertexAttrib4NuivARB,
+ __glXDispSwap_VertexAttrib4NuivARB},
+ /* [ 360] = 4320 */ {__glXDisp_DeleteFramebuffersEXT,
+ __glXDispSwap_DeleteFramebuffersEXT},
+ /* [ 361] = 4321 */ {__glXDisp_FramebufferTexture1DEXT,
+ __glXDispSwap_FramebufferTexture1DEXT},
+ /* [ 362] = 4322 */ {__glXDisp_FramebufferTexture2DEXT,
+ __glXDispSwap_FramebufferTexture2DEXT},
+ /* [ 363] = 4323 */ {__glXDisp_FramebufferTexture3DEXT,
+ __glXDispSwap_FramebufferTexture3DEXT},
+ /* [ 364] = 4324 */ {__glXDisp_FramebufferRenderbufferEXT,
+ __glXDispSwap_FramebufferRenderbufferEXT},
+ /* [ 365] = 4325 */ {__glXDisp_GenerateMipmapEXT,
+ __glXDispSwap_GenerateMipmapEXT},
/* [ 366] = 4326 */ {NULL, NULL},
/* [ 367] = 4327 */ {NULL, NULL},
/* [ 368] = 4328 */ {NULL, NULL},
/* [ 369] = 4329 */ {NULL, NULL},
- /* [ 370] = 4330 */ {__glXDisp_BlitFramebufferEXT, __glXDispSwap_BlitFramebufferEXT},
- /* [ 371] = 4331 */ {__glXDisp_RenderbufferStorageMultisample, __glXDispSwap_RenderbufferStorageMultisample},
+ /* [ 370] = 4330 */ {__glXDisp_BlitFramebufferEXT,
+ __glXDispSwap_BlitFramebufferEXT},
+ /* [ 371] = 4331 */ {__glXDisp_RenderbufferStorageMultisample,
+ __glXDispSwap_RenderbufferStorageMultisample},
/* [ 372] = 4332 */ {NULL, NULL},
/* [ 373] = 4333 */ {NULL, NULL},
/* [ 374] = 4334 */ {NULL, NULL},
/* [ 375] = 4335 */ {NULL, NULL},
- /* [ 376] = 4128 */ {__glXDisp_SecondaryColor3ivEXT, __glXDispSwap_SecondaryColor3ivEXT},
- /* [ 377] = 4129 */ {__glXDisp_SecondaryColor3fvEXT, __glXDispSwap_SecondaryColor3fvEXT},
- /* [ 378] = 4130 */ {__glXDisp_SecondaryColor3dvEXT, __glXDispSwap_SecondaryColor3dvEXT},
- /* [ 379] = 4131 */ {__glXDisp_SecondaryColor3ubvEXT, __glXDispSwap_SecondaryColor3ubvEXT},
- /* [ 380] = 4132 */ {__glXDisp_SecondaryColor3usvEXT, __glXDispSwap_SecondaryColor3usvEXT},
- /* [ 381] = 4133 */ {__glXDisp_SecondaryColor3uivEXT, __glXDispSwap_SecondaryColor3uivEXT},
- /* [ 382] = 4134 */ {__glXDisp_BlendFuncSeparateEXT, __glXDispSwap_BlendFuncSeparateEXT},
+ /* [ 376] = 4128 */ {__glXDisp_SecondaryColor3ivEXT,
+ __glXDispSwap_SecondaryColor3ivEXT},
+ /* [ 377] = 4129 */ {__glXDisp_SecondaryColor3fvEXT,
+ __glXDispSwap_SecondaryColor3fvEXT},
+ /* [ 378] = 4130 */ {__glXDisp_SecondaryColor3dvEXT,
+ __glXDispSwap_SecondaryColor3dvEXT},
+ /* [ 379] = 4131 */ {__glXDisp_SecondaryColor3ubvEXT,
+ __glXDispSwap_SecondaryColor3ubvEXT},
+ /* [ 380] = 4132 */ {__glXDisp_SecondaryColor3usvEXT,
+ __glXDispSwap_SecondaryColor3usvEXT},
+ /* [ 381] = 4133 */ {__glXDisp_SecondaryColor3uivEXT,
+ __glXDispSwap_SecondaryColor3uivEXT},
+ /* [ 382] = 4134 */ {__glXDisp_BlendFuncSeparateEXT,
+ __glXDispSwap_BlendFuncSeparateEXT},
/* [ 383] = 4135 */ {NULL, NULL},
/* [ 384] = 4264 */ {NULL, NULL},
- /* [ 385] = 4265 */ {__glXDisp_VertexAttrib1svNV, __glXDispSwap_VertexAttrib1svNV},
- /* [ 386] = 4266 */ {__glXDisp_VertexAttrib2svNV, __glXDispSwap_VertexAttrib2svNV},
- /* [ 387] = 4267 */ {__glXDisp_VertexAttrib3svNV, __glXDispSwap_VertexAttrib3svNV},
- /* [ 388] = 4268 */ {__glXDisp_VertexAttrib4svNV, __glXDispSwap_VertexAttrib4svNV},
- /* [ 389] = 4269 */ {__glXDisp_VertexAttrib1fvNV, __glXDispSwap_VertexAttrib1fvNV},
- /* [ 390] = 4270 */ {__glXDisp_VertexAttrib2fvNV, __glXDispSwap_VertexAttrib2fvNV},
- /* [ 391] = 4271 */ {__glXDisp_VertexAttrib3fvNV, __glXDispSwap_VertexAttrib3fvNV},
- /* [ 392] = 4272 */ {__glXDisp_VertexAttrib4fvNV, __glXDispSwap_VertexAttrib4fvNV},
- /* [ 393] = 4273 */ {__glXDisp_VertexAttrib1dvNV, __glXDispSwap_VertexAttrib1dvNV},
- /* [ 394] = 4274 */ {__glXDisp_VertexAttrib2dvNV, __glXDispSwap_VertexAttrib2dvNV},
- /* [ 395] = 4275 */ {__glXDisp_VertexAttrib3dvNV, __glXDispSwap_VertexAttrib3dvNV},
- /* [ 396] = 4276 */ {__glXDisp_VertexAttrib4dvNV, __glXDispSwap_VertexAttrib4dvNV},
- /* [ 397] = 4277 */ {__glXDisp_VertexAttrib4ubvNV, __glXDispSwap_VertexAttrib4ubvNV},
+ /* [ 385] = 4265 */ {__glXDisp_VertexAttrib1svNV,
+ __glXDispSwap_VertexAttrib1svNV},
+ /* [ 386] = 4266 */ {__glXDisp_VertexAttrib2svNV,
+ __glXDispSwap_VertexAttrib2svNV},
+ /* [ 387] = 4267 */ {__glXDisp_VertexAttrib3svNV,
+ __glXDispSwap_VertexAttrib3svNV},
+ /* [ 388] = 4268 */ {__glXDisp_VertexAttrib4svNV,
+ __glXDispSwap_VertexAttrib4svNV},
+ /* [ 389] = 4269 */ {__glXDisp_VertexAttrib1fvNV,
+ __glXDispSwap_VertexAttrib1fvNV},
+ /* [ 390] = 4270 */ {__glXDisp_VertexAttrib2fvNV,
+ __glXDispSwap_VertexAttrib2fvNV},
+ /* [ 391] = 4271 */ {__glXDisp_VertexAttrib3fvNV,
+ __glXDispSwap_VertexAttrib3fvNV},
+ /* [ 392] = 4272 */ {__glXDisp_VertexAttrib4fvNV,
+ __glXDispSwap_VertexAttrib4fvNV},
+ /* [ 393] = 4273 */ {__glXDisp_VertexAttrib1dvNV,
+ __glXDispSwap_VertexAttrib1dvNV},
+ /* [ 394] = 4274 */ {__glXDisp_VertexAttrib2dvNV,
+ __glXDispSwap_VertexAttrib2dvNV},
+ /* [ 395] = 4275 */ {__glXDisp_VertexAttrib3dvNV,
+ __glXDispSwap_VertexAttrib3dvNV},
+ /* [ 396] = 4276 */ {__glXDisp_VertexAttrib4dvNV,
+ __glXDispSwap_VertexAttrib4dvNV},
+ /* [ 397] = 4277 */ {__glXDisp_VertexAttrib4ubvNV,
+ __glXDispSwap_VertexAttrib4ubvNV},
/* [ 398] = 4278 */ {NULL, NULL},
/* [ 399] = 4279 */ {NULL, NULL},
/* [ 400] = 4312 */ {NULL, NULL},
/* [ 401] = 4313 */ {NULL, NULL},
/* [ 402] = 4314 */ {NULL, NULL},
/* [ 403] = 4315 */ {NULL, NULL},
- /* [ 404] = 4316 */ {__glXDisp_BindRenderbufferEXT, __glXDispSwap_BindRenderbufferEXT},
- /* [ 405] = 4317 */ {__glXDisp_DeleteRenderbuffersEXT, __glXDispSwap_DeleteRenderbuffersEXT},
- /* [ 406] = 4318 */ {__glXDisp_RenderbufferStorageEXT, __glXDispSwap_RenderbufferStorageEXT},
- /* [ 407] = 4319 */ {__glXDisp_BindFramebufferEXT, __glXDispSwap_BindFramebufferEXT},
+ /* [ 404] = 4316 */ {__glXDisp_BindRenderbufferEXT,
+ __glXDispSwap_BindRenderbufferEXT},
+ /* [ 405] = 4317 */ {__glXDisp_DeleteRenderbuffersEXT,
+ __glXDispSwap_DeleteRenderbuffersEXT},
+ /* [ 406] = 4318 */ {__glXDisp_RenderbufferStorageEXT,
+ __glXDispSwap_RenderbufferStorageEXT},
+ /* [ 407] = 4319 */ {__glXDisp_BindFramebufferEXT,
+ __glXDispSwap_BindFramebufferEXT},
};
static const int_fast16_t Render_size_table[408][2] = {
- /* [ 0] = 0 */ { 0, ~0},
- /* [ 1] = 1 */ { 8, ~0},
- /* [ 2] = 2 */ { 12, 0},
- /* [ 3] = 3 */ { 8, ~0},
- /* [ 4] = 4 */ { 8, ~0},
- /* [ 5] = 5 */ { 48, 1},
- /* [ 6] = 6 */ { 8, ~0},
- /* [ 7] = 7 */ { 28, ~0},
- /* [ 8] = 8 */ { 16, ~0},
- /* [ 9] = 9 */ { 16, ~0},
- /* [ 10] = 10 */ { 12, ~0},
- /* [ 11] = 11 */ { 8, ~0},
- /* [ 12] = 12 */ { 16, ~0},
- /* [ 13] = 13 */ { 12, ~0},
- /* [ 14] = 14 */ { 8, ~0},
- /* [ 15] = 15 */ { 36, ~0},
- /* [ 16] = 16 */ { 20, ~0},
- /* [ 17] = 17 */ { 20, ~0},
- /* [ 18] = 18 */ { 12, ~0},
- /* [ 19] = 19 */ { 8, ~0},
- /* [ 20] = 20 */ { 20, ~0},
- /* [ 21] = 21 */ { 12, ~0},
- /* [ 22] = 22 */ { 8, ~0},
- /* [ 23] = 23 */ { 4, ~0},
- /* [ 24] = 24 */ { 12, ~0},
- /* [ 25] = 25 */ { 8, ~0},
- /* [ 26] = 26 */ { 8, ~0},
- /* [ 27] = 27 */ { 8, ~0},
- /* [ 28] = 28 */ { 8, ~0},
- /* [ 29] = 29 */ { 28, ~0},
- /* [ 30] = 30 */ { 16, ~0},
- /* [ 31] = 31 */ { 16, ~0},
- /* [ 32] = 32 */ { 12, ~0},
- /* [ 33] = 33 */ { 20, ~0},
- /* [ 34] = 34 */ { 12, ~0},
- /* [ 35] = 35 */ { 12, ~0},
- /* [ 36] = 36 */ { 8, ~0},
- /* [ 37] = 37 */ { 28, ~0},
- /* [ 38] = 38 */ { 16, ~0},
- /* [ 39] = 39 */ { 16, ~0},
- /* [ 40] = 40 */ { 12, ~0},
- /* [ 41] = 41 */ { 36, ~0},
- /* [ 42] = 42 */ { 20, ~0},
- /* [ 43] = 43 */ { 20, ~0},
- /* [ 44] = 44 */ { 12, ~0},
- /* [ 45] = 45 */ { 36, ~0},
- /* [ 46] = 46 */ { 20, ~0},
- /* [ 47] = 47 */ { 20, ~0},
- /* [ 48] = 48 */ { 12, ~0},
- /* [ 49] = 49 */ { 12, ~0},
- /* [ 50] = 50 */ { 8, ~0},
- /* [ 51] = 51 */ { 8, ~0},
- /* [ 52] = 52 */ { 8, ~0},
- /* [ 53] = 53 */ { 20, ~0},
- /* [ 54] = 54 */ { 12, ~0},
- /* [ 55] = 55 */ { 12, ~0},
- /* [ 56] = 56 */ { 8, ~0},
- /* [ 57] = 57 */ { 28, ~0},
- /* [ 58] = 58 */ { 16, ~0},
- /* [ 59] = 59 */ { 16, ~0},
- /* [ 60] = 60 */ { 12, ~0},
- /* [ 61] = 61 */ { 36, ~0},
- /* [ 62] = 62 */ { 20, ~0},
- /* [ 63] = 63 */ { 20, ~0},
- /* [ 64] = 64 */ { 12, ~0},
- /* [ 65] = 65 */ { 20, ~0},
- /* [ 66] = 66 */ { 12, ~0},
- /* [ 67] = 67 */ { 12, ~0},
- /* [ 68] = 68 */ { 8, ~0},
- /* [ 69] = 69 */ { 28, ~0},
- /* [ 70] = 70 */ { 16, ~0},
- /* [ 71] = 71 */ { 16, ~0},
- /* [ 72] = 72 */ { 12, ~0},
- /* [ 73] = 73 */ { 36, ~0},
- /* [ 74] = 74 */ { 20, ~0},
- /* [ 75] = 75 */ { 20, ~0},
- /* [ 76] = 76 */ { 12, ~0},
- /* [ 77] = 77 */ { 40, ~0},
- /* [ 78] = 78 */ { 12, ~0},
- /* [ 79] = 79 */ { 8, ~0},
- /* [ 80] = 80 */ { 12, ~0},
- /* [ 81] = 81 */ { 8, 2},
- /* [ 82] = 82 */ { 12, ~0},
- /* [ 83] = 83 */ { 8, 3},
- /* [ 84] = 84 */ { 8, ~0},
- /* [ 85] = 85 */ { 12, ~0},
- /* [ 86] = 86 */ { 16, ~0},
- /* [ 87] = 87 */ { 12, 4},
- /* [ 88] = 88 */ { 16, ~0},
- /* [ 89] = 89 */ { 12, 5},
- /* [ 90] = 90 */ { 12, ~0},
- /* [ 91] = 91 */ { 8, 6},
- /* [ 92] = 92 */ { 12, ~0},
- /* [ 93] = 93 */ { 8, 7},
- /* [ 94] = 94 */ { 12, ~0},
- /* [ 95] = 95 */ { 8, ~0},
- /* [ 96] = 96 */ { 16, ~0},
- /* [ 97] = 97 */ { 12, 8},
- /* [ 98] = 98 */ { 16, ~0},
- /* [ 99] = 99 */ { 12, 9},
- /* [100] = 100 */ { 8, ~0},
- /* [101] = 101 */ { 12, ~0},
- /* [102] = 102 */ { 24, 10},
- /* [103] = 103 */ { 20, ~0},
- /* [104] = 104 */ { 8, ~0},
- /* [105] = 105 */ { 16, ~0},
- /* [106] = 106 */ { 12, 11},
- /* [107] = 107 */ { 16, ~0},
- /* [108] = 108 */ { 12, 12},
- /* [109] = 109 */ { 56, 13},
- /* [110] = 110 */ { 56, 14},
- /* [111] = 111 */ { 16, ~0},
- /* [112] = 112 */ { 12, 15},
- /* [113] = 113 */ { 16, ~0},
- /* [114] = 114 */ { 12, 16},
- /* [115] = 115 */ { 20, ~0},
- /* [116] = 116 */ { 12, 17},
- /* [117] = 117 */ { 16, ~0},
- /* [118] = 118 */ { 12, 18},
- /* [119] = 119 */ { 16, ~0},
- /* [120] = 120 */ { 12, 19},
- /* [121] = 121 */ { 4, ~0},
- /* [122] = 122 */ { 8, ~0},
- /* [123] = 123 */ { 8, ~0},
- /* [124] = 124 */ { 4, ~0},
- /* [125] = 125 */ { 8, ~0},
- /* [126] = 126 */ { 8, ~0},
- /* [127] = 127 */ { 8, ~0},
- /* [128] = 128 */ { 20, ~0},
- /* [129] = 129 */ { 8, ~0},
- /* [130] = 130 */ { 20, ~0},
- /* [131] = 131 */ { 8, ~0},
- /* [132] = 132 */ { 12, ~0},
- /* [133] = 133 */ { 8, ~0},
- /* [134] = 134 */ { 8, ~0},
- /* [135] = 135 */ { 8, ~0},
- /* [136] = 136 */ { 8, ~0},
- /* [137] = 137 */ { 12, ~0},
- /* [138] = 138 */ { 8, ~0},
- /* [139] = 139 */ { 8, ~0},
- /* [140] = 140 */ { 0, ~0},
- /* [141] = 141 */ { 4, ~0},
- /* [142] = 142 */ { 8, ~0},
- /* [143] = 143 */ { 28, 20},
- /* [144] = 144 */ { 20, 21},
- /* [145] = 145 */ { 48, 22},
- /* [146] = 146 */ { 32, 23},
- /* [147] = 147 */ { 24, ~0},
- /* [148] = 148 */ { 16, ~0},
- /* [149] = 149 */ { 44, ~0},
- /* [150] = 150 */ { 28, ~0},
- /* [151] = 151 */ { 12, ~0},
- /* [152] = 152 */ { 8, ~0},
- /* [153] = 153 */ { 20, ~0},
- /* [154] = 154 */ { 12, ~0},
- /* [155] = 155 */ { 16, ~0},
- /* [156] = 156 */ { 8, ~0},
- /* [157] = 157 */ { 24, ~0},
- /* [158] = 158 */ { 12, ~0},
- /* [159] = 159 */ { 12, ~0},
- /* [160] = 160 */ { 12, ~0},
- /* [161] = 161 */ { 8, ~0},
- /* [162] = 162 */ { 16, ~0},
- /* [163] = 163 */ { 16, ~0},
- /* [164] = 164 */ { 8, ~0},
- /* [165] = 165 */ { 12, ~0},
- /* [166] = 166 */ { 12, ~0},
- /* [167] = 167 */ { 12, ~0},
- /* [168] = 168 */ { 12, 24},
- /* [169] = 169 */ { 12, 25},
- /* [170] = 170 */ { 12, 26},
- /* [171] = 171 */ { 8, ~0},
- /* [172] = 172 */ { 24, ~0},
- /* [173] = 173 */ { 40, 27},
- /* [174] = 174 */ { 20, ~0},
- /* [175] = 175 */ { 52, ~0},
- /* [176] = 176 */ { 4, ~0},
- /* [177] = 177 */ { 68, ~0},
+ /* [ 0] = 0 */ {0, ~0},
+ /* [ 1] = 1 */ {8, ~0},
+ /* [ 2] = 2 */ {12, 0},
+ /* [ 3] = 3 */ {8, ~0},
+ /* [ 4] = 4 */ {8, ~0},
+ /* [ 5] = 5 */ {48, 1},
+ /* [ 6] = 6 */ {8, ~0},
+ /* [ 7] = 7 */ {28, ~0},
+ /* [ 8] = 8 */ {16, ~0},
+ /* [ 9] = 9 */ {16, ~0},
+ /* [ 10] = 10 */ {12, ~0},
+ /* [ 11] = 11 */ {8, ~0},
+ /* [ 12] = 12 */ {16, ~0},
+ /* [ 13] = 13 */ {12, ~0},
+ /* [ 14] = 14 */ {8, ~0},
+ /* [ 15] = 15 */ {36, ~0},
+ /* [ 16] = 16 */ {20, ~0},
+ /* [ 17] = 17 */ {20, ~0},
+ /* [ 18] = 18 */ {12, ~0},
+ /* [ 19] = 19 */ {8, ~0},
+ /* [ 20] = 20 */ {20, ~0},
+ /* [ 21] = 21 */ {12, ~0},
+ /* [ 22] = 22 */ {8, ~0},
+ /* [ 23] = 23 */ {4, ~0},
+ /* [ 24] = 24 */ {12, ~0},
+ /* [ 25] = 25 */ {8, ~0},
+ /* [ 26] = 26 */ {8, ~0},
+ /* [ 27] = 27 */ {8, ~0},
+ /* [ 28] = 28 */ {8, ~0},
+ /* [ 29] = 29 */ {28, ~0},
+ /* [ 30] = 30 */ {16, ~0},
+ /* [ 31] = 31 */ {16, ~0},
+ /* [ 32] = 32 */ {12, ~0},
+ /* [ 33] = 33 */ {20, ~0},
+ /* [ 34] = 34 */ {12, ~0},
+ /* [ 35] = 35 */ {12, ~0},
+ /* [ 36] = 36 */ {8, ~0},
+ /* [ 37] = 37 */ {28, ~0},
+ /* [ 38] = 38 */ {16, ~0},
+ /* [ 39] = 39 */ {16, ~0},
+ /* [ 40] = 40 */ {12, ~0},
+ /* [ 41] = 41 */ {36, ~0},
+ /* [ 42] = 42 */ {20, ~0},
+ /* [ 43] = 43 */ {20, ~0},
+ /* [ 44] = 44 */ {12, ~0},
+ /* [ 45] = 45 */ {36, ~0},
+ /* [ 46] = 46 */ {20, ~0},
+ /* [ 47] = 47 */ {20, ~0},
+ /* [ 48] = 48 */ {12, ~0},
+ /* [ 49] = 49 */ {12, ~0},
+ /* [ 50] = 50 */ {8, ~0},
+ /* [ 51] = 51 */ {8, ~0},
+ /* [ 52] = 52 */ {8, ~0},
+ /* [ 53] = 53 */ {20, ~0},
+ /* [ 54] = 54 */ {12, ~0},
+ /* [ 55] = 55 */ {12, ~0},
+ /* [ 56] = 56 */ {8, ~0},
+ /* [ 57] = 57 */ {28, ~0},
+ /* [ 58] = 58 */ {16, ~0},
+ /* [ 59] = 59 */ {16, ~0},
+ /* [ 60] = 60 */ {12, ~0},
+ /* [ 61] = 61 */ {36, ~0},
+ /* [ 62] = 62 */ {20, ~0},
+ /* [ 63] = 63 */ {20, ~0},
+ /* [ 64] = 64 */ {12, ~0},
+ /* [ 65] = 65 */ {20, ~0},
+ /* [ 66] = 66 */ {12, ~0},
+ /* [ 67] = 67 */ {12, ~0},
+ /* [ 68] = 68 */ {8, ~0},
+ /* [ 69] = 69 */ {28, ~0},
+ /* [ 70] = 70 */ {16, ~0},
+ /* [ 71] = 71 */ {16, ~0},
+ /* [ 72] = 72 */ {12, ~0},
+ /* [ 73] = 73 */ {36, ~0},
+ /* [ 74] = 74 */ {20, ~0},
+ /* [ 75] = 75 */ {20, ~0},
+ /* [ 76] = 76 */ {12, ~0},
+ /* [ 77] = 77 */ {40, ~0},
+ /* [ 78] = 78 */ {12, ~0},
+ /* [ 79] = 79 */ {8, ~0},
+ /* [ 80] = 80 */ {12, ~0},
+ /* [ 81] = 81 */ {8, 2},
+ /* [ 82] = 82 */ {12, ~0},
+ /* [ 83] = 83 */ {8, 3},
+ /* [ 84] = 84 */ {8, ~0},
+ /* [ 85] = 85 */ {12, ~0},
+ /* [ 86] = 86 */ {16, ~0},
+ /* [ 87] = 87 */ {12, 4},
+ /* [ 88] = 88 */ {16, ~0},
+ /* [ 89] = 89 */ {12, 5},
+ /* [ 90] = 90 */ {12, ~0},
+ /* [ 91] = 91 */ {8, 6},
+ /* [ 92] = 92 */ {12, ~0},
+ /* [ 93] = 93 */ {8, 7},
+ /* [ 94] = 94 */ {12, ~0},
+ /* [ 95] = 95 */ {8, ~0},
+ /* [ 96] = 96 */ {16, ~0},
+ /* [ 97] = 97 */ {12, 8},
+ /* [ 98] = 98 */ {16, ~0},
+ /* [ 99] = 99 */ {12, 9},
+ /* [100] = 100 */ {8, ~0},
+ /* [101] = 101 */ {12, ~0},
+ /* [102] = 102 */ {24, 10},
+ /* [103] = 103 */ {20, ~0},
+ /* [104] = 104 */ {8, ~0},
+ /* [105] = 105 */ {16, ~0},
+ /* [106] = 106 */ {12, 11},
+ /* [107] = 107 */ {16, ~0},
+ /* [108] = 108 */ {12, 12},
+ /* [109] = 109 */ {56, 13},
+ /* [110] = 110 */ {56, 14},
+ /* [111] = 111 */ {16, ~0},
+ /* [112] = 112 */ {12, 15},
+ /* [113] = 113 */ {16, ~0},
+ /* [114] = 114 */ {12, 16},
+ /* [115] = 115 */ {20, ~0},
+ /* [116] = 116 */ {12, 17},
+ /* [117] = 117 */ {16, ~0},
+ /* [118] = 118 */ {12, 18},
+ /* [119] = 119 */ {16, ~0},
+ /* [120] = 120 */ {12, 19},
+ /* [121] = 121 */ {4, ~0},
+ /* [122] = 122 */ {8, ~0},
+ /* [123] = 123 */ {8, ~0},
+ /* [124] = 124 */ {4, ~0},
+ /* [125] = 125 */ {8, ~0},
+ /* [126] = 126 */ {8, ~0},
+ /* [127] = 127 */ {8, ~0},
+ /* [128] = 128 */ {20, ~0},
+ /* [129] = 129 */ {8, ~0},
+ /* [130] = 130 */ {20, ~0},
+ /* [131] = 131 */ {8, ~0},
+ /* [132] = 132 */ {12, ~0},
+ /* [133] = 133 */ {8, ~0},
+ /* [134] = 134 */ {8, ~0},
+ /* [135] = 135 */ {8, ~0},
+ /* [136] = 136 */ {8, ~0},
+ /* [137] = 137 */ {12, ~0},
+ /* [138] = 138 */ {8, ~0},
+ /* [139] = 139 */ {8, ~0},
+ /* [140] = 140 */ {0, ~0},
+ /* [141] = 141 */ {4, ~0},
+ /* [142] = 142 */ {8, ~0},
+ /* [143] = 143 */ {28, 20},
+ /* [144] = 144 */ {20, 21},
+ /* [145] = 145 */ {48, 22},
+ /* [146] = 146 */ {32, 23},
+ /* [147] = 147 */ {24, ~0},
+ /* [148] = 148 */ {16, ~0},
+ /* [149] = 149 */ {44, ~0},
+ /* [150] = 150 */ {28, ~0},
+ /* [151] = 151 */ {12, ~0},
+ /* [152] = 152 */ {8, ~0},
+ /* [153] = 153 */ {20, ~0},
+ /* [154] = 154 */ {12, ~0},
+ /* [155] = 155 */ {16, ~0},
+ /* [156] = 156 */ {8, ~0},
+ /* [157] = 157 */ {24, ~0},
+ /* [158] = 158 */ {12, ~0},
+ /* [159] = 159 */ {12, ~0},
+ /* [160] = 160 */ {12, ~0},
+ /* [161] = 161 */ {8, ~0},
+ /* [162] = 162 */ {16, ~0},
+ /* [163] = 163 */ {16, ~0},
+ /* [164] = 164 */ {8, ~0},
+ /* [165] = 165 */ {12, ~0},
+ /* [166] = 166 */ {12, ~0},
+ /* [167] = 167 */ {12, ~0},
+ /* [168] = 168 */ {12, 24},
+ /* [169] = 169 */ {12, 25},
+ /* [170] = 170 */ {12, 26},
+ /* [171] = 171 */ {8, ~0},
+ /* [172] = 172 */ {24, ~0},
+ /* [173] = 173 */ {40, 27},
+ /* [174] = 174 */ {20, ~0},
+ /* [175] = 175 */ {52, ~0},
+ /* [176] = 176 */ {4, ~0},
+ /* [177] = 177 */ {68, ~0},
/* [178] = 178 */ {132, ~0},
- /* [179] = 179 */ { 8, ~0},
- /* [180] = 180 */ { 68, ~0},
+ /* [179] = 179 */ {8, ~0},
+ /* [180] = 180 */ {68, ~0},
/* [181] = 181 */ {132, ~0},
- /* [182] = 182 */ { 52, ~0},
- /* [183] = 183 */ { 4, ~0},
- /* [184] = 184 */ { 4, ~0},
- /* [185] = 185 */ { 36, ~0},
- /* [186] = 186 */ { 20, ~0},
- /* [187] = 187 */ { 28, ~0},
- /* [188] = 188 */ { 16, ~0},
- /* [189] = 189 */ { 28, ~0},
- /* [190] = 190 */ { 16, ~0},
- /* [191] = 191 */ { 20, ~0},
- /* [192] = 192 */ { 12, ~0},
- /* [193] = 193 */ { 16, 28},
- /* [194] = 194 */ { 8, ~0},
- /* [195] = 195 */ { 44, 29},
- /* [196] = 196 */ { 24, ~0},
- /* [197] = 197 */ { 8, ~0},
- /* [198] = 198 */ { 16, ~0},
- /* [199] = 199 */ { 12, ~0},
- /* [200] = 200 */ { 12, ~0},
- /* [201] = 201 */ { 12, ~0},
- /* [202] = 202 */ { 24, ~0},
- /* [203] = 203 */ { 16, ~0},
- /* [204] = 204 */ { 16, ~0},
- /* [205] = 205 */ { 12, ~0},
- /* [206] = 206 */ { 32, ~0},
- /* [207] = 207 */ { 20, ~0},
- /* [208] = 208 */ { 20, ~0},
- /* [209] = 209 */ { 16, ~0},
- /* [210] = 210 */ { 40, ~0},
- /* [211] = 211 */ { 24, ~0},
- /* [212] = 212 */ { 24, ~0},
- /* [213] = 213 */ { 16, ~0},
- /* [214] = 214 */ { 28, 30},
- /* [215] = 215 */ { 32, 31},
- /* [216] = 216 */ { 36, 32},
- /* [217] = 217 */ { 28, 33},
- /* [218] = 218 */ { 36, 34},
- /* [219] = 219 */ { 44, 35},
- /* [220] = 220 */ { 0, ~0},
- /* [221] = 221 */ { 0, ~0},
- /* [222] = 222 */ { 0, ~0},
- /* [223] = 223 */ { 0, ~0},
- /* [224] = 224 */ { 0, ~0},
- /* [225] = 225 */ { 0, ~0},
- /* [226] = 226 */ { 0, ~0},
- /* [227] = 227 */ { 0, ~0},
- /* [228] = 228 */ { 0, ~0},
- /* [229] = 229 */ { 12, ~0},
- /* [230] = 230 */ { 16, ~0},
- /* [231] = 231 */ { 12, ~0},
- /* [232] = 232 */ { 8, ~0},
- /* [233] = 233 */ { 8, 36},
- /* [234] = 234 */ { 12, ~0},
- /* [235] = 235 */ { 0, ~0},
- /* [236] = 236 */ { 0, ~0},
- /* [237] = 237 */ { 24, ~0},
- /* [238] = 238 */ { 0, ~0},
- /* [239] = 239 */ { 0, ~0},
- /* [240] = 2048 */ { 12, ~0},
- /* [241] = 2049 */ { 8, ~0},
- /* [242] = 2050 */ { 0, ~0},
- /* [243] = 2051 */ { 0, ~0},
- /* [244] = 2052 */ { 0, ~0},
- /* [245] = 2053 */ { 44, 37},
- /* [246] = 2054 */ { 12, 38},
- /* [247] = 2055 */ { 12, 39},
- /* [248] = 2056 */ { 24, ~0},
- /* [249] = 2057 */ { 0, ~0},
- /* [250] = 2058 */ { 0, ~0},
- /* [251] = 2059 */ { 0, ~0},
- /* [252] = 2060 */ { 0, ~0},
- /* [253] = 2061 */ { 0, ~0},
- /* [254] = 2062 */ { 0, ~0},
- /* [255] = 2063 */ { 0, ~0},
- /* [256] = 2064 */ { 0, ~0},
- /* [257] = 2065 */ { 12, ~0},
- /* [258] = 2066 */ { 8, 40},
- /* [259] = 2067 */ { 0, ~0},
- /* [260] = 2068 */ { 0, ~0},
- /* [261] = 2069 */ { 0, ~0},
- /* [262] = 2070 */ { 0, ~0},
- /* [263] = 2071 */ { 0, ~0},
- /* [264] = 4096 */ { 20, ~0},
- /* [265] = 4097 */ { 8, ~0},
- /* [266] = 4098 */ { 0, ~0},
- /* [267] = 4099 */ { 60, 41},
- /* [268] = 4100 */ { 60, 42},
- /* [269] = 4101 */ { 48, 43},
- /* [270] = 4102 */ { 48, 44},
- /* [271] = 4103 */ { 16, ~0},
- /* [272] = 4104 */ { 12, 45},
- /* [273] = 4105 */ { 16, ~0},
- /* [274] = 4106 */ { 12, 46},
- /* [275] = 4107 */ { 24, ~0},
- /* [276] = 4108 */ { 28, ~0},
- /* [277] = 4109 */ { 32, 47},
- /* [278] = 4110 */ { 20, ~0},
- /* [279] = 4111 */ { 16, ~0},
- /* [280] = 4112 */ { 8, ~0},
- /* [281] = 4113 */ { 8, ~0},
- /* [282] = 4114 */ { 84, 48},
- /* [283] = 4115 */ { 92, 49},
- /* [284] = 4116 */ { 0, ~0},
- /* [285] = 4117 */ { 12, ~0},
- /* [286] = 4118 */ { 8, 50},
- /* [287] = 4119 */ { 32, ~0},
- /* [288] = 4120 */ { 36, ~0},
- /* [289] = 4121 */ { 28, ~0},
- /* [290] = 4122 */ { 36, ~0},
- /* [291] = 4123 */ { 40, ~0},
- /* [292] = 4124 */ { 8, ~0},
- /* [293] = 4125 */ { 12, ~0},
- /* [294] = 4126 */ { 8, ~0},
- /* [295] = 4127 */ { 12, ~0},
- /* [296] = 4176 */ { 0, ~0},
- /* [297] = 4177 */ { 0, ~0},
- /* [298] = 4178 */ { 0, ~0},
- /* [299] = 4179 */ { 0, ~0},
- /* [300] = 4180 */ { 12, ~0},
- /* [301] = 4181 */ { 28, ~0},
- /* [302] = 4182 */ { 8, 51},
- /* [303] = 4183 */ { 16, 52},
- /* [304] = 4184 */ { 28, ~0},
- /* [305] = 4185 */ { 44, ~0},
- /* [306] = 4186 */ { 16, 53},
- /* [307] = 4187 */ { 16, 54},
- /* [308] = 4188 */ { 20, ~0},
- /* [309] = 4189 */ { 12, ~0},
- /* [310] = 4190 */ { 12, ~0},
- /* [311] = 4191 */ { 16, ~0},
- /* [312] = 4192 */ { 16, ~0},
- /* [313] = 4193 */ { 12, ~0},
- /* [314] = 4194 */ { 16, ~0},
- /* [315] = 4195 */ { 20, ~0},
- /* [316] = 4196 */ { 24, ~0},
- /* [317] = 4197 */ { 16, ~0},
- /* [318] = 4198 */ { 24, ~0},
- /* [319] = 4199 */ { 32, ~0},
- /* [320] = 4200 */ { 40, ~0},
- /* [321] = 4201 */ { 12, ~0},
- /* [322] = 4202 */ { 12, 55},
- /* [323] = 4203 */ { 12, 56},
- /* [324] = 4204 */ { 12, 57},
- /* [325] = 4205 */ { 12, 58},
- /* [326] = 4206 */ { 12, 59},
- /* [327] = 4207 */ { 12, 60},
- /* [328] = 4208 */ { 12, 61},
- /* [329] = 4209 */ { 12, 62},
- /* [330] = 4210 */ { 12, 63},
- /* [331] = 4211 */ { 12, 64},
- /* [332] = 4212 */ { 12, 65},
- /* [333] = 4213 */ { 12, 66},
- /* [334] = 4214 */ { 12, 67},
- /* [335] = 4215 */ { 28, ~0},
- /* [336] = 4216 */ { 44, ~0},
- /* [337] = 4217 */ { 16, 68},
- /* [338] = 4218 */ { 28, 69},
- /* [339] = 4219 */ { 44, 70},
- /* [340] = 4220 */ { 8, ~0},
- /* [341] = 4221 */ { 12, ~0},
- /* [342] = 4222 */ { 8, 71},
- /* [343] = 4223 */ { 0, ~0},
- /* [344] = 4224 */ { 0, ~0},
- /* [345] = 4225 */ { 0, ~0},
- /* [346] = 4226 */ { 0, ~0},
- /* [347] = 4227 */ { 0, ~0},
- /* [348] = 4228 */ { 12, ~0},
- /* [349] = 4229 */ { 0, ~0},
- /* [350] = 4230 */ { 12, ~0},
- /* [351] = 4231 */ { 24, ~0},
- /* [352] = 4232 */ { 12, ~0},
- /* [353] = 4233 */ { 16, ~0},
- /* [354] = 4234 */ { 24, ~0},
- /* [355] = 4235 */ { 12, ~0},
- /* [356] = 4236 */ { 16, ~0},
- /* [357] = 4237 */ { 24, ~0},
- /* [358] = 4238 */ { 16, ~0},
- /* [359] = 4239 */ { 24, ~0},
- /* [360] = 4320 */ { 8, 72},
- /* [361] = 4321 */ { 24, ~0},
- /* [362] = 4322 */ { 24, ~0},
- /* [363] = 4323 */ { 28, ~0},
- /* [364] = 4324 */ { 20, ~0},
- /* [365] = 4325 */ { 8, ~0},
- /* [366] = 4326 */ { 0, ~0},
- /* [367] = 4327 */ { 0, ~0},
- /* [368] = 4328 */ { 0, ~0},
- /* [369] = 4329 */ { 0, ~0},
- /* [370] = 4330 */ { 44, ~0},
- /* [371] = 4331 */ { 24, ~0},
- /* [372] = 4332 */ { 0, ~0},
- /* [373] = 4333 */ { 0, ~0},
- /* [374] = 4334 */ { 0, ~0},
- /* [375] = 4335 */ { 0, ~0},
- /* [376] = 4128 */ { 16, ~0},
- /* [377] = 4129 */ { 16, ~0},
- /* [378] = 4130 */ { 28, ~0},
- /* [379] = 4131 */ { 8, ~0},
- /* [380] = 4132 */ { 12, ~0},
- /* [381] = 4133 */ { 16, ~0},
- /* [382] = 4134 */ { 20, ~0},
- /* [383] = 4135 */ { 0, ~0},
- /* [384] = 4264 */ { 0, ~0},
- /* [385] = 4265 */ { 12, ~0},
- /* [386] = 4266 */ { 12, ~0},
- /* [387] = 4267 */ { 16, ~0},
- /* [388] = 4268 */ { 16, ~0},
- /* [389] = 4269 */ { 12, ~0},
- /* [390] = 4270 */ { 16, ~0},
- /* [391] = 4271 */ { 20, ~0},
- /* [392] = 4272 */ { 24, ~0},
- /* [393] = 4273 */ { 16, ~0},
- /* [394] = 4274 */ { 24, ~0},
- /* [395] = 4275 */ { 32, ~0},
- /* [396] = 4276 */ { 40, ~0},
- /* [397] = 4277 */ { 12, ~0},
- /* [398] = 4278 */ { 0, ~0},
- /* [399] = 4279 */ { 0, ~0},
- /* [400] = 4312 */ { 0, ~0},
- /* [401] = 4313 */ { 0, ~0},
- /* [402] = 4314 */ { 0, ~0},
- /* [403] = 4315 */ { 0, ~0},
- /* [404] = 4316 */ { 12, ~0},
- /* [405] = 4317 */ { 8, 73},
- /* [406] = 4318 */ { 20, ~0},
- /* [407] = 4319 */ { 12, ~0},
+ /* [182] = 182 */ {52, ~0},
+ /* [183] = 183 */ {4, ~0},
+ /* [184] = 184 */ {4, ~0},
+ /* [185] = 185 */ {36, ~0},
+ /* [186] = 186 */ {20, ~0},
+ /* [187] = 187 */ {28, ~0},
+ /* [188] = 188 */ {16, ~0},
+ /* [189] = 189 */ {28, ~0},
+ /* [190] = 190 */ {16, ~0},
+ /* [191] = 191 */ {20, ~0},
+ /* [192] = 192 */ {12, ~0},
+ /* [193] = 193 */ {16, 28},
+ /* [194] = 194 */ {8, ~0},
+ /* [195] = 195 */ {44, 29},
+ /* [196] = 196 */ {24, ~0},
+ /* [197] = 197 */ {8, ~0},
+ /* [198] = 198 */ {16, ~0},
+ /* [199] = 199 */ {12, ~0},
+ /* [200] = 200 */ {12, ~0},
+ /* [201] = 201 */ {12, ~0},
+ /* [202] = 202 */ {24, ~0},
+ /* [203] = 203 */ {16, ~0},
+ /* [204] = 204 */ {16, ~0},
+ /* [205] = 205 */ {12, ~0},
+ /* [206] = 206 */ {32, ~0},
+ /* [207] = 207 */ {20, ~0},
+ /* [208] = 208 */ {20, ~0},
+ /* [209] = 209 */ {16, ~0},
+ /* [210] = 210 */ {40, ~0},
+ /* [211] = 211 */ {24, ~0},
+ /* [212] = 212 */ {24, ~0},
+ /* [213] = 213 */ {16, ~0},
+ /* [214] = 214 */ {28, 30},
+ /* [215] = 215 */ {32, 31},
+ /* [216] = 216 */ {36, 32},
+ /* [217] = 217 */ {28, 33},
+ /* [218] = 218 */ {36, 34},
+ /* [219] = 219 */ {44, 35},
+ /* [220] = 220 */ {0, ~0},
+ /* [221] = 221 */ {0, ~0},
+ /* [222] = 222 */ {0, ~0},
+ /* [223] = 223 */ {0, ~0},
+ /* [224] = 224 */ {0, ~0},
+ /* [225] = 225 */ {0, ~0},
+ /* [226] = 226 */ {0, ~0},
+ /* [227] = 227 */ {0, ~0},
+ /* [228] = 228 */ {0, ~0},
+ /* [229] = 229 */ {12, ~0},
+ /* [230] = 230 */ {16, ~0},
+ /* [231] = 231 */ {12, ~0},
+ /* [232] = 232 */ {8, ~0},
+ /* [233] = 233 */ {8, 36},
+ /* [234] = 234 */ {12, ~0},
+ /* [235] = 235 */ {0, ~0},
+ /* [236] = 236 */ {0, ~0},
+ /* [237] = 237 */ {24, ~0},
+ /* [238] = 238 */ {0, ~0},
+ /* [239] = 239 */ {0, ~0},
+ /* [240] = 2048 */ {12, ~0},
+ /* [241] = 2049 */ {8, ~0},
+ /* [242] = 2050 */ {0, ~0},
+ /* [243] = 2051 */ {0, ~0},
+ /* [244] = 2052 */ {0, ~0},
+ /* [245] = 2053 */ {44, 37},
+ /* [246] = 2054 */ {12, 38},
+ /* [247] = 2055 */ {12, 39},
+ /* [248] = 2056 */ {24, ~0},
+ /* [249] = 2057 */ {0, ~0},
+ /* [250] = 2058 */ {0, ~0},
+ /* [251] = 2059 */ {0, ~0},
+ /* [252] = 2060 */ {0, ~0},
+ /* [253] = 2061 */ {0, ~0},
+ /* [254] = 2062 */ {0, ~0},
+ /* [255] = 2063 */ {0, ~0},
+ /* [256] = 2064 */ {0, ~0},
+ /* [257] = 2065 */ {12, ~0},
+ /* [258] = 2066 */ {8, 40},
+ /* [259] = 2067 */ {0, ~0},
+ /* [260] = 2068 */ {0, ~0},
+ /* [261] = 2069 */ {0, ~0},
+ /* [262] = 2070 */ {0, ~0},
+ /* [263] = 2071 */ {0, ~0},
+ /* [264] = 4096 */ {20, ~0},
+ /* [265] = 4097 */ {8, ~0},
+ /* [266] = 4098 */ {0, ~0},
+ /* [267] = 4099 */ {60, 41},
+ /* [268] = 4100 */ {60, 42},
+ /* [269] = 4101 */ {48, 43},
+ /* [270] = 4102 */ {48, 44},
+ /* [271] = 4103 */ {16, ~0},
+ /* [272] = 4104 */ {12, 45},
+ /* [273] = 4105 */ {16, ~0},
+ /* [274] = 4106 */ {12, 46},
+ /* [275] = 4107 */ {24, ~0},
+ /* [276] = 4108 */ {28, ~0},
+ /* [277] = 4109 */ {32, 47},
+ /* [278] = 4110 */ {20, ~0},
+ /* [279] = 4111 */ {16, ~0},
+ /* [280] = 4112 */ {8, ~0},
+ /* [281] = 4113 */ {8, ~0},
+ /* [282] = 4114 */ {84, 48},
+ /* [283] = 4115 */ {92, 49},
+ /* [284] = 4116 */ {0, ~0},
+ /* [285] = 4117 */ {12, ~0},
+ /* [286] = 4118 */ {8, 50},
+ /* [287] = 4119 */ {32, ~0},
+ /* [288] = 4120 */ {36, ~0},
+ /* [289] = 4121 */ {28, ~0},
+ /* [290] = 4122 */ {36, ~0},
+ /* [291] = 4123 */ {40, ~0},
+ /* [292] = 4124 */ {8, ~0},
+ /* [293] = 4125 */ {12, ~0},
+ /* [294] = 4126 */ {8, ~0},
+ /* [295] = 4127 */ {12, ~0},
+ /* [296] = 4176 */ {0, ~0},
+ /* [297] = 4177 */ {0, ~0},
+ /* [298] = 4178 */ {0, ~0},
+ /* [299] = 4179 */ {0, ~0},
+ /* [300] = 4180 */ {12, ~0},
+ /* [301] = 4181 */ {28, ~0},
+ /* [302] = 4182 */ {8, 51},
+ /* [303] = 4183 */ {16, 52},
+ /* [304] = 4184 */ {28, ~0},
+ /* [305] = 4185 */ {44, ~0},
+ /* [306] = 4186 */ {16, 53},
+ /* [307] = 4187 */ {16, 54},
+ /* [308] = 4188 */ {20, ~0},
+ /* [309] = 4189 */ {12, ~0},
+ /* [310] = 4190 */ {12, ~0},
+ /* [311] = 4191 */ {16, ~0},
+ /* [312] = 4192 */ {16, ~0},
+ /* [313] = 4193 */ {12, ~0},
+ /* [314] = 4194 */ {16, ~0},
+ /* [315] = 4195 */ {20, ~0},
+ /* [316] = 4196 */ {24, ~0},
+ /* [317] = 4197 */ {16, ~0},
+ /* [318] = 4198 */ {24, ~0},
+ /* [319] = 4199 */ {32, ~0},
+ /* [320] = 4200 */ {40, ~0},
+ /* [321] = 4201 */ {12, ~0},
+ /* [322] = 4202 */ {12, 55},
+ /* [323] = 4203 */ {12, 56},
+ /* [324] = 4204 */ {12, 57},
+ /* [325] = 4205 */ {12, 58},
+ /* [326] = 4206 */ {12, 59},
+ /* [327] = 4207 */ {12, 60},
+ /* [328] = 4208 */ {12, 61},
+ /* [329] = 4209 */ {12, 62},
+ /* [330] = 4210 */ {12, 63},
+ /* [331] = 4211 */ {12, 64},
+ /* [332] = 4212 */ {12, 65},
+ /* [333] = 4213 */ {12, 66},
+ /* [334] = 4214 */ {12, 67},
+ /* [335] = 4215 */ {28, ~0},
+ /* [336] = 4216 */ {44, ~0},
+ /* [337] = 4217 */ {16, 68},
+ /* [338] = 4218 */ {28, 69},
+ /* [339] = 4219 */ {44, 70},
+ /* [340] = 4220 */ {8, ~0},
+ /* [341] = 4221 */ {12, ~0},
+ /* [342] = 4222 */ {8, 71},
+ /* [343] = 4223 */ {0, ~0},
+ /* [344] = 4224 */ {0, ~0},
+ /* [345] = 4225 */ {0, ~0},
+ /* [346] = 4226 */ {0, ~0},
+ /* [347] = 4227 */ {0, ~0},
+ /* [348] = 4228 */ {12, ~0},
+ /* [349] = 4229 */ {0, ~0},
+ /* [350] = 4230 */ {12, ~0},
+ /* [351] = 4231 */ {24, ~0},
+ /* [352] = 4232 */ {12, ~0},
+ /* [353] = 4233 */ {16, ~0},
+ /* [354] = 4234 */ {24, ~0},
+ /* [355] = 4235 */ {12, ~0},
+ /* [356] = 4236 */ {16, ~0},
+ /* [357] = 4237 */ {24, ~0},
+ /* [358] = 4238 */ {16, ~0},
+ /* [359] = 4239 */ {24, ~0},
+ /* [360] = 4320 */ {8, 72},
+ /* [361] = 4321 */ {24, ~0},
+ /* [362] = 4322 */ {24, ~0},
+ /* [363] = 4323 */ {28, ~0},
+ /* [364] = 4324 */ {20, ~0},
+ /* [365] = 4325 */ {8, ~0},
+ /* [366] = 4326 */ {0, ~0},
+ /* [367] = 4327 */ {0, ~0},
+ /* [368] = 4328 */ {0, ~0},
+ /* [369] = 4329 */ {0, ~0},
+ /* [370] = 4330 */ {44, ~0},
+ /* [371] = 4331 */ {24, ~0},
+ /* [372] = 4332 */ {0, ~0},
+ /* [373] = 4333 */ {0, ~0},
+ /* [374] = 4334 */ {0, ~0},
+ /* [375] = 4335 */ {0, ~0},
+ /* [376] = 4128 */ {16, ~0},
+ /* [377] = 4129 */ {16, ~0},
+ /* [378] = 4130 */ {28, ~0},
+ /* [379] = 4131 */ {8, ~0},
+ /* [380] = 4132 */ {12, ~0},
+ /* [381] = 4133 */ {16, ~0},
+ /* [382] = 4134 */ {20, ~0},
+ /* [383] = 4135 */ {0, ~0},
+ /* [384] = 4264 */ {0, ~0},
+ /* [385] = 4265 */ {12, ~0},
+ /* [386] = 4266 */ {12, ~0},
+ /* [387] = 4267 */ {16, ~0},
+ /* [388] = 4268 */ {16, ~0},
+ /* [389] = 4269 */ {12, ~0},
+ /* [390] = 4270 */ {16, ~0},
+ /* [391] = 4271 */ {20, ~0},
+ /* [392] = 4272 */ {24, ~0},
+ /* [393] = 4273 */ {16, ~0},
+ /* [394] = 4274 */ {24, ~0},
+ /* [395] = 4275 */ {32, ~0},
+ /* [396] = 4276 */ {40, ~0},
+ /* [397] = 4277 */ {12, ~0},
+ /* [398] = 4278 */ {0, ~0},
+ /* [399] = 4279 */ {0, ~0},
+ /* [400] = 4312 */ {0, ~0},
+ /* [401] = 4313 */ {0, ~0},
+ /* [402] = 4314 */ {0, ~0},
+ /* [403] = 4315 */ {0, ~0},
+ /* [404] = 4316 */ {12, ~0},
+ /* [405] = 4317 */ {8, 73},
+ /* [406] = 4318 */ {20, ~0},
+ /* [407] = 4319 */ {12, ~0},
};
static const gl_proto_size_func Render_size_func_table[74] = {
- __glXCallListsReqSize,
- __glXBitmapReqSize,
- __glXFogfvReqSize,
- __glXFogivReqSize,
- __glXLightfvReqSize,
- __glXLightivReqSize,
- __glXLightModelfvReqSize,
- __glXLightModelivReqSize,
- __glXMaterialfvReqSize,
- __glXMaterialivReqSize,
- __glXPolygonStippleReqSize,
- __glXTexParameterfvReqSize,
- __glXTexParameterivReqSize,
- __glXTexImage1DReqSize,
- __glXTexImage2DReqSize,
- __glXTexEnvfvReqSize,
- __glXTexEnvivReqSize,
- __glXTexGendvReqSize,
- __glXTexGenfvReqSize,
- __glXTexGenivReqSize,
- __glXMap1dReqSize,
- __glXMap1fReqSize,
- __glXMap2dReqSize,
- __glXMap2fReqSize,
- __glXPixelMapfvReqSize,
- __glXPixelMapuivReqSize,
- __glXPixelMapusvReqSize,
- __glXDrawPixelsReqSize,
- __glXDrawArraysReqSize,
- __glXColorSubTableReqSize,
- __glXCompressedTexImage1DARBReqSize,
- __glXCompressedTexImage2DARBReqSize,
- __glXCompressedTexImage3DARBReqSize,
- __glXCompressedTexSubImage1DARBReqSize,
- __glXCompressedTexSubImage2DARBReqSize,
- __glXCompressedTexSubImage3DARBReqSize,
- __glXDrawBuffersARBReqSize,
- __glXColorTableReqSize,
- __glXColorTableParameterfvReqSize,
- __glXColorTableParameterivReqSize,
- __glXPointParameterfvEXTReqSize,
- __glXTexSubImage1DReqSize,
- __glXTexSubImage2DReqSize,
- __glXConvolutionFilter1DReqSize,
- __glXConvolutionFilter2DReqSize,
- __glXConvolutionParameterfvReqSize,
- __glXConvolutionParameterivReqSize,
- __glXSeparableFilter2DReqSize,
- __glXTexImage3DReqSize,
- __glXTexSubImage3DReqSize,
- __glXPrioritizeTexturesReqSize,
- __glXRequestResidentProgramsNVReqSize,
- __glXLoadProgramNVReqSize,
- __glXProgramParameters4fvNVReqSize,
- __glXProgramParameters4dvNVReqSize,
- __glXVertexAttribs1svNVReqSize,
- __glXVertexAttribs2svNVReqSize,
- __glXVertexAttribs3svNVReqSize,
- __glXVertexAttribs4svNVReqSize,
- __glXVertexAttribs1fvNVReqSize,
- __glXVertexAttribs2fvNVReqSize,
- __glXVertexAttribs3fvNVReqSize,
- __glXVertexAttribs4fvNVReqSize,
- __glXVertexAttribs1dvNVReqSize,
- __glXVertexAttribs2dvNVReqSize,
- __glXVertexAttribs3dvNVReqSize,
- __glXVertexAttribs4dvNVReqSize,
- __glXVertexAttribs4ubvNVReqSize,
- __glXProgramStringARBReqSize,
- __glXProgramNamedParameter4fvNVReqSize,
- __glXProgramNamedParameter4dvNVReqSize,
- __glXPointParameterivNVReqSize,
- __glXDeleteFramebuffersEXTReqSize,
- __glXDeleteRenderbuffersEXTReqSize,
+ __glXCallListsReqSize,
+ __glXBitmapReqSize,
+ __glXFogfvReqSize,
+ __glXFogivReqSize,
+ __glXLightfvReqSize,
+ __glXLightivReqSize,
+ __glXLightModelfvReqSize,
+ __glXLightModelivReqSize,
+ __glXMaterialfvReqSize,
+ __glXMaterialivReqSize,
+ __glXPolygonStippleReqSize,
+ __glXTexParameterfvReqSize,
+ __glXTexParameterivReqSize,
+ __glXTexImage1DReqSize,
+ __glXTexImage2DReqSize,
+ __glXTexEnvfvReqSize,
+ __glXTexEnvivReqSize,
+ __glXTexGendvReqSize,
+ __glXTexGenfvReqSize,
+ __glXTexGenivReqSize,
+ __glXMap1dReqSize,
+ __glXMap1fReqSize,
+ __glXMap2dReqSize,
+ __glXMap2fReqSize,
+ __glXPixelMapfvReqSize,
+ __glXPixelMapuivReqSize,
+ __glXPixelMapusvReqSize,
+ __glXDrawPixelsReqSize,
+ __glXDrawArraysReqSize,
+ __glXColorSubTableReqSize,
+ __glXCompressedTexImage1DARBReqSize,
+ __glXCompressedTexImage2DARBReqSize,
+ __glXCompressedTexImage3DARBReqSize,
+ __glXCompressedTexSubImage1DARBReqSize,
+ __glXCompressedTexSubImage2DARBReqSize,
+ __glXCompressedTexSubImage3DARBReqSize,
+ __glXDrawBuffersARBReqSize,
+ __glXColorTableReqSize,
+ __glXColorTableParameterfvReqSize,
+ __glXColorTableParameterivReqSize,
+ __glXPointParameterfvEXTReqSize,
+ __glXTexSubImage1DReqSize,
+ __glXTexSubImage2DReqSize,
+ __glXConvolutionFilter1DReqSize,
+ __glXConvolutionFilter2DReqSize,
+ __glXConvolutionParameterfvReqSize,
+ __glXConvolutionParameterivReqSize,
+ __glXSeparableFilter2DReqSize,
+ __glXTexImage3DReqSize,
+ __glXTexSubImage3DReqSize,
+ __glXPrioritizeTexturesReqSize,
+ __glXRequestResidentProgramsNVReqSize,
+ __glXLoadProgramNVReqSize,
+ __glXProgramParameters4fvNVReqSize,
+ __glXProgramParameters4dvNVReqSize,
+ __glXVertexAttribs1svNVReqSize,
+ __glXVertexAttribs2svNVReqSize,
+ __glXVertexAttribs3svNVReqSize,
+ __glXVertexAttribs4svNVReqSize,
+ __glXVertexAttribs1fvNVReqSize,
+ __glXVertexAttribs2fvNVReqSize,
+ __glXVertexAttribs3fvNVReqSize,
+ __glXVertexAttribs4fvNVReqSize,
+ __glXVertexAttribs1dvNVReqSize,
+ __glXVertexAttribs2dvNVReqSize,
+ __glXVertexAttribs3dvNVReqSize,
+ __glXVertexAttribs4dvNVReqSize,
+ __glXVertexAttribs4ubvNVReqSize,
+ __glXProgramStringARBReqSize,
+ __glXProgramNamedParameter4fvNVReqSize,
+ __glXProgramNamedParameter4dvNVReqSize,
+ __glXPointParameterivNVReqSize,
+ __glXDeleteFramebuffersEXTReqSize,
+ __glXDeleteRenderbuffersEXTReqSize,
};
const struct __glXDispatchInfo Render_dispatch_info = {
@@ -1491,22 +1671,35 @@ static const int_fast16_t VendorPriv_dispatch_tree[152] = {
static const void *VendorPriv_function_table[104][2] = {
/* [ 0] = 0 */ {NULL, NULL},
- /* [ 1] = 1 */ {__glXDisp_GetConvolutionFilterEXT, __glXDispSwap_GetConvolutionFilterEXT},
- /* [ 2] = 2 */ {__glXDisp_GetConvolutionParameterfvEXT, __glXDispSwap_GetConvolutionParameterfvEXT},
- /* [ 3] = 3 */ {__glXDisp_GetConvolutionParameterivEXT, __glXDispSwap_GetConvolutionParameterivEXT},
- /* [ 4] = 4 */ {__glXDisp_GetSeparableFilterEXT, __glXDispSwap_GetSeparableFilterEXT},
- /* [ 5] = 5 */ {__glXDisp_GetHistogramEXT, __glXDispSwap_GetHistogramEXT},
- /* [ 6] = 6 */ {__glXDisp_GetHistogramParameterfvEXT, __glXDispSwap_GetHistogramParameterfvEXT},
- /* [ 7] = 7 */ {__glXDisp_GetHistogramParameterivEXT, __glXDispSwap_GetHistogramParameterivEXT},
+ /* [ 1] = 1 */ {__glXDisp_GetConvolutionFilterEXT,
+ __glXDispSwap_GetConvolutionFilterEXT},
+ /* [ 2] = 2 */ {__glXDisp_GetConvolutionParameterfvEXT,
+ __glXDispSwap_GetConvolutionParameterfvEXT},
+ /* [ 3] = 3 */ {__glXDisp_GetConvolutionParameterivEXT,
+ __glXDispSwap_GetConvolutionParameterivEXT},
+ /* [ 4] = 4 */ {__glXDisp_GetSeparableFilterEXT,
+ __glXDispSwap_GetSeparableFilterEXT},
+ /* [ 5] = 5 */ {__glXDisp_GetHistogramEXT,
+ __glXDispSwap_GetHistogramEXT},
+ /* [ 6] = 6 */ {__glXDisp_GetHistogramParameterfvEXT,
+ __glXDispSwap_GetHistogramParameterfvEXT},
+ /* [ 7] = 7 */ {__glXDisp_GetHistogramParameterivEXT,
+ __glXDispSwap_GetHistogramParameterivEXT},
/* [ 8] = 8 */ {__glXDisp_GetMinmaxEXT, __glXDispSwap_GetMinmaxEXT},
- /* [ 9] = 9 */ {__glXDisp_GetMinmaxParameterfvEXT, __glXDispSwap_GetMinmaxParameterfvEXT},
- /* [ 10] = 10 */ {__glXDisp_GetMinmaxParameterivEXT, __glXDispSwap_GetMinmaxParameterivEXT},
- /* [ 11] = 11 */ {__glXDisp_AreTexturesResidentEXT, __glXDispSwap_AreTexturesResidentEXT},
- /* [ 12] = 12 */ {__glXDisp_DeleteTexturesEXT, __glXDispSwap_DeleteTexturesEXT},
- /* [ 13] = 13 */ {__glXDisp_GenTexturesEXT, __glXDispSwap_GenTexturesEXT},
+ /* [ 9] = 9 */ {__glXDisp_GetMinmaxParameterfvEXT,
+ __glXDispSwap_GetMinmaxParameterfvEXT},
+ /* [ 10] = 10 */ {__glXDisp_GetMinmaxParameterivEXT,
+ __glXDispSwap_GetMinmaxParameterivEXT},
+ /* [ 11] = 11 */ {__glXDisp_AreTexturesResidentEXT,
+ __glXDispSwap_AreTexturesResidentEXT},
+ /* [ 12] = 12 */ {__glXDisp_DeleteTexturesEXT,
+ __glXDispSwap_DeleteTexturesEXT},
+ /* [ 13] = 13 */ {__glXDisp_GenTexturesEXT,
+ __glXDispSwap_GenTexturesEXT},
/* [ 14] = 14 */ {__glXDisp_IsTextureEXT, __glXDispSwap_IsTextureEXT},
/* [ 15] = 15 */ {NULL, NULL},
- /* [ 16] = 1024 */ {__glXDisp_QueryContextInfoEXT, __glXDispSwap_QueryContextInfoEXT},
+ /* [ 16] = 1024 */ {__glXDisp_QueryContextInfoEXT,
+ __glXDispSwap_QueryContextInfoEXT},
/* [ 17] = 1025 */ {NULL, NULL},
/* [ 18] = 1026 */ {NULL, NULL},
/* [ 19] = 1027 */ {NULL, NULL},
@@ -1514,34 +1707,52 @@ static const void *VendorPriv_function_table[104][2] = {
/* [ 21] = 1029 */ {NULL, NULL},
/* [ 22] = 1030 */ {NULL, NULL},
/* [ 23] = 1031 */ {NULL, NULL},
- /* [ 24] = 1296 */ {__glXDisp_GetProgramEnvParameterfvARB, __glXDispSwap_GetProgramEnvParameterfvARB},
- /* [ 25] = 1297 */ {__glXDisp_GetProgramEnvParameterdvARB, __glXDispSwap_GetProgramEnvParameterdvARB},
- /* [ 26] = 1298 */ {__glXDisp_GetProgramivNV, __glXDispSwap_GetProgramivNV},
- /* [ 27] = 1299 */ {__glXDisp_GetProgramStringNV, __glXDispSwap_GetProgramStringNV},
- /* [ 28] = 1300 */ {__glXDisp_GetTrackMatrixivNV, __glXDispSwap_GetTrackMatrixivNV},
- /* [ 29] = 1301 */ {__glXDisp_GetVertexAttribdvARB, __glXDispSwap_GetVertexAttribdvARB},
- /* [ 30] = 1302 */ {__glXDisp_GetVertexAttribfvARB, __glXDispSwap_GetVertexAttribfvARB},
- /* [ 31] = 1303 */ {__glXDisp_GetVertexAttribivNV, __glXDispSwap_GetVertexAttribivNV},
+ /* [ 24] = 1296 */ {__glXDisp_GetProgramEnvParameterfvARB,
+ __glXDispSwap_GetProgramEnvParameterfvARB},
+ /* [ 25] = 1297 */ {__glXDisp_GetProgramEnvParameterdvARB,
+ __glXDispSwap_GetProgramEnvParameterdvARB},
+ /* [ 26] = 1298 */ {__glXDisp_GetProgramivNV,
+ __glXDispSwap_GetProgramivNV},
+ /* [ 27] = 1299 */ {__glXDisp_GetProgramStringNV,
+ __glXDispSwap_GetProgramStringNV},
+ /* [ 28] = 1300 */ {__glXDisp_GetTrackMatrixivNV,
+ __glXDispSwap_GetTrackMatrixivNV},
+ /* [ 29] = 1301 */ {__glXDisp_GetVertexAttribdvARB,
+ __glXDispSwap_GetVertexAttribdvARB},
+ /* [ 30] = 1302 */ {__glXDisp_GetVertexAttribfvARB,
+ __glXDispSwap_GetVertexAttribfvARB},
+ /* [ 31] = 1303 */ {__glXDisp_GetVertexAttribivNV,
+ __glXDispSwap_GetVertexAttribivNV},
/* [ 32] = 1304 */ {__glXDisp_IsProgramNV, __glXDispSwap_IsProgramNV},
- /* [ 33] = 1305 */ {__glXDisp_GetProgramLocalParameterfvARB, __glXDispSwap_GetProgramLocalParameterfvARB},
- /* [ 34] = 1306 */ {__glXDisp_GetProgramLocalParameterdvARB, __glXDispSwap_GetProgramLocalParameterdvARB},
- /* [ 35] = 1307 */ {__glXDisp_GetProgramivARB, __glXDispSwap_GetProgramivARB},
- /* [ 36] = 1308 */ {__glXDisp_GetProgramStringARB, __glXDispSwap_GetProgramStringARB},
+ /* [ 33] = 1305 */ {__glXDisp_GetProgramLocalParameterfvARB,
+ __glXDispSwap_GetProgramLocalParameterfvARB},
+ /* [ 34] = 1306 */ {__glXDisp_GetProgramLocalParameterdvARB,
+ __glXDispSwap_GetProgramLocalParameterdvARB},
+ /* [ 35] = 1307 */ {__glXDisp_GetProgramivARB,
+ __glXDispSwap_GetProgramivARB},
+ /* [ 36] = 1308 */ {__glXDisp_GetProgramStringARB,
+ __glXDispSwap_GetProgramStringARB},
/* [ 37] = 1309 */ {NULL, NULL},
- /* [ 38] = 1310 */ {__glXDisp_GetProgramNamedParameterfvNV, __glXDispSwap_GetProgramNamedParameterfvNV},
- /* [ 39] = 1311 */ {__glXDisp_GetProgramNamedParameterdvNV, __glXDispSwap_GetProgramNamedParameterdvNV},
+ /* [ 38] = 1310 */ {__glXDisp_GetProgramNamedParameterfvNV,
+ __glXDispSwap_GetProgramNamedParameterfvNV},
+ /* [ 39] = 1311 */ {__glXDisp_GetProgramNamedParameterdvNV,
+ __glXDispSwap_GetProgramNamedParameterdvNV},
/* [ 40] = 1288 */ {NULL, NULL},
/* [ 41] = 1289 */ {NULL, NULL},
/* [ 42] = 1290 */ {NULL, NULL},
/* [ 43] = 1291 */ {NULL, NULL},
/* [ 44] = 1292 */ {NULL, NULL},
- /* [ 45] = 1293 */ {__glXDisp_AreProgramsResidentNV, __glXDispSwap_AreProgramsResidentNV},
- /* [ 46] = 1294 */ {__glXDisp_DeleteProgramsNV, __glXDispSwap_DeleteProgramsNV},
+ /* [ 45] = 1293 */ {__glXDisp_AreProgramsResidentNV,
+ __glXDispSwap_AreProgramsResidentNV},
+ /* [ 46] = 1294 */ {__glXDisp_DeleteProgramsNV,
+ __glXDispSwap_DeleteProgramsNV},
/* [ 47] = 1295 */ {__glXDisp_GenProgramsNV, __glXDispSwap_GenProgramsNV},
/* [ 48] = 1328 */ {NULL, NULL},
/* [ 49] = 1329 */ {NULL, NULL},
- /* [ 50] = 1330 */ {__glXDisp_BindTexImageEXT, __glXDispSwap_BindTexImageEXT},
- /* [ 51] = 1331 */ {__glXDisp_ReleaseTexImageEXT, __glXDispSwap_ReleaseTexImageEXT},
+ /* [ 50] = 1330 */ {__glXDisp_BindTexImageEXT,
+ __glXDispSwap_BindTexImageEXT},
+ /* [ 51] = 1331 */ {__glXDisp_ReleaseTexImageEXT,
+ __glXDispSwap_ReleaseTexImageEXT},
/* [ 52] = 1332 */ {NULL, NULL},
/* [ 53] = 1333 */ {NULL, NULL},
/* [ 54] = 1334 */ {NULL, NULL},
@@ -1552,43 +1763,63 @@ static const void *VendorPriv_function_table[104][2] = {
/* [ 59] = 1419 */ {NULL, NULL},
/* [ 60] = 1420 */ {NULL, NULL},
/* [ 61] = 1421 */ {NULL, NULL},
- /* [ 62] = 1422 */ {__glXDisp_IsRenderbufferEXT, __glXDispSwap_IsRenderbufferEXT},
- /* [ 63] = 1423 */ {__glXDisp_GenRenderbuffersEXT, __glXDispSwap_GenRenderbuffersEXT},
- /* [ 64] = 1424 */ {__glXDisp_GetRenderbufferParameterivEXT, __glXDispSwap_GetRenderbufferParameterivEXT},
- /* [ 65] = 1425 */ {__glXDisp_IsFramebufferEXT, __glXDispSwap_IsFramebufferEXT},
- /* [ 66] = 1426 */ {__glXDisp_GenFramebuffersEXT, __glXDispSwap_GenFramebuffersEXT},
- /* [ 67] = 1427 */ {__glXDisp_CheckFramebufferStatusEXT, __glXDispSwap_CheckFramebufferStatusEXT},
- /* [ 68] = 1428 */ {__glXDisp_GetFramebufferAttachmentParameterivEXT, __glXDispSwap_GetFramebufferAttachmentParameterivEXT},
+ /* [ 62] = 1422 */ {__glXDisp_IsRenderbufferEXT,
+ __glXDispSwap_IsRenderbufferEXT},
+ /* [ 63] = 1423 */ {__glXDisp_GenRenderbuffersEXT,
+ __glXDispSwap_GenRenderbuffersEXT},
+ /* [ 64] = 1424 */ {__glXDisp_GetRenderbufferParameterivEXT,
+ __glXDispSwap_GetRenderbufferParameterivEXT},
+ /* [ 65] = 1425 */ {__glXDisp_IsFramebufferEXT,
+ __glXDispSwap_IsFramebufferEXT},
+ /* [ 66] = 1426 */ {__glXDisp_GenFramebuffersEXT,
+ __glXDispSwap_GenFramebuffersEXT},
+ /* [ 67] = 1427 */ {__glXDisp_CheckFramebufferStatusEXT,
+ __glXDispSwap_CheckFramebufferStatusEXT},
+ /* [ 68] = 1428 */ {__glXDisp_GetFramebufferAttachmentParameterivEXT,
+ __glXDispSwap_GetFramebufferAttachmentParameterivEXT},
/* [ 69] = 1429 */ {NULL, NULL},
/* [ 70] = 1430 */ {NULL, NULL},
/* [ 71] = 1431 */ {NULL, NULL},
/* [ 72] = 4096 */ {NULL, NULL},
/* [ 73] = 4097 */ {NULL, NULL},
- /* [ 74] = 4098 */ {__glXDisp_GetColorTableSGI, __glXDispSwap_GetColorTableSGI},
- /* [ 75] = 4099 */ {__glXDisp_GetColorTableParameterfvSGI, __glXDispSwap_GetColorTableParameterfvSGI},
- /* [ 76] = 4100 */ {__glXDisp_GetColorTableParameterivSGI, __glXDispSwap_GetColorTableParameterivSGI},
+ /* [ 74] = 4098 */ {__glXDisp_GetColorTableSGI,
+ __glXDispSwap_GetColorTableSGI},
+ /* [ 75] = 4099 */ {__glXDisp_GetColorTableParameterfvSGI,
+ __glXDispSwap_GetColorTableParameterfvSGI},
+ /* [ 76] = 4100 */ {__glXDisp_GetColorTableParameterivSGI,
+ __glXDispSwap_GetColorTableParameterivSGI},
/* [ 77] = 4101 */ {NULL, NULL},
/* [ 78] = 4102 */ {NULL, NULL},
/* [ 79] = 4103 */ {NULL, NULL},
/* [ 80] = 5152 */ {NULL, NULL},
/* [ 81] = 5153 */ {NULL, NULL},
- /* [ 82] = 5154 */ {__glXDisp_CopySubBufferMESA, __glXDispSwap_CopySubBufferMESA},
+ /* [ 82] = 5154 */ {__glXDisp_CopySubBufferMESA,
+ __glXDispSwap_CopySubBufferMESA},
/* [ 83] = 5155 */ {NULL, NULL},
/* [ 84] = 5156 */ {NULL, NULL},
/* [ 85] = 5157 */ {NULL, NULL},
/* [ 86] = 5158 */ {NULL, NULL},
/* [ 87] = 5159 */ {NULL, NULL},
- /* [ 88] = 65536 */ {__glXDisp_SwapIntervalSGI, __glXDispSwap_SwapIntervalSGI},
- /* [ 89] = 65537 */ {__glXDisp_MakeCurrentReadSGI, __glXDispSwap_MakeCurrentReadSGI},
+ /* [ 88] = 65536 */ {__glXDisp_SwapIntervalSGI,
+ __glXDispSwap_SwapIntervalSGI},
+ /* [ 89] = 65537 */ {__glXDisp_MakeCurrentReadSGI,
+ __glXDispSwap_MakeCurrentReadSGI},
/* [ 90] = 65538 */ {NULL, NULL},
/* [ 91] = 65539 */ {NULL, NULL},
- /* [ 92] = 65540 */ {__glXDisp_GetFBConfigsSGIX, __glXDispSwap_GetFBConfigsSGIX},
- /* [ 93] = 65541 */ {__glXDisp_CreateContextWithConfigSGIX, __glXDispSwap_CreateContextWithConfigSGIX},
- /* [ 94] = 65542 */ {__glXDisp_CreateGLXPixmapWithConfigSGIX, __glXDispSwap_CreateGLXPixmapWithConfigSGIX},
- /* [ 95] = 65543 */ {__glXDisp_CreateGLXPbufferSGIX, __glXDispSwap_CreateGLXPbufferSGIX},
- /* [ 96] = 65544 */ {__glXDisp_DestroyGLXPbufferSGIX, __glXDispSwap_DestroyGLXPbufferSGIX},
- /* [ 97] = 65545 */ {__glXDisp_ChangeDrawableAttributesSGIX, __glXDispSwap_ChangeDrawableAttributesSGIX},
- /* [ 98] = 65546 */ {__glXDisp_GetDrawableAttributesSGIX, __glXDispSwap_GetDrawableAttributesSGIX},
+ /* [ 92] = 65540 */ {__glXDisp_GetFBConfigsSGIX,
+ __glXDispSwap_GetFBConfigsSGIX},
+ /* [ 93] = 65541 */ {__glXDisp_CreateContextWithConfigSGIX,
+ __glXDispSwap_CreateContextWithConfigSGIX},
+ /* [ 94] = 65542 */ {__glXDisp_CreateGLXPixmapWithConfigSGIX,
+ __glXDispSwap_CreateGLXPixmapWithConfigSGIX},
+ /* [ 95] = 65543 */ {__glXDisp_CreateGLXPbufferSGIX,
+ __glXDispSwap_CreateGLXPbufferSGIX},
+ /* [ 96] = 65544 */ {__glXDisp_DestroyGLXPbufferSGIX,
+ __glXDispSwap_DestroyGLXPbufferSGIX},
+ /* [ 97] = 65545 */ {__glXDisp_ChangeDrawableAttributesSGIX,
+ __glXDispSwap_ChangeDrawableAttributesSGIX},
+ /* [ 98] = 65546 */ {__glXDisp_GetDrawableAttributesSGIX,
+ __glXDispSwap_GetDrawableAttributesSGIX},
/* [ 99] = 65547 */ {NULL, NULL},
/* [ 100] = 65548 */ {NULL, NULL},
/* [ 101] = 65549 */ {NULL, NULL},
@@ -1603,4 +1834,3 @@ const struct __glXDispatchInfo VendorPriv_dispatch_info = {
NULL,
NULL
};
-
diff --git a/glx/indirect_table.h b/glx/indirect_table.h
index 4af1ccbea..a39dc4e3d 100644
--- a/glx/indirect_table.h
+++ b/glx/indirect_table.h
@@ -45,8 +45,8 @@ struct __glXDispatchInfo {
/**
*/
- const int_fast16_t * dispatch_tree;
-
+ const int_fast16_t *dispatch_tree;
+
/**
* Array of protocol decode and dispatch functions index by the opcode
* search tree (i.e., \c dispatch_tree). The first element in each pair
@@ -70,7 +70,7 @@ struct __glXDispatchInfo {
* If size checking is not to be performed on this type of protocol
* data, this pointer will be \c NULL.
*/
- const int_fast16_t (*size_table)[2];
+ const int_fast16_t(*size_table)[2];
/**
* Array of functions used to calculate the variable-size portion of
@@ -103,4 +103,4 @@ extern const struct __glXDispatchInfo Single_dispatch_info;
extern const struct __glXDispatchInfo Render_dispatch_info;
extern const struct __glXDispatchInfo VendorPriv_dispatch_info;
-#endif /* INDIRECT_TABLE_H */
+#endif /* INDIRECT_TABLE_H */
diff --git a/glx/indirect_texture_compression.c b/glx/indirect_texture_compression.c
index 5f44d7b1a..49d6db57f 100644
--- a/glx/indirect_texture_compression.c
+++ b/glx/indirect_texture_compression.c
@@ -39,80 +39,91 @@
#include "glthread.h"
#include "dispatch.h"
-int __glXDisp_GetCompressedTexImageARB(struct __GLXclientStateRec *cl, GLbyte *pc)
+int
+__glXDisp_GetCompressedTexImageARB(struct __GLXclientStateRec *cl, GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent( cl, req->contextTag, & error );
+ __GLXcontext *const cx = __glXForceCurrent(cl, req->contextTag, &error);
ClientPtr client = cl->client;
-
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum target = *(GLenum *)(pc + 0);
- const GLint level = *(GLint *)(pc + 4);
- GLint compsize = 0;
- char *answer = NULL, answerBuffer[200];
-
- CALL_GetTexLevelParameteriv(GET_DISPATCH(), (target, level, GL_TEXTURE_COMPRESSED_IMAGE_SIZE, &compsize));
-
- if ( compsize != 0 ) {
- __GLX_GET_ANSWER_BUFFER(answer,cl,compsize,1);
- __glXClearErrorOccured();
- CALL_GetCompressedTexImageARB(GET_DISPATCH(), (target, level, answer));
- }
-
- if (__glXErrorOccured()) {
- __GLX_BEGIN_REPLY(0);
- __GLX_SEND_HEADER();
- } else {
- __GLX_BEGIN_REPLY(compsize);
- ((xGLXGetTexImageReply *)&__glXReply)->width = compsize;
- __GLX_SEND_HEADER();
- __GLX_SEND_VOID_ARRAY(compsize);
- }
-
- error = Success;
+ if (cx != NULL) {
+ const GLenum target = *(GLenum *) (pc + 0);
+ const GLint level = *(GLint *) (pc + 4);
+ GLint compsize = 0;
+ char *answer = NULL, answerBuffer[200];
+
+ CALL_GetTexLevelParameteriv(GET_DISPATCH(),
+ (target, level,
+ GL_TEXTURE_COMPRESSED_IMAGE_SIZE,
+ &compsize));
+
+ if (compsize != 0) {
+ __GLX_GET_ANSWER_BUFFER(answer, cl, compsize, 1);
+ __glXClearErrorOccured();
+ CALL_GetCompressedTexImageARB(GET_DISPATCH(),
+ (target, level, answer));
+ }
+
+ if (__glXErrorOccured()) {
+ __GLX_BEGIN_REPLY(0);
+ __GLX_SEND_HEADER();
+ }
+ else {
+ __GLX_BEGIN_REPLY(compsize);
+ ((xGLXGetTexImageReply *) & __glXReply)->width = compsize;
+ __GLX_SEND_HEADER();
+ __GLX_SEND_VOID_ARRAY(compsize);
+ }
+
+ error = Success;
}
return error;
}
-
-int __glXDispSwap_GetCompressedTexImageARB(struct __GLXclientStateRec *cl, GLbyte *pc)
+int
+__glXDispSwap_GetCompressedTexImageARB(struct __GLXclientStateRec *cl,
+ GLbyte * pc)
{
- xGLXSingleReq * const req = (xGLXSingleReq *) pc;
+ xGLXSingleReq *const req = (xGLXSingleReq *) pc;
int error;
- __GLXcontext * const cx = __glXForceCurrent( cl, bswap_32( req->contextTag ), & error );
+ __GLXcontext *const cx =
+ __glXForceCurrent(cl, bswap_32(req->contextTag), &error);
ClientPtr client = cl->client;
-
pc += __GLX_SINGLE_HDR_SIZE;
- if ( cx != NULL ) {
- const GLenum target = (GLenum) bswap_32( *(int *)(pc + 0) );
- const GLint level = (GLint ) bswap_32( *(int *)(pc + 4) );
- GLint compsize = 0;
- char *answer = NULL, answerBuffer[200];
-
- CALL_GetTexLevelParameteriv(GET_DISPATCH(), (target, level, GL_TEXTURE_COMPRESSED_IMAGE_SIZE, &compsize));
-
- if ( compsize != 0 ) {
- __GLX_GET_ANSWER_BUFFER(answer,cl,compsize,1);
- __glXClearErrorOccured();
- CALL_GetCompressedTexImageARB(GET_DISPATCH(), (target, level, answer));
- }
-
- if (__glXErrorOccured()) {
- __GLX_BEGIN_REPLY(0);
- __GLX_SEND_HEADER();
- } else {
- __GLX_BEGIN_REPLY(compsize);
- ((xGLXGetTexImageReply *)&__glXReply)->width = compsize;
- __GLX_SEND_HEADER();
- __GLX_SEND_VOID_ARRAY(compsize);
- }
-
- error = Success;
+ if (cx != NULL) {
+ const GLenum target = (GLenum) bswap_32(*(int *) (pc + 0));
+ const GLint level = (GLint) bswap_32(*(int *) (pc + 4));
+ GLint compsize = 0;
+ char *answer = NULL, answerBuffer[200];
+
+ CALL_GetTexLevelParameteriv(GET_DISPATCH(),
+ (target, level,
+ GL_TEXTURE_COMPRESSED_IMAGE_SIZE,
+ &compsize));
+
+ if (compsize != 0) {
+ __GLX_GET_ANSWER_BUFFER(answer, cl, compsize, 1);
+ __glXClearErrorOccured();
+ CALL_GetCompressedTexImageARB(GET_DISPATCH(),
+ (target, level, answer));
+ }
+
+ if (__glXErrorOccured()) {
+ __GLX_BEGIN_REPLY(0);
+ __GLX_SEND_HEADER();
+ }
+ else {
+ __GLX_BEGIN_REPLY(compsize);
+ ((xGLXGetTexImageReply *) & __glXReply)->width = compsize;
+ __GLX_SEND_HEADER();
+ __GLX_SEND_VOID_ARRAY(compsize);
+ }
+
+ error = Success;
}
return error;
diff --git a/glx/indirect_util.c b/glx/indirect_util.c
index 46a270695..a54f70aee 100644
--- a/glx/indirect_util.c
+++ b/glx/indirect_util.c
@@ -47,28 +47,25 @@
#include "indirect_table.h"
#include "indirect_util.h"
-
#define __GLX_PAD(a) (((a)+3)&~3)
extern xGLXSingleReply __glXReply;
-
GLint
-__glGetBooleanv_variable_size( GLenum e )
+__glGetBooleanv_variable_size(GLenum e)
{
- if ( e == GL_COMPRESSED_TEXTURE_FORMATS ) {
- GLint temp;
+ if (e == GL_COMPRESSED_TEXTURE_FORMATS) {
+ GLint temp;
- CALL_GetIntegerv( GET_DISPATCH(),
- (GL_NUM_COMPRESSED_TEXTURE_FORMATS, & temp) );
- return temp;
+ CALL_GetIntegerv(GET_DISPATCH(),
+ (GL_NUM_COMPRESSED_TEXTURE_FORMATS, &temp));
+ return temp;
}
else {
- return 0;
+ return 0;
}
}
-
/**
* Get a properly aligned buffer to hold reply data.
*
@@ -77,36 +74,35 @@ __glGetBooleanv_variable_size( GLenum e )
* It also assumes that \c alignment is a power of two.
*/
void *
-__glXGetAnswerBuffer( __GLXclientState * cl, size_t required_size,
- void * local_buffer, size_t local_size, unsigned alignment )
+__glXGetAnswerBuffer(__GLXclientState * cl, size_t required_size,
+ void *local_buffer, size_t local_size, unsigned alignment)
{
- void * buffer = local_buffer;
+ void *buffer = local_buffer;
const unsigned mask = alignment - 1;
- if ( local_size < required_size ) {
+ if (local_size < required_size) {
const size_t worst_case_size = required_size + alignment;
- intptr_t temp_buf;
-
- if ( cl->returnBufSize < worst_case_size ) {
- void * temp = realloc( cl->returnBuf, worst_case_size );
-
- if ( temp == NULL ) {
- return NULL;
- }
-
- cl->returnBuf = temp;
- cl->returnBufSize = worst_case_size;
- }
-
- temp_buf = (intptr_t) cl->returnBuf;
- temp_buf = (temp_buf + mask) & ~mask;
- buffer = (void *) temp_buf;
+ intptr_t temp_buf;
+
+ if (cl->returnBufSize < worst_case_size) {
+ void *temp = realloc(cl->returnBuf, worst_case_size);
+
+ if (temp == NULL) {
+ return NULL;
+ }
+
+ cl->returnBuf = temp;
+ cl->returnBufSize = worst_case_size;
+ }
+
+ temp_buf = (intptr_t) cl->returnBuf;
+ temp_buf = (temp_buf + mask) & ~mask;
+ buffer = (void *) temp_buf;
}
return buffer;
}
-
/**
* Send a GLX reply to the client.
*
@@ -117,24 +113,23 @@ __glXGetAnswerBuffer( __GLXclientState * cl, size_t required_size,
* harm to clients, but it does make the server-side code much more compact.
*/
void
-__glXSendReply( ClientPtr client, const void * data, size_t elements,
- size_t element_size, GLboolean always_array, CARD32 retval )
+__glXSendReply(ClientPtr client, const void *data, size_t elements,
+ size_t element_size, GLboolean always_array, CARD32 retval)
{
size_t reply_ints = 0;
- if ( __glXErrorOccured() ) {
+ if (__glXErrorOccured()) {
elements = 0;
}
- else if ( (elements > 1) || always_array ) {
+ else if ((elements > 1) || always_array) {
reply_ints = bytes_to_int32(elements * element_size);
}
- __glXReply.length = reply_ints;
- __glXReply.type = X_Reply;
+ __glXReply.length = reply_ints;
+ __glXReply.type = X_Reply;
__glXReply.sequenceNumber = client->sequence;
- __glXReply.size = elements;
- __glXReply.retval = retval;
-
+ __glXReply.size = elements;
+ __glXReply.retval = retval;
/* It is faster on almost always every architecture to just copy the 8
* bytes, even when not necessary, than check to see of the value of
@@ -142,15 +137,14 @@ __glXSendReply( ClientPtr client, const void * data, size_t elements,
* harm.
*/
- (void) memcpy( & __glXReply.pad3, data, 8 );
- WriteToClient( client, sz_xGLXSingleReply, (char *) & __glXReply );
+ (void) memcpy(&__glXReply.pad3, data, 8);
+ WriteToClient(client, sz_xGLXSingleReply, (char *) &__glXReply);
- if ( reply_ints != 0 ) {
- WriteToClient( client, reply_ints * 4, (char *) data );
+ if (reply_ints != 0) {
+ WriteToClient(client, reply_ints * 4, (char *) data);
}
}
-
/**
* Send a GLX reply to the client.
*
@@ -165,24 +159,23 @@ __glXSendReply( ClientPtr client, const void * data, size_t elements,
* by the caller if necessary.
*/
void
-__glXSendReplySwap( ClientPtr client, const void * data, size_t elements,
- size_t element_size, GLboolean always_array, CARD32 retval )
+__glXSendReplySwap(ClientPtr client, const void *data, size_t elements,
+ size_t element_size, GLboolean always_array, CARD32 retval)
{
size_t reply_ints = 0;
- if ( __glXErrorOccured() ) {
+ if (__glXErrorOccured()) {
elements = 0;
}
- else if ( (elements > 1) || always_array ) {
+ else if ((elements > 1) || always_array) {
reply_ints = bytes_to_int32(elements * element_size);
}
- __glXReply.length = bswap_32( reply_ints );
- __glXReply.type = X_Reply;
- __glXReply.sequenceNumber = bswap_16( client->sequence );
- __glXReply.size = bswap_32( elements );
- __glXReply.retval = bswap_32( retval );
-
+ __glXReply.length = bswap_32(reply_ints);
+ __glXReply.type = X_Reply;
+ __glXReply.sequenceNumber = bswap_16(client->sequence);
+ __glXReply.size = bswap_32(elements);
+ __glXReply.retval = bswap_32(retval);
/* It is faster on almost always every architecture to just copy the 8
* bytes, even when not necessary, than check to see of the value of
@@ -190,81 +183,73 @@ __glXSendReplySwap( ClientPtr client, const void * data, size_t elements,
* harm.
*/
- (void) memcpy( & __glXReply.pad3, data, 8 );
- WriteToClient( client, sz_xGLXSingleReply, (char *) & __glXReply );
+ (void) memcpy(&__glXReply.pad3, data, 8);
+ WriteToClient(client, sz_xGLXSingleReply, (char *) &__glXReply);
- if ( reply_ints != 0 ) {
- WriteToClient( client, reply_ints * 4, (char *) data );
+ if (reply_ints != 0) {
+ WriteToClient(client, reply_ints * 4, (char *) data);
}
}
-
static int
-get_decode_index(const struct __glXDispatchInfo *dispatch_info,
- unsigned opcode)
+get_decode_index(const struct __glXDispatchInfo *dispatch_info, unsigned opcode)
{
int remaining_bits;
int next_remain;
- const int_fast16_t * const tree = dispatch_info->dispatch_tree;
+ const int_fast16_t *const tree = dispatch_info->dispatch_tree;
int_fast16_t index;
-
remaining_bits = dispatch_info->bits;
if (opcode >= (1U << remaining_bits)) {
- return -1;
+ return -1;
}
-
- index = 0;
- for (/* empty */; remaining_bits > 0; remaining_bits = next_remain) {
- unsigned mask;
- unsigned child_index;
-
- /* Calculate the slice of bits used by this node.
- *
- * If remaining_bits = 8 and tree[index] = 3, the mask of just the
- * remaining bits is 0x00ff and the mask for the remaining bits after
- * this node is 0x001f. By taking 0x00ff & ~0x001f, we get 0x00e0.
- * This masks the 3 bits that we would want for this node.
- */
-
- next_remain = remaining_bits - tree[index];
- mask = ((1 << remaining_bits) - 1) &
- ~((1 << next_remain) - 1);
-
-
- /* Using the mask, calculate the index of the opcode in the node.
- * With that index, fetch the index of the next node.
- */
-
- child_index = (opcode & mask) >> next_remain;
- index = tree[index + 1 + child_index];
-
-
- /* If the next node is an empty leaf, the opcode is for a non-existant
- * function. We're done.
- *
- * If the next node is a non-empty leaf, look up the function pointer
- * and return it.
- */
-
- if (index == EMPTY_LEAF) {
- return -1;
- }
- else if (IS_LEAF_INDEX(index)) {
- unsigned func_index;
-
-
- /* The value stored in the tree for a leaf node is the base of
- * the function pointers for that leaf node. The offset for the
- * function for a particular opcode is the remaining bits in the
- * opcode.
- */
-
- func_index = -index;
- func_index += opcode & ((1 << next_remain) - 1);
- return func_index;
- }
+ index = 0;
+ for ( /* empty */ ; remaining_bits > 0; remaining_bits = next_remain) {
+ unsigned mask;
+ unsigned child_index;
+
+ /* Calculate the slice of bits used by this node.
+ *
+ * If remaining_bits = 8 and tree[index] = 3, the mask of just the
+ * remaining bits is 0x00ff and the mask for the remaining bits after
+ * this node is 0x001f. By taking 0x00ff & ~0x001f, we get 0x00e0.
+ * This masks the 3 bits that we would want for this node.
+ */
+
+ next_remain = remaining_bits - tree[index];
+ mask = ((1 << remaining_bits) - 1) & ~((1 << next_remain) - 1);
+
+ /* Using the mask, calculate the index of the opcode in the node.
+ * With that index, fetch the index of the next node.
+ */
+
+ child_index = (opcode & mask) >> next_remain;
+ index = tree[index + 1 + child_index];
+
+ /* If the next node is an empty leaf, the opcode is for a non-existant
+ * function. We're done.
+ *
+ * If the next node is a non-empty leaf, look up the function pointer
+ * and return it.
+ */
+
+ if (index == EMPTY_LEAF) {
+ return -1;
+ }
+ else if (IS_LEAF_INDEX(index)) {
+ unsigned func_index;
+
+ /* The value stored in the tree for a leaf node is the base of
+ * the function pointers for that leaf node. The offset for the
+ * function for a particular opcode is the remaining bits in the
+ * opcode.
+ */
+
+ func_index = -index;
+ func_index += opcode & ((1 << next_remain) - 1);
+ return func_index;
+ }
}
/* We should *never* get here!!!
@@ -272,38 +257,36 @@ get_decode_index(const struct __glXDispatchInfo *dispatch_info,
return -1;
}
-
void *
__glXGetProtocolDecodeFunction(const struct __glXDispatchInfo *dispatch_info,
- int opcode, int swapped_version)
+ int opcode, int swapped_version)
{
const int func_index = get_decode_index(dispatch_info, opcode);
- return (func_index < 0)
- ? NULL
- : (void *) dispatch_info->dispatch_functions[func_index][swapped_version];
+ return (func_index < 0)
+ ? NULL
+ : (void *) dispatch_info->
+ dispatch_functions[func_index][swapped_version];
}
-
int
__glXGetProtocolSizeData(const struct __glXDispatchInfo *dispatch_info,
- int opcode, __GLXrenderSizeData *data)
+ int opcode, __GLXrenderSizeData * data)
{
if (dispatch_info->size_table != NULL) {
- const int func_index = get_decode_index(dispatch_info, opcode);
+ const int func_index = get_decode_index(dispatch_info, opcode);
- if ((func_index >= 0)
- && (dispatch_info->size_table[func_index][0] != 0)) {
- const int var_offset =
- dispatch_info->size_table[func_index][1];
+ if ((func_index >= 0)
+ && (dispatch_info->size_table[func_index][0] != 0)) {
+ const int var_offset = dispatch_info->size_table[func_index][1];
- data->bytes = dispatch_info->size_table[func_index][0];
- data->varsize = (var_offset != ~0)
- ? dispatch_info->size_func_table[var_offset]
- : NULL;
+ data->bytes = dispatch_info->size_table[func_index][0];
+ data->varsize = (var_offset != ~0)
+ ? dispatch_info->size_func_table[var_offset]
+ : NULL;
- return 0;
- }
+ return 0;
+ }
}
return -1;
diff --git a/glx/indirect_util.h b/glx/indirect_util.h
index b00727a4d..0e65075bf 100644
--- a/glx/indirect_util.h
+++ b/glx/indirect_util.h
@@ -26,28 +26,28 @@
#ifndef __GLX_INDIRECT_UTIL_H__
#define __GLX_INDIRECT_UTIL_H__
-extern GLint __glGetBooleanv_variable_size( GLenum e );
+extern GLint __glGetBooleanv_variable_size(GLenum e);
-extern void * __glXGetAnswerBuffer( __GLXclientState * cl,
- size_t required_size, void * local_buffer, size_t local_size,
- unsigned alignment );
+extern void *__glXGetAnswerBuffer(__GLXclientState * cl,
+ size_t required_size, void *local_buffer,
+ size_t local_size, unsigned alignment);
-extern void __glXSendReply( ClientPtr client, const void * data,
- size_t elements, size_t element_size, GLboolean always_array,
- CARD32 retval );
+extern void __glXSendReply(ClientPtr client, const void *data,
+ size_t elements, size_t element_size,
+ GLboolean always_array, CARD32 retval);
-extern void __glXSendReplySwap( ClientPtr client, const void * data,
- size_t elements, size_t element_size, GLboolean always_array,
- CARD32 retval );
+extern void __glXSendReplySwap(ClientPtr client, const void *data,
+ size_t elements, size_t element_size,
+ GLboolean always_array, CARD32 retval);
struct __glXDispatchInfo;
-extern void *__glXGetProtocolDecodeFunction(
- const struct __glXDispatchInfo *dispatch_info, int opcode,
- int swapped_version);
+extern void *__glXGetProtocolDecodeFunction(const struct __glXDispatchInfo
+ *dispatch_info, int opcode,
+ int swapped_version);
-extern int __glXGetProtocolSizeData(
- const struct __glXDispatchInfo *dispatch_info, int opcode,
- __GLXrenderSizeData *data);
+extern int __glXGetProtocolSizeData(const struct __glXDispatchInfo
+ *dispatch_info, int opcode,
+ __GLXrenderSizeData * data);
-#endif /* __GLX_INDIRECT_UTIL_H__ */
+#endif /* __GLX_INDIRECT_UTIL_H__ */
diff --git a/glx/render2.c b/glx/render2.c
index eb7c30ba0..8cf74a691 100644
--- a/glx/render2.c
+++ b/glx/render2.c
@@ -41,138 +41,152 @@
#include "glthread.h"
#include "dispatch.h"
-
-void __glXDisp_Map1f(GLbyte *pc)
+void
+__glXDisp_Map1f(GLbyte * pc)
{
GLint order, k;
GLfloat u1, u2, *points;
GLenum target;
- target = *(GLenum *)(pc + 0);
- order = *(GLint *)(pc + 12);
- u1 = *(GLfloat *)(pc + 4);
- u2 = *(GLfloat *)(pc + 8);
- points = (GLfloat *)(pc + 16);
+ target = *(GLenum *) (pc + 0);
+ order = *(GLint *) (pc + 12);
+ u1 = *(GLfloat *) (pc + 4);
+ u2 = *(GLfloat *) (pc + 8);
+ points = (GLfloat *) (pc + 16);
k = __glMap1f_size(target);
- CALL_Map1f( GET_DISPATCH(), (target, u1, u2, k, order, points) );
+ CALL_Map1f(GET_DISPATCH(), (target, u1, u2, k, order, points));
}
-void __glXDisp_Map2f(GLbyte *pc)
+void
+__glXDisp_Map2f(GLbyte * pc)
{
GLint uorder, vorder, ustride, vstride, k;
GLfloat u1, u2, v1, v2, *points;
GLenum target;
- target = *(GLenum *)(pc + 0);
- uorder = *(GLint *)(pc + 12);
- vorder = *(GLint *)(pc + 24);
- u1 = *(GLfloat *)(pc + 4);
- u2 = *(GLfloat *)(pc + 8);
- v1 = *(GLfloat *)(pc + 16);
- v2 = *(GLfloat *)(pc + 20);
- points = (GLfloat *)(pc + 28);
+ target = *(GLenum *) (pc + 0);
+ uorder = *(GLint *) (pc + 12);
+ vorder = *(GLint *) (pc + 24);
+ u1 = *(GLfloat *) (pc + 4);
+ u2 = *(GLfloat *) (pc + 8);
+ v1 = *(GLfloat *) (pc + 16);
+ v2 = *(GLfloat *) (pc + 20);
+ points = (GLfloat *) (pc + 28);
k = __glMap2f_size(target);
ustride = vorder * k;
vstride = k;
- CALL_Map2f( GET_DISPATCH(), (target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points) );
+ CALL_Map2f(GET_DISPATCH(),
+ (target, u1, u2, ustride, uorder, v1, v2, vstride, vorder,
+ points));
}
-void __glXDisp_Map1d(GLbyte *pc)
+void
+__glXDisp_Map1d(GLbyte * pc)
{
GLint order, k;
+
#ifdef __GLX_ALIGN64
GLint compsize;
#endif
GLenum target;
GLdouble u1, u2, *points;
- target = *(GLenum*) (pc + 16);
- order = *(GLint*) (pc + 20);
+ target = *(GLenum *) (pc + 16);
+ order = *(GLint *) (pc + 20);
k = __glMap1d_size(target);
#ifdef __GLX_ALIGN64
if (order < 0 || k < 0) {
- compsize = 0;
- } else {
- compsize = order * k;
+ compsize = 0;
+ }
+ else {
+ compsize = order * k;
}
#endif
- __GLX_GET_DOUBLE(u1,pc);
- __GLX_GET_DOUBLE(u2,pc+8);
+ __GLX_GET_DOUBLE(u1, pc);
+ __GLX_GET_DOUBLE(u2, pc + 8);
pc += 24;
#ifdef __GLX_ALIGN64
- if (((unsigned long)pc) & 7) {
- /*
- ** Copy the doubles up 4 bytes, trashing the command but aligning
- ** the data in the process
- */
- __GLX_MEM_COPY(pc-4, pc, compsize*8);
- points = (GLdouble*) (pc - 4);
- } else {
- points = (GLdouble*) pc;
+ if (((unsigned long) pc) & 7) {
+ /*
+ ** Copy the doubles up 4 bytes, trashing the command but aligning
+ ** the data in the process
+ */
+ __GLX_MEM_COPY(pc - 4, pc, compsize * 8);
+ points = (GLdouble *) (pc - 4);
+ }
+ else {
+ points = (GLdouble *) pc;
}
#else
- points = (GLdouble*) pc;
+ points = (GLdouble *) pc;
#endif
- CALL_Map1d( GET_DISPATCH(), (target, u1, u2, k, order, points) );
+ CALL_Map1d(GET_DISPATCH(), (target, u1, u2, k, order, points));
}
-void __glXDisp_Map2d(GLbyte *pc)
+void
+__glXDisp_Map2d(GLbyte * pc)
{
GLdouble u1, u2, v1, v2, *points;
GLint uorder, vorder, ustride, vstride, k;
+
#ifdef __GLX_ALIGN64
GLint compsize;
#endif
GLenum target;
- target = *(GLenum *)(pc + 32);
- uorder = *(GLint *)(pc + 36);
- vorder = *(GLint *)(pc + 40);
+ target = *(GLenum *) (pc + 32);
+ uorder = *(GLint *) (pc + 36);
+ vorder = *(GLint *) (pc + 40);
k = __glMap2d_size(target);
#ifdef __GLX_ALIGN64
if (vorder < 0 || uorder < 0 || k < 0) {
- compsize = 0;
- } else {
- compsize = uorder * vorder * k;
+ compsize = 0;
+ }
+ else {
+ compsize = uorder * vorder * k;
}
#endif
- __GLX_GET_DOUBLE(u1,pc);
- __GLX_GET_DOUBLE(u2,pc+8);
- __GLX_GET_DOUBLE(v1,pc+16);
- __GLX_GET_DOUBLE(v2,pc+24);
+ __GLX_GET_DOUBLE(u1, pc);
+ __GLX_GET_DOUBLE(u2, pc + 8);
+ __GLX_GET_DOUBLE(v1, pc + 16);
+ __GLX_GET_DOUBLE(v2, pc + 24);
pc += 44;
ustride = vorder * k;
vstride = k;
#ifdef __GLX_ALIGN64
- if (((unsigned long)pc) & 7) {
- /*
- ** Copy the doubles up 4 bytes, trashing the command but aligning
- ** the data in the process
- */
- __GLX_MEM_COPY(pc-4, pc, compsize*8);
- points = (GLdouble*) (pc - 4);
- } else {
- points = (GLdouble*) pc;
+ if (((unsigned long) pc) & 7) {
+ /*
+ ** Copy the doubles up 4 bytes, trashing the command but aligning
+ ** the data in the process
+ */
+ __GLX_MEM_COPY(pc - 4, pc, compsize * 8);
+ points = (GLdouble *) (pc - 4);
+ }
+ else {
+ points = (GLdouble *) pc;
}
#else
- points = (GLdouble*) pc;
+ points = (GLdouble *) pc;
#endif
- CALL_Map2d( GET_DISPATCH(), (target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points) );
+ CALL_Map2d(GET_DISPATCH(),
+ (target, u1, u2, ustride, uorder, v1, v2, vstride, vorder,
+ points));
}
-void __glXDisp_DrawArrays(GLbyte *pc)
+void
+__glXDisp_DrawArrays(GLbyte * pc)
{
- __GLXdispatchDrawArraysHeader *hdr = (__GLXdispatchDrawArraysHeader *)pc;
+ __GLXdispatchDrawArraysHeader *hdr = (__GLXdispatchDrawArraysHeader *) pc;
__GLXdispatchDrawArraysComponentHeader *compHeader;
GLint numVertexes = hdr->numVertexes;
GLint numComponents = hdr->numComponents;
@@ -181,73 +195,76 @@ void __glXDisp_DrawArrays(GLbyte *pc)
int i;
pc += sizeof(__GLXdispatchDrawArraysHeader);
- compHeader = (__GLXdispatchDrawArraysComponentHeader *)pc;
+ compHeader = (__GLXdispatchDrawArraysComponentHeader *) pc;
/* compute stride (same for all component arrays) */
for (i = 0; i < numComponents; i++) {
- GLenum datatype = compHeader[i].datatype;
- GLint numVals = compHeader[i].numVals;
+ GLenum datatype = compHeader[i].datatype;
+ GLint numVals = compHeader[i].numVals;
- stride += __GLX_PAD(numVals * __glXTypeSize(datatype));
+ stride += __GLX_PAD(numVals * __glXTypeSize(datatype));
}
pc += numComponents * sizeof(__GLXdispatchDrawArraysComponentHeader);
/* set up component arrays */
for (i = 0; i < numComponents; i++) {
- GLenum datatype = compHeader[i].datatype;
- GLint numVals = compHeader[i].numVals;
- GLenum component = compHeader[i].component;
-
- switch (component) {
- case GL_VERTEX_ARRAY:
- CALL_EnableClientState( GET_DISPATCH(), (GL_VERTEX_ARRAY) );
- CALL_VertexPointer( GET_DISPATCH(), (numVals, datatype, stride, pc) );
- break;
- case GL_NORMAL_ARRAY:
- CALL_EnableClientState( GET_DISPATCH(), (GL_NORMAL_ARRAY) );
- CALL_NormalPointer( GET_DISPATCH(), (datatype, stride, pc) );
- break;
- case GL_COLOR_ARRAY:
- CALL_EnableClientState( GET_DISPATCH(), (GL_COLOR_ARRAY) );
- CALL_ColorPointer( GET_DISPATCH(), (numVals, datatype, stride, pc) );
- break;
- case GL_INDEX_ARRAY:
- CALL_EnableClientState( GET_DISPATCH(), (GL_INDEX_ARRAY) );
- CALL_IndexPointer( GET_DISPATCH(), (datatype, stride, pc) );
- break;
- case GL_TEXTURE_COORD_ARRAY:
- CALL_EnableClientState( GET_DISPATCH(), (GL_TEXTURE_COORD_ARRAY) );
- CALL_TexCoordPointer( GET_DISPATCH(), (numVals, datatype, stride, pc) );
- break;
- case GL_EDGE_FLAG_ARRAY:
- CALL_EnableClientState( GET_DISPATCH(), (GL_EDGE_FLAG_ARRAY) );
- CALL_EdgeFlagPointer( GET_DISPATCH(), (stride, (const GLboolean *)pc) );
- break;
- case GL_SECONDARY_COLOR_ARRAY:
- CALL_EnableClientState( GET_DISPATCH(), (GL_SECONDARY_COLOR_ARRAY) );
- CALL_SecondaryColorPointerEXT( GET_DISPATCH(), (numVals, datatype, stride, pc) );
- break;
- case GL_FOG_COORD_ARRAY:
- CALL_EnableClientState( GET_DISPATCH(), (GL_FOG_COORD_ARRAY) );
- CALL_FogCoordPointerEXT( GET_DISPATCH(), (datatype, stride, pc) );
- break;
- default:
- break;
- }
-
- pc += __GLX_PAD(numVals * __glXTypeSize(datatype));
+ GLenum datatype = compHeader[i].datatype;
+ GLint numVals = compHeader[i].numVals;
+ GLenum component = compHeader[i].component;
+
+ switch (component) {
+ case GL_VERTEX_ARRAY:
+ CALL_EnableClientState(GET_DISPATCH(), (GL_VERTEX_ARRAY));
+ CALL_VertexPointer(GET_DISPATCH(), (numVals, datatype, stride, pc));
+ break;
+ case GL_NORMAL_ARRAY:
+ CALL_EnableClientState(GET_DISPATCH(), (GL_NORMAL_ARRAY));
+ CALL_NormalPointer(GET_DISPATCH(), (datatype, stride, pc));
+ break;
+ case GL_COLOR_ARRAY:
+ CALL_EnableClientState(GET_DISPATCH(), (GL_COLOR_ARRAY));
+ CALL_ColorPointer(GET_DISPATCH(), (numVals, datatype, stride, pc));
+ break;
+ case GL_INDEX_ARRAY:
+ CALL_EnableClientState(GET_DISPATCH(), (GL_INDEX_ARRAY));
+ CALL_IndexPointer(GET_DISPATCH(), (datatype, stride, pc));
+ break;
+ case GL_TEXTURE_COORD_ARRAY:
+ CALL_EnableClientState(GET_DISPATCH(), (GL_TEXTURE_COORD_ARRAY));
+ CALL_TexCoordPointer(GET_DISPATCH(),
+ (numVals, datatype, stride, pc));
+ break;
+ case GL_EDGE_FLAG_ARRAY:
+ CALL_EnableClientState(GET_DISPATCH(), (GL_EDGE_FLAG_ARRAY));
+ CALL_EdgeFlagPointer(GET_DISPATCH(),
+ (stride, (const GLboolean *) pc));
+ break;
+ case GL_SECONDARY_COLOR_ARRAY:
+ CALL_EnableClientState(GET_DISPATCH(), (GL_SECONDARY_COLOR_ARRAY));
+ CALL_SecondaryColorPointerEXT(GET_DISPATCH(),
+ (numVals, datatype, stride, pc));
+ break;
+ case GL_FOG_COORD_ARRAY:
+ CALL_EnableClientState(GET_DISPATCH(), (GL_FOG_COORD_ARRAY));
+ CALL_FogCoordPointerEXT(GET_DISPATCH(), (datatype, stride, pc));
+ break;
+ default:
+ break;
+ }
+
+ pc += __GLX_PAD(numVals * __glXTypeSize(datatype));
}
- CALL_DrawArrays( GET_DISPATCH(), (primType, 0, numVertexes) );
+ CALL_DrawArrays(GET_DISPATCH(), (primType, 0, numVertexes));
/* turn off anything we might have turned on */
- CALL_DisableClientState( GET_DISPATCH(), (GL_VERTEX_ARRAY) );
- CALL_DisableClientState( GET_DISPATCH(), (GL_NORMAL_ARRAY) );
- CALL_DisableClientState( GET_DISPATCH(), (GL_COLOR_ARRAY) );
- CALL_DisableClientState( GET_DISPATCH(), (GL_INDEX_ARRAY) );
- CALL_DisableClientState( GET_DISPATCH(), (GL_TEXTURE_COORD_ARRAY) );
- CALL_DisableClientState( GET_DISPATCH(), (GL_EDGE_FLAG_ARRAY) );
- CALL_DisableClientState( GET_DISPATCH(), (GL_SECONDARY_COLOR_ARRAY) );
- CALL_DisableClientState( GET_DISPATCH(), (GL_FOG_COORD_ARRAY) );
+ CALL_DisableClientState(GET_DISPATCH(), (GL_VERTEX_ARRAY));
+ CALL_DisableClientState(GET_DISPATCH(), (GL_NORMAL_ARRAY));
+ CALL_DisableClientState(GET_DISPATCH(), (GL_COLOR_ARRAY));
+ CALL_DisableClientState(GET_DISPATCH(), (GL_INDEX_ARRAY));
+ CALL_DisableClientState(GET_DISPATCH(), (GL_TEXTURE_COORD_ARRAY));
+ CALL_DisableClientState(GET_DISPATCH(), (GL_EDGE_FLAG_ARRAY));
+ CALL_DisableClientState(GET_DISPATCH(), (GL_SECONDARY_COLOR_ARRAY));
+ CALL_DisableClientState(GET_DISPATCH(), (GL_FOG_COORD_ARRAY));
}
diff --git a/glx/render2swap.c b/glx/render2swap.c
index 17354c4f8..8b5d9daff 100644
--- a/glx/render2swap.c
+++ b/glx/render2swap.c
@@ -41,13 +41,14 @@
#include "glthread.h"
#include "dispatch.h"
-
-void __glXDispSwap_Map1f(GLbyte *pc)
+void
+__glXDispSwap_Map1f(GLbyte * pc)
{
GLint order, k;
GLfloat u1, u2, *points;
GLenum target;
GLint compsize;
+
__GLX_DECLARE_SWAP_VARIABLES;
__GLX_DECLARE_SWAP_ARRAY_VARIABLES;
@@ -55,31 +56,34 @@ void __glXDispSwap_Map1f(GLbyte *pc)
__GLX_SWAP_INT(pc + 12);
__GLX_SWAP_FLOAT(pc + 4);
__GLX_SWAP_FLOAT(pc + 8);
-
- target = *(GLenum *)(pc + 0);
- order = *(GLint *)(pc + 12);
- u1 = *(GLfloat *)(pc + 4);
- u2 = *(GLfloat *)(pc + 8);
- points = (GLfloat *)(pc + 16);
+
+ target = *(GLenum *) (pc + 0);
+ order = *(GLint *) (pc + 12);
+ u1 = *(GLfloat *) (pc + 4);
+ u2 = *(GLfloat *) (pc + 8);
+ points = (GLfloat *) (pc + 16);
k = __glMap1f_size(target);
if (order <= 0 || k < 0) {
- /* Erroneous command. */
- compsize = 0;
- } else {
- compsize = order * k;
+ /* Erroneous command. */
+ compsize = 0;
+ }
+ else {
+ compsize = order * k;
}
__GLX_SWAP_FLOAT_ARRAY(points, compsize);
- CALL_Map1f( GET_DISPATCH(), (target, u1, u2, k, order, points) );
+ CALL_Map1f(GET_DISPATCH(), (target, u1, u2, k, order, points));
}
-void __glXDispSwap_Map2f(GLbyte *pc)
+void
+__glXDispSwap_Map2f(GLbyte * pc)
{
GLint uorder, vorder, ustride, vstride, k;
GLfloat u1, u2, v1, v2, *points;
GLenum target;
GLint compsize;
+
__GLX_DECLARE_SWAP_VARIABLES;
__GLX_DECLARE_SWAP_ARRAY_VARIABLES;
@@ -90,36 +94,41 @@ void __glXDispSwap_Map2f(GLbyte *pc)
__GLX_SWAP_FLOAT(pc + 8);
__GLX_SWAP_FLOAT(pc + 16);
__GLX_SWAP_FLOAT(pc + 20);
-
- target = *(GLenum *)(pc + 0);
- uorder = *(GLint *)(pc + 12);
- vorder = *(GLint *)(pc + 24);
- u1 = *(GLfloat *)(pc + 4);
- u2 = *(GLfloat *)(pc + 8);
- v1 = *(GLfloat *)(pc + 16);
- v2 = *(GLfloat *)(pc + 20);
- points = (GLfloat *)(pc + 28);
+
+ target = *(GLenum *) (pc + 0);
+ uorder = *(GLint *) (pc + 12);
+ vorder = *(GLint *) (pc + 24);
+ u1 = *(GLfloat *) (pc + 4);
+ u2 = *(GLfloat *) (pc + 8);
+ v1 = *(GLfloat *) (pc + 16);
+ v2 = *(GLfloat *) (pc + 20);
+ points = (GLfloat *) (pc + 28);
k = __glMap2f_size(target);
ustride = vorder * k;
vstride = k;
if (vorder <= 0 || uorder <= 0 || k < 0) {
- /* Erroneous command. */
- compsize = 0;
- } else {
- compsize = uorder * vorder * k;
+ /* Erroneous command. */
+ compsize = 0;
+ }
+ else {
+ compsize = uorder * vorder * k;
}
__GLX_SWAP_FLOAT_ARRAY(points, compsize);
- CALL_Map2f( GET_DISPATCH(), (target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points) );
+ CALL_Map2f(GET_DISPATCH(),
+ (target, u1, u2, ustride, uorder, v1, v2, vstride, vorder,
+ points));
}
-void __glXDispSwap_Map1d(GLbyte *pc)
+void
+__glXDispSwap_Map1d(GLbyte * pc)
{
GLint order, k, compsize;
GLenum target;
GLdouble u1, u2, *points;
+
__GLX_DECLARE_SWAP_VARIABLES;
__GLX_DECLARE_SWAP_ARRAY_VARIABLES;
@@ -128,42 +137,46 @@ void __glXDispSwap_Map1d(GLbyte *pc)
__GLX_SWAP_INT(pc + 16);
__GLX_SWAP_INT(pc + 20);
- target = *(GLenum*) (pc + 16);
- order = *(GLint*) (pc + 20);
+ target = *(GLenum *) (pc + 16);
+ order = *(GLint *) (pc + 20);
k = __glMap1d_size(target);
if (order <= 0 || k < 0) {
- /* Erroneous command. */
- compsize = 0;
- } else {
- compsize = order * k;
+ /* Erroneous command. */
+ compsize = 0;
}
- __GLX_GET_DOUBLE(u1,pc);
- __GLX_GET_DOUBLE(u2,pc+8);
- __GLX_SWAP_DOUBLE_ARRAY(pc+24, compsize);
+ else {
+ compsize = order * k;
+ }
+ __GLX_GET_DOUBLE(u1, pc);
+ __GLX_GET_DOUBLE(u2, pc + 8);
+ __GLX_SWAP_DOUBLE_ARRAY(pc + 24, compsize);
pc += 24;
#ifdef __GLX_ALIGN64
- if (((unsigned long)pc) & 7) {
- /*
- ** Copy the doubles up 4 bytes, trashing the command but aligning
- ** the data in the process
- */
- __GLX_MEM_COPY(pc-4, pc, compsize*8);
- points = (GLdouble*) (pc - 4);
- } else {
- points = (GLdouble*) pc;
+ if (((unsigned long) pc) & 7) {
+ /*
+ ** Copy the doubles up 4 bytes, trashing the command but aligning
+ ** the data in the process
+ */
+ __GLX_MEM_COPY(pc - 4, pc, compsize * 8);
+ points = (GLdouble *) (pc - 4);
+ }
+ else {
+ points = (GLdouble *) pc;
}
#else
- points = (GLdouble*) pc;
+ points = (GLdouble *) pc;
#endif
- CALL_Map1d( GET_DISPATCH(), (target, u1, u2, k, order, points) );
+ CALL_Map1d(GET_DISPATCH(), (target, u1, u2, k, order, points));
}
-void __glXDispSwap_Map2d(GLbyte *pc)
+void
+__glXDispSwap_Map2d(GLbyte * pc)
{
GLdouble u1, u2, v1, v2, *points;
GLint uorder, vorder, ustride, vstride, k, compsize;
GLenum target;
+
__GLX_DECLARE_SWAP_VARIABLES;
__GLX_DECLARE_SWAP_ARRAY_VARIABLES;
@@ -175,105 +188,117 @@ void __glXDispSwap_Map2d(GLbyte *pc)
__GLX_SWAP_INT(pc + 36);
__GLX_SWAP_INT(pc + 40);
- target = *(GLenum *)(pc + 32);
- uorder = *(GLint *)(pc + 36);
- vorder = *(GLint *)(pc + 40);
+ target = *(GLenum *) (pc + 32);
+ uorder = *(GLint *) (pc + 36);
+ vorder = *(GLint *) (pc + 40);
k = __glMap2d_size(target);
if (vorder <= 0 || uorder <= 0 || k < 0) {
- /* Erroneous command. */
- compsize = 0;
- } else {
- compsize = uorder * vorder * k;
+ /* Erroneous command. */
+ compsize = 0;
+ }
+ else {
+ compsize = uorder * vorder * k;
}
- __GLX_GET_DOUBLE(u1,pc);
- __GLX_GET_DOUBLE(u2,pc+8);
- __GLX_GET_DOUBLE(v1,pc+16);
- __GLX_GET_DOUBLE(v2,pc+24);
- __GLX_SWAP_DOUBLE_ARRAY(pc+44, compsize);
+ __GLX_GET_DOUBLE(u1, pc);
+ __GLX_GET_DOUBLE(u2, pc + 8);
+ __GLX_GET_DOUBLE(v1, pc + 16);
+ __GLX_GET_DOUBLE(v2, pc + 24);
+ __GLX_SWAP_DOUBLE_ARRAY(pc + 44, compsize);
pc += 44;
ustride = vorder * k;
vstride = k;
#ifdef __GLX_ALIGN64
- if (((unsigned long)pc) & 7) {
- /*
- ** Copy the doubles up 4 bytes, trashing the command but aligning
- ** the data in the process
- */
- __GLX_MEM_COPY(pc-4, pc, compsize*8);
- points = (GLdouble*) (pc - 4);
- } else {
- points = (GLdouble*) pc;
+ if (((unsigned long) pc) & 7) {
+ /*
+ ** Copy the doubles up 4 bytes, trashing the command but aligning
+ ** the data in the process
+ */
+ __GLX_MEM_COPY(pc - 4, pc, compsize * 8);
+ points = (GLdouble *) (pc - 4);
+ }
+ else {
+ points = (GLdouble *) pc;
}
#else
- points = (GLdouble*) pc;
+ points = (GLdouble *) pc;
#endif
- CALL_Map2d( GET_DISPATCH(), (target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points) );
+ CALL_Map2d(GET_DISPATCH(),
+ (target, u1, u2, ustride, uorder, v1, v2, vstride, vorder,
+ points));
}
-static void swapArray(GLint numVals, GLenum datatype,
- GLint stride, GLint numVertexes, GLbyte *pc)
+static void
+swapArray(GLint numVals, GLenum datatype,
+ GLint stride, GLint numVertexes, GLbyte * pc)
{
- int i,j;
+ int i, j;
+
__GLX_DECLARE_SWAP_VARIABLES;
switch (datatype) {
- case GL_BYTE:
- case GL_UNSIGNED_BYTE:
- /* don't need to swap */
- return;
- case GL_SHORT:
- case GL_UNSIGNED_SHORT:
- for (i=0; i<numVertexes; i++) {
- GLshort *pVal = (GLshort *) pc;
- for (j=0; j<numVals; j++) {
- __GLX_SWAP_SHORT(&pVal[j]);
- }
- pc += stride;
- }
- break;
- case GL_INT:
- case GL_UNSIGNED_INT:
- for (i=0; i<numVertexes; i++) {
- GLint *pVal = (GLint *) pc;
- for (j=0; j<numVals; j++) {
- __GLX_SWAP_INT(&pVal[j]);
- }
- pc += stride;
- }
- break;
- case GL_FLOAT:
- for (i=0; i<numVertexes; i++) {
- GLfloat *pVal = (GLfloat *) pc;
- for (j=0; j<numVals; j++) {
- __GLX_SWAP_FLOAT(&pVal[j]);
- }
- pc += stride;
- }
- break;
- case GL_DOUBLE:
- for (i=0; i<numVertexes; i++) {
- GLdouble *pVal = (GLdouble *) pc;
- for (j=0; j<numVals; j++) {
- __GLX_SWAP_DOUBLE(&pVal[j]);
- }
- pc += stride;
- }
- break;
- default:
- return;
+ case GL_BYTE:
+ case GL_UNSIGNED_BYTE:
+ /* don't need to swap */
+ return;
+ case GL_SHORT:
+ case GL_UNSIGNED_SHORT:
+ for (i = 0; i < numVertexes; i++) {
+ GLshort *pVal = (GLshort *) pc;
+
+ for (j = 0; j < numVals; j++) {
+ __GLX_SWAP_SHORT(&pVal[j]);
+ }
+ pc += stride;
+ }
+ break;
+ case GL_INT:
+ case GL_UNSIGNED_INT:
+ for (i = 0; i < numVertexes; i++) {
+ GLint *pVal = (GLint *) pc;
+
+ for (j = 0; j < numVals; j++) {
+ __GLX_SWAP_INT(&pVal[j]);
+ }
+ pc += stride;
+ }
+ break;
+ case GL_FLOAT:
+ for (i = 0; i < numVertexes; i++) {
+ GLfloat *pVal = (GLfloat *) pc;
+
+ for (j = 0; j < numVals; j++) {
+ __GLX_SWAP_FLOAT(&pVal[j]);
+ }
+ pc += stride;
+ }
+ break;
+ case GL_DOUBLE:
+ for (i = 0; i < numVertexes; i++) {
+ GLdouble *pVal = (GLdouble *) pc;
+
+ for (j = 0; j < numVals; j++) {
+ __GLX_SWAP_DOUBLE(&pVal[j]);
+ }
+ pc += stride;
+ }
+ break;
+ default:
+ return;
}
}
-void __glXDispSwap_DrawArrays(GLbyte *pc)
+void
+__glXDispSwap_DrawArrays(GLbyte * pc)
{
- __GLXdispatchDrawArraysHeader *hdr = (__GLXdispatchDrawArraysHeader *)pc;
+ __GLXdispatchDrawArraysHeader *hdr = (__GLXdispatchDrawArraysHeader *) pc;
__GLXdispatchDrawArraysComponentHeader *compHeader;
GLint numVertexes = hdr->numVertexes;
GLint numComponents = hdr->numComponents;
GLenum primType = hdr->primType;
GLint stride = 0;
int i;
+
__GLX_DECLARE_SWAP_VARIABLES;
__GLX_SWAP_INT(&numVertexes);
@@ -284,14 +309,14 @@ void __glXDispSwap_DrawArrays(GLbyte *pc)
compHeader = (__GLXdispatchDrawArraysComponentHeader *) pc;
/* compute stride (same for all component arrays) */
- for (i=0; i<numComponents; i++) {
- GLenum datatype = compHeader[i].datatype;
- GLint numVals = compHeader[i].numVals;
- GLenum component = compHeader[i].component;
+ for (i = 0; i < numComponents; i++) {
+ GLenum datatype = compHeader[i].datatype;
+ GLint numVals = compHeader[i].numVals;
+ GLenum component = compHeader[i].component;
- __GLX_SWAP_INT(&datatype);
- __GLX_SWAP_INT(&numVals);
- __GLX_SWAP_INT(&component);
+ __GLX_SWAP_INT(&datatype);
+ __GLX_SWAP_INT(&numVals);
+ __GLX_SWAP_INT(&component);
stride += __GLX_PAD(numVals * __glXTypeSize(datatype));
}
@@ -299,66 +324,69 @@ void __glXDispSwap_DrawArrays(GLbyte *pc)
pc += numComponents * sizeof(__GLXdispatchDrawArraysComponentHeader);
/* set up component arrays */
- for (i=0; i<numComponents; i++) {
- GLenum datatype = compHeader[i].datatype;
- GLint numVals = compHeader[i].numVals;
- GLenum component = compHeader[i].component;
+ for (i = 0; i < numComponents; i++) {
+ GLenum datatype = compHeader[i].datatype;
+ GLint numVals = compHeader[i].numVals;
+ GLenum component = compHeader[i].component;
- __GLX_SWAP_INT(&datatype);
- __GLX_SWAP_INT(&numVals);
- __GLX_SWAP_INT(&component);
+ __GLX_SWAP_INT(&datatype);
+ __GLX_SWAP_INT(&numVals);
+ __GLX_SWAP_INT(&component);
- swapArray(numVals, datatype, stride, numVertexes, pc);
+ swapArray(numVals, datatype, stride, numVertexes, pc);
switch (component) {
- case GL_VERTEX_ARRAY:
- CALL_EnableClientState( GET_DISPATCH(), (GL_VERTEX_ARRAY) );
- CALL_VertexPointer( GET_DISPATCH(), (numVals, datatype, stride, pc) );
+ case GL_VERTEX_ARRAY:
+ CALL_EnableClientState(GET_DISPATCH(), (GL_VERTEX_ARRAY));
+ CALL_VertexPointer(GET_DISPATCH(), (numVals, datatype, stride, pc));
break;
- case GL_NORMAL_ARRAY:
- CALL_EnableClientState( GET_DISPATCH(), (GL_NORMAL_ARRAY) );
- CALL_NormalPointer( GET_DISPATCH(), (datatype, stride, pc) );
+ case GL_NORMAL_ARRAY:
+ CALL_EnableClientState(GET_DISPATCH(), (GL_NORMAL_ARRAY));
+ CALL_NormalPointer(GET_DISPATCH(), (datatype, stride, pc));
break;
- case GL_COLOR_ARRAY:
- CALL_EnableClientState( GET_DISPATCH(), (GL_COLOR_ARRAY) );
- CALL_ColorPointer( GET_DISPATCH(), (numVals, datatype, stride, pc) );
+ case GL_COLOR_ARRAY:
+ CALL_EnableClientState(GET_DISPATCH(), (GL_COLOR_ARRAY));
+ CALL_ColorPointer(GET_DISPATCH(), (numVals, datatype, stride, pc));
break;
- case GL_INDEX_ARRAY:
- CALL_EnableClientState( GET_DISPATCH(), (GL_INDEX_ARRAY) );
- CALL_IndexPointer( GET_DISPATCH(), (datatype, stride, pc) );
+ case GL_INDEX_ARRAY:
+ CALL_EnableClientState(GET_DISPATCH(), (GL_INDEX_ARRAY));
+ CALL_IndexPointer(GET_DISPATCH(), (datatype, stride, pc));
break;
- case GL_TEXTURE_COORD_ARRAY:
- CALL_EnableClientState( GET_DISPATCH(), (GL_TEXTURE_COORD_ARRAY) );
- CALL_TexCoordPointer( GET_DISPATCH(), (numVals, datatype, stride, pc) );
+ case GL_TEXTURE_COORD_ARRAY:
+ CALL_EnableClientState(GET_DISPATCH(), (GL_TEXTURE_COORD_ARRAY));
+ CALL_TexCoordPointer(GET_DISPATCH(),
+ (numVals, datatype, stride, pc));
break;
- case GL_EDGE_FLAG_ARRAY:
- CALL_EnableClientState( GET_DISPATCH(), (GL_EDGE_FLAG_ARRAY) );
- CALL_EdgeFlagPointer( GET_DISPATCH(), (stride, (const GLboolean *)pc) );
+ case GL_EDGE_FLAG_ARRAY:
+ CALL_EnableClientState(GET_DISPATCH(), (GL_EDGE_FLAG_ARRAY));
+ CALL_EdgeFlagPointer(GET_DISPATCH(),
+ (stride, (const GLboolean *) pc));
break;
- case GL_SECONDARY_COLOR_ARRAY:
- CALL_EnableClientState( GET_DISPATCH(), (GL_SECONDARY_COLOR_ARRAY) );
- CALL_SecondaryColorPointerEXT( GET_DISPATCH(), (numVals, datatype, stride, pc) );
+ case GL_SECONDARY_COLOR_ARRAY:
+ CALL_EnableClientState(GET_DISPATCH(), (GL_SECONDARY_COLOR_ARRAY));
+ CALL_SecondaryColorPointerEXT(GET_DISPATCH(),
+ (numVals, datatype, stride, pc));
break;
- case GL_FOG_COORD_ARRAY:
- CALL_EnableClientState( GET_DISPATCH(), (GL_FOG_COORD_ARRAY) );
- CALL_FogCoordPointerEXT( GET_DISPATCH(), (datatype, stride, pc) );
+ case GL_FOG_COORD_ARRAY:
+ CALL_EnableClientState(GET_DISPATCH(), (GL_FOG_COORD_ARRAY));
+ CALL_FogCoordPointerEXT(GET_DISPATCH(), (datatype, stride, pc));
break;
- default:
+ default:
break;
- }
+ }
pc += __GLX_PAD(numVals * __glXTypeSize(datatype));
}
- CALL_DrawArrays( GET_DISPATCH(), (primType, 0, numVertexes) );
+ CALL_DrawArrays(GET_DISPATCH(), (primType, 0, numVertexes));
/* turn off anything we might have turned on */
- CALL_DisableClientState( GET_DISPATCH(), (GL_VERTEX_ARRAY) );
- CALL_DisableClientState( GET_DISPATCH(), (GL_NORMAL_ARRAY) );
- CALL_DisableClientState( GET_DISPATCH(), (GL_COLOR_ARRAY) );
- CALL_DisableClientState( GET_DISPATCH(), (GL_INDEX_ARRAY) );
- CALL_DisableClientState( GET_DISPATCH(), (GL_TEXTURE_COORD_ARRAY) );
- CALL_DisableClientState( GET_DISPATCH(), (GL_EDGE_FLAG_ARRAY) );
- CALL_DisableClientState( GET_DISPATCH(), (GL_SECONDARY_COLOR_ARRAY) );
- CALL_DisableClientState( GET_DISPATCH(), (GL_FOG_COORD_ARRAY) );
+ CALL_DisableClientState(GET_DISPATCH(), (GL_VERTEX_ARRAY));
+ CALL_DisableClientState(GET_DISPATCH(), (GL_NORMAL_ARRAY));
+ CALL_DisableClientState(GET_DISPATCH(), (GL_COLOR_ARRAY));
+ CALL_DisableClientState(GET_DISPATCH(), (GL_INDEX_ARRAY));
+ CALL_DisableClientState(GET_DISPATCH(), (GL_TEXTURE_COORD_ARRAY));
+ CALL_DisableClientState(GET_DISPATCH(), (GL_EDGE_FLAG_ARRAY));
+ CALL_DisableClientState(GET_DISPATCH(), (GL_SECONDARY_COLOR_ARRAY));
+ CALL_DisableClientState(GET_DISPATCH(), (GL_FOG_COORD_ARRAY));
}
diff --git a/glx/renderpix.c b/glx/renderpix.c
index 056e62c87..6fccde61f 100644
--- a/glx/renderpix.c
+++ b/glx/renderpix.c
@@ -40,30 +40,34 @@
#include "glthread.h"
#include "dispatch.h"
-void __glXDisp_SeparableFilter2D(GLbyte *pc)
+void
+__glXDisp_SeparableFilter2D(GLbyte * pc)
{
- __GLXdispatchConvolutionFilterHeader *hdr =
- (__GLXdispatchConvolutionFilterHeader *) pc;
+ __GLXdispatchConvolutionFilterHeader *hdr =
+ (__GLXdispatchConvolutionFilterHeader *) pc;
GLint hdrlen, image1len;
hdrlen = __GLX_PAD(__GLX_CONV_FILT_CMD_DISPATCH_HDR_SIZE);
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ROW_LENGTH, hdr->rowLength) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_ROWS, hdr->skipRows) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_PIXELS, hdr->skipPixels) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ALIGNMENT, hdr->alignment) );
+ CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes));
+ CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst));
+ CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_ROW_LENGTH, hdr->rowLength));
+ CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_SKIP_ROWS, hdr->skipRows));
+ CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_SKIP_PIXELS, hdr->skipPixels));
+ CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_ALIGNMENT, hdr->alignment));
/* XXX check this usage - internal code called
- ** a version without the packing parameters
- */
+ ** a version without the packing parameters
+ */
image1len = __glXImageSize(hdr->format, hdr->type, 0, hdr->width, 1, 1,
- 0, hdr->rowLength, 0, hdr->skipRows,
- hdr->alignment);
+ 0, hdr->rowLength, 0, hdr->skipRows,
+ hdr->alignment);
image1len = __GLX_PAD(image1len);
- CALL_SeparableFilter2D( GET_DISPATCH(), (hdr->target, hdr->internalformat,
- hdr->width, hdr->height, hdr->format, hdr->type,
- ((GLubyte *)hdr+hdrlen), ((GLubyte *)hdr+hdrlen+image1len)) );
+ CALL_SeparableFilter2D(GET_DISPATCH(), (hdr->target, hdr->internalformat,
+ hdr->width, hdr->height,
+ hdr->format, hdr->type,
+ ((GLubyte *) hdr + hdrlen),
+ ((GLubyte *) hdr + hdrlen +
+ image1len)));
}
diff --git a/glx/renderpixswap.c b/glx/renderpixswap.c
index 9cd57410e..0655b74f2 100644
--- a/glx/renderpixswap.c
+++ b/glx/renderpixswap.c
@@ -40,48 +40,52 @@
#include "glthread.h"
#include "dispatch.h"
-void __glXDispSwap_SeparableFilter2D(GLbyte *pc)
+void
+__glXDispSwap_SeparableFilter2D(GLbyte * pc)
{
__GLXdispatchConvolutionFilterHeader *hdr =
- (__GLXdispatchConvolutionFilterHeader *) pc;
+ (__GLXdispatchConvolutionFilterHeader *) pc;
GLint hdrlen, image1len;
+
__GLX_DECLARE_SWAP_VARIABLES;
hdrlen = __GLX_PAD(__GLX_CONV_FILT_CMD_HDR_SIZE);
- __GLX_SWAP_INT((GLbyte *)&hdr->rowLength);
- __GLX_SWAP_INT((GLbyte *)&hdr->skipRows);
- __GLX_SWAP_INT((GLbyte *)&hdr->skipPixels);
- __GLX_SWAP_INT((GLbyte *)&hdr->alignment);
+ __GLX_SWAP_INT((GLbyte *) & hdr->rowLength);
+ __GLX_SWAP_INT((GLbyte *) & hdr->skipRows);
+ __GLX_SWAP_INT((GLbyte *) & hdr->skipPixels);
+ __GLX_SWAP_INT((GLbyte *) & hdr->alignment);
- __GLX_SWAP_INT((GLbyte *)&hdr->target);
- __GLX_SWAP_INT((GLbyte *)&hdr->internalformat);
- __GLX_SWAP_INT((GLbyte *)&hdr->width);
- __GLX_SWAP_INT((GLbyte *)&hdr->height);
- __GLX_SWAP_INT((GLbyte *)&hdr->format);
- __GLX_SWAP_INT((GLbyte *)&hdr->type);
+ __GLX_SWAP_INT((GLbyte *) & hdr->target);
+ __GLX_SWAP_INT((GLbyte *) & hdr->internalformat);
+ __GLX_SWAP_INT((GLbyte *) & hdr->width);
+ __GLX_SWAP_INT((GLbyte *) & hdr->height);
+ __GLX_SWAP_INT((GLbyte *) & hdr->format);
+ __GLX_SWAP_INT((GLbyte *) & hdr->type);
/*
- ** Just invert swapBytes flag; the GL will figure out if it needs to swap
- ** the pixel data.
- */
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, !hdr->swapBytes) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ROW_LENGTH, hdr->rowLength) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_ROWS, hdr->skipRows) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_PIXELS, hdr->skipPixels) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ALIGNMENT, hdr->alignment) );
+ ** Just invert swapBytes flag; the GL will figure out if it needs to swap
+ ** the pixel data.
+ */
+ CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, !hdr->swapBytes));
+ CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst));
+ CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_ROW_LENGTH, hdr->rowLength));
+ CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_SKIP_ROWS, hdr->skipRows));
+ CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_SKIP_PIXELS, hdr->skipPixels));
+ CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_ALIGNMENT, hdr->alignment));
/* XXX check this usage - internal code called
- ** a version without the packing parameters
- */
+ ** a version without the packing parameters
+ */
image1len = __glXImageSize(hdr->format, hdr->type, 0, hdr->width, 1, 1,
- 0, hdr->rowLength, 0, hdr->skipRows,
- hdr->alignment);
+ 0, hdr->rowLength, 0, hdr->skipRows,
+ hdr->alignment);
image1len = __GLX_PAD(image1len);
-
- CALL_SeparableFilter2D( GET_DISPATCH(), (hdr->target, hdr->internalformat,
- hdr->width, hdr->height, hdr->format, hdr->type,
- ((GLubyte *)hdr+hdrlen), ((GLubyte *)hdr+hdrlen+image1len)) );
+ CALL_SeparableFilter2D(GET_DISPATCH(), (hdr->target, hdr->internalformat,
+ hdr->width, hdr->height,
+ hdr->format, hdr->type,
+ ((GLubyte *) hdr + hdrlen),
+ ((GLubyte *) hdr + hdrlen +
+ image1len)));
}
diff --git a/glx/rensize.c b/glx/rensize.c
index 8a58e08d7..bcc3a53ad 100644
--- a/glx/rensize.c
+++ b/glx/rensize.c
@@ -43,80 +43,88 @@
(((a & 0xff000000U)>>24) | ((a & 0xff0000U)>>8) | \
((a & 0xff00U)<<8) | ((a & 0xffU)<<24))
-static int Map1Size( GLint k, GLint order)
+static int
+Map1Size(GLint k, GLint order)
{
- if (order <= 0 || k < 0) return -1;
+ if (order <= 0 || k < 0)
+ return -1;
return k * order;
}
-int __glXMap1dReqSize( const GLbyte *pc, Bool swap )
+int
+__glXMap1dReqSize(const GLbyte * pc, Bool swap)
{
GLenum target;
GLint order, k;
- target = *(GLenum*) (pc + 16);
- order = *(GLint*) (pc + 20);
+ target = *(GLenum *) (pc + 16);
+ order = *(GLint *) (pc + 20);
if (swap) {
- target = SWAPL( target );
- order = SWAPL( order );
+ target = SWAPL(target);
+ order = SWAPL(order);
}
- k = __glMap1d_size( target );
- return 8 * Map1Size( k, order );
+ k = __glMap1d_size(target);
+ return 8 * Map1Size(k, order);
}
-int __glXMap1fReqSize( const GLbyte *pc, Bool swap )
+int
+__glXMap1fReqSize(const GLbyte * pc, Bool swap)
{
GLenum target;
GLint order, k;
- target = *(GLenum *)(pc + 0);
- order = *(GLint *)(pc + 12);
+ target = *(GLenum *) (pc + 0);
+ order = *(GLint *) (pc + 12);
if (swap) {
- target = SWAPL( target );
- order = SWAPL( order );
+ target = SWAPL(target);
+ order = SWAPL(order);
}
k = __glMap1f_size(target);
return 4 * Map1Size(k, order);
}
-static int Map2Size(int k, int majorOrder, int minorOrder)
+static int
+Map2Size(int k, int majorOrder, int minorOrder)
{
- if (majorOrder <= 0 || minorOrder <= 0 || k < 0) return -1;
+ if (majorOrder <= 0 || minorOrder <= 0 || k < 0)
+ return -1;
return k * majorOrder * minorOrder;
}
-int __glXMap2dReqSize( const GLbyte *pc, Bool swap )
+int
+__glXMap2dReqSize(const GLbyte * pc, Bool swap)
{
GLenum target;
GLint uorder, vorder, k;
- target = *(GLenum *)(pc + 32);
- uorder = *(GLint *)(pc + 36);
- vorder = *(GLint *)(pc + 40);
+ target = *(GLenum *) (pc + 32);
+ uorder = *(GLint *) (pc + 36);
+ vorder = *(GLint *) (pc + 40);
if (swap) {
- target = SWAPL( target );
- uorder = SWAPL( uorder );
- vorder = SWAPL( vorder );
+ target = SWAPL(target);
+ uorder = SWAPL(uorder);
+ vorder = SWAPL(vorder);
}
- k = __glMap2d_size( target );
- return 8 * Map2Size( k, uorder, vorder );
+ k = __glMap2d_size(target);
+ return 8 * Map2Size(k, uorder, vorder);
}
-int __glXMap2fReqSize( const GLbyte *pc, Bool swap )
+int
+__glXMap2fReqSize(const GLbyte * pc, Bool swap)
{
GLenum target;
GLint uorder, vorder, k;
- target = *(GLenum *)(pc + 0);
- uorder = *(GLint *)(pc + 12);
- vorder = *(GLint *)(pc + 24);
+ target = *(GLenum *) (pc + 0);
+ uorder = *(GLint *) (pc + 12);
+ vorder = *(GLint *) (pc + 24);
if (swap) {
- target = SWAPL( target );
- uorder = SWAPL( uorder );
- vorder = SWAPL( vorder );
+ target = SWAPL(target);
+ uorder = SWAPL(uorder);
+ vorder = SWAPL(vorder);
}
- k = __glMap2f_size( target );
- return 4 * Map2Size( k, uorder, vorder );
+ k = __glMap2f_size(target);
+ return 4 * Map2Size(k, uorder, vorder);
}
/**
@@ -158,22 +166,24 @@ int __glXMap2fReqSize( const GLbyte *pc, Bool swap )
* are invalid, -1 is returned. If \c target is one of \c GL_PROXY_*, zero
* is returned.
*/
-int __glXImageSize( GLenum format, GLenum type, GLenum target,
- GLsizei w, GLsizei h, GLsizei d,
- GLint imageHeight, GLint rowLength,
- GLint skipImages, GLint skipRows, GLint alignment )
+int
+__glXImageSize(GLenum format, GLenum type, GLenum target,
+ GLsizei w, GLsizei h, GLsizei d,
+ GLint imageHeight, GLint rowLength,
+ GLint skipImages, GLint skipRows, GLint alignment)
{
GLint bytesPerElement, elementsPerGroup, groupsPerRow;
GLint groupSize, rowSize, padding, imageSize;
if (w < 0 || h < 0 || d < 0 ||
- (type == GL_BITMAP &&
- (format != GL_COLOR_INDEX && format != GL_STENCIL_INDEX))) {
- return -1;
+ (type == GL_BITMAP &&
+ (format != GL_COLOR_INDEX && format != GL_STENCIL_INDEX))) {
+ return -1;
}
- if (w==0 || h==0 || d == 0) return 0;
+ if (w == 0 || h == 0 || d == 0)
+ return 0;
- switch( target ) {
+ switch (target) {
case GL_PROXY_TEXTURE_1D:
case GL_PROXY_TEXTURE_2D:
case GL_PROXY_TEXTURE_3D:
@@ -186,139 +196,153 @@ int __glXImageSize( GLenum format, GLenum type, GLenum target,
case GL_PROXY_POST_CONVOLUTION_COLOR_TABLE:
case GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE:
case GL_PROXY_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP:
- return 0;
+ return 0;
}
if (type == GL_BITMAP) {
- if (rowLength > 0) {
- groupsPerRow = rowLength;
- } else {
- groupsPerRow = w;
- }
- rowSize = bits_to_bytes(groupsPerRow);
- padding = (rowSize % alignment);
- if (padding) {
- rowSize += alignment - padding;
- }
- return ((h + skipRows) * rowSize);
- } else {
- switch(format) {
- case GL_COLOR_INDEX:
- case GL_STENCIL_INDEX:
- case GL_DEPTH_COMPONENT:
- case GL_RED:
- case GL_GREEN:
- case GL_BLUE:
- case GL_ALPHA:
- case GL_LUMINANCE:
- case GL_INTENSITY:
- elementsPerGroup = 1;
- break;
- case GL_422_EXT:
- case GL_422_REV_EXT:
- case GL_422_AVERAGE_EXT:
- case GL_422_REV_AVERAGE_EXT:
- case GL_DEPTH_STENCIL_NV:
- case GL_DEPTH_STENCIL_MESA:
- case GL_YCBCR_MESA:
- case GL_LUMINANCE_ALPHA:
- elementsPerGroup = 2;
- break;
- case GL_RGB:
- case GL_BGR:
- elementsPerGroup = 3;
- break;
- case GL_RGBA:
- case GL_BGRA:
- case GL_ABGR_EXT:
- elementsPerGroup = 4;
- break;
- default:
- return -1;
- }
- switch(type) {
- case GL_UNSIGNED_BYTE:
- case GL_BYTE:
- bytesPerElement = 1;
- break;
- case GL_UNSIGNED_BYTE_3_3_2:
- case GL_UNSIGNED_BYTE_2_3_3_REV:
- bytesPerElement = 1;
- elementsPerGroup = 1;
- break;
- case GL_UNSIGNED_SHORT:
- case GL_SHORT:
- bytesPerElement = 2;
- break;
- case GL_UNSIGNED_SHORT_5_6_5:
- case GL_UNSIGNED_SHORT_5_6_5_REV:
- case GL_UNSIGNED_SHORT_4_4_4_4:
- case GL_UNSIGNED_SHORT_4_4_4_4_REV:
- case GL_UNSIGNED_SHORT_5_5_5_1:
- case GL_UNSIGNED_SHORT_1_5_5_5_REV:
- case GL_UNSIGNED_SHORT_8_8_APPLE:
- case GL_UNSIGNED_SHORT_8_8_REV_APPLE:
- case GL_UNSIGNED_SHORT_15_1_MESA:
- case GL_UNSIGNED_SHORT_1_15_REV_MESA:
- bytesPerElement = 2;
- elementsPerGroup = 1;
- break;
- case GL_INT:
- case GL_UNSIGNED_INT:
- case GL_FLOAT:
- bytesPerElement = 4;
- break;
- case GL_UNSIGNED_INT_8_8_8_8:
- case GL_UNSIGNED_INT_8_8_8_8_REV:
- case GL_UNSIGNED_INT_10_10_10_2:
- case GL_UNSIGNED_INT_2_10_10_10_REV:
- case GL_UNSIGNED_INT_24_8_NV:
- case GL_UNSIGNED_INT_24_8_MESA:
- case GL_UNSIGNED_INT_8_24_REV_MESA:
- bytesPerElement = 4;
- elementsPerGroup = 1;
- break;
- default:
- return -1;
- }
- groupSize = bytesPerElement * elementsPerGroup;
- if (rowLength > 0) {
- groupsPerRow = rowLength;
- } else {
- groupsPerRow = w;
- }
- rowSize = groupsPerRow * groupSize;
- padding = (rowSize % alignment);
- if (padding) {
- rowSize += alignment - padding;
- }
- if (imageHeight > 0) {
- imageSize = (imageHeight + skipRows) * rowSize;
- } else {
- imageSize = (h + skipRows) * rowSize;
- }
- return ((d + skipImages) * imageSize);
+ if (rowLength > 0) {
+ groupsPerRow = rowLength;
+ }
+ else {
+ groupsPerRow = w;
+ }
+ rowSize = bits_to_bytes(groupsPerRow);
+ padding = (rowSize % alignment);
+ if (padding) {
+ rowSize += alignment - padding;
+ }
+ return ((h + skipRows) * rowSize);
+ }
+ else {
+ switch (format) {
+ case GL_COLOR_INDEX:
+ case GL_STENCIL_INDEX:
+ case GL_DEPTH_COMPONENT:
+ case GL_RED:
+ case GL_GREEN:
+ case GL_BLUE:
+ case GL_ALPHA:
+ case GL_LUMINANCE:
+ case GL_INTENSITY:
+ elementsPerGroup = 1;
+ break;
+ case GL_422_EXT:
+ case GL_422_REV_EXT:
+ case GL_422_AVERAGE_EXT:
+ case GL_422_REV_AVERAGE_EXT:
+ case GL_DEPTH_STENCIL_NV:
+ case GL_DEPTH_STENCIL_MESA:
+ case GL_YCBCR_MESA:
+ case GL_LUMINANCE_ALPHA:
+ elementsPerGroup = 2;
+ break;
+ case GL_RGB:
+ case GL_BGR:
+ elementsPerGroup = 3;
+ break;
+ case GL_RGBA:
+ case GL_BGRA:
+ case GL_ABGR_EXT:
+ elementsPerGroup = 4;
+ break;
+ default:
+ return -1;
+ }
+ switch (type) {
+ case GL_UNSIGNED_BYTE:
+ case GL_BYTE:
+ bytesPerElement = 1;
+ break;
+ case GL_UNSIGNED_BYTE_3_3_2:
+ case GL_UNSIGNED_BYTE_2_3_3_REV:
+ bytesPerElement = 1;
+ elementsPerGroup = 1;
+ break;
+ case GL_UNSIGNED_SHORT:
+ case GL_SHORT:
+ bytesPerElement = 2;
+ break;
+ case GL_UNSIGNED_SHORT_5_6_5:
+ case GL_UNSIGNED_SHORT_5_6_5_REV:
+ case GL_UNSIGNED_SHORT_4_4_4_4:
+ case GL_UNSIGNED_SHORT_4_4_4_4_REV:
+ case GL_UNSIGNED_SHORT_5_5_5_1:
+ case GL_UNSIGNED_SHORT_1_5_5_5_REV:
+ case GL_UNSIGNED_SHORT_8_8_APPLE:
+ case GL_UNSIGNED_SHORT_8_8_REV_APPLE:
+ case GL_UNSIGNED_SHORT_15_1_MESA:
+ case GL_UNSIGNED_SHORT_1_15_REV_MESA:
+ bytesPerElement = 2;
+ elementsPerGroup = 1;
+ break;
+ case GL_INT:
+ case GL_UNSIGNED_INT:
+ case GL_FLOAT:
+ bytesPerElement = 4;
+ break;
+ case GL_UNSIGNED_INT_8_8_8_8:
+ case GL_UNSIGNED_INT_8_8_8_8_REV:
+ case GL_UNSIGNED_INT_10_10_10_2:
+ case GL_UNSIGNED_INT_2_10_10_10_REV:
+ case GL_UNSIGNED_INT_24_8_NV:
+ case GL_UNSIGNED_INT_24_8_MESA:
+ case GL_UNSIGNED_INT_8_24_REV_MESA:
+ bytesPerElement = 4;
+ elementsPerGroup = 1;
+ break;
+ default:
+ return -1;
+ }
+ groupSize = bytesPerElement * elementsPerGroup;
+ if (rowLength > 0) {
+ groupsPerRow = rowLength;
+ }
+ else {
+ groupsPerRow = w;
+ }
+ rowSize = groupsPerRow * groupSize;
+ padding = (rowSize % alignment);
+ if (padding) {
+ rowSize += alignment - padding;
+ }
+ if (imageHeight > 0) {
+ imageSize = (imageHeight + skipRows) * rowSize;
+ }
+ else {
+ imageSize = (h + skipRows) * rowSize;
+ }
+ return ((d + skipImages) * imageSize);
}
}
-
/* XXX this is used elsewhere - should it be exported from glxserver.h? */
-int __glXTypeSize(GLenum enm)
+int
+__glXTypeSize(GLenum enm)
{
- switch(enm) {
- case GL_BYTE: return sizeof(GLbyte);
- case GL_UNSIGNED_BYTE: return sizeof(GLubyte);
- case GL_SHORT: return sizeof(GLshort);
- case GL_UNSIGNED_SHORT: return sizeof(GLushort);
- case GL_INT: return sizeof(GLint);
- case GL_UNSIGNED_INT: return sizeof(GLint);
- case GL_FLOAT: return sizeof(GLfloat);
- case GL_DOUBLE: return sizeof(GLdouble);
- default: return -1;
- }
+ switch (enm) {
+ case GL_BYTE:
+ return sizeof(GLbyte);
+ case GL_UNSIGNED_BYTE:
+ return sizeof(GLubyte);
+ case GL_SHORT:
+ return sizeof(GLshort);
+ case GL_UNSIGNED_SHORT:
+ return sizeof(GLushort);
+ case GL_INT:
+ return sizeof(GLint);
+ case GL_UNSIGNED_INT:
+ return sizeof(GLint);
+ case GL_FLOAT:
+ return sizeof(GLfloat);
+ case GL_DOUBLE:
+ return sizeof(GLdouble);
+ default:
+ return -1;
+ }
}
-int __glXDrawArraysReqSize( const GLbyte *pc, Bool swap )
+int
+__glXDrawArraysReqSize(const GLbyte * pc, Bool swap)
{
__GLXdispatchDrawArraysHeader *hdr = (__GLXdispatchDrawArraysHeader *) pc;
__GLXdispatchDrawArraysComponentHeader *compHeader;
@@ -328,67 +352,68 @@ int __glXDrawArraysReqSize( const GLbyte *pc, Bool swap )
int i;
if (swap) {
- numVertexes = SWAPL( numVertexes );
- numComponents = SWAPL( numComponents );
+ numVertexes = SWAPL(numVertexes);
+ numComponents = SWAPL(numComponents);
}
pc += sizeof(__GLXdispatchDrawArraysHeader);
compHeader = (__GLXdispatchDrawArraysComponentHeader *) pc;
- for (i=0; i<numComponents; i++) {
- GLenum datatype = compHeader[i].datatype;
- GLint numVals = compHeader[i].numVals;
- GLint component = compHeader[i].component;
-
- if (swap) {
- datatype = SWAPL( datatype );
- numVals = SWAPL( numVals );
- component = SWAPL( component );
- }
-
- switch (component) {
- case GL_VERTEX_ARRAY:
- case GL_COLOR_ARRAY:
- case GL_TEXTURE_COORD_ARRAY:
- break;
- case GL_SECONDARY_COLOR_ARRAY:
- case GL_NORMAL_ARRAY:
- if (numVals != 3) {
- /* bad size */
- return -1;
- }
- break;
- case GL_FOG_COORD_ARRAY:
- case GL_INDEX_ARRAY:
- if (numVals != 1) {
- /* bad size */
- return -1;
- }
- break;
- case GL_EDGE_FLAG_ARRAY:
- if ((numVals != 1) && (datatype != GL_UNSIGNED_BYTE)) {
- /* bad size or bad type */
- return -1;
- }
- break;
- default:
- /* unknown component type */
- return -1;
- }
-
- arrayElementSize += __GLX_PAD(numVals * __glXTypeSize(datatype));
-
- pc += sizeof(__GLXdispatchDrawArraysComponentHeader);
+ for (i = 0; i < numComponents; i++) {
+ GLenum datatype = compHeader[i].datatype;
+ GLint numVals = compHeader[i].numVals;
+ GLint component = compHeader[i].component;
+
+ if (swap) {
+ datatype = SWAPL(datatype);
+ numVals = SWAPL(numVals);
+ component = SWAPL(component);
+ }
+
+ switch (component) {
+ case GL_VERTEX_ARRAY:
+ case GL_COLOR_ARRAY:
+ case GL_TEXTURE_COORD_ARRAY:
+ break;
+ case GL_SECONDARY_COLOR_ARRAY:
+ case GL_NORMAL_ARRAY:
+ if (numVals != 3) {
+ /* bad size */
+ return -1;
+ }
+ break;
+ case GL_FOG_COORD_ARRAY:
+ case GL_INDEX_ARRAY:
+ if (numVals != 1) {
+ /* bad size */
+ return -1;
+ }
+ break;
+ case GL_EDGE_FLAG_ARRAY:
+ if ((numVals != 1) && (datatype != GL_UNSIGNED_BYTE)) {
+ /* bad size or bad type */
+ return -1;
+ }
+ break;
+ default:
+ /* unknown component type */
+ return -1;
+ }
+
+ arrayElementSize += __GLX_PAD(numVals * __glXTypeSize(datatype));
+
+ pc += sizeof(__GLXdispatchDrawArraysComponentHeader);
}
return ((numComponents * sizeof(__GLXdispatchDrawArraysComponentHeader)) +
- (numVertexes * arrayElementSize));
+ (numVertexes * arrayElementSize));
}
-int __glXSeparableFilter2DReqSize( const GLbyte *pc, Bool swap )
+int
+__glXSeparableFilter2DReqSize(const GLbyte * pc, Bool swap)
{
__GLXdispatchConvolutionFilterHeader *hdr =
- (__GLXdispatchConvolutionFilterHeader *) pc;
+ (__GLXdispatchConvolutionFilterHeader *) pc;
GLint image1size, image2size;
GLenum format = hdr->format;
@@ -399,20 +424,20 @@ int __glXSeparableFilter2DReqSize( const GLbyte *pc, Bool swap )
GLint alignment = hdr->alignment;
if (swap) {
- format = SWAPL( format );
- type = SWAPL( type );
- w = SWAPL( w );
- h = SWAPL( h );
- rowLength = SWAPL( rowLength );
- alignment = SWAPL( alignment );
+ format = SWAPL(format);
+ type = SWAPL(type);
+ w = SWAPL(w);
+ h = SWAPL(h);
+ rowLength = SWAPL(rowLength);
+ alignment = SWAPL(alignment);
}
/* XXX Should rowLength be used for either or both image? */
- image1size = __glXImageSize( format, type, 0, w, 1, 1,
- 0, rowLength, 0, 0, alignment );
+ image1size = __glXImageSize(format, type, 0, w, 1, 1,
+ 0, rowLength, 0, 0, alignment);
image1size = __GLX_PAD(image1size);
- image2size = __glXImageSize( format, type, 0, h, 1, 1,
- 0, rowLength, 0, 0, alignment );
+ image2size = __glXImageSize(format, type, 0, h, 1, 1,
+ 0, rowLength, 0, 0, alignment);
return image1size + image2size;
}
diff --git a/glx/single2.c b/glx/single2.c
index 9f8254b01..42cccc148 100644
--- a/glx/single2.c
+++ b/glx/single2.c
@@ -46,7 +46,8 @@
#include "glthread.h"
#include "dispatch.h"
-int __glXDisp_FeedbackBuffer(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_FeedbackBuffer(__GLXclientState * cl, GLbyte * pc)
{
GLsizei size;
GLenum type;
@@ -55,28 +56,29 @@ int __glXDisp_FeedbackBuffer(__GLXclientState *cl, GLbyte *pc)
cx = __glXForceCurrent(cl, __GLX_GET_SINGLE_CONTEXT_TAG(pc), &error);
if (!cx) {
- return error;
+ return error;
}
pc += __GLX_SINGLE_HDR_SIZE;
- size = *(GLsizei *)(pc+0);
- type = *(GLenum *)(pc+4);
+ size = *(GLsizei *) (pc + 0);
+ type = *(GLenum *) (pc + 4);
if (cx->feedbackBufSize < size) {
- cx->feedbackBuf = (GLfloat *) realloc(cx->feedbackBuf,
- (size_t)size
- * __GLX_SIZE_FLOAT32);
- if (!cx->feedbackBuf) {
- cl->client->errorValue = size;
- return BadAlloc;
- }
- cx->feedbackBufSize = size;
+ cx->feedbackBuf = (GLfloat *) realloc(cx->feedbackBuf,
+ (size_t) size
+ * __GLX_SIZE_FLOAT32);
+ if (!cx->feedbackBuf) {
+ cl->client->errorValue = size;
+ return BadAlloc;
+ }
+ cx->feedbackBufSize = size;
}
- CALL_FeedbackBuffer( GET_DISPATCH(), (size, type, cx->feedbackBuf) );
+ CALL_FeedbackBuffer(GET_DISPATCH(), (size, type, cx->feedbackBuf));
cx->hasUnflushedCommands = GL_TRUE;
return Success;
}
-int __glXDisp_SelectBuffer(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_SelectBuffer(__GLXclientState * cl, GLbyte * pc)
{
__GLXcontext *cx;
GLsizei size;
@@ -84,110 +86,112 @@ int __glXDisp_SelectBuffer(__GLXclientState *cl, GLbyte *pc)
cx = __glXForceCurrent(cl, __GLX_GET_SINGLE_CONTEXT_TAG(pc), &error);
if (!cx) {
- return error;
+ return error;
}
pc += __GLX_SINGLE_HDR_SIZE;
- size = *(GLsizei *)(pc+0);
+ size = *(GLsizei *) (pc + 0);
if (cx->selectBufSize < size) {
- cx->selectBuf = (GLuint *) realloc(cx->selectBuf,
- (size_t) size
- * __GLX_SIZE_CARD32);
- if (!cx->selectBuf) {
- cl->client->errorValue = size;
- return BadAlloc;
- }
- cx->selectBufSize = size;
+ cx->selectBuf = (GLuint *) realloc(cx->selectBuf,
+ (size_t) size * __GLX_SIZE_CARD32);
+ if (!cx->selectBuf) {
+ cl->client->errorValue = size;
+ return BadAlloc;
+ }
+ cx->selectBufSize = size;
}
- CALL_SelectBuffer( GET_DISPATCH(), (size, cx->selectBuf) );
+ CALL_SelectBuffer(GET_DISPATCH(), (size, cx->selectBuf));
cx->hasUnflushedCommands = GL_TRUE;
return Success;
}
-int __glXDisp_RenderMode(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_RenderMode(__GLXclientState * cl, GLbyte * pc)
{
ClientPtr client;
xGLXRenderModeReply reply;
__GLXcontext *cx;
- GLint nitems=0, retBytes=0, retval, newModeCheck;
+ GLint nitems = 0, retBytes = 0, retval, newModeCheck;
GLubyte *retBuffer = NULL;
GLenum newMode;
int error;
cx = __glXForceCurrent(cl, __GLX_GET_SINGLE_CONTEXT_TAG(pc), &error);
if (!cx) {
- return error;
+ return error;
}
pc += __GLX_SINGLE_HDR_SIZE;
- newMode = *(GLenum*) pc;
- retval = CALL_RenderMode( GET_DISPATCH(), (newMode) );
+ newMode = *(GLenum *) pc;
+ retval = CALL_RenderMode(GET_DISPATCH(), (newMode));
/* Check that render mode worked */
- CALL_GetIntegerv( GET_DISPATCH(), (GL_RENDER_MODE, &newModeCheck) );
+ CALL_GetIntegerv(GET_DISPATCH(), (GL_RENDER_MODE, &newModeCheck));
if (newModeCheck != newMode) {
- /* Render mode change failed. Bail */
- newMode = newModeCheck;
- goto noChangeAllowed;
+ /* Render mode change failed. Bail */
+ newMode = newModeCheck;
+ goto noChangeAllowed;
}
/*
- ** Render mode might have still failed if we get here. But in this
- ** case we can't really tell, nor does it matter. If it did fail, it
- ** will return 0, and thus we won't send any data across the wire.
- */
+ ** Render mode might have still failed if we get here. But in this
+ ** case we can't really tell, nor does it matter. If it did fail, it
+ ** will return 0, and thus we won't send any data across the wire.
+ */
switch (cx->renderMode) {
- case GL_RENDER:
- cx->renderMode = newMode;
- break;
- case GL_FEEDBACK:
- if (retval < 0) {
- /* Overflow happened. Copy the entire buffer */
- nitems = cx->feedbackBufSize;
- } else {
- nitems = retval;
- }
- retBytes = nitems * __GLX_SIZE_FLOAT32;
- retBuffer = (GLubyte*) cx->feedbackBuf;
- cx->renderMode = newMode;
- break;
- case GL_SELECT:
- if (retval < 0) {
- /* Overflow happened. Copy the entire buffer */
- nitems = cx->selectBufSize;
- } else {
- GLuint *bp = cx->selectBuf;
- GLint i;
-
- /*
- ** Figure out how many bytes of data need to be sent. Parse
- ** the selection buffer to determine this fact as the
- ** return value is the number of hits, not the number of
- ** items in the buffer.
- */
- nitems = 0;
- i = retval;
- while (--i >= 0) {
- GLuint n;
-
- /* Parse select data for this hit */
- n = *bp;
- bp += 3 + n;
- }
- nitems = bp - cx->selectBuf;
- }
- retBytes = nitems * __GLX_SIZE_CARD32;
- retBuffer = (GLubyte*) cx->selectBuf;
- cx->renderMode = newMode;
- break;
+ case GL_RENDER:
+ cx->renderMode = newMode;
+ break;
+ case GL_FEEDBACK:
+ if (retval < 0) {
+ /* Overflow happened. Copy the entire buffer */
+ nitems = cx->feedbackBufSize;
+ }
+ else {
+ nitems = retval;
+ }
+ retBytes = nitems * __GLX_SIZE_FLOAT32;
+ retBuffer = (GLubyte *) cx->feedbackBuf;
+ cx->renderMode = newMode;
+ break;
+ case GL_SELECT:
+ if (retval < 0) {
+ /* Overflow happened. Copy the entire buffer */
+ nitems = cx->selectBufSize;
+ }
+ else {
+ GLuint *bp = cx->selectBuf;
+ GLint i;
+
+ /*
+ ** Figure out how many bytes of data need to be sent. Parse
+ ** the selection buffer to determine this fact as the
+ ** return value is the number of hits, not the number of
+ ** items in the buffer.
+ */
+ nitems = 0;
+ i = retval;
+ while (--i >= 0) {
+ GLuint n;
+
+ /* Parse select data for this hit */
+ n = *bp;
+ bp += 3 + n;
+ }
+ nitems = bp - cx->selectBuf;
+ }
+ retBytes = nitems * __GLX_SIZE_CARD32;
+ retBuffer = (GLubyte *) cx->selectBuf;
+ cx->renderMode = newMode;
+ break;
}
/*
- ** First reply is the number of elements returned in the feedback or
- ** selection array, as per the API for glRenderMode itself.
- */
- noChangeAllowed:;
+ ** First reply is the number of elements returned in the feedback or
+ ** selection array, as per the API for glRenderMode itself.
+ */
+ noChangeAllowed:;
client = cl->client;
reply.length = nitems;
reply.type = X_Reply;
@@ -195,29 +199,31 @@ int __glXDisp_RenderMode(__GLXclientState *cl, GLbyte *pc)
reply.retval = retval;
reply.size = nitems;
reply.newMode = newMode;
- WriteToClient(client, sz_xGLXRenderModeReply, (char *)&reply);
+ WriteToClient(client, sz_xGLXRenderModeReply, (char *) &reply);
if (retBytes) {
- WriteToClient(client, retBytes, (char *)retBuffer);
+ WriteToClient(client, retBytes, (char *) retBuffer);
}
return Success;
}
-int __glXDisp_Flush(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_Flush(__GLXclientState * cl, GLbyte * pc)
{
- __GLXcontext *cx;
- int error;
+ __GLXcontext *cx;
+ int error;
- cx = __glXForceCurrent(cl, __GLX_GET_SINGLE_CONTEXT_TAG(pc), &error);
- if (!cx) {
- return error;
- }
+ cx = __glXForceCurrent(cl, __GLX_GET_SINGLE_CONTEXT_TAG(pc), &error);
+ if (!cx) {
+ return error;
+ }
- CALL_Flush( GET_DISPATCH(), () );
- cx->hasUnflushedCommands = GL_FALSE;
- return Success;
+ CALL_Flush(GET_DISPATCH(), ());
+ cx->hasUnflushedCommands = GL_FALSE;
+ return Success;
}
-int __glXDisp_Finish(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_Finish(__GLXclientState * cl, GLbyte * pc)
{
__GLXcontext *cx;
ClientPtr client;
@@ -225,11 +231,11 @@ int __glXDisp_Finish(__GLXclientState *cl, GLbyte *pc)
cx = __glXForceCurrent(cl, __GLX_GET_SINGLE_CONTEXT_TAG(pc), &error);
if (!cx) {
- return error;
+ return error;
}
/* Do a local glFinish */
- CALL_Finish( GET_DISPATCH(), () );
+ CALL_Finish(GET_DISPATCH(), ());
cx->hasUnflushedCommands = GL_FALSE;
/* Send empty reply packet to indicate finish is finished */
@@ -241,75 +247,83 @@ int __glXDisp_Finish(__GLXclientState *cl, GLbyte *pc)
#define SEPARATOR " "
-char *__glXcombine_strings(const char *cext_string, const char *sext_string)
+char *
+__glXcombine_strings(const char *cext_string, const char *sext_string)
{
- size_t clen, slen;
- char *combo_string, *token, *s1;
- const char *s2, *end;
-
- /* safeguard to prevent potentially fatal errors in the string functions */
- if (!cext_string)
- cext_string = "";
- if (!sext_string)
- sext_string = "";
-
- /*
- ** String can't be longer than min(cstring, sstring)
- ** pull tokens out of shortest string
- ** include space in combo_string for final separator and null terminator
- */
- clen = strlen(cext_string);
- slen = strlen(sext_string);
- if (clen > slen) {
- combo_string = (char *) malloc(slen + 2);
- s1 = (char *) malloc(slen + 2);
- if (s1) strcpy(s1, sext_string);
- s2 = cext_string;
- } else {
- combo_string = (char *) malloc(clen + 2);
- s1 = (char *) malloc(clen + 2);
- if (s1) strcpy(s1, cext_string);
- s2 = sext_string;
- }
- if (!combo_string || !s1) {
- free(combo_string);
- free(s1);
- return NULL;
- }
- combo_string[0] = '\0';
-
- /* Get first extension token */
- token = strtok( s1, SEPARATOR);
- while ( token != NULL ) {
-
- /*
- ** if token in second string then save it
- ** beware of extension names which are prefixes of other extension names
- */
- const char *p = s2;
- end = p + strlen(p);
- while (p < end) {
- size_t n = strcspn(p, SEPARATOR);
- if ((strlen(token) == n) && (strncmp(token, p, n) == 0)) {
- combo_string = strcat(combo_string, token);
- combo_string = strcat(combo_string, SEPARATOR);
- }
- p += (n + 1);
- }
-
- /* Get next extension token */
- token = strtok( NULL, SEPARATOR);
- }
- free(s1);
- return combo_string;
+ size_t clen, slen;
+ char *combo_string, *token, *s1;
+ const char *s2, *end;
+
+ /* safeguard to prevent potentially fatal errors in the string functions */
+ if (!cext_string)
+ cext_string = "";
+ if (!sext_string)
+ sext_string = "";
+
+ /*
+ ** String can't be longer than min(cstring, sstring)
+ ** pull tokens out of shortest string
+ ** include space in combo_string for final separator and null terminator
+ */
+ clen = strlen(cext_string);
+ slen = strlen(sext_string);
+ if (clen > slen) {
+ combo_string = (char *) malloc(slen + 2);
+ s1 = (char *) malloc(slen + 2);
+ if (s1)
+ strcpy(s1, sext_string);
+ s2 = cext_string;
+ }
+ else {
+ combo_string = (char *) malloc(clen + 2);
+ s1 = (char *) malloc(clen + 2);
+ if (s1)
+ strcpy(s1, cext_string);
+ s2 = sext_string;
+ }
+ if (!combo_string || !s1) {
+ free(combo_string);
+ free(s1);
+ return NULL;
+ }
+ combo_string[0] = '\0';
+
+ /* Get first extension token */
+ token = strtok(s1, SEPARATOR);
+ while (token != NULL) {
+
+ /*
+ ** if token in second string then save it
+ ** beware of extension names which are prefixes of other extension names
+ */
+ const char *p = s2;
+
+ end = p + strlen(p);
+ while (p < end) {
+ size_t n = strcspn(p, SEPARATOR);
+
+ if ((strlen(token) == n) && (strncmp(token, p, n) == 0)) {
+ combo_string = strcat(combo_string, token);
+ combo_string = strcat(combo_string, SEPARATOR);
+ }
+ p += (n + 1);
+ }
+
+ /* Get next extension token */
+ token = strtok(NULL, SEPARATOR);
+ }
+ free(s1);
+ return combo_string;
}
-int DoGetString(__GLXclientState *cl, GLbyte *pc, GLboolean need_swap)
+int
+DoGetString(__GLXclientState * cl, GLbyte * pc, GLboolean need_swap)
{
ClientPtr client;
__GLXcontext *cx;
GLenum name;
const char *string;
+
__GLX_DECLARE_SWAP_VARIABLES;
int error;
char *buf = NULL, *buf1 = NULL;
@@ -318,67 +332,66 @@ int DoGetString(__GLXclientState *cl, GLbyte *pc, GLboolean need_swap)
/* If the client has the opposite byte order, swap the contextTag and
* the name.
*/
- if ( need_swap ) {
- __GLX_SWAP_INT(pc + 4);
- __GLX_SWAP_INT(pc + __GLX_SINGLE_HDR_SIZE);
+ if (need_swap) {
+ __GLX_SWAP_INT(pc + 4);
+ __GLX_SWAP_INT(pc + __GLX_SINGLE_HDR_SIZE);
}
cx = __glXForceCurrent(cl, __GLX_GET_SINGLE_CONTEXT_TAG(pc), &error);
if (!cx) {
- return error;
+ return error;
}
pc += __GLX_SINGLE_HDR_SIZE;
- name = *(GLenum *)(pc + 0);
- string = (const char *) CALL_GetString( GET_DISPATCH(), (name) );
+ name = *(GLenum *) (pc + 0);
+ string = (const char *) CALL_GetString(GET_DISPATCH(), (name));
client = cl->client;
if (string == NULL)
- string = "";
+ string = "";
/*
- ** Restrict extensions to those that are supported by both the
- ** implementation and the connection. That is, return the
- ** intersection of client, server, and core extension strings.
- */
+ ** Restrict extensions to those that are supported by both the
+ ** implementation and the connection. That is, return the
+ ** intersection of client, server, and core extension strings.
+ */
if (name == GL_EXTENSIONS) {
- buf1 = __glXcombine_strings(string,
- cl->GLClientextensions);
- buf = __glXcombine_strings(buf1,
- cx->pGlxScreen->GLextensions);
- free(buf1);
- string = buf;
+ buf1 = __glXcombine_strings(string, cl->GLClientextensions);
+ buf = __glXcombine_strings(buf1, cx->pGlxScreen->GLextensions);
+ free(buf1);
+ string = buf;
}
- else if ( name == GL_VERSION ) {
- if ( atof( string ) > atof( GLServerVersion ) ) {
- if ( asprintf( &buf, "%s (%s)", GLServerVersion, string ) == -1) {
- string = GLServerVersion;
- }
- else {
- string = buf;
- }
- }
+ else if (name == GL_VERSION) {
+ if (atof(string) > atof(GLServerVersion)) {
+ if (asprintf(&buf, "%s (%s)", GLServerVersion, string) == -1) {
+ string = GLServerVersion;
+ }
+ else {
+ string = buf;
+ }
+ }
}
if (string) {
- length = strlen((const char *) string) + 1;
+ length = strlen((const char *) string) + 1;
}
__GLX_BEGIN_REPLY(length);
__GLX_PUT_SIZE(length);
- if ( need_swap ) {
- __GLX_SWAP_REPLY_SIZE();
- __GLX_SWAP_REPLY_HEADER();
+ if (need_swap) {
+ __GLX_SWAP_REPLY_SIZE();
+ __GLX_SWAP_REPLY_HEADER();
}
__GLX_SEND_HEADER();
- WriteToClient(client, length, (char *) string);
+ WriteToClient(client, length, (char *) string);
free(buf);
return Success;
}
-int __glXDisp_GetString(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_GetString(__GLXclientState * cl, GLbyte * pc)
{
return DoGetString(cl, pc, GL_FALSE);
}
diff --git a/glx/single2swap.c b/glx/single2swap.c
index e3afcabbc..e6bb585d9 100644
--- a/glx/single2swap.c
+++ b/glx/single2swap.c
@@ -42,161 +42,168 @@
#include "glthread.h"
#include "dispatch.h"
-int __glXDispSwap_FeedbackBuffer(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_FeedbackBuffer(__GLXclientState * cl, GLbyte * pc)
{
GLsizei size;
GLenum type;
+
__GLX_DECLARE_SWAP_VARIABLES;
__GLXcontext *cx;
int error;
- __GLX_SWAP_INT(&((xGLXSingleReq *)pc)->contextTag);
+ __GLX_SWAP_INT(&((xGLXSingleReq *) pc)->contextTag);
cx = __glXForceCurrent(cl, __GLX_GET_SINGLE_CONTEXT_TAG(pc), &error);
if (!cx) {
- return error;
+ return error;
}
pc += __GLX_SINGLE_HDR_SIZE;
- __GLX_SWAP_INT(pc+0);
- __GLX_SWAP_INT(pc+4);
- size = *(GLsizei *)(pc+0);
- type = *(GLenum *)(pc+4);
+ __GLX_SWAP_INT(pc + 0);
+ __GLX_SWAP_INT(pc + 4);
+ size = *(GLsizei *) (pc + 0);
+ type = *(GLenum *) (pc + 4);
if (cx->feedbackBufSize < size) {
- cx->feedbackBuf = (GLfloat *) realloc(cx->feedbackBuf,
- (size_t) size
- * __GLX_SIZE_FLOAT32);
- if (!cx->feedbackBuf) {
- cl->client->errorValue = size;
- return BadAlloc;
- }
- cx->feedbackBufSize = size;
+ cx->feedbackBuf = (GLfloat *) realloc(cx->feedbackBuf,
+ (size_t) size
+ * __GLX_SIZE_FLOAT32);
+ if (!cx->feedbackBuf) {
+ cl->client->errorValue = size;
+ return BadAlloc;
+ }
+ cx->feedbackBufSize = size;
}
- CALL_FeedbackBuffer( GET_DISPATCH(), (size, type, cx->feedbackBuf) );
+ CALL_FeedbackBuffer(GET_DISPATCH(), (size, type, cx->feedbackBuf));
cx->hasUnflushedCommands = GL_TRUE;
return Success;
}
-int __glXDispSwap_SelectBuffer(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_SelectBuffer(__GLXclientState * cl, GLbyte * pc)
{
__GLXcontext *cx;
GLsizei size;
+
__GLX_DECLARE_SWAP_VARIABLES;
int error;
- __GLX_SWAP_INT(&((xGLXSingleReq *)pc)->contextTag);
+ __GLX_SWAP_INT(&((xGLXSingleReq *) pc)->contextTag);
cx = __glXForceCurrent(cl, __GLX_GET_SINGLE_CONTEXT_TAG(pc), &error);
if (!cx) {
- return error;
+ return error;
}
pc += __GLX_SINGLE_HDR_SIZE;
- __GLX_SWAP_INT(pc+0);
- size = *(GLsizei *)(pc+0);
+ __GLX_SWAP_INT(pc + 0);
+ size = *(GLsizei *) (pc + 0);
if (cx->selectBufSize < size) {
- cx->selectBuf = (GLuint *) realloc(cx->selectBuf,
- (size_t) size
- * __GLX_SIZE_CARD32);
- if (!cx->selectBuf) {
- cl->client->errorValue = size;
- return BadAlloc;
- }
- cx->selectBufSize = size;
+ cx->selectBuf = (GLuint *) realloc(cx->selectBuf,
+ (size_t) size * __GLX_SIZE_CARD32);
+ if (!cx->selectBuf) {
+ cl->client->errorValue = size;
+ return BadAlloc;
+ }
+ cx->selectBufSize = size;
}
- CALL_SelectBuffer( GET_DISPATCH(), (size, cx->selectBuf) );
+ CALL_SelectBuffer(GET_DISPATCH(), (size, cx->selectBuf));
cx->hasUnflushedCommands = GL_TRUE;
return Success;
}
-int __glXDispSwap_RenderMode(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_RenderMode(__GLXclientState * cl, GLbyte * pc)
{
ClientPtr client;
__GLXcontext *cx;
xGLXRenderModeReply reply;
- GLint nitems=0, retBytes=0, retval, newModeCheck;
+ GLint nitems = 0, retBytes = 0, retval, newModeCheck;
GLubyte *retBuffer = NULL;
GLenum newMode;
+
__GLX_DECLARE_SWAP_VARIABLES;
__GLX_DECLARE_SWAP_ARRAY_VARIABLES;
int error;
- __GLX_SWAP_INT(&((xGLXSingleReq *)pc)->contextTag);
+ __GLX_SWAP_INT(&((xGLXSingleReq *) pc)->contextTag);
cx = __glXForceCurrent(cl, __GLX_GET_SINGLE_CONTEXT_TAG(pc), &error);
if (!cx) {
- return error;
+ return error;
}
pc += __GLX_SINGLE_HDR_SIZE;
__GLX_SWAP_INT(pc);
- newMode = *(GLenum*) pc;
- retval = CALL_RenderMode( GET_DISPATCH(), (newMode) );
+ newMode = *(GLenum *) pc;
+ retval = CALL_RenderMode(GET_DISPATCH(), (newMode));
/* Check that render mode worked */
- CALL_GetIntegerv( GET_DISPATCH(), (GL_RENDER_MODE, &newModeCheck) );
+ CALL_GetIntegerv(GET_DISPATCH(), (GL_RENDER_MODE, &newModeCheck));
if (newModeCheck != newMode) {
- /* Render mode change failed. Bail */
- newMode = newModeCheck;
- goto noChangeAllowed;
+ /* Render mode change failed. Bail */
+ newMode = newModeCheck;
+ goto noChangeAllowed;
}
/*
- ** Render mode might have still failed if we get here. But in this
- ** case we can't really tell, nor does it matter. If it did fail, it
- ** will return 0, and thus we won't send any data across the wire.
- */
+ ** Render mode might have still failed if we get here. But in this
+ ** case we can't really tell, nor does it matter. If it did fail, it
+ ** will return 0, and thus we won't send any data across the wire.
+ */
switch (cx->renderMode) {
- case GL_RENDER:
- cx->renderMode = newMode;
- break;
- case GL_FEEDBACK:
- if (retval < 0) {
- /* Overflow happened. Copy the entire buffer */
- nitems = cx->feedbackBufSize;
- } else {
- nitems = retval;
- }
- retBytes = nitems * __GLX_SIZE_FLOAT32;
- retBuffer = (GLubyte*) cx->feedbackBuf;
- __GLX_SWAP_FLOAT_ARRAY((GLbyte *)retBuffer, nitems);
- cx->renderMode = newMode;
- break;
- case GL_SELECT:
- if (retval < 0) {
- /* Overflow happened. Copy the entire buffer */
- nitems = cx->selectBufSize;
- } else {
- GLuint *bp = cx->selectBuf;
- GLint i;
+ case GL_RENDER:
+ cx->renderMode = newMode;
+ break;
+ case GL_FEEDBACK:
+ if (retval < 0) {
+ /* Overflow happened. Copy the entire buffer */
+ nitems = cx->feedbackBufSize;
+ }
+ else {
+ nitems = retval;
+ }
+ retBytes = nitems * __GLX_SIZE_FLOAT32;
+ retBuffer = (GLubyte *) cx->feedbackBuf;
+ __GLX_SWAP_FLOAT_ARRAY((GLbyte *) retBuffer, nitems);
+ cx->renderMode = newMode;
+ break;
+ case GL_SELECT:
+ if (retval < 0) {
+ /* Overflow happened. Copy the entire buffer */
+ nitems = cx->selectBufSize;
+ }
+ else {
+ GLuint *bp = cx->selectBuf;
+ GLint i;
- /*
- ** Figure out how many bytes of data need to be sent. Parse
- ** the selection buffer to determine this fact as the
- ** return value is the number of hits, not the number of
- ** items in the buffer.
- */
- nitems = 0;
- i = retval;
- while (--i >= 0) {
- GLuint n;
+ /*
+ ** Figure out how many bytes of data need to be sent. Parse
+ ** the selection buffer to determine this fact as the
+ ** return value is the number of hits, not the number of
+ ** items in the buffer.
+ */
+ nitems = 0;
+ i = retval;
+ while (--i >= 0) {
+ GLuint n;
- /* Parse select data for this hit */
- n = *bp;
- bp += 3 + n;
- }
- nitems = bp - cx->selectBuf;
- }
- retBytes = nitems * __GLX_SIZE_CARD32;
- retBuffer = (GLubyte*) cx->selectBuf;
- __GLX_SWAP_INT_ARRAY((GLbyte *)retBuffer, nitems);
- cx->renderMode = newMode;
- break;
+ /* Parse select data for this hit */
+ n = *bp;
+ bp += 3 + n;
+ }
+ nitems = bp - cx->selectBuf;
+ }
+ retBytes = nitems * __GLX_SIZE_CARD32;
+ retBuffer = (GLubyte *) cx->selectBuf;
+ __GLX_SWAP_INT_ARRAY((GLbyte *) retBuffer, nitems);
+ cx->renderMode = newMode;
+ break;
}
/*
- ** First reply is the number of elements returned in the feedback or
- ** selection array, as per the API for glRenderMode itself.
- */
- noChangeAllowed:;
+ ** First reply is the number of elements returned in the feedback or
+ ** selection array, as per the API for glRenderMode itself.
+ */
+ noChangeAllowed:;
client = cl->client;
reply.length = nitems;
reply.type = X_Reply;
@@ -209,45 +216,49 @@ int __glXDispSwap_RenderMode(__GLXclientState *cl, GLbyte *pc)
__GLX_SWAP_INT(&reply.retval);
__GLX_SWAP_INT(&reply.size);
__GLX_SWAP_INT(&reply.newMode);
- WriteToClient(client, sz_xGLXRenderModeReply, (char *)&reply);
+ WriteToClient(client, sz_xGLXRenderModeReply, (char *) &reply);
if (retBytes) {
- WriteToClient(client, retBytes, (char *)retBuffer);
+ WriteToClient(client, retBytes, (char *) retBuffer);
}
return Success;
}
-int __glXDispSwap_Flush(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_Flush(__GLXclientState * cl, GLbyte * pc)
{
- __GLXcontext *cx;
- int error;
- __GLX_DECLARE_SWAP_VARIABLES;
+ __GLXcontext *cx;
+ int error;
- __GLX_SWAP_INT(&((xGLXSingleReq *)pc)->contextTag);
- cx = __glXForceCurrent(cl, __GLX_GET_SINGLE_CONTEXT_TAG(pc), &error);
- if (!cx) {
- return error;
- }
+ __GLX_DECLARE_SWAP_VARIABLES;
- CALL_Flush( GET_DISPATCH(), () );
- cx->hasUnflushedCommands = GL_FALSE;
- return Success;
+ __GLX_SWAP_INT(&((xGLXSingleReq *) pc)->contextTag);
+ cx = __glXForceCurrent(cl, __GLX_GET_SINGLE_CONTEXT_TAG(pc), &error);
+ if (!cx) {
+ return error;
+ }
+
+ CALL_Flush(GET_DISPATCH(), ());
+ cx->hasUnflushedCommands = GL_FALSE;
+ return Success;
}
-int __glXDispSwap_Finish(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_Finish(__GLXclientState * cl, GLbyte * pc)
{
__GLXcontext *cx;
ClientPtr client;
int error;
+
__GLX_DECLARE_SWAP_VARIABLES;
- __GLX_SWAP_INT(&((xGLXSingleReq *)pc)->contextTag);
+ __GLX_SWAP_INT(&((xGLXSingleReq *) pc)->contextTag);
cx = __glXForceCurrent(cl, __GLX_GET_SINGLE_CONTEXT_TAG(pc), &error);
if (!cx) {
- return error;
+ return error;
}
/* Do a local glFinish */
- CALL_Finish( GET_DISPATCH(), () );
+ CALL_Finish(GET_DISPATCH(), ());
cx->hasUnflushedCommands = GL_FALSE;
/* Send empty reply packet to indicate finish is finished */
@@ -260,7 +271,8 @@ int __glXDispSwap_Finish(__GLXclientState *cl, GLbyte *pc)
return Success;
}
-int __glXDispSwap_GetString(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_GetString(__GLXclientState * cl, GLbyte * pc)
{
return DoGetString(cl, pc, GL_TRUE);
}
diff --git a/glx/singlepix.c b/glx/singlepix.c
index 85fc4860d..55cd4437f 100644
--- a/glx/singlepix.c
+++ b/glx/singlepix.c
@@ -43,7 +43,8 @@
#include "glthread.h"
#include "dispatch.h"
-int __glXDisp_ReadPixels(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_ReadPixels(__GLXclientState * cl, GLbyte * pc)
{
GLsizei width, height;
GLenum format, type;
@@ -56,46 +57,46 @@ int __glXDisp_ReadPixels(__GLXclientState *cl, GLbyte *pc)
cx = __glXForceCurrent(cl, __GLX_GET_SINGLE_CONTEXT_TAG(pc), &error);
if (!cx) {
- return error;
+ return error;
}
pc += __GLX_SINGLE_HDR_SIZE;
- width = *(GLsizei *)(pc + 8);
- height = *(GLsizei *)(pc + 12);
- format = *(GLenum *)(pc + 16);
- type = *(GLenum *)(pc + 20);
- swapBytes = *(GLboolean *)(pc + 24);
- lsbFirst = *(GLboolean *)(pc + 25);
- compsize = __glReadPixels_size(format,type,width,height);
- if (compsize < 0) compsize = 0;
-
- CALL_PixelStorei( GET_DISPATCH(), (GL_PACK_SWAP_BYTES, swapBytes) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_PACK_LSB_FIRST, lsbFirst) );
- __GLX_GET_ANSWER_BUFFER(answer,cl,compsize,1);
+ width = *(GLsizei *) (pc + 8);
+ height = *(GLsizei *) (pc + 12);
+ format = *(GLenum *) (pc + 16);
+ type = *(GLenum *) (pc + 20);
+ swapBytes = *(GLboolean *) (pc + 24);
+ lsbFirst = *(GLboolean *) (pc + 25);
+ compsize = __glReadPixels_size(format, type, width, height);
+ if (compsize < 0)
+ compsize = 0;
+
+ CALL_PixelStorei(GET_DISPATCH(), (GL_PACK_SWAP_BYTES, swapBytes));
+ CALL_PixelStorei(GET_DISPATCH(), (GL_PACK_LSB_FIRST, lsbFirst));
+ __GLX_GET_ANSWER_BUFFER(answer, cl, compsize, 1);
__glXClearErrorOccured();
- CALL_ReadPixels( GET_DISPATCH(), (
- *(GLint *)(pc + 0),
- *(GLint *)(pc + 4),
- *(GLsizei *)(pc + 8),
- *(GLsizei *)(pc + 12),
- *(GLenum *)(pc + 16),
- *(GLenum *)(pc + 20),
- answer
- ) );
+ CALL_ReadPixels(GET_DISPATCH(), (*(GLint *) (pc + 0),
+ *(GLint *) (pc + 4),
+ *(GLsizei *) (pc + 8),
+ *(GLsizei *) (pc + 12),
+ *(GLenum *) (pc + 16),
+ *(GLenum *) (pc + 20), answer));
if (__glXErrorOccured()) {
- __GLX_BEGIN_REPLY(0);
- __GLX_SEND_HEADER();
- } else {
- __GLX_BEGIN_REPLY(compsize);
- __GLX_SEND_HEADER();
- __GLX_SEND_VOID_ARRAY(compsize);
+ __GLX_BEGIN_REPLY(0);
+ __GLX_SEND_HEADER();
+ }
+ else {
+ __GLX_BEGIN_REPLY(compsize);
+ __GLX_SEND_HEADER();
+ __GLX_SEND_VOID_ARRAY(compsize);
}
cx->hasUnflushedCommands = GL_FALSE;
return Success;
}
-int __glXDisp_GetTexImage(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_GetTexImage(__GLXclientState * cl, GLbyte * pc)
{
GLint level, compsize;
GLenum format, type, target;
@@ -104,58 +105,62 @@ int __glXDisp_GetTexImage(__GLXclientState *cl, GLbyte *pc)
ClientPtr client = cl->client;
int error;
char *answer, answerBuffer[200];
- GLint width=0, height=0, depth=1;
+ GLint width = 0, height = 0, depth = 1;
cx = __glXForceCurrent(cl, __GLX_GET_SINGLE_CONTEXT_TAG(pc), &error);
if (!cx) {
- return error;
+ return error;
}
pc += __GLX_SINGLE_HDR_SIZE;
- level = *(GLint *)(pc + 4);
- format = *(GLenum *)(pc + 8);
- type = *(GLenum *)(pc + 12);
- target = *(GLenum *)(pc + 0);
- swapBytes = *(GLboolean *)(pc + 16);
-
- CALL_GetTexLevelParameteriv( GET_DISPATCH(), (target, level, GL_TEXTURE_WIDTH, &width) );
- CALL_GetTexLevelParameteriv( GET_DISPATCH(), (target, level, GL_TEXTURE_HEIGHT, &height) );
- if ( target == GL_TEXTURE_3D) {
- CALL_GetTexLevelParameteriv( GET_DISPATCH(), (target, level, GL_TEXTURE_DEPTH, &depth) );
+ level = *(GLint *) (pc + 4);
+ format = *(GLenum *) (pc + 8);
+ type = *(GLenum *) (pc + 12);
+ target = *(GLenum *) (pc + 0);
+ swapBytes = *(GLboolean *) (pc + 16);
+
+ CALL_GetTexLevelParameteriv(GET_DISPATCH(),
+ (target, level, GL_TEXTURE_WIDTH, &width));
+ CALL_GetTexLevelParameteriv(GET_DISPATCH(),
+ (target, level, GL_TEXTURE_HEIGHT, &height));
+ if (target == GL_TEXTURE_3D) {
+ CALL_GetTexLevelParameteriv(GET_DISPATCH(),
+ (target, level, GL_TEXTURE_DEPTH, &depth));
}
/*
* The three queries above might fail if we're in a state where queries
* are illegal, but then width, height, and depth would still be zero anyway.
*/
- compsize = __glGetTexImage_size(target,level,format,type,width,height,depth);
- if (compsize < 0) compsize = 0;
+ compsize =
+ __glGetTexImage_size(target, level, format, type, width, height, depth);
+ if (compsize < 0)
+ compsize = 0;
- CALL_PixelStorei( GET_DISPATCH(), (GL_PACK_SWAP_BYTES, swapBytes) );
- __GLX_GET_ANSWER_BUFFER(answer,cl,compsize,1);
+ CALL_PixelStorei(GET_DISPATCH(), (GL_PACK_SWAP_BYTES, swapBytes));
+ __GLX_GET_ANSWER_BUFFER(answer, cl, compsize, 1);
__glXClearErrorOccured();
- CALL_GetTexImage( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLint *)(pc + 4),
- *(GLenum *)(pc + 8),
- *(GLenum *)(pc + 12),
- answer
- ) );
+ CALL_GetTexImage(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ *(GLint *) (pc + 4),
+ *(GLenum *) (pc + 8),
+ *(GLenum *) (pc + 12), answer));
if (__glXErrorOccured()) {
- __GLX_BEGIN_REPLY(0);
- __GLX_SEND_HEADER();
- } else {
- __GLX_BEGIN_REPLY(compsize);
- ((xGLXGetTexImageReply *)&__glXReply)->width = width;
- ((xGLXGetTexImageReply *)&__glXReply)->height = height;
- ((xGLXGetTexImageReply *)&__glXReply)->depth = depth;
- __GLX_SEND_HEADER();
- __GLX_SEND_VOID_ARRAY(compsize);
+ __GLX_BEGIN_REPLY(0);
+ __GLX_SEND_HEADER();
+ }
+ else {
+ __GLX_BEGIN_REPLY(compsize);
+ ((xGLXGetTexImageReply *) & __glXReply)->width = width;
+ ((xGLXGetTexImageReply *) & __glXReply)->height = height;
+ ((xGLXGetTexImageReply *) & __glXReply)->depth = depth;
+ __GLX_SEND_HEADER();
+ __GLX_SEND_VOID_ARRAY(compsize);
}
return Success;
}
-int __glXDisp_GetPolygonStipple(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_GetPolygonStipple(__GLXclientState * cl, GLbyte * pc)
{
GLboolean lsbFirst;
__GLXcontext *cx;
@@ -166,30 +171,32 @@ int __glXDisp_GetPolygonStipple(__GLXclientState *cl, GLbyte *pc)
cx = __glXForceCurrent(cl, __GLX_GET_SINGLE_CONTEXT_TAG(pc), &error);
if (!cx) {
- return error;
+ return error;
}
pc += __GLX_SINGLE_HDR_SIZE;
- lsbFirst = *(GLboolean *)(pc + 0);
+ lsbFirst = *(GLboolean *) (pc + 0);
- CALL_PixelStorei( GET_DISPATCH(), (GL_PACK_LSB_FIRST, lsbFirst) );
- __GLX_GET_ANSWER_BUFFER(answer,cl,128,1);
+ CALL_PixelStorei(GET_DISPATCH(), (GL_PACK_LSB_FIRST, lsbFirst));
+ __GLX_GET_ANSWER_BUFFER(answer, cl, 128, 1);
__glXClearErrorOccured();
- CALL_GetPolygonStipple( GET_DISPATCH(), ((GLubyte *) answer) );
+ CALL_GetPolygonStipple(GET_DISPATCH(), ((GLubyte *) answer));
if (__glXErrorOccured()) {
- __GLX_BEGIN_REPLY(0);
- __GLX_SEND_HEADER();
- } else {
- __GLX_BEGIN_REPLY(128);
- __GLX_SEND_HEADER();
- __GLX_SEND_BYTE_ARRAY(128);
+ __GLX_BEGIN_REPLY(0);
+ __GLX_SEND_HEADER();
+ }
+ else {
+ __GLX_BEGIN_REPLY(128);
+ __GLX_SEND_HEADER();
+ __GLX_SEND_BYTE_ARRAY(128);
}
return Success;
}
-static int GetSeparableFilter(__GLXclientState *cl, GLbyte *pc, GLXContextTag tag)
+static int
+GetSeparableFilter(__GLXclientState * cl, GLbyte * pc, GLXContextTag tag)
{
GLint compsize, compsize2;
GLenum format, type, target;
@@ -198,77 +205,80 @@ static int GetSeparableFilter(__GLXclientState *cl, GLbyte *pc, GLXContextTag ta
ClientPtr client = cl->client;
int error;
char *answer, answerBuffer[200];
- GLint width=0, height=0;
+ GLint width = 0, height = 0;
cx = __glXForceCurrent(cl, tag, &error);
if (!cx) {
- return error;
+ return error;
}
- format = *(GLenum *)(pc + 4);
- type = *(GLenum *)(pc + 8);
- target = *(GLenum *)(pc + 0);
- swapBytes = *(GLboolean *)(pc + 12);
+ format = *(GLenum *) (pc + 4);
+ type = *(GLenum *) (pc + 8);
+ target = *(GLenum *) (pc + 0);
+ swapBytes = *(GLboolean *) (pc + 12);
/* target must be SEPARABLE_2D, however I guess we can let the GL
barf on this one.... */
- CALL_GetConvolutionParameteriv(GET_DISPATCH(), (target, GL_CONVOLUTION_WIDTH, &width));
- CALL_GetConvolutionParameteriv(GET_DISPATCH(), (target, GL_CONVOLUTION_HEIGHT, &height));
+ CALL_GetConvolutionParameteriv(GET_DISPATCH(),
+ (target, GL_CONVOLUTION_WIDTH, &width));
+ CALL_GetConvolutionParameteriv(GET_DISPATCH(),
+ (target, GL_CONVOLUTION_HEIGHT, &height));
/*
* The two queries above might fail if we're in a state where queries
* are illegal, but then width and height would still be zero anyway.
*/
- compsize = __glGetTexImage_size(target,1,format,type,width,1,1);
- compsize2 = __glGetTexImage_size(target,1,format,type,height,1,1);
+ compsize = __glGetTexImage_size(target, 1, format, type, width, 1, 1);
+ compsize2 = __glGetTexImage_size(target, 1, format, type, height, 1, 1);
- if (compsize < 0) compsize = 0;
- if (compsize2 < 0) compsize2 = 0;
+ if (compsize < 0)
+ compsize = 0;
+ if (compsize2 < 0)
+ compsize2 = 0;
compsize = __GLX_PAD(compsize);
compsize2 = __GLX_PAD(compsize2);
CALL_PixelStorei(GET_DISPATCH(), (GL_PACK_SWAP_BYTES, swapBytes));
- __GLX_GET_ANSWER_BUFFER(answer,cl,compsize + compsize2,1);
+ __GLX_GET_ANSWER_BUFFER(answer, cl, compsize + compsize2, 1);
__glXClearErrorOccured();
- CALL_GetSeparableFilter( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLenum *)(pc + 4),
- *(GLenum *)(pc + 8),
- answer,
- answer + compsize,
- NULL
- ) );
+ CALL_GetSeparableFilter(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ *(GLenum *) (pc + 4),
+ *(GLenum *) (pc + 8),
+ answer, answer + compsize, NULL));
if (__glXErrorOccured()) {
- __GLX_BEGIN_REPLY(0);
- __GLX_SEND_HEADER();
- } else {
- __GLX_BEGIN_REPLY(compsize + compsize2);
- ((xGLXGetSeparableFilterReply *)&__glXReply)->width = width;
- ((xGLXGetSeparableFilterReply *)&__glXReply)->height = height;
- __GLX_SEND_HEADER();
- __GLX_SEND_VOID_ARRAY(compsize + compsize2);
+ __GLX_BEGIN_REPLY(0);
+ __GLX_SEND_HEADER();
+ }
+ else {
+ __GLX_BEGIN_REPLY(compsize + compsize2);
+ ((xGLXGetSeparableFilterReply *) & __glXReply)->width = width;
+ ((xGLXGetSeparableFilterReply *) & __glXReply)->height = height;
+ __GLX_SEND_HEADER();
+ __GLX_SEND_VOID_ARRAY(compsize + compsize2);
}
return Success;
}
-int __glXDisp_GetSeparableFilter(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_GetSeparableFilter(__GLXclientState * cl, GLbyte * pc)
{
const GLXContextTag tag = __GLX_GET_SINGLE_CONTEXT_TAG(pc);
return GetSeparableFilter(cl, pc + __GLX_SINGLE_HDR_SIZE, tag);
}
-int __glXDisp_GetSeparableFilterEXT(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_GetSeparableFilterEXT(__GLXclientState * cl, GLbyte * pc)
{
const GLXContextTag tag = __GLX_GET_VENDPRIV_CONTEXT_TAG(pc);
return GetSeparableFilter(cl, pc + __GLX_VENDPRIV_HDR_SIZE, tag);
}
-static int GetConvolutionFilter(__GLXclientState *cl, GLbyte *pc,
- GLXContextTag tag)
+static int
+GetConvolutionFilter(__GLXclientState * cl, GLbyte * pc, GLXContextTag tag)
{
GLint compsize;
GLenum format, type, target;
@@ -277,72 +287,76 @@ static int GetConvolutionFilter(__GLXclientState *cl, GLbyte *pc,
ClientPtr client = cl->client;
int error;
char *answer, answerBuffer[200];
- GLint width=0, height=0;
+ GLint width = 0, height = 0;
cx = __glXForceCurrent(cl, tag, &error);
if (!cx) {
- return error;
+ return error;
}
- format = *(GLenum *)(pc + 4);
- type = *(GLenum *)(pc + 8);
- target = *(GLenum *)(pc + 0);
- swapBytes = *(GLboolean *)(pc + 12);
+ format = *(GLenum *) (pc + 4);
+ type = *(GLenum *) (pc + 8);
+ target = *(GLenum *) (pc + 0);
+ swapBytes = *(GLboolean *) (pc + 12);
- CALL_GetConvolutionParameteriv(GET_DISPATCH(),
- (target, GL_CONVOLUTION_WIDTH, &width));
+ CALL_GetConvolutionParameteriv(GET_DISPATCH(),
+ (target, GL_CONVOLUTION_WIDTH, &width));
if (target == GL_CONVOLUTION_1D) {
height = 1;
- } else {
- CALL_GetConvolutionParameteriv(GET_DISPATCH(),
- (target, GL_CONVOLUTION_HEIGHT, &height));
+ }
+ else {
+ CALL_GetConvolutionParameteriv(GET_DISPATCH(),
+ (target, GL_CONVOLUTION_HEIGHT,
+ &height));
}
/*
* The two queries above might fail if we're in a state where queries
* are illegal, but then width and height would still be zero anyway.
*/
- compsize = __glGetTexImage_size(target,1,format,type,width,height,1);
- if (compsize < 0) compsize = 0;
+ compsize = __glGetTexImage_size(target, 1, format, type, width, height, 1);
+ if (compsize < 0)
+ compsize = 0;
CALL_PixelStorei(GET_DISPATCH(), (GL_PACK_SWAP_BYTES, swapBytes));
- __GLX_GET_ANSWER_BUFFER(answer,cl,compsize,1);
+ __GLX_GET_ANSWER_BUFFER(answer, cl, compsize, 1);
__glXClearErrorOccured();
- CALL_GetConvolutionFilter( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLenum *)(pc + 4),
- *(GLenum *)(pc + 8),
- answer
- ) );
+ CALL_GetConvolutionFilter(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ *(GLenum *) (pc + 4),
+ *(GLenum *) (pc + 8), answer));
if (__glXErrorOccured()) {
- __GLX_BEGIN_REPLY(0);
- __GLX_SEND_HEADER();
- } else {
- __GLX_BEGIN_REPLY(compsize);
- ((xGLXGetConvolutionFilterReply *)&__glXReply)->width = width;
- ((xGLXGetConvolutionFilterReply *)&__glXReply)->height = height;
- __GLX_SEND_HEADER();
- __GLX_SEND_VOID_ARRAY(compsize);
+ __GLX_BEGIN_REPLY(0);
+ __GLX_SEND_HEADER();
+ }
+ else {
+ __GLX_BEGIN_REPLY(compsize);
+ ((xGLXGetConvolutionFilterReply *) & __glXReply)->width = width;
+ ((xGLXGetConvolutionFilterReply *) & __glXReply)->height = height;
+ __GLX_SEND_HEADER();
+ __GLX_SEND_VOID_ARRAY(compsize);
}
return Success;
}
-int __glXDisp_GetConvolutionFilter(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_GetConvolutionFilter(__GLXclientState * cl, GLbyte * pc)
{
const GLXContextTag tag = __GLX_GET_SINGLE_CONTEXT_TAG(pc);
return GetConvolutionFilter(cl, pc + __GLX_SINGLE_HDR_SIZE, tag);
}
-int __glXDisp_GetConvolutionFilterEXT(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_GetConvolutionFilterEXT(__GLXclientState * cl, GLbyte * pc)
{
const GLXContextTag tag = __GLX_GET_VENDPRIV_CONTEXT_TAG(pc);
return GetConvolutionFilter(cl, pc + __GLX_VENDPRIV_HDR_SIZE, tag);
}
-static int GetHistogram(__GLXclientState *cl, GLbyte *pc, GLXContextTag tag)
+static int
+GetHistogram(__GLXclientState * cl, GLbyte * pc, GLXContextTag tag)
{
GLint compsize;
GLenum format, type, target;
@@ -351,61 +365,66 @@ static int GetHistogram(__GLXclientState *cl, GLbyte *pc, GLXContextTag tag)
ClientPtr client = cl->client;
int error;
char *answer, answerBuffer[200];
- GLint width=0;
+ GLint width = 0;
cx = __glXForceCurrent(cl, tag, &error);
if (!cx) {
- return error;
+ return error;
}
- format = *(GLenum *)(pc + 4);
- type = *(GLenum *)(pc + 8);
- target = *(GLenum *)(pc + 0);
- swapBytes = *(GLboolean *)(pc + 12);
- reset = *(GLboolean *)(pc + 13);
+ format = *(GLenum *) (pc + 4);
+ type = *(GLenum *) (pc + 8);
+ target = *(GLenum *) (pc + 0);
+ swapBytes = *(GLboolean *) (pc + 12);
+ reset = *(GLboolean *) (pc + 13);
CALL_GetHistogramParameteriv(GET_DISPATCH(),
- (target, GL_HISTOGRAM_WIDTH, &width));
+ (target, GL_HISTOGRAM_WIDTH, &width));
/*
* The one query above might fail if we're in a state where queries
* are illegal, but then width would still be zero anyway.
*/
- compsize = __glGetTexImage_size(target,1,format,type,width,1,1);
- if (compsize < 0) compsize = 0;
+ compsize = __glGetTexImage_size(target, 1, format, type, width, 1, 1);
+ if (compsize < 0)
+ compsize = 0;
CALL_PixelStorei(GET_DISPATCH(), (GL_PACK_SWAP_BYTES, swapBytes));
- __GLX_GET_ANSWER_BUFFER(answer,cl,compsize,1);
+ __GLX_GET_ANSWER_BUFFER(answer, cl, compsize, 1);
__glXClearErrorOccured();
CALL_GetHistogram(GET_DISPATCH(), (target, reset, format, type, answer));
if (__glXErrorOccured()) {
- __GLX_BEGIN_REPLY(0);
- __GLX_SEND_HEADER();
- } else {
- __GLX_BEGIN_REPLY(compsize);
- ((xGLXGetHistogramReply *)&__glXReply)->width = width;
- __GLX_SEND_HEADER();
- __GLX_SEND_VOID_ARRAY(compsize);
+ __GLX_BEGIN_REPLY(0);
+ __GLX_SEND_HEADER();
+ }
+ else {
+ __GLX_BEGIN_REPLY(compsize);
+ ((xGLXGetHistogramReply *) & __glXReply)->width = width;
+ __GLX_SEND_HEADER();
+ __GLX_SEND_VOID_ARRAY(compsize);
}
return Success;
}
-int __glXDisp_GetHistogram(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_GetHistogram(__GLXclientState * cl, GLbyte * pc)
{
const GLXContextTag tag = __GLX_GET_SINGLE_CONTEXT_TAG(pc);
return GetHistogram(cl, pc + __GLX_SINGLE_HDR_SIZE, tag);
}
-int __glXDisp_GetHistogramEXT(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_GetHistogramEXT(__GLXclientState * cl, GLbyte * pc)
{
const GLXContextTag tag = __GLX_GET_VENDPRIV_CONTEXT_TAG(pc);
return GetHistogram(cl, pc + __GLX_VENDPRIV_HDR_SIZE, tag);
}
-static int GetMinmax(__GLXclientState *cl, GLbyte *pc, GLXContextTag tag)
+static int
+GetMinmax(__GLXclientState * cl, GLbyte * pc, GLXContextTag tag)
{
GLint compsize;
GLenum format, type, target;
@@ -417,50 +436,55 @@ static int GetMinmax(__GLXclientState *cl, GLbyte *pc, GLXContextTag tag)
cx = __glXForceCurrent(cl, tag, &error);
if (!cx) {
- return error;
+ return error;
}
- format = *(GLenum *)(pc + 4);
- type = *(GLenum *)(pc + 8);
- target = *(GLenum *)(pc + 0);
- swapBytes = *(GLboolean *)(pc + 12);
- reset = *(GLboolean *)(pc + 13);
+ format = *(GLenum *) (pc + 4);
+ type = *(GLenum *) (pc + 8);
+ target = *(GLenum *) (pc + 0);
+ swapBytes = *(GLboolean *) (pc + 12);
+ reset = *(GLboolean *) (pc + 13);
- compsize = __glGetTexImage_size(target,1,format,type,2,1,1);
- if (compsize < 0) compsize = 0;
+ compsize = __glGetTexImage_size(target, 1, format, type, 2, 1, 1);
+ if (compsize < 0)
+ compsize = 0;
CALL_PixelStorei(GET_DISPATCH(), (GL_PACK_SWAP_BYTES, swapBytes));
- __GLX_GET_ANSWER_BUFFER(answer,cl,compsize,1);
+ __GLX_GET_ANSWER_BUFFER(answer, cl, compsize, 1);
__glXClearErrorOccured();
CALL_GetMinmax(GET_DISPATCH(), (target, reset, format, type, answer));
if (__glXErrorOccured()) {
- __GLX_BEGIN_REPLY(0);
- __GLX_SEND_HEADER();
- } else {
- __GLX_BEGIN_REPLY(compsize);
- __GLX_SEND_HEADER();
- __GLX_SEND_VOID_ARRAY(compsize);
+ __GLX_BEGIN_REPLY(0);
+ __GLX_SEND_HEADER();
+ }
+ else {
+ __GLX_BEGIN_REPLY(compsize);
+ __GLX_SEND_HEADER();
+ __GLX_SEND_VOID_ARRAY(compsize);
}
return Success;
}
-int __glXDisp_GetMinmax(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_GetMinmax(__GLXclientState * cl, GLbyte * pc)
{
const GLXContextTag tag = __GLX_GET_SINGLE_CONTEXT_TAG(pc);
return GetMinmax(cl, pc + __GLX_SINGLE_HDR_SIZE, tag);
}
-int __glXDisp_GetMinmaxEXT(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_GetMinmaxEXT(__GLXclientState * cl, GLbyte * pc)
{
const GLXContextTag tag = __GLX_GET_VENDPRIV_CONTEXT_TAG(pc);
return GetMinmax(cl, pc + __GLX_VENDPRIV_HDR_SIZE, tag);
}
-static int GetColorTable(__GLXclientState *cl, GLbyte *pc, GLXContextTag tag)
+static int
+GetColorTable(__GLXclientState * cl, GLbyte * pc, GLXContextTag tag)
{
GLint compsize;
GLenum format, type, target;
@@ -469,58 +493,59 @@ static int GetColorTable(__GLXclientState *cl, GLbyte *pc, GLXContextTag tag)
ClientPtr client = cl->client;
int error;
char *answer, answerBuffer[200];
- GLint width=0;
+ GLint width = 0;
cx = __glXForceCurrent(cl, tag, &error);
if (!cx) {
- return error;
+ return error;
}
- target = *(GLenum *)(pc + 0);
- format = *(GLenum *)(pc + 4);
- type = *(GLenum *)(pc + 8);
- swapBytes = *(GLboolean *)(pc + 12);
+ target = *(GLenum *) (pc + 0);
+ format = *(GLenum *) (pc + 4);
+ type = *(GLenum *) (pc + 8);
+ swapBytes = *(GLboolean *) (pc + 12);
- CALL_GetColorTableParameteriv(GET_DISPATCH(),
- (target, GL_COLOR_TABLE_WIDTH, &width));
+ CALL_GetColorTableParameteriv(GET_DISPATCH(),
+ (target, GL_COLOR_TABLE_WIDTH, &width));
/*
* The one query above might fail if we're in a state where queries
* are illegal, but then width would still be zero anyway.
*/
- compsize = __glGetTexImage_size(target,1,format,type,width,1,1);
- if (compsize < 0) compsize = 0;
+ compsize = __glGetTexImage_size(target, 1, format, type, width, 1, 1);
+ if (compsize < 0)
+ compsize = 0;
CALL_PixelStorei(GET_DISPATCH(), (GL_PACK_SWAP_BYTES, swapBytes));
- __GLX_GET_ANSWER_BUFFER(answer,cl,compsize,1);
+ __GLX_GET_ANSWER_BUFFER(answer, cl, compsize, 1);
__glXClearErrorOccured();
- CALL_GetColorTable( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLenum *)(pc + 4),
- *(GLenum *)(pc + 8),
- answer
- ) );
+ CALL_GetColorTable(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ *(GLenum *) (pc + 4),
+ *(GLenum *) (pc + 8), answer));
if (__glXErrorOccured()) {
- __GLX_BEGIN_REPLY(0);
- __GLX_SEND_HEADER();
- } else {
- __GLX_BEGIN_REPLY(compsize);
- ((xGLXGetColorTableReply *)&__glXReply)->width = width;
- __GLX_SEND_HEADER();
- __GLX_SEND_VOID_ARRAY(compsize);
+ __GLX_BEGIN_REPLY(0);
+ __GLX_SEND_HEADER();
+ }
+ else {
+ __GLX_BEGIN_REPLY(compsize);
+ ((xGLXGetColorTableReply *) & __glXReply)->width = width;
+ __GLX_SEND_HEADER();
+ __GLX_SEND_VOID_ARRAY(compsize);
}
return Success;
}
-int __glXDisp_GetColorTable(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_GetColorTable(__GLXclientState * cl, GLbyte * pc)
{
const GLXContextTag tag = __GLX_GET_SINGLE_CONTEXT_TAG(pc);
return GetColorTable(cl, pc + __GLX_SINGLE_HDR_SIZE, tag);
}
-int __glXDisp_GetColorTableSGI(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_GetColorTableSGI(__GLXclientState * cl, GLbyte * pc)
{
const GLXContextTag tag = __GLX_GET_VENDPRIV_CONTEXT_TAG(pc);
diff --git a/glx/singlepixswap.c b/glx/singlepixswap.c
index bef99f606..b6d628303 100644
--- a/glx/singlepixswap.c
+++ b/glx/singlepixswap.c
@@ -43,142 +43,150 @@
#include "glthread.h"
#include "dispatch.h"
-int __glXDispSwap_ReadPixels(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_ReadPixels(__GLXclientState * cl, GLbyte * pc)
{
GLsizei width, height;
GLenum format, type;
GLboolean swapBytes, lsbFirst;
GLint compsize;
+
__GLX_DECLARE_SWAP_VARIABLES;
__GLXcontext *cx;
ClientPtr client = cl->client;
int error;
char *answer, answerBuffer[200];
- __GLX_SWAP_INT(&((xGLXSingleReq *)pc)->contextTag);
+ __GLX_SWAP_INT(&((xGLXSingleReq *) pc)->contextTag);
cx = __glXForceCurrent(cl, __GLX_GET_SINGLE_CONTEXT_TAG(pc), &error);
if (!cx) {
- return error;
+ return error;
}
pc += __GLX_SINGLE_HDR_SIZE;
- __GLX_SWAP_INT(pc+0);
- __GLX_SWAP_INT(pc+4);
- __GLX_SWAP_INT(pc+8);
- __GLX_SWAP_INT(pc+12);
- __GLX_SWAP_INT(pc+16);
- __GLX_SWAP_INT(pc+20);
-
- width = *(GLsizei *)(pc + 8);
- height = *(GLsizei *)(pc + 12);
- format = *(GLenum *)(pc + 16);
- type = *(GLenum *)(pc + 20);
- swapBytes = *(GLboolean *)(pc + 24);
- lsbFirst = *(GLboolean *)(pc + 25);
- compsize = __glReadPixels_size(format,type,width,height);
- if (compsize < 0) compsize = 0;
-
- CALL_PixelStorei( GET_DISPATCH(), (GL_PACK_SWAP_BYTES, !swapBytes) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_PACK_LSB_FIRST, lsbFirst) );
- __GLX_GET_ANSWER_BUFFER(answer,cl,compsize,1);
+ __GLX_SWAP_INT(pc + 0);
+ __GLX_SWAP_INT(pc + 4);
+ __GLX_SWAP_INT(pc + 8);
+ __GLX_SWAP_INT(pc + 12);
+ __GLX_SWAP_INT(pc + 16);
+ __GLX_SWAP_INT(pc + 20);
+
+ width = *(GLsizei *) (pc + 8);
+ height = *(GLsizei *) (pc + 12);
+ format = *(GLenum *) (pc + 16);
+ type = *(GLenum *) (pc + 20);
+ swapBytes = *(GLboolean *) (pc + 24);
+ lsbFirst = *(GLboolean *) (pc + 25);
+ compsize = __glReadPixels_size(format, type, width, height);
+ if (compsize < 0)
+ compsize = 0;
+
+ CALL_PixelStorei(GET_DISPATCH(), (GL_PACK_SWAP_BYTES, !swapBytes));
+ CALL_PixelStorei(GET_DISPATCH(), (GL_PACK_LSB_FIRST, lsbFirst));
+ __GLX_GET_ANSWER_BUFFER(answer, cl, compsize, 1);
__glXClearErrorOccured();
- CALL_ReadPixels( GET_DISPATCH(),
- (*(GLint *)(pc + 0),
- *(GLint *)(pc + 4),
- *(GLsizei *)(pc + 8),
- *(GLsizei *)(pc + 12),
- *(GLenum *)(pc + 16),
- *(GLenum *)(pc + 20),
- answer)
- );
+ CALL_ReadPixels(GET_DISPATCH(),
+ (*(GLint *) (pc + 0),
+ *(GLint *) (pc + 4),
+ *(GLsizei *) (pc + 8),
+ *(GLsizei *) (pc + 12),
+ *(GLenum *) (pc + 16), *(GLenum *) (pc + 20), answer)
+ );
if (__glXErrorOccured()) {
- __GLX_BEGIN_REPLY(0);
- __GLX_SWAP_REPLY_HEADER();
- __GLX_SEND_HEADER();
- } else {
- __GLX_BEGIN_REPLY(compsize);
- __GLX_SWAP_REPLY_HEADER();
- __GLX_SEND_HEADER();
- __GLX_SEND_VOID_ARRAY(compsize);
+ __GLX_BEGIN_REPLY(0);
+ __GLX_SWAP_REPLY_HEADER();
+ __GLX_SEND_HEADER();
+ }
+ else {
+ __GLX_BEGIN_REPLY(compsize);
+ __GLX_SWAP_REPLY_HEADER();
+ __GLX_SEND_HEADER();
+ __GLX_SEND_VOID_ARRAY(compsize);
}
cx->hasUnflushedCommands = GL_FALSE;
return Success;
}
-int __glXDispSwap_GetTexImage(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_GetTexImage(__GLXclientState * cl, GLbyte * pc)
{
GLint level, compsize;
GLenum format, type, target;
GLboolean swapBytes;
+
__GLX_DECLARE_SWAP_VARIABLES;
__GLXcontext *cx;
ClientPtr client = cl->client;
int error;
char *answer, answerBuffer[200];
- GLint width=0, height=0, depth=1;
+ GLint width = 0, height = 0, depth = 1;
- __GLX_SWAP_INT(&((xGLXSingleReq *)pc)->contextTag);
+ __GLX_SWAP_INT(&((xGLXSingleReq *) pc)->contextTag);
cx = __glXForceCurrent(cl, __GLX_GET_SINGLE_CONTEXT_TAG(pc), &error);
if (!cx) {
- return error;
+ return error;
}
pc += __GLX_SINGLE_HDR_SIZE;
- __GLX_SWAP_INT(pc+0);
- __GLX_SWAP_INT(pc+4);
- __GLX_SWAP_INT(pc+8);
- __GLX_SWAP_INT(pc+12);
-
- level = *(GLint *)(pc + 4);
- format = *(GLenum *)(pc + 8);
- type = *(GLenum *)(pc + 12);
- target = *(GLenum *)(pc + 0);
- swapBytes = *(GLboolean *)(pc + 16);
-
- CALL_GetTexLevelParameteriv( GET_DISPATCH(), (target, level, GL_TEXTURE_WIDTH, &width) );
- CALL_GetTexLevelParameteriv( GET_DISPATCH(), (target, level, GL_TEXTURE_HEIGHT, &height) );
- if ( target == GL_TEXTURE_3D) {
- CALL_GetTexLevelParameteriv( GET_DISPATCH(), (target, level, GL_TEXTURE_DEPTH, &depth) );
+ __GLX_SWAP_INT(pc + 0);
+ __GLX_SWAP_INT(pc + 4);
+ __GLX_SWAP_INT(pc + 8);
+ __GLX_SWAP_INT(pc + 12);
+
+ level = *(GLint *) (pc + 4);
+ format = *(GLenum *) (pc + 8);
+ type = *(GLenum *) (pc + 12);
+ target = *(GLenum *) (pc + 0);
+ swapBytes = *(GLboolean *) (pc + 16);
+
+ CALL_GetTexLevelParameteriv(GET_DISPATCH(),
+ (target, level, GL_TEXTURE_WIDTH, &width));
+ CALL_GetTexLevelParameteriv(GET_DISPATCH(),
+ (target, level, GL_TEXTURE_HEIGHT, &height));
+ if (target == GL_TEXTURE_3D) {
+ CALL_GetTexLevelParameteriv(GET_DISPATCH(),
+ (target, level, GL_TEXTURE_DEPTH, &depth));
}
/*
* The three queries above might fail if we're in a state where queries
* are illegal, but then width, height, and depth would still be zero anyway.
*/
- compsize = __glGetTexImage_size(target,level,format,type,width,height,depth);
- if (compsize < 0) compsize = 0;
+ compsize =
+ __glGetTexImage_size(target, level, format, type, width, height, depth);
+ if (compsize < 0)
+ compsize = 0;
- CALL_PixelStorei( GET_DISPATCH(), (GL_PACK_SWAP_BYTES, !swapBytes) );
- __GLX_GET_ANSWER_BUFFER(answer,cl,compsize,1);
+ CALL_PixelStorei(GET_DISPATCH(), (GL_PACK_SWAP_BYTES, !swapBytes));
+ __GLX_GET_ANSWER_BUFFER(answer, cl, compsize, 1);
__glXClearErrorOccured();
- CALL_GetTexImage( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLint *)(pc + 4),
- *(GLenum *)(pc + 8),
- *(GLenum *)(pc + 12),
- answer
- ) );
+ CALL_GetTexImage(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ *(GLint *) (pc + 4),
+ *(GLenum *) (pc + 8),
+ *(GLenum *) (pc + 12), answer));
if (__glXErrorOccured()) {
- __GLX_BEGIN_REPLY(0);
- __GLX_SWAP_REPLY_HEADER();
- __GLX_SEND_HEADER();
- } else {
- __GLX_BEGIN_REPLY(compsize);
- __GLX_SWAP_REPLY_HEADER();
- __GLX_SWAP_INT(&width);
- __GLX_SWAP_INT(&height);
- __GLX_SWAP_INT(&depth);
- ((xGLXGetTexImageReply *)&__glXReply)->width = width;
- ((xGLXGetTexImageReply *)&__glXReply)->height = height;
- ((xGLXGetTexImageReply *)&__glXReply)->depth = depth;
- __GLX_SEND_HEADER();
- __GLX_SEND_VOID_ARRAY(compsize);
+ __GLX_BEGIN_REPLY(0);
+ __GLX_SWAP_REPLY_HEADER();
+ __GLX_SEND_HEADER();
+ }
+ else {
+ __GLX_BEGIN_REPLY(compsize);
+ __GLX_SWAP_REPLY_HEADER();
+ __GLX_SWAP_INT(&width);
+ __GLX_SWAP_INT(&height);
+ __GLX_SWAP_INT(&depth);
+ ((xGLXGetTexImageReply *) & __glXReply)->width = width;
+ ((xGLXGetTexImageReply *) & __glXReply)->height = height;
+ ((xGLXGetTexImageReply *) & __glXReply)->depth = depth;
+ __GLX_SEND_HEADER();
+ __GLX_SEND_VOID_ARRAY(compsize);
}
return Success;
}
-int __glXDispSwap_GetPolygonStipple(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_GetPolygonStipple(__GLXclientState * cl, GLbyte * pc)
{
GLboolean lsbFirst;
__GLXcontext *cx;
@@ -186,35 +194,38 @@ int __glXDispSwap_GetPolygonStipple(__GLXclientState *cl, GLbyte *pc)
int error;
GLubyte answerBuffer[200];
char *answer;
+
__GLX_DECLARE_SWAP_VARIABLES;
- __GLX_SWAP_INT(&((xGLXSingleReq *)pc)->contextTag);
+ __GLX_SWAP_INT(&((xGLXSingleReq *) pc)->contextTag);
cx = __glXForceCurrent(cl, __GLX_GET_SINGLE_CONTEXT_TAG(pc), &error);
if (!cx) {
- return error;
+ return error;
}
pc += __GLX_SINGLE_HDR_SIZE;
- lsbFirst = *(GLboolean *)(pc + 0);
+ lsbFirst = *(GLboolean *) (pc + 0);
- CALL_PixelStorei( GET_DISPATCH(), (GL_PACK_LSB_FIRST, lsbFirst) );
- __GLX_GET_ANSWER_BUFFER(answer,cl,128,1);
+ CALL_PixelStorei(GET_DISPATCH(), (GL_PACK_LSB_FIRST, lsbFirst));
+ __GLX_GET_ANSWER_BUFFER(answer, cl, 128, 1);
__glXClearErrorOccured();
- CALL_GetPolygonStipple( GET_DISPATCH(), ((GLubyte *) answer) );
+ CALL_GetPolygonStipple(GET_DISPATCH(), ((GLubyte *) answer));
if (__glXErrorOccured()) {
- __GLX_BEGIN_REPLY(0);
- __GLX_SWAP_REPLY_HEADER();
- __GLX_SEND_HEADER();
- } else {
- __GLX_BEGIN_REPLY(128);
- __GLX_SWAP_REPLY_HEADER();
- __GLX_SEND_HEADER();
- __GLX_SEND_BYTE_ARRAY(128);
+ __GLX_BEGIN_REPLY(0);
+ __GLX_SWAP_REPLY_HEADER();
+ __GLX_SEND_HEADER();
+ }
+ else {
+ __GLX_BEGIN_REPLY(128);
+ __GLX_SWAP_REPLY_HEADER();
+ __GLX_SEND_HEADER();
+ __GLX_SEND_BYTE_ARRAY(128);
}
return Success;
}
-static int GetSeparableFilter(__GLXclientState *cl, GLbyte *pc, GLXContextTag tag)
+static int
+GetSeparableFilter(__GLXclientState * cl, GLbyte * pc, GLXContextTag tag)
{
GLint compsize, compsize2;
GLenum format, type, target;
@@ -222,84 +233,89 @@ static int GetSeparableFilter(__GLXclientState *cl, GLbyte *pc, GLXContextTag ta
__GLXcontext *cx;
ClientPtr client = cl->client;
int error;
+
__GLX_DECLARE_SWAP_VARIABLES;
char *answer, answerBuffer[200];
- GLint width=0, height=0;
+ GLint width = 0, height = 0;
cx = __glXForceCurrent(cl, tag, &error);
if (!cx) {
- return error;
+ return error;
}
- __GLX_SWAP_INT(pc+0);
- __GLX_SWAP_INT(pc+4);
- __GLX_SWAP_INT(pc+8);
+ __GLX_SWAP_INT(pc + 0);
+ __GLX_SWAP_INT(pc + 4);
+ __GLX_SWAP_INT(pc + 8);
- format = *(GLenum *)(pc + 4);
- type = *(GLenum *)(pc + 8);
- target = *(GLenum *)(pc + 0);
- swapBytes = *(GLboolean *)(pc + 12);
+ format = *(GLenum *) (pc + 4);
+ type = *(GLenum *) (pc + 8);
+ target = *(GLenum *) (pc + 0);
+ swapBytes = *(GLboolean *) (pc + 12);
/* target must be SEPARABLE_2D, however I guess we can let the GL
barf on this one.... */
- CALL_GetConvolutionParameteriv( GET_DISPATCH(), (target, GL_CONVOLUTION_WIDTH, &width) );
- CALL_GetConvolutionParameteriv( GET_DISPATCH(), (target, GL_CONVOLUTION_HEIGHT, &height) );
+ CALL_GetConvolutionParameteriv(GET_DISPATCH(),
+ (target, GL_CONVOLUTION_WIDTH, &width));
+ CALL_GetConvolutionParameteriv(GET_DISPATCH(),
+ (target, GL_CONVOLUTION_HEIGHT, &height));
/*
* The two queries above might fail if we're in a state where queries
* are illegal, but then width and height would still be zero anyway.
*/
- compsize = __glGetTexImage_size(target,1,format,type,width,1,1);
- compsize2 = __glGetTexImage_size(target,1,format,type,height,1,1);
+ compsize = __glGetTexImage_size(target, 1, format, type, width, 1, 1);
+ compsize2 = __glGetTexImage_size(target, 1, format, type, height, 1, 1);
- if (compsize < 0) compsize = 0;
- if (compsize2 < 0) compsize2 = 0;
+ if (compsize < 0)
+ compsize = 0;
+ if (compsize2 < 0)
+ compsize2 = 0;
compsize = __GLX_PAD(compsize);
compsize2 = __GLX_PAD(compsize2);
- CALL_PixelStorei( GET_DISPATCH(), (GL_PACK_SWAP_BYTES, !swapBytes) );
- __GLX_GET_ANSWER_BUFFER(answer,cl,compsize + compsize2,1);
+ CALL_PixelStorei(GET_DISPATCH(), (GL_PACK_SWAP_BYTES, !swapBytes));
+ __GLX_GET_ANSWER_BUFFER(answer, cl, compsize + compsize2, 1);
__glXClearErrorOccured();
- CALL_GetSeparableFilter( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLenum *)(pc + 4),
- *(GLenum *)(pc + 8),
- answer,
- answer + compsize,
- NULL
- ) );
+ CALL_GetSeparableFilter(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ *(GLenum *) (pc + 4),
+ *(GLenum *) (pc + 8),
+ answer, answer + compsize, NULL));
if (__glXErrorOccured()) {
- __GLX_BEGIN_REPLY(0);
- __GLX_SWAP_REPLY_HEADER();
- } else {
- __GLX_BEGIN_REPLY(compsize + compsize2);
- __GLX_SWAP_REPLY_HEADER();
- __GLX_SWAP_INT(&width);
- __GLX_SWAP_INT(&height);
- ((xGLXGetSeparableFilterReply *)&__glXReply)->width = width;
- ((xGLXGetSeparableFilterReply *)&__glXReply)->height = height;
- __GLX_SEND_VOID_ARRAY(compsize + compsize2);
+ __GLX_BEGIN_REPLY(0);
+ __GLX_SWAP_REPLY_HEADER();
+ }
+ else {
+ __GLX_BEGIN_REPLY(compsize + compsize2);
+ __GLX_SWAP_REPLY_HEADER();
+ __GLX_SWAP_INT(&width);
+ __GLX_SWAP_INT(&height);
+ ((xGLXGetSeparableFilterReply *) & __glXReply)->width = width;
+ ((xGLXGetSeparableFilterReply *) & __glXReply)->height = height;
+ __GLX_SEND_VOID_ARRAY(compsize + compsize2);
}
return Success;
}
-int __glXDispSwap_GetSeparableFilter(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_GetSeparableFilter(__GLXclientState * cl, GLbyte * pc)
{
const GLXContextTag tag = __GLX_GET_SINGLE_CONTEXT_TAG(pc);
return GetSeparableFilter(cl, pc + __GLX_SINGLE_HDR_SIZE, tag);
}
-int __glXDispSwap_GetSeparableFilterEXT(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_GetSeparableFilterEXT(__GLXclientState * cl, GLbyte * pc)
{
const GLXContextTag tag = __GLX_GET_VENDPRIV_CONTEXT_TAG(pc);
return GetSeparableFilter(cl, pc + __GLX_VENDPRIV_HDR_SIZE, tag);
}
-static int GetConvolutionFilter(__GLXclientState *cl, GLbyte *pc, GLXContextTag tag)
+static int
+GetConvolutionFilter(__GLXclientState * cl, GLbyte * pc, GLXContextTag tag)
{
GLint compsize;
GLenum format, type, target;
@@ -307,78 +323,85 @@ static int GetConvolutionFilter(__GLXclientState *cl, GLbyte *pc, GLXContextTag
__GLXcontext *cx;
ClientPtr client = cl->client;
int error;
+
__GLX_DECLARE_SWAP_VARIABLES;
char *answer, answerBuffer[200];
- GLint width=0, height=0;
+ GLint width = 0, height = 0;
cx = __glXForceCurrent(cl, tag, &error);
if (!cx) {
- return error;
+ return error;
}
- __GLX_SWAP_INT(pc+0);
- __GLX_SWAP_INT(pc+4);
- __GLX_SWAP_INT(pc+8);
+ __GLX_SWAP_INT(pc + 0);
+ __GLX_SWAP_INT(pc + 4);
+ __GLX_SWAP_INT(pc + 8);
- format = *(GLenum *)(pc + 4);
- type = *(GLenum *)(pc + 8);
- target = *(GLenum *)(pc + 0);
- swapBytes = *(GLboolean *)(pc + 12);
+ format = *(GLenum *) (pc + 4);
+ type = *(GLenum *) (pc + 8);
+ target = *(GLenum *) (pc + 0);
+ swapBytes = *(GLboolean *) (pc + 12);
- CALL_GetConvolutionParameteriv( GET_DISPATCH(), (target, GL_CONVOLUTION_WIDTH, &width) );
+ CALL_GetConvolutionParameteriv(GET_DISPATCH(),
+ (target, GL_CONVOLUTION_WIDTH, &width));
if (target == GL_CONVOLUTION_2D) {
height = 1;
- } else {
- CALL_GetConvolutionParameteriv( GET_DISPATCH(), (target, GL_CONVOLUTION_HEIGHT, &height) );
+ }
+ else {
+ CALL_GetConvolutionParameteriv(GET_DISPATCH(),
+ (target, GL_CONVOLUTION_HEIGHT,
+ &height));
}
/*
* The two queries above might fail if we're in a state where queries
* are illegal, but then width and height would still be zero anyway.
*/
- compsize = __glGetTexImage_size(target,1,format,type,width,height,1);
- if (compsize < 0) compsize = 0;
+ compsize = __glGetTexImage_size(target, 1, format, type, width, height, 1);
+ if (compsize < 0)
+ compsize = 0;
- CALL_PixelStorei( GET_DISPATCH(), (GL_PACK_SWAP_BYTES, !swapBytes) );
- __GLX_GET_ANSWER_BUFFER(answer,cl,compsize,1);
+ CALL_PixelStorei(GET_DISPATCH(), (GL_PACK_SWAP_BYTES, !swapBytes));
+ __GLX_GET_ANSWER_BUFFER(answer, cl, compsize, 1);
__glXClearErrorOccured();
- CALL_GetConvolutionFilter( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLenum *)(pc + 4),
- *(GLenum *)(pc + 8),
- answer
- ) );
+ CALL_GetConvolutionFilter(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ *(GLenum *) (pc + 4),
+ *(GLenum *) (pc + 8), answer));
if (__glXErrorOccured()) {
- __GLX_BEGIN_REPLY(0);
- __GLX_SWAP_REPLY_HEADER();
- } else {
- __GLX_BEGIN_REPLY(compsize);
- __GLX_SWAP_REPLY_HEADER();
- __GLX_SWAP_INT(&width);
- __GLX_SWAP_INT(&height);
- ((xGLXGetConvolutionFilterReply *)&__glXReply)->width = width;
- ((xGLXGetConvolutionFilterReply *)&__glXReply)->height = height;
- __GLX_SEND_VOID_ARRAY(compsize);
+ __GLX_BEGIN_REPLY(0);
+ __GLX_SWAP_REPLY_HEADER();
+ }
+ else {
+ __GLX_BEGIN_REPLY(compsize);
+ __GLX_SWAP_REPLY_HEADER();
+ __GLX_SWAP_INT(&width);
+ __GLX_SWAP_INT(&height);
+ ((xGLXGetConvolutionFilterReply *) & __glXReply)->width = width;
+ ((xGLXGetConvolutionFilterReply *) & __glXReply)->height = height;
+ __GLX_SEND_VOID_ARRAY(compsize);
}
return Success;
}
-int __glXDispSwap_GetConvolutionFilter(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_GetConvolutionFilter(__GLXclientState * cl, GLbyte * pc)
{
const GLXContextTag tag = __GLX_GET_SINGLE_CONTEXT_TAG(pc);
return GetConvolutionFilter(cl, pc + __GLX_SINGLE_HDR_SIZE, tag);
}
-int __glXDispSwap_GetConvolutionFilterEXT(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_GetConvolutionFilterEXT(__GLXclientState * cl, GLbyte * pc)
{
const GLXContextTag tag = __GLX_GET_VENDPRIV_CONTEXT_TAG(pc);
return GetConvolutionFilter(cl, pc + __GLX_VENDPRIV_HDR_SIZE, tag);
}
-static int GetHistogram(__GLXclientState *cl, GLbyte *pc, GLXContextTag tag)
+static int
+GetHistogram(__GLXclientState * cl, GLbyte * pc, GLXContextTag tag)
{
GLint compsize;
GLenum format, type, target;
@@ -386,67 +409,74 @@ static int GetHistogram(__GLXclientState *cl, GLbyte *pc, GLXContextTag tag)
__GLXcontext *cx;
ClientPtr client = cl->client;
int error;
+
__GLX_DECLARE_SWAP_VARIABLES;
char *answer, answerBuffer[200];
- GLint width=0;
+ GLint width = 0;
cx = __glXForceCurrent(cl, tag, &error);
if (!cx) {
- return error;
+ return error;
}
- __GLX_SWAP_INT(pc+0);
- __GLX_SWAP_INT(pc+4);
- __GLX_SWAP_INT(pc+8);
+ __GLX_SWAP_INT(pc + 0);
+ __GLX_SWAP_INT(pc + 4);
+ __GLX_SWAP_INT(pc + 8);
- format = *(GLenum *)(pc + 4);
- type = *(GLenum *)(pc + 8);
- target = *(GLenum *)(pc + 0);
- swapBytes = *(GLboolean *)(pc + 12);
- reset = *(GLboolean *)(pc + 13);
+ format = *(GLenum *) (pc + 4);
+ type = *(GLenum *) (pc + 8);
+ target = *(GLenum *) (pc + 0);
+ swapBytes = *(GLboolean *) (pc + 12);
+ reset = *(GLboolean *) (pc + 13);
- CALL_GetHistogramParameteriv( GET_DISPATCH(), (target, GL_HISTOGRAM_WIDTH, &width) );
+ CALL_GetHistogramParameteriv(GET_DISPATCH(),
+ (target, GL_HISTOGRAM_WIDTH, &width));
/*
* The one query above might fail if we're in a state where queries
* are illegal, but then width would still be zero anyway.
*/
- compsize = __glGetTexImage_size(target,1,format,type,width,1,1);
- if (compsize < 0) compsize = 0;
+ compsize = __glGetTexImage_size(target, 1, format, type, width, 1, 1);
+ if (compsize < 0)
+ compsize = 0;
- CALL_PixelStorei( GET_DISPATCH(), (GL_PACK_SWAP_BYTES, !swapBytes) );
- __GLX_GET_ANSWER_BUFFER(answer,cl,compsize,1);
+ CALL_PixelStorei(GET_DISPATCH(), (GL_PACK_SWAP_BYTES, !swapBytes));
+ __GLX_GET_ANSWER_BUFFER(answer, cl, compsize, 1);
__glXClearErrorOccured();
- CALL_GetHistogram( GET_DISPATCH(), (target, reset, format, type, answer) );
+ CALL_GetHistogram(GET_DISPATCH(), (target, reset, format, type, answer));
if (__glXErrorOccured()) {
- __GLX_BEGIN_REPLY(0);
- __GLX_SWAP_REPLY_HEADER();
- } else {
- __GLX_BEGIN_REPLY(compsize);
- __GLX_SWAP_REPLY_HEADER();
- __GLX_SWAP_INT(&width);
- ((xGLXGetHistogramReply *)&__glXReply)->width = width;
- __GLX_SEND_VOID_ARRAY(compsize);
+ __GLX_BEGIN_REPLY(0);
+ __GLX_SWAP_REPLY_HEADER();
+ }
+ else {
+ __GLX_BEGIN_REPLY(compsize);
+ __GLX_SWAP_REPLY_HEADER();
+ __GLX_SWAP_INT(&width);
+ ((xGLXGetHistogramReply *) & __glXReply)->width = width;
+ __GLX_SEND_VOID_ARRAY(compsize);
}
return Success;
}
-int __glXDispSwap_GetHistogram(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_GetHistogram(__GLXclientState * cl, GLbyte * pc)
{
const GLXContextTag tag = __GLX_GET_SINGLE_CONTEXT_TAG(pc);
return GetHistogram(cl, pc + __GLX_SINGLE_HDR_SIZE, tag);
}
-int __glXDispSwap_GetHistogramEXT(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_GetHistogramEXT(__GLXclientState * cl, GLbyte * pc)
{
const GLXContextTag tag = __GLX_GET_VENDPRIV_CONTEXT_TAG(pc);
return GetHistogram(cl, pc + __GLX_VENDPRIV_HDR_SIZE, tag);
}
-static int GetMinmax(__GLXclientState *cl, GLbyte *pc, GLXContextTag tag)
+static int
+GetMinmax(__GLXclientState * cl, GLbyte * pc, GLXContextTag tag)
{
GLint compsize;
GLenum format, type, target;
@@ -454,59 +484,65 @@ static int GetMinmax(__GLXclientState *cl, GLbyte *pc, GLXContextTag tag)
__GLXcontext *cx;
ClientPtr client = cl->client;
int error;
+
__GLX_DECLARE_SWAP_VARIABLES;
char *answer, answerBuffer[200];
cx = __glXForceCurrent(cl, tag, &error);
if (!cx) {
- return error;
+ return error;
}
- __GLX_SWAP_INT(pc+0);
- __GLX_SWAP_INT(pc+4);
- __GLX_SWAP_INT(pc+8);
+ __GLX_SWAP_INT(pc + 0);
+ __GLX_SWAP_INT(pc + 4);
+ __GLX_SWAP_INT(pc + 8);
- format = *(GLenum *)(pc + 4);
- type = *(GLenum *)(pc + 8);
- target = *(GLenum *)(pc + 0);
- swapBytes = *(GLboolean *)(pc + 12);
- reset = *(GLboolean *)(pc + 13);
+ format = *(GLenum *) (pc + 4);
+ type = *(GLenum *) (pc + 8);
+ target = *(GLenum *) (pc + 0);
+ swapBytes = *(GLboolean *) (pc + 12);
+ reset = *(GLboolean *) (pc + 13);
- compsize = __glGetTexImage_size(target,1,format,type,2,1,1);
- if (compsize < 0) compsize = 0;
+ compsize = __glGetTexImage_size(target, 1, format, type, 2, 1, 1);
+ if (compsize < 0)
+ compsize = 0;
- CALL_PixelStorei( GET_DISPATCH(), (GL_PACK_SWAP_BYTES, !swapBytes) );
- __GLX_GET_ANSWER_BUFFER(answer,cl,compsize,1);
+ CALL_PixelStorei(GET_DISPATCH(), (GL_PACK_SWAP_BYTES, !swapBytes));
+ __GLX_GET_ANSWER_BUFFER(answer, cl, compsize, 1);
__glXClearErrorOccured();
- CALL_GetMinmax( GET_DISPATCH(), (target, reset, format, type, answer) );
+ CALL_GetMinmax(GET_DISPATCH(), (target, reset, format, type, answer));
if (__glXErrorOccured()) {
- __GLX_BEGIN_REPLY(0);
- __GLX_SWAP_REPLY_HEADER();
- } else {
- __GLX_BEGIN_REPLY(compsize);
- __GLX_SWAP_REPLY_HEADER();
- __GLX_SEND_VOID_ARRAY(compsize);
+ __GLX_BEGIN_REPLY(0);
+ __GLX_SWAP_REPLY_HEADER();
+ }
+ else {
+ __GLX_BEGIN_REPLY(compsize);
+ __GLX_SWAP_REPLY_HEADER();
+ __GLX_SEND_VOID_ARRAY(compsize);
}
return Success;
}
-int __glXDispSwap_GetMinmax(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_GetMinmax(__GLXclientState * cl, GLbyte * pc)
{
const GLXContextTag tag = __GLX_GET_SINGLE_CONTEXT_TAG(pc);
return GetMinmax(cl, pc + __GLX_SINGLE_HDR_SIZE, tag);
}
-int __glXDispSwap_GetMinmaxEXT(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_GetMinmaxEXT(__GLXclientState * cl, GLbyte * pc)
{
const GLXContextTag tag = __GLX_GET_VENDPRIV_CONTEXT_TAG(pc);
return GetMinmax(cl, pc + __GLX_VENDPRIV_HDR_SIZE, tag);
}
-static int GetColorTable(__GLXclientState *cl, GLbyte *pc, GLXContextTag tag)
+static int
+GetColorTable(__GLXclientState * cl, GLbyte * pc, GLXContextTag tag)
{
GLint compsize;
GLenum format, type, target;
@@ -514,64 +550,67 @@ static int GetColorTable(__GLXclientState *cl, GLbyte *pc, GLXContextTag tag)
__GLXcontext *cx;
ClientPtr client = cl->client;
int error;
+
__GLX_DECLARE_SWAP_VARIABLES;
char *answer, answerBuffer[200];
- GLint width=0;
+ GLint width = 0;
cx = __glXForceCurrent(cl, tag, &error);
if (!cx) {
- return error;
+ return error;
}
- __GLX_SWAP_INT(pc+0);
- __GLX_SWAP_INT(pc+4);
- __GLX_SWAP_INT(pc+8);
+ __GLX_SWAP_INT(pc + 0);
+ __GLX_SWAP_INT(pc + 4);
+ __GLX_SWAP_INT(pc + 8);
- format = *(GLenum *)(pc + 4);
- type = *(GLenum *)(pc + 8);
- target = *(GLenum *)(pc + 0);
- swapBytes = *(GLboolean *)(pc + 12);
+ format = *(GLenum *) (pc + 4);
+ type = *(GLenum *) (pc + 8);
+ target = *(GLenum *) (pc + 0);
+ swapBytes = *(GLboolean *) (pc + 12);
- CALL_GetColorTableParameteriv( GET_DISPATCH(), (target, GL_COLOR_TABLE_WIDTH, &width) );
+ CALL_GetColorTableParameteriv(GET_DISPATCH(),
+ (target, GL_COLOR_TABLE_WIDTH, &width));
/*
* The one query above might fail if we're in a state where queries
* are illegal, but then width would still be zero anyway.
*/
- compsize = __glGetTexImage_size(target,1,format,type,width,1,1);
- if (compsize < 0) compsize = 0;
+ compsize = __glGetTexImage_size(target, 1, format, type, width, 1, 1);
+ if (compsize < 0)
+ compsize = 0;
- CALL_PixelStorei( GET_DISPATCH(), (GL_PACK_SWAP_BYTES, !swapBytes) );
- __GLX_GET_ANSWER_BUFFER(answer,cl,compsize,1);
+ CALL_PixelStorei(GET_DISPATCH(), (GL_PACK_SWAP_BYTES, !swapBytes));
+ __GLX_GET_ANSWER_BUFFER(answer, cl, compsize, 1);
__glXClearErrorOccured();
- CALL_GetColorTable( GET_DISPATCH(), (
- *(GLenum *)(pc + 0),
- *(GLenum *)(pc + 4),
- *(GLenum *)(pc + 8),
- answer
- ) );
+ CALL_GetColorTable(GET_DISPATCH(), (*(GLenum *) (pc + 0),
+ *(GLenum *) (pc + 4),
+ *(GLenum *) (pc + 8), answer));
if (__glXErrorOccured()) {
- __GLX_BEGIN_REPLY(0);
- __GLX_SWAP_REPLY_HEADER();
- } else {
- __GLX_BEGIN_REPLY(compsize);
- __GLX_SWAP_REPLY_HEADER();
- __GLX_SWAP_INT(&width);
- ((xGLXGetColorTableReply *)&__glXReply)->width = width;
- __GLX_SEND_VOID_ARRAY(compsize);
+ __GLX_BEGIN_REPLY(0);
+ __GLX_SWAP_REPLY_HEADER();
+ }
+ else {
+ __GLX_BEGIN_REPLY(compsize);
+ __GLX_SWAP_REPLY_HEADER();
+ __GLX_SWAP_INT(&width);
+ ((xGLXGetColorTableReply *) & __glXReply)->width = width;
+ __GLX_SEND_VOID_ARRAY(compsize);
}
return Success;
}
-int __glXDispSwap_GetColorTable(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_GetColorTable(__GLXclientState * cl, GLbyte * pc)
{
const GLXContextTag tag = __GLX_GET_SINGLE_CONTEXT_TAG(pc);
return GetColorTable(cl, pc + __GLX_SINGLE_HDR_SIZE, tag);
}
-int __glXDispSwap_GetColorTableSGI(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_GetColorTableSGI(__GLXclientState * cl, GLbyte * pc)
{
const GLXContextTag tag = __GLX_GET_VENDPRIV_CONTEXT_TAG(pc);
diff --git a/glx/singlesize.c b/glx/singlesize.c
index 6149b614c..777ebb35e 100644
--- a/glx/singlesize.c
+++ b/glx/singlesize.c
@@ -48,146 +48,156 @@
** Hence, they are located here, in the GLX extension library.
*/
-GLint __glReadPixels_size(GLenum format, GLenum type, GLint w, GLint h)
+GLint
+__glReadPixels_size(GLenum format, GLenum type, GLint w, GLint h)
{
- return __glXImageSize( format, type, 0, w, h, 1, 0, 0, 0, 0, 4 );
+ return __glXImageSize(format, type, 0, w, h, 1, 0, 0, 0, 0, 4);
}
-GLint __glGetMap_size(GLenum target, GLenum query)
+GLint
+__glGetMap_size(GLenum target, GLenum query)
{
- GLint k, order=0, majorMinor[2];
+ GLint k, order = 0, majorMinor[2];
/*
- ** Assume target and query are both valid.
- */
+ ** Assume target and query are both valid.
+ */
switch (target) {
- case GL_MAP1_COLOR_4:
- case GL_MAP1_NORMAL:
- case GL_MAP1_INDEX:
- case GL_MAP1_TEXTURE_COORD_1:
- case GL_MAP1_TEXTURE_COORD_2:
- case GL_MAP1_TEXTURE_COORD_3:
- case GL_MAP1_TEXTURE_COORD_4:
- case GL_MAP1_VERTEX_3:
- case GL_MAP1_VERTEX_4:
- switch (query) {
- case GL_COEFF:
- k = __glMap1d_size(target);
- CALL_GetMapiv( GET_DISPATCH(), (target, GL_ORDER, &order) );
- /*
- ** The query above might fail, but then order will be zero anyway.
- */
- return order * k;
- case GL_DOMAIN:
- return 2;
- case GL_ORDER:
- return 1;
- }
- break;
- case GL_MAP2_COLOR_4:
- case GL_MAP2_NORMAL:
- case GL_MAP2_INDEX:
- case GL_MAP2_TEXTURE_COORD_1:
- case GL_MAP2_TEXTURE_COORD_2:
- case GL_MAP2_TEXTURE_COORD_3:
- case GL_MAP2_TEXTURE_COORD_4:
- case GL_MAP2_VERTEX_3:
- case GL_MAP2_VERTEX_4:
- switch (query) {
- case GL_COEFF:
- k = __glMap2d_size(target);
- majorMinor[0] = majorMinor[1] = 0;
- CALL_GetMapiv( GET_DISPATCH(), (target, GL_ORDER, majorMinor) );
- /*
- ** The query above might fail, but then majorMinor will be zeroes
- */
- return majorMinor[0] * majorMinor[1] * k;
- case GL_DOMAIN:
- return 4;
- case GL_ORDER:
- return 2;
- }
- break;
+ case GL_MAP1_COLOR_4:
+ case GL_MAP1_NORMAL:
+ case GL_MAP1_INDEX:
+ case GL_MAP1_TEXTURE_COORD_1:
+ case GL_MAP1_TEXTURE_COORD_2:
+ case GL_MAP1_TEXTURE_COORD_3:
+ case GL_MAP1_TEXTURE_COORD_4:
+ case GL_MAP1_VERTEX_3:
+ case GL_MAP1_VERTEX_4:
+ switch (query) {
+ case GL_COEFF:
+ k = __glMap1d_size(target);
+ CALL_GetMapiv(GET_DISPATCH(), (target, GL_ORDER, &order));
+ /*
+ ** The query above might fail, but then order will be zero anyway.
+ */
+ return order * k;
+ case GL_DOMAIN:
+ return 2;
+ case GL_ORDER:
+ return 1;
+ }
+ break;
+ case GL_MAP2_COLOR_4:
+ case GL_MAP2_NORMAL:
+ case GL_MAP2_INDEX:
+ case GL_MAP2_TEXTURE_COORD_1:
+ case GL_MAP2_TEXTURE_COORD_2:
+ case GL_MAP2_TEXTURE_COORD_3:
+ case GL_MAP2_TEXTURE_COORD_4:
+ case GL_MAP2_VERTEX_3:
+ case GL_MAP2_VERTEX_4:
+ switch (query) {
+ case GL_COEFF:
+ k = __glMap2d_size(target);
+ majorMinor[0] = majorMinor[1] = 0;
+ CALL_GetMapiv(GET_DISPATCH(), (target, GL_ORDER, majorMinor));
+ /*
+ ** The query above might fail, but then majorMinor will be zeroes
+ */
+ return majorMinor[0] * majorMinor[1] * k;
+ case GL_DOMAIN:
+ return 4;
+ case GL_ORDER:
+ return 2;
+ }
+ break;
}
return -1;
}
-GLint __glGetMapdv_size(GLenum target, GLenum query)
+GLint
+__glGetMapdv_size(GLenum target, GLenum query)
{
return __glGetMap_size(target, query);
}
-GLint __glGetMapfv_size(GLenum target, GLenum query)
+GLint
+__glGetMapfv_size(GLenum target, GLenum query)
{
return __glGetMap_size(target, query);
}
-GLint __glGetMapiv_size(GLenum target, GLenum query)
+GLint
+__glGetMapiv_size(GLenum target, GLenum query)
{
return __glGetMap_size(target, query);
}
-GLint __glGetPixelMap_size(GLenum map)
+GLint
+__glGetPixelMap_size(GLenum map)
{
GLint size;
GLenum query;
switch (map) {
- case GL_PIXEL_MAP_I_TO_I:
- query = GL_PIXEL_MAP_I_TO_I_SIZE;
- break;
- case GL_PIXEL_MAP_S_TO_S:
- query = GL_PIXEL_MAP_S_TO_S_SIZE;
- break;
- case GL_PIXEL_MAP_I_TO_R:
- query = GL_PIXEL_MAP_I_TO_R_SIZE;
- break;
- case GL_PIXEL_MAP_I_TO_G:
- query = GL_PIXEL_MAP_I_TO_G_SIZE;
- break;
- case GL_PIXEL_MAP_I_TO_B:
- query = GL_PIXEL_MAP_I_TO_B_SIZE;
- break;
- case GL_PIXEL_MAP_I_TO_A:
- query = GL_PIXEL_MAP_I_TO_A_SIZE;
- break;
- case GL_PIXEL_MAP_R_TO_R:
- query = GL_PIXEL_MAP_R_TO_R_SIZE;
- break;
- case GL_PIXEL_MAP_G_TO_G:
- query = GL_PIXEL_MAP_G_TO_G_SIZE;
- break;
- case GL_PIXEL_MAP_B_TO_B:
- query = GL_PIXEL_MAP_B_TO_B_SIZE;
- break;
- case GL_PIXEL_MAP_A_TO_A:
- query = GL_PIXEL_MAP_A_TO_A_SIZE;
- break;
- default:
- return -1;
+ case GL_PIXEL_MAP_I_TO_I:
+ query = GL_PIXEL_MAP_I_TO_I_SIZE;
+ break;
+ case GL_PIXEL_MAP_S_TO_S:
+ query = GL_PIXEL_MAP_S_TO_S_SIZE;
+ break;
+ case GL_PIXEL_MAP_I_TO_R:
+ query = GL_PIXEL_MAP_I_TO_R_SIZE;
+ break;
+ case GL_PIXEL_MAP_I_TO_G:
+ query = GL_PIXEL_MAP_I_TO_G_SIZE;
+ break;
+ case GL_PIXEL_MAP_I_TO_B:
+ query = GL_PIXEL_MAP_I_TO_B_SIZE;
+ break;
+ case GL_PIXEL_MAP_I_TO_A:
+ query = GL_PIXEL_MAP_I_TO_A_SIZE;
+ break;
+ case GL_PIXEL_MAP_R_TO_R:
+ query = GL_PIXEL_MAP_R_TO_R_SIZE;
+ break;
+ case GL_PIXEL_MAP_G_TO_G:
+ query = GL_PIXEL_MAP_G_TO_G_SIZE;
+ break;
+ case GL_PIXEL_MAP_B_TO_B:
+ query = GL_PIXEL_MAP_B_TO_B_SIZE;
+ break;
+ case GL_PIXEL_MAP_A_TO_A:
+ query = GL_PIXEL_MAP_A_TO_A_SIZE;
+ break;
+ default:
+ return -1;
}
- CALL_GetIntegerv( GET_DISPATCH(), (query, &size) );
+ CALL_GetIntegerv(GET_DISPATCH(), (query, &size));
return size;
}
-GLint __glGetPixelMapfv_size(GLenum map)
+GLint
+__glGetPixelMapfv_size(GLenum map)
{
return __glGetPixelMap_size(map);
}
-GLint __glGetPixelMapuiv_size(GLenum map)
+GLint
+__glGetPixelMapuiv_size(GLenum map)
{
return __glGetPixelMap_size(map);
}
-GLint __glGetPixelMapusv_size(GLenum map)
+GLint
+__glGetPixelMapusv_size(GLenum map)
{
return __glGetPixelMap_size(map);
}
-GLint __glGetTexImage_size(GLenum target, GLint level, GLenum format,
- GLenum type, GLint width, GLint height, GLint depth)
+GLint
+__glGetTexImage_size(GLenum target, GLint level, GLenum format,
+ GLenum type, GLint width, GLint height, GLint depth)
{
- return __glXImageSize( format, type, target, width, height, depth,
- 0, 0, 0, 0, 4 );
+ return __glXImageSize(format, type, target, width, height, depth,
+ 0, 0, 0, 0, 4);
}
diff --git a/glx/singlesize.h b/glx/singlesize.h
index 78826dfb0..dc85d3d36 100644
--- a/glx/singlesize.h
+++ b/glx/singlesize.h
@@ -38,7 +38,7 @@
#include "indirect_size.h"
extern GLint __glReadPixels_size(GLenum format, GLenum type,
- GLint width, GLint height);
+ GLint width, GLint height);
extern GLint __glGetMap_size(GLenum pname, GLenum query);
extern GLint __glGetMapdv_size(GLenum target, GLenum query);
extern GLint __glGetMapfv_size(GLenum target, GLenum query);
@@ -48,7 +48,7 @@ extern GLint __glGetPixelMapfv_size(GLenum map);
extern GLint __glGetPixelMapuiv_size(GLenum map);
extern GLint __glGetPixelMapusv_size(GLenum map);
extern GLint __glGetTexImage_size(GLenum target, GLint level, GLenum format,
- GLenum type, GLint width, GLint height,
- GLint depth);
+ GLenum type, GLint width, GLint height,
+ GLint depth);
-#endif /* _singlesize_h_ */
+#endif /* _singlesize_h_ */
diff --git a/glx/swap_interval.c b/glx/swap_interval.c
index 699f13746..7533d2642 100644
--- a/glx/swap_interval.c
+++ b/glx/swap_interval.c
@@ -39,53 +39,55 @@
#include "dispatch.h"
#include "glxbyteorder.h"
-static int DoSwapInterval(__GLXclientState *cl, GLbyte *pc, int do_swap);
+static int DoSwapInterval(__GLXclientState * cl, GLbyte * pc, int do_swap);
-int DoSwapInterval(__GLXclientState *cl, GLbyte *pc, int do_swap)
+int
+DoSwapInterval(__GLXclientState * cl, GLbyte * pc, int do_swap)
{
- xGLXVendorPrivateReq * const req = (xGLXVendorPrivateReq *) pc;
+ xGLXVendorPrivateReq *const req = (xGLXVendorPrivateReq *) pc;
ClientPtr client = cl->client;
const GLXContextTag tag = req->contextTag;
__GLXcontext *cx;
GLint interval;
-
cx = __glXLookupContextByTag(cl, tag);
if ((cx == NULL) || (cx->pGlxScreen == NULL)) {
- client->errorValue = tag;
- return __glXError(GLXBadContext);
+ client->errorValue = tag;
+ return __glXError(GLXBadContext);
}
-
+
if (cx->pGlxScreen->swapInterval == NULL) {
- LogMessage(X_ERROR, "AIGLX: cx->pGlxScreen->swapInterval == NULL\n");
- client->errorValue = tag;
- return __glXError(GLXUnsupportedPrivateRequest);
+ LogMessage(X_ERROR, "AIGLX: cx->pGlxScreen->swapInterval == NULL\n");
+ client->errorValue = tag;
+ return __glXError(GLXUnsupportedPrivateRequest);
}
if (cx->drawPriv == NULL) {
- client->errorValue = tag;
- return BadValue;
+ client->errorValue = tag;
+ return BadValue;
}
-
+
pc += __GLX_VENDPRIV_HDR_SIZE;
interval = (do_swap)
- ? bswap_32(*(int *)(pc + 0))
- : *(int *)(pc + 0);
+ ? bswap_32(*(int *) (pc + 0))
+ : *(int *) (pc + 0);
if (interval <= 0)
- return BadValue;
+ return BadValue;
- (void) (*cx->pGlxScreen->swapInterval)(cx->drawPriv, interval);
+ (void) (*cx->pGlxScreen->swapInterval) (cx->drawPriv, interval);
return Success;
}
-int __glXDisp_SwapIntervalSGI(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_SwapIntervalSGI(__GLXclientState * cl, GLbyte * pc)
{
return DoSwapInterval(cl, pc, 0);
}
-int __glXDispSwap_SwapIntervalSGI(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDispSwap_SwapIntervalSGI(__GLXclientState * cl, GLbyte * pc)
{
return DoSwapInterval(cl, pc, 1);
}
diff --git a/glx/unpack.h b/glx/unpack.h
index 738e79dc4..0a088fc33 100644
--- a/glx/unpack.h
+++ b/glx/unpack.h
@@ -67,7 +67,7 @@ extern xGLXSingleReply __glXReply;
#define __GLX_PUT_RETVAL(a) \
__glXReply.retval = (a);
-
+
#define __GLX_PUT_SIZE(a) \
__glXReply.size = (a);
@@ -102,35 +102,34 @@ extern xGLXSingleReply __glXReply;
#define __GLX_PUT_BYTE() \
*(GLbyte *)&__glXReply.pad3 = *(GLbyte *)answer
-
+
#define __GLX_PUT_SHORT() \
*(GLshort *)&__glXReply.pad3 = *(GLshort *)answer
-
+
#define __GLX_PUT_INT() \
*(GLint *)&__glXReply.pad3 = *(GLint *)answer
-
+
#define __GLX_PUT_FLOAT() \
*(GLfloat *)&__glXReply.pad3 = *(GLfloat *)answer
-
+
#define __GLX_PUT_DOUBLE() \
*(GLdouble *)&__glXReply.pad3 = *(GLdouble *)answer
-
+
#define __GLX_SEND_BYTE_ARRAY(len) \
WriteToClient(client, __GLX_PAD((len)*__GLX_SIZE_INT8), (char *)answer)
#define __GLX_SEND_SHORT_ARRAY(len) \
WriteToClient(client, __GLX_PAD((len)*__GLX_SIZE_INT16), (char *)answer)
-
+
#define __GLX_SEND_INT_ARRAY(len) \
WriteToClient(client, (len)*__GLX_SIZE_INT32, (char *)answer)
-
+
#define __GLX_SEND_FLOAT_ARRAY(len) \
WriteToClient(client, (len)*__GLX_SIZE_FLOAT32, (char *)answer)
-
+
#define __GLX_SEND_DOUBLE_ARRAY(len) \
WriteToClient(client, (len)*__GLX_SIZE_FLOAT64, (char *)answer)
-
#define __GLX_SEND_VOID_ARRAY(len) __GLX_SEND_BYTE_ARRAY(len)
#define __GLX_SEND_UBYTE_ARRAY(len) __GLX_SEND_BYTE_ARRAY(len)
#define __GLX_SEND_USHORT_ARRAY(len) __GLX_SEND_SHORT_ARRAY(len)
@@ -148,19 +147,18 @@ extern xGLXSingleReply __glXReply;
GLbyte *swapPC; \
GLbyte *swapEnd
-
#define __GLX_SWAP_INT(pc) \
sw = ((GLbyte *)(pc))[0]; \
((GLbyte *)(pc))[0] = ((GLbyte *)(pc))[3]; \
((GLbyte *)(pc))[3] = sw; \
sw = ((GLbyte *)(pc))[1]; \
((GLbyte *)(pc))[1] = ((GLbyte *)(pc))[2]; \
- ((GLbyte *)(pc))[2] = sw;
+ ((GLbyte *)(pc))[2] = sw;
#define __GLX_SWAP_SHORT(pc) \
sw = ((GLbyte *)(pc))[0]; \
((GLbyte *)(pc))[0] = ((GLbyte *)(pc))[1]; \
- ((GLbyte *)(pc))[1] = sw;
+ ((GLbyte *)(pc))[1] = sw;
#define __GLX_SWAP_DOUBLE(pc) \
sw = ((GLbyte *)(pc))[0]; \
@@ -174,7 +172,7 @@ extern xGLXSingleReply __glXReply;
((GLbyte *)(pc))[5] = sw; \
sw = ((GLbyte *)(pc))[3]; \
((GLbyte *)(pc))[3] = ((GLbyte *)(pc))[4]; \
- ((GLbyte *)(pc))[4] = sw;
+ ((GLbyte *)(pc))[4] = sw;
#define __GLX_SWAP_FLOAT(pc) \
sw = ((GLbyte *)(pc))[0]; \
@@ -182,7 +180,7 @@ extern xGLXSingleReply __glXReply;
((GLbyte *)(pc))[3] = sw; \
sw = ((GLbyte *)(pc))[1]; \
((GLbyte *)(pc))[1] = ((GLbyte *)(pc))[2]; \
- ((GLbyte *)(pc))[2] = sw;
+ ((GLbyte *)(pc))[2] = sw;
#define __GLX_SWAP_INT_ARRAY(pc, count) \
swapPC = ((GLbyte *)(pc)); \
@@ -191,7 +189,7 @@ extern xGLXSingleReply __glXReply;
__GLX_SWAP_INT(swapPC); \
swapPC += __GLX_SIZE_INT32; \
}
-
+
#define __GLX_SWAP_SHORT_ARRAY(pc, count) \
swapPC = ((GLbyte *)(pc)); \
swapEnd = ((GLbyte *)(pc)) + (count)*__GLX_SIZE_INT16;\
@@ -199,7 +197,7 @@ extern xGLXSingleReply __glXReply;
__GLX_SWAP_SHORT(swapPC); \
swapPC += __GLX_SIZE_INT16; \
}
-
+
#define __GLX_SWAP_DOUBLE_ARRAY(pc, count) \
swapPC = ((GLbyte *)(pc)); \
swapEnd = ((GLbyte *)(pc)) + (count)*__GLX_SIZE_FLOAT64;\
@@ -207,7 +205,7 @@ extern xGLXSingleReply __glXReply;
__GLX_SWAP_DOUBLE(swapPC); \
swapPC += __GLX_SIZE_FLOAT64; \
}
-
+
#define __GLX_SWAP_FLOAT_ARRAY(pc, count) \
swapPC = ((GLbyte *)(pc)); \
swapEnd = ((GLbyte *)(pc)) + (count)*__GLX_SIZE_FLOAT32;\
@@ -226,9 +224,4 @@ extern xGLXSingleReply __glXReply;
#define __GLX_SWAP_REPLY_SIZE() \
__GLX_SWAP_INT(&__glXReply.size)
-#endif /* !__GLX_unpack_h__ */
-
-
-
-
-
+#endif /* !__GLX_unpack_h__ */
diff --git a/glx/xfont.c b/glx/xfont.c
index 84a301f9b..037ed9e4c 100644
--- a/glx/xfont.c
+++ b/glx/xfont.c
@@ -48,16 +48,18 @@
/*
** Make a single GL bitmap from a single X glyph
*/
-static int __glXMakeBitmapFromGlyph(FontPtr font, CharInfoPtr pci)
+static int
+__glXMakeBitmapFromGlyph(FontPtr font, CharInfoPtr pci)
{
int i, j;
- int widthPadded; /* width of glyph in bytes, as padded by X */
- int allocBytes; /* bytes to allocate to store bitmap */
- int w; /* width of glyph in bits */
- int h; /* height of glyph */
+ int widthPadded; /* width of glyph in bytes, as padded by X */
+ int allocBytes; /* bytes to allocate to store bitmap */
+ int w; /* width of glyph in bits */
+ int h; /* height of glyph */
register unsigned char *pglyph;
register unsigned char *p;
unsigned char *allocbuf;
+
#define __GL_CHAR_BUF_SIZE 2048
unsigned char buf[__GL_CHAR_BUF_SIZE];
@@ -66,35 +68,36 @@ static int __glXMakeBitmapFromGlyph(FontPtr font, CharInfoPtr pci)
widthPadded = GLYPHWIDTHBYTESPADDED(pci);
/*
- ** Use the local buf if possible, otherwise malloc.
- */
+ ** Use the local buf if possible, otherwise malloc.
+ */
allocBytes = widthPadded * h;
if (allocBytes <= __GL_CHAR_BUF_SIZE) {
- p = buf;
- allocbuf = 0;
- } else {
- p = (unsigned char *) malloc(allocBytes);
- if (!p)
- return BadAlloc;
- allocbuf = p;
+ p = buf;
+ allocbuf = 0;
+ }
+ else {
+ p = (unsigned char *) malloc(allocBytes);
+ if (!p)
+ return BadAlloc;
+ allocbuf = p;
}
/*
- ** We have to reverse the picture, top to bottom
- */
-
- pglyph = FONTGLYPHBITS(FONTGLYPHS(font), pci) + (h-1)*widthPadded;
- for (j=0; j < h; j++) {
- for (i=0; i < widthPadded; i++) {
- p[i] = pglyph[i];
- }
- pglyph -= widthPadded;
- p += widthPadded;
+ ** We have to reverse the picture, top to bottom
+ */
+
+ pglyph = FONTGLYPHBITS(FONTGLYPHS(font), pci) + (h - 1) * widthPadded;
+ for (j = 0; j < h; j++) {
+ for (i = 0; i < widthPadded; i++) {
+ p[i] = pglyph[i];
+ }
+ pglyph -= widthPadded;
+ p += widthPadded;
}
- CALL_Bitmap( GET_DISPATCH(), (w, h, -pci->metrics.leftSideBearing,
- pci->metrics.descent,
- pci->metrics.characterWidth, 0,
- allocbuf ? allocbuf : buf) );
+ CALL_Bitmap(GET_DISPATCH(), (w, h, -pci->metrics.leftSideBearing,
+ pci->metrics.descent,
+ pci->metrics.characterWidth, 0,
+ allocbuf ? allocbuf : buf));
free(allocbuf);
return Success;
@@ -106,46 +109,48 @@ static int __glXMakeBitmapFromGlyph(FontPtr font, CharInfoPtr pci)
** in a display list.
*/
-static int
+static int
MakeBitmapsFromFont(FontPtr pFont, int first, int count, int list_base)
{
- unsigned long i, nglyphs;
- CARD8 chs[2]; /* the font index we are going after */
- CharInfoPtr pci;
- int rv; /* return value */
+ unsigned long i, nglyphs;
+ CARD8 chs[2]; /* the font index we are going after */
+ CharInfoPtr pci;
+ int rv; /* return value */
int encoding = (FONTLASTROW(pFont) == 0) ? Linear16Bit : TwoD16Bit;
-
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, FALSE) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, BITMAP_BIT_ORDER == LSBFirst) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ROW_LENGTH, 0) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_ROWS, 0) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SKIP_PIXELS, 0) );
- CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_ALIGNMENT, GLYPHPADBYTES) );
- for (i=0; i < count; i++) {
- chs[0] = (first + i) >> 8; /* high byte is first byte */
- chs[1] = first + i;
-
- (*pFont->get_glyphs)(pFont, 1, chs, (FontEncoding)encoding,
- &nglyphs, &pci);
-
- /*
- ** Define a display list containing just a glBitmap() call.
- */
- CALL_NewList( GET_DISPATCH(), (list_base + i, GL_COMPILE) );
- if (nglyphs ) {
- rv = __glXMakeBitmapFromGlyph(pFont, pci);
- if (rv) {
- return rv;
- }
- }
- CALL_EndList( GET_DISPATCH(), () );
+
+ CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, FALSE));
+ CALL_PixelStorei(GET_DISPATCH(),
+ (GL_UNPACK_LSB_FIRST, BITMAP_BIT_ORDER == LSBFirst));
+ CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_ROW_LENGTH, 0));
+ CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_SKIP_ROWS, 0));
+ CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_SKIP_PIXELS, 0));
+ CALL_PixelStorei(GET_DISPATCH(), (GL_UNPACK_ALIGNMENT, GLYPHPADBYTES));
+ for (i = 0; i < count; i++) {
+ chs[0] = (first + i) >> 8; /* high byte is first byte */
+ chs[1] = first + i;
+
+ (*pFont->get_glyphs) (pFont, 1, chs, (FontEncoding) encoding,
+ &nglyphs, &pci);
+
+ /*
+ ** Define a display list containing just a glBitmap() call.
+ */
+ CALL_NewList(GET_DISPATCH(), (list_base + i, GL_COMPILE));
+ if (nglyphs) {
+ rv = __glXMakeBitmapFromGlyph(pFont, pci);
+ if (rv) {
+ return rv;
+ }
+ }
+ CALL_EndList(GET_DISPATCH(), ());
}
return Success;
}
/************************************************************************/
-int __glXDisp_UseXFont(__GLXclientState *cl, GLbyte *pc)
+int
+__glXDisp_UseXFont(__GLXclientState * cl, GLbyte * pc)
{
ClientPtr client = cl->client;
xGLXUseXFontReq *req;
@@ -159,28 +164,28 @@ int __glXDisp_UseXFont(__GLXclientState *cl, GLbyte *pc)
req = (xGLXUseXFontReq *) pc;
cx = __glXForceCurrent(cl, req->contextTag, &error);
if (!cx) {
- return error;
+ return error;
}
- CALL_GetIntegerv( GET_DISPATCH(), (GL_LIST_INDEX, (GLint*) &currentListIndex) );
+ CALL_GetIntegerv(GET_DISPATCH(),
+ (GL_LIST_INDEX, (GLint *) & currentListIndex));
if (currentListIndex != 0) {
- /*
- ** A display list is currently being made. It is an error
- ** to try to make a font during another lists construction.
- */
- client->errorValue = cx->id;
- return __glXError(GLXBadContextState);
+ /*
+ ** A display list is currently being made. It is an error
+ ** to try to make a font during another lists construction.
+ */
+ client->errorValue = cx->id;
+ return __glXError(GLXBadContextState);
}
/*
- ** Font can actually be either the ID of a font or the ID of a GC
- ** containing a font.
- */
+ ** Font can actually be either the ID of a font or the ID of a GC
+ ** containing a font.
+ */
error = dixLookupFontable(&pFont, req->font, client, DixReadAccess);
if (error != Success)
- return error;
+ return error;
- return MakeBitmapsFromFont(pFont, req->first, req->count,
- req->listBase);
+ return MakeBitmapsFromFont(pFont, req->first, req->count, req->listBase);
}