Debian Codegraph @

Source/Core/Common/GL/GLExtensions/gl_1_4.h

raw symbols SCIP
1 /*
2 ** Copyright (c) 2013-2015 The Khronos Group Inc.
3 ** SPDX-License-Identifier: MIT
4 */
5
6 #include "Common/GL/GLExtensions/gl_common.h"
7
8 #define GL_BLEND_DST_RGB 0x80C8
9 #define GL_BLEND_SRC_RGB 0x80C9
10 #define GL_BLEND_DST_ALPHA 0x80CA
11 #define GL_BLEND_SRC_ALPHA 0x80CB
12 #define GL_POINT_FADE_THRESHOLD_SIZE 0x8128
13 #define GL_DEPTH_COMPONENT16 0x81A5
14 #define GL_DEPTH_COMPONENT24 0x81A6
15 #define GL_DEPTH_COMPONENT32 0x81A7
16 #define GL_MIRRORED_REPEAT 0x8370
17 #define GL_MAX_TEXTURE_LOD_BIAS 0x84FD
18 #define GL_TEXTURE_LOD_BIAS 0x8501
19 #define GL_INCR_WRAP 0x8507
20 #define GL_DECR_WRAP 0x8508
21 #define GL_TEXTURE_DEPTH_SIZE 0x884A
22 #define GL_TEXTURE_COMPARE_MODE 0x884C
23 #define GL_TEXTURE_COMPARE_FUNC 0x884D
24 #define GL_POINT_SIZE_MIN 0x8126
25 #define GL_POINT_SIZE_MAX 0x8127
26 #define GL_POINT_DISTANCE_ATTENUATION 0x8129
27 #define GL_GENERATE_MIPMAP 0x8191
28 #define GL_GENERATE_MIPMAP_HINT 0x8192
29 #define GL_FOG_COORDINATE_SOURCE 0x8450
30 #define GL_FOG_COORDINATE 0x8451
31 #define GL_FRAGMENT_DEPTH 0x8452
32 #define GL_CURRENT_FOG_COORDINATE 0x8453
33 #define GL_FOG_COORDINATE_ARRAY_TYPE 0x8454
34 #define GL_FOG_COORDINATE_ARRAY_STRIDE 0x8455
35 #define GL_FOG_COORDINATE_ARRAY_POINTER 0x8456
36 #define GL_FOG_COORDINATE_ARRAY 0x8457
37 #define GL_COLOR_SUM 0x8458
38 #define GL_CURRENT_SECONDARY_COLOR 0x8459
39 #define GL_SECONDARY_COLOR_ARRAY_SIZE 0x845A
40 #define GL_SECONDARY_COLOR_ARRAY_TYPE 0x845B
41 #define GL_SECONDARY_COLOR_ARRAY_STRIDE 0x845C
42 #define GL_SECONDARY_COLOR_ARRAY_POINTER 0x845D
43 #define GL_SECONDARY_COLOR_ARRAY 0x845E
44 #define GL_TEXTURE_FILTER_CONTROL 0x8500
45 #define GL_DEPTH_TEXTURE_MODE 0x884B
46 #define GL_COMPARE_R_TO_TEXTURE 0x884E
47 #define GL_FUNC_ADD 0x8006
48 #define GL_FUNC_SUBTRACT 0x800A
49 #define GL_FUNC_REVERSE_SUBTRACT 0x800B
50 #define GL_MIN 0x8007
51 #define GL_MAX 0x8008
52 #define GL_CONSTANT_COLOR 0x8001
53 #define GL_ONE_MINUS_CONSTANT_COLOR 0x8002
54 #define GL_CONSTANT_ALPHA 0x8003
55 #define GL_ONE_MINUS_CONSTANT_ALPHA 0x8004
56
57 typedef void(APIENTRYP PFNDOLBLENDFUNCSEPARATEPROC)(GLenum sfactorRGB, GLenum dfactorRGB,
58 GLenum sfactorAlpha, GLenum dfactorAlpha);
59 typedef void(APIENTRYP PFNDOLMULTIDRAWARRAYSPROC)(GLenum mode, const GLint* first,
60 const GLsizei* count, GLsizei drawcount);
61 typedef void(APIENTRYP PFNDOLMULTIDRAWELEMENTSPROC)(GLenum mode, const GLsizei* count, GLenum type,
62 const void* const* indices, GLsizei drawcount);
63 typedef void(APIENTRYP PFNDOLPOINTPARAMETERFPROC)(GLenum pname, GLfloat param);
64 typedef void(APIENTRYP PFNDOLPOINTPARAMETERFVPROC)(GLenum pname, const GLfloat* params);
65 typedef void(APIENTRYP PFNDOLPOINTPARAMETERIPROC)(GLenum pname, GLint param);
66 typedef void(APIENTRYP PFNDOLPOINTPARAMETERIVPROC)(GLenum pname, const GLint* params);
67 typedef void(APIENTRYP PFNDOLFOGCOORDFPROC)(GLfloat coord);
68 typedef void(APIENTRYP PFNDOLFOGCOORDFVPROC)(const GLfloat* coord);
69 typedef void(APIENTRYP PFNDOLFOGCOORDDPROC)(GLdouble coord);
70 typedef void(APIENTRYP PFNDOLFOGCOORDDVPROC)(const GLdouble* coord);
71 typedef void(APIENTRYP PFNDOLFOGCOORDPOINTERPROC)(GLenum type, GLsizei stride, const void* pointer);
72 typedef void(APIENTRYP PFNDOLSECONDARYCOLOR3BPROC)(GLbyte red, GLbyte green, GLbyte blue);
73 typedef void(APIENTRYP PFNDOLSECONDARYCOLOR3BVPROC)(const GLbyte* v);
74 typedef void(APIENTRYP PFNDOLSECONDARYCOLOR3DPROC)(GLdouble red, GLdouble green, GLdouble blue);
75 typedef void(APIENTRYP PFNDOLSECONDARYCOLOR3DVPROC)(const GLdouble* v);
76 typedef void(APIENTRYP PFNDOLSECONDARYCOLOR3FPROC)(GLfloat red, GLfloat green, GLfloat blue);
77 typedef void(APIENTRYP PFNDOLSECONDARYCOLOR3FVPROC)(const GLfloat* v);
78 typedef void(APIENTRYP PFNDOLSECONDARYCOLOR3IPROC)(GLint red, GLint green, GLint blue);
79 typedef void(APIENTRYP PFNDOLSECONDARYCOLOR3IVPROC)(const GLint* v);
80 typedef void(APIENTRYP PFNDOLSECONDARYCOLOR3SPROC)(GLshort red, GLshort green, GLshort blue);
81 typedef void(APIENTRYP PFNDOLSECONDARYCOLOR3SVPROC)(const GLshort* v);
82 typedef void(APIENTRYP PFNDOLSECONDARYCOLOR3UBPROC)(GLubyte red, GLubyte green, GLubyte blue);
83 typedef void(APIENTRYP PFNDOLSECONDARYCOLOR3UBVPROC)(const GLubyte* v);
84 typedef void(APIENTRYP PFNDOLSECONDARYCOLOR3UIPROC)(GLuint red, GLuint green, GLuint blue);
85 typedef void(APIENTRYP PFNDOLSECONDARYCOLOR3UIVPROC)(const GLuint* v);
86 typedef void(APIENTRYP PFNDOLSECONDARYCOLOR3USPROC)(GLushort red, GLushort green, GLushort blue);
87 typedef void(APIENTRYP PFNDOLSECONDARYCOLOR3USVPROC)(const GLushort* v);
88 typedef void(APIENTRYP PFNDOLSECONDARYCOLORPOINTERPROC)(GLint size, GLenum type, GLsizei stride,
89 const void* pointer);
90 typedef void(APIENTRYP PFNDOLWINDOWPOS2DPROC)(GLdouble x, GLdouble y);
91 typedef void(APIENTRYP PFNDOLWINDOWPOS2DVPROC)(const GLdouble* v);
92 typedef void(APIENTRYP PFNDOLWINDOWPOS2FPROC)(GLfloat x, GLfloat y);
93 typedef void(APIENTRYP PFNDOLWINDOWPOS2FVPROC)(const GLfloat* v);
94 typedef void(APIENTRYP PFNDOLWINDOWPOS2IPROC)(GLint x, GLint y);
95 typedef void(APIENTRYP PFNDOLWINDOWPOS2IVPROC)(const GLint* v);
96 typedef void(APIENTRYP PFNDOLWINDOWPOS2SPROC)(GLshort x, GLshort y);
97 typedef void(APIENTRYP PFNDOLWINDOWPOS2SVPROC)(const GLshort* v);
98 typedef void(APIENTRYP PFNDOLWINDOWPOS3DPROC)(GLdouble x, GLdouble y, GLdouble z);
99 typedef void(APIENTRYP PFNDOLWINDOWPOS3DVPROC)(const GLdouble* v);
100 typedef void(APIENTRYP PFNDOLWINDOWPOS3FPROC)(GLfloat x, GLfloat y, GLfloat z);
101 typedef void(APIENTRYP PFNDOLWINDOWPOS3FVPROC)(const GLfloat* v);
102 typedef void(APIENTRYP PFNDOLWINDOWPOS3IPROC)(GLint x, GLint y, GLint z);
103 typedef void(APIENTRYP PFNDOLWINDOWPOS3IVPROC)(const GLint* v);
104 typedef void(APIENTRYP PFNDOLWINDOWPOS3SPROC)(GLshort x, GLshort y, GLshort z);
105 typedef void(APIENTRYP PFNDOLWINDOWPOS3SVPROC)(const GLshort* v);
106 typedef void(APIENTRYP PFNDOLBLENDCOLORPROC)(GLfloat red, GLfloat green, GLfloat blue,
107 GLfloat alpha);
108 typedef void(APIENTRYP PFNDOLBLENDEQUATIONPROC)(GLenum mode);
109
110 // These two are provided by ARB_imaging as well
111 extern PFNDOLBLENDCOLORPROC dolBlendColor;
112 extern PFNDOLBLENDEQUATIONPROC dolBlendEquation;
113 extern PFNDOLBLENDFUNCSEPARATEPROC dolBlendFuncSeparate;
114 extern PFNDOLFOGCOORDPOINTERPROC dolFogCoordPointer;
115 extern PFNDOLFOGCOORDDPROC dolFogCoordd;
116 extern PFNDOLFOGCOORDDVPROC dolFogCoorddv;
117 extern PFNDOLFOGCOORDFPROC dolFogCoordf;
118 extern PFNDOLFOGCOORDFVPROC dolFogCoordfv;
119 extern PFNDOLMULTIDRAWARRAYSPROC dolMultiDrawArrays;
120 extern PFNDOLMULTIDRAWELEMENTSPROC dolMultiDrawElements;
121 extern PFNDOLPOINTPARAMETERFPROC dolPointParameterf;
122 extern PFNDOLPOINTPARAMETERFVPROC dolPointParameterfv;
123 extern PFNDOLPOINTPARAMETERIPROC dolPointParameteri;
124 extern PFNDOLPOINTPARAMETERIVPROC dolPointParameteriv;
125 extern PFNDOLSECONDARYCOLOR3BPROC dolSecondaryColor3b;
126 extern PFNDOLSECONDARYCOLOR3BVPROC dolSecondaryColor3bv;
127 extern PFNDOLSECONDARYCOLOR3DPROC dolSecondaryColor3d;
128 extern PFNDOLSECONDARYCOLOR3DVPROC dolSecondaryColor3dv;
129 extern PFNDOLSECONDARYCOLOR3FPROC dolSecondaryColor3f;
130 extern PFNDOLSECONDARYCOLOR3FVPROC dolSecondaryColor3fv;
131 extern PFNDOLSECONDARYCOLOR3IPROC dolSecondaryColor3i;
132 extern PFNDOLSECONDARYCOLOR3IVPROC dolSecondaryColor3iv;
133 extern PFNDOLSECONDARYCOLOR3SPROC dolSecondaryColor3s;
134 extern PFNDOLSECONDARYCOLOR3SVPROC dolSecondaryColor3sv;
135 extern PFNDOLSECONDARYCOLOR3UBPROC dolSecondaryColor3ub;
136 extern PFNDOLSECONDARYCOLOR3UBVPROC dolSecondaryColor3ubv;
137 extern PFNDOLSECONDARYCOLOR3UIPROC dolSecondaryColor3ui;
138 extern PFNDOLSECONDARYCOLOR3UIVPROC dolSecondaryColor3uiv;
139 extern PFNDOLSECONDARYCOLOR3USPROC dolSecondaryColor3us;
140 extern PFNDOLSECONDARYCOLOR3USVPROC dolSecondaryColor3usv;
141 extern PFNDOLSECONDARYCOLORPOINTERPROC dolSecondaryColorPointer;
142 extern PFNDOLWINDOWPOS2DPROC dolWindowPos2d;
143 extern PFNDOLWINDOWPOS2DVPROC dolWindowPos2dv;
144 extern PFNDOLWINDOWPOS2FPROC dolWindowPos2f;
145 extern PFNDOLWINDOWPOS2FVPROC dolWindowPos2fv;
146 extern PFNDOLWINDOWPOS2IPROC dolWindowPos2i;
147 extern PFNDOLWINDOWPOS2IVPROC dolWindowPos2iv;
148 extern PFNDOLWINDOWPOS2SPROC dolWindowPos2s;
149 extern PFNDOLWINDOWPOS2SVPROC dolWindowPos2sv;
150 extern PFNDOLWINDOWPOS3DPROC dolWindowPos3d;
151 extern PFNDOLWINDOWPOS3DVPROC dolWindowPos3dv;
152 extern PFNDOLWINDOWPOS3FPROC dolWindowPos3f;
153 extern PFNDOLWINDOWPOS3FVPROC dolWindowPos3fv;
154 extern PFNDOLWINDOWPOS3IPROC dolWindowPos3i;
155 extern PFNDOLWINDOWPOS3IVPROC dolWindowPos3iv;
156 extern PFNDOLWINDOWPOS3SPROC dolWindowPos3s;
157 extern PFNDOLWINDOWPOS3SVPROC dolWindowPos3sv;
158
159 #define glBlendColor dolBlendColor
160 #define glBlendEquation dolBlendEquation
161 #define glBlendFuncSeparate dolBlendFuncSeparate
162 #define glFogCoordPointer dolFogCoordPointer
163 #define glFogCoordd dolFogCoordd
164 #define glFogCoorddv dolFogCoorddv
165 #define glFogCoordf dolFogCoordf
166 #define glFogCoordfv dolFogCoordfv
167 #define glMultiDrawArrays dolMultiDrawArrays
168 #define glMultiDrawElements dolMultiDrawElements
169 #define glPointParameterf dolPointParameterf
170 #define glPointParameterfv dolPointParameterfv
171 #define glPointParameteri dolPointParameteri
172 #define glPointParameteriv dolPointParameteriv
173 #define glSecondaryColor3b dolSecondaryColor3b
174 #define glSecondaryColor3bv dolSecondaryColor3bv
175 #define glSecondaryColor3d dolSecondaryColor3d
176 #define glSecondaryColor3dv dolSecondaryColor3dv
177 #define glSecondaryColor3f dolSecondaryColor3f
178 #define glSecondaryColor3fv dolSecondaryColor3fv
179 #define glSecondaryColor3i dolSecondaryColor3i
180 #define glSecondaryColor3iv dolSecondaryColor3iv
181 #define glSecondaryColor3s dolSecondaryColor3s
182 #define glSecondaryColor3sv dolSecondaryColor3sv
183 #define glSecondaryColor3ub dolSecondaryColor3ub
184 #define glSecondaryColor3ubv dolSecondaryColor3ubv
185 #define glSecondaryColor3ui dolSecondaryColor3ui
186 #define glSecondaryColor3uiv dolSecondaryColor3uiv
187 #define glSecondaryColor3us dolSecondaryColor3us
188 #define glSecondaryColor3usv dolSecondaryColor3usv
189 #define glSecondaryColorPointer dolSecondaryColorPointer
190 #define glWindowPos2d dolWindowPos2d
191 #define glWindowPos2dv dolWindowPos2dv
192 #define glWindowPos2f dolWindowPos2f
193 #define glWindowPos2fv dolWindowPos2fv
194 #define glWindowPos2i dolWindowPos2i
195 #define glWindowPos2iv dolWindowPos2iv
196 #define glWindowPos2s dolWindowPos2s
197 #define glWindowPos2sv dolWindowPos2sv
198 #define glWindowPos3d dolWindowPos3d
199 #define glWindowPos3dv dolWindowPos3dv
200 #define glWindowPos3f dolWindowPos3f
201 #define glWindowPos3fv dolWindowPos3fv
202 #define glWindowPos3i dolWindowPos3i
203 #define glWindowPos3iv dolWindowPos3iv
204 #define glWindowPos3s dolWindowPos3s
205 #define glWindowPos3sv dolWindowPos3sv