• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #ifndef __glsc2_glsc2_h_
2 #define __glsc2_glsc2_h_ 1
3 
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7 
8 /*
9 ** Copyright 2013-2020 The Khronos Group Inc.
10 ** SPDX-License-Identifier: MIT
11 **
12 ** This header is generated from the Khronos OpenGL / OpenGL ES XML
13 ** API Registry. The current version of the Registry, generator scripts
14 ** used to make the header, and the header can be found at
15 **   https://github.com/KhronosGroup/OpenGL-Registry
16 */
17 
18 #include <GLSC2/gl2platform.h>
19 
20 #ifndef GL_APIENTRYP
21 #define GL_APIENTRYP GL_APIENTRY*
22 #endif
23 
24 /* Generated on date 20191013 */
25 
26 /* Generated C header for:
27  * API: glsc2
28  * Profile: common
29  * Versions considered: 2\.[0-9]
30  * Versions emitted: .*
31  * Default extensions included: None
32  * Additional extensions included: _nomatch_^
33  * Extensions removed: _nomatch_^
34  */
35 
36 #ifndef GL_SC_VERSION_2_0
37 #define GL_SC_VERSION_2_0 1
38 #include <KHR/khrplatform.h>
39 typedef khronos_int8_t GLbyte;
40 typedef khronos_int16_t GLshort;
41 typedef khronos_uint16_t GLushort;
42 typedef unsigned int GLenum;
43 typedef unsigned int GLuint;
44 typedef khronos_float_t GLfloat;
45 typedef khronos_ssize_t GLsizeiptr;
46 typedef khronos_intptr_t GLintptr;
47 typedef unsigned int GLbitfield;
48 typedef int GLint;
49 typedef unsigned char GLboolean;
50 typedef int GLsizei;
51 typedef char GLchar;
52 typedef khronos_uint8_t GLubyte;
53 #define GL_DEPTH_BUFFER_BIT               0x00000100
54 #define GL_STENCIL_BUFFER_BIT             0x00000400
55 #define GL_COLOR_BUFFER_BIT               0x00004000
56 #define GL_FALSE                          0
57 #define GL_TRUE                           1
58 #define GL_POINTS                         0x0000
59 #define GL_LINES                          0x0001
60 #define GL_LINE_LOOP                      0x0002
61 #define GL_LINE_STRIP                     0x0003
62 #define GL_TRIANGLES                      0x0004
63 #define GL_TRIANGLE_STRIP                 0x0005
64 #define GL_TRIANGLE_FAN                   0x0006
65 #define GL_ZERO                           0
66 #define GL_ONE                            1
67 #define GL_SRC_COLOR                      0x0300
68 #define GL_ONE_MINUS_SRC_COLOR            0x0301
69 #define GL_SRC_ALPHA                      0x0302
70 #define GL_ONE_MINUS_SRC_ALPHA            0x0303
71 #define GL_DST_ALPHA                      0x0304
72 #define GL_ONE_MINUS_DST_ALPHA            0x0305
73 #define GL_DST_COLOR                      0x0306
74 #define GL_ONE_MINUS_DST_COLOR            0x0307
75 #define GL_SRC_ALPHA_SATURATE             0x0308
76 #define GL_FUNC_ADD                       0x8006
77 #define GL_BLEND_EQUATION                 0x8009
78 #define GL_BLEND_EQUATION_RGB             0x8009
79 #define GL_BLEND_EQUATION_ALPHA           0x883D
80 #define GL_FUNC_SUBTRACT                  0x800A
81 #define GL_FUNC_REVERSE_SUBTRACT          0x800B
82 #define GL_BLEND_DST_RGB                  0x80C8
83 #define GL_BLEND_SRC_RGB                  0x80C9
84 #define GL_BLEND_DST_ALPHA                0x80CA
85 #define GL_BLEND_SRC_ALPHA                0x80CB
86 #define GL_CONSTANT_COLOR                 0x8001
87 #define GL_ONE_MINUS_CONSTANT_COLOR       0x8002
88 #define GL_CONSTANT_ALPHA                 0x8003
89 #define GL_ONE_MINUS_CONSTANT_ALPHA       0x8004
90 #define GL_BLEND_COLOR                    0x8005
91 #define GL_ARRAY_BUFFER                   0x8892
92 #define GL_ELEMENT_ARRAY_BUFFER           0x8893
93 #define GL_ARRAY_BUFFER_BINDING           0x8894
94 #define GL_ELEMENT_ARRAY_BUFFER_BINDING   0x8895
95 #define GL_STREAM_DRAW                    0x88E0
96 #define GL_STATIC_DRAW                    0x88E4
97 #define GL_DYNAMIC_DRAW                   0x88E8
98 #define GL_BUFFER_SIZE                    0x8764
99 #define GL_BUFFER_USAGE                   0x8765
100 #define GL_CURRENT_VERTEX_ATTRIB          0x8626
101 #define GL_FRONT                          0x0404
102 #define GL_BACK                           0x0405
103 #define GL_FRONT_AND_BACK                 0x0408
104 #define GL_TEXTURE_2D                     0x0DE1
105 #define GL_CULL_FACE                      0x0B44
106 #define GL_BLEND                          0x0BE2
107 #define GL_DITHER                         0x0BD0
108 #define GL_STENCIL_TEST                   0x0B90
109 #define GL_DEPTH_TEST                     0x0B71
110 #define GL_SCISSOR_TEST                   0x0C11
111 #define GL_POLYGON_OFFSET_FILL            0x8037
112 #define GL_SAMPLE_ALPHA_TO_COVERAGE       0x809E
113 #define GL_SAMPLE_COVERAGE                0x80A0
114 #define GL_NO_ERROR                       0
115 #define GL_INVALID_ENUM                   0x0500
116 #define GL_INVALID_VALUE                  0x0501
117 #define GL_INVALID_OPERATION              0x0502
118 #define GL_OUT_OF_MEMORY                  0x0505
119 #define GL_INVALID_FRAMEBUFFER_OPERATION  0x0506
120 #define GL_CONTEXT_LOST                   0x0507
121 #define GL_CW                             0x0900
122 #define GL_CCW                            0x0901
123 #define GL_LINE_WIDTH                     0x0B21
124 #define GL_ALIASED_POINT_SIZE_RANGE       0x846D
125 #define GL_ALIASED_LINE_WIDTH_RANGE       0x846E
126 #define GL_CULL_FACE_MODE                 0x0B45
127 #define GL_FRONT_FACE                     0x0B46
128 #define GL_DEPTH_RANGE                    0x0B70
129 #define GL_DEPTH_WRITEMASK                0x0B72
130 #define GL_DEPTH_CLEAR_VALUE              0x0B73
131 #define GL_DEPTH_FUNC                     0x0B74
132 #define GL_STENCIL_CLEAR_VALUE            0x0B91
133 #define GL_STENCIL_FUNC                   0x0B92
134 #define GL_STENCIL_FAIL                   0x0B94
135 #define GL_STENCIL_PASS_DEPTH_FAIL        0x0B95
136 #define GL_STENCIL_PASS_DEPTH_PASS        0x0B96
137 #define GL_STENCIL_REF                    0x0B97
138 #define GL_STENCIL_VALUE_MASK             0x0B93
139 #define GL_STENCIL_WRITEMASK              0x0B98
140 #define GL_STENCIL_BACK_FUNC              0x8800
141 #define GL_STENCIL_BACK_FAIL              0x8801
142 #define GL_STENCIL_BACK_PASS_DEPTH_FAIL   0x8802
143 #define GL_STENCIL_BACK_PASS_DEPTH_PASS   0x8803
144 #define GL_STENCIL_BACK_REF               0x8CA3
145 #define GL_STENCIL_BACK_VALUE_MASK        0x8CA4
146 #define GL_STENCIL_BACK_WRITEMASK         0x8CA5
147 #define GL_VIEWPORT                       0x0BA2
148 #define GL_SCISSOR_BOX                    0x0C10
149 #define GL_COLOR_CLEAR_VALUE              0x0C22
150 #define GL_COLOR_WRITEMASK                0x0C23
151 #define GL_UNPACK_ALIGNMENT               0x0CF5
152 #define GL_PACK_ALIGNMENT                 0x0D05
153 #define GL_MAX_TEXTURE_SIZE               0x0D33
154 #define GL_MAX_VIEWPORT_DIMS              0x0D3A
155 #define GL_SUBPIXEL_BITS                  0x0D50
156 #define GL_RED_BITS                       0x0D52
157 #define GL_GREEN_BITS                     0x0D53
158 #define GL_BLUE_BITS                      0x0D54
159 #define GL_ALPHA_BITS                     0x0D55
160 #define GL_DEPTH_BITS                     0x0D56
161 #define GL_STENCIL_BITS                   0x0D57
162 #define GL_POLYGON_OFFSET_UNITS           0x2A00
163 #define GL_POLYGON_OFFSET_FACTOR          0x8038
164 #define GL_TEXTURE_BINDING_2D             0x8069
165 #define GL_SAMPLE_BUFFERS                 0x80A8
166 #define GL_SAMPLES                        0x80A9
167 #define GL_SAMPLE_COVERAGE_VALUE          0x80AA
168 #define GL_SAMPLE_COVERAGE_INVERT         0x80AB
169 #define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2
170 #define GL_COMPRESSED_TEXTURE_FORMATS     0x86A3
171 #define GL_DONT_CARE                      0x1100
172 #define GL_FASTEST                        0x1101
173 #define GL_NICEST                         0x1102
174 #define GL_GENERATE_MIPMAP_HINT           0x8192
175 #define GL_BYTE                           0x1400
176 #define GL_UNSIGNED_BYTE                  0x1401
177 #define GL_SHORT                          0x1402
178 #define GL_UNSIGNED_SHORT                 0x1403
179 #define GL_INT                            0x1404
180 #define GL_UNSIGNED_INT                   0x1405
181 #define GL_FLOAT                          0x1406
182 #define GL_RED                            0x1903
183 #define GL_RG                             0x8227
184 #define GL_RGB                            0x1907
185 #define GL_RGBA                           0x1908
186 #define GL_UNSIGNED_SHORT_4_4_4_4         0x8033
187 #define GL_UNSIGNED_SHORT_5_5_5_1         0x8034
188 #define GL_UNSIGNED_SHORT_5_6_5           0x8363
189 #define GL_MAX_VERTEX_ATTRIBS             0x8869
190 #define GL_MAX_VERTEX_UNIFORM_VECTORS     0x8DFB
191 #define GL_MAX_VARYING_VECTORS            0x8DFC
192 #define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D
193 #define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 0x8B4C
194 #define GL_MAX_TEXTURE_IMAGE_UNITS        0x8872
195 #define GL_MAX_FRAGMENT_UNIFORM_VECTORS   0x8DFD
196 #define GL_LINK_STATUS                    0x8B82
197 #define GL_SHADING_LANGUAGE_VERSION       0x8B8C
198 #define GL_CURRENT_PROGRAM                0x8B8D
199 #define GL_NEVER                          0x0200
200 #define GL_LESS                           0x0201
201 #define GL_EQUAL                          0x0202
202 #define GL_LEQUAL                         0x0203
203 #define GL_GREATER                        0x0204
204 #define GL_NOTEQUAL                       0x0205
205 #define GL_GEQUAL                         0x0206
206 #define GL_ALWAYS                         0x0207
207 #define GL_KEEP                           0x1E00
208 #define GL_REPLACE                        0x1E01
209 #define GL_INCR                           0x1E02
210 #define GL_DECR                           0x1E03
211 #define GL_INVERT                         0x150A
212 #define GL_INCR_WRAP                      0x8507
213 #define GL_DECR_WRAP                      0x8508
214 #define GL_VENDOR                         0x1F00
215 #define GL_RENDERER                       0x1F01
216 #define GL_VERSION                        0x1F02
217 #define GL_EXTENSIONS                     0x1F03
218 #define GL_NEAREST                        0x2600
219 #define GL_LINEAR                         0x2601
220 #define GL_NEAREST_MIPMAP_NEAREST         0x2700
221 #define GL_LINEAR_MIPMAP_NEAREST          0x2701
222 #define GL_NEAREST_MIPMAP_LINEAR          0x2702
223 #define GL_LINEAR_MIPMAP_LINEAR           0x2703
224 #define GL_TEXTURE_MAG_FILTER             0x2800
225 #define GL_TEXTURE_MIN_FILTER             0x2801
226 #define GL_TEXTURE_WRAP_S                 0x2802
227 #define GL_TEXTURE_WRAP_T                 0x2803
228 #define GL_TEXTURE_IMMUTABLE_FORMAT       0x912F
229 #define GL_TEXTURE                        0x1702
230 #define GL_TEXTURE0                       0x84C0
231 #define GL_TEXTURE1                       0x84C1
232 #define GL_TEXTURE2                       0x84C2
233 #define GL_TEXTURE3                       0x84C3
234 #define GL_TEXTURE4                       0x84C4
235 #define GL_TEXTURE5                       0x84C5
236 #define GL_TEXTURE6                       0x84C6
237 #define GL_TEXTURE7                       0x84C7
238 #define GL_TEXTURE8                       0x84C8
239 #define GL_TEXTURE9                       0x84C9
240 #define GL_TEXTURE10                      0x84CA
241 #define GL_TEXTURE11                      0x84CB
242 #define GL_TEXTURE12                      0x84CC
243 #define GL_TEXTURE13                      0x84CD
244 #define GL_TEXTURE14                      0x84CE
245 #define GL_TEXTURE15                      0x84CF
246 #define GL_TEXTURE16                      0x84D0
247 #define GL_TEXTURE17                      0x84D1
248 #define GL_TEXTURE18                      0x84D2
249 #define GL_TEXTURE19                      0x84D3
250 #define GL_TEXTURE20                      0x84D4
251 #define GL_TEXTURE21                      0x84D5
252 #define GL_TEXTURE22                      0x84D6
253 #define GL_TEXTURE23                      0x84D7
254 #define GL_TEXTURE24                      0x84D8
255 #define GL_TEXTURE25                      0x84D9
256 #define GL_TEXTURE26                      0x84DA
257 #define GL_TEXTURE27                      0x84DB
258 #define GL_TEXTURE28                      0x84DC
259 #define GL_TEXTURE29                      0x84DD
260 #define GL_TEXTURE30                      0x84DE
261 #define GL_TEXTURE31                      0x84DF
262 #define GL_ACTIVE_TEXTURE                 0x84E0
263 #define GL_REPEAT                         0x2901
264 #define GL_CLAMP_TO_EDGE                  0x812F
265 #define GL_MIRRORED_REPEAT                0x8370
266 #define GL_SAMPLER_2D                     0x8B5E
267 #define GL_VERTEX_ATTRIB_ARRAY_ENABLED    0x8622
268 #define GL_VERTEX_ATTRIB_ARRAY_SIZE       0x8623
269 #define GL_VERTEX_ATTRIB_ARRAY_STRIDE     0x8624
270 #define GL_VERTEX_ATTRIB_ARRAY_TYPE       0x8625
271 #define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A
272 #define GL_VERTEX_ATTRIB_ARRAY_POINTER    0x8645
273 #define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F
274 #define GL_IMPLEMENTATION_COLOR_READ_TYPE 0x8B9A
275 #define GL_IMPLEMENTATION_COLOR_READ_FORMAT 0x8B9B
276 #define GL_NUM_PROGRAM_BINARY_FORMATS     0x87FE
277 #define GL_PROGRAM_BINARY_FORMATS         0x87FF
278 #define GL_LOW_FLOAT                      0x8DF0
279 #define GL_MEDIUM_FLOAT                   0x8DF1
280 #define GL_HIGH_FLOAT                     0x8DF2
281 #define GL_LOW_INT                        0x8DF3
282 #define GL_MEDIUM_INT                     0x8DF4
283 #define GL_HIGH_INT                       0x8DF5
284 #define GL_FRAMEBUFFER                    0x8D40
285 #define GL_RENDERBUFFER                   0x8D41
286 #define GL_R8                             0x8229
287 #define GL_RG8                            0x822B
288 #define GL_RGB8                           0x8051
289 #define GL_RGBA8                          0x8058
290 #define GL_RGBA4                          0x8056
291 #define GL_RGB5_A1                        0x8057
292 #define GL_RGB565                         0x8D62
293 #define GL_DEPTH_COMPONENT16              0x81A5
294 #define GL_STENCIL_INDEX8                 0x8D48
295 #define GL_RENDERBUFFER_WIDTH             0x8D42
296 #define GL_RENDERBUFFER_HEIGHT            0x8D43
297 #define GL_RENDERBUFFER_INTERNAL_FORMAT   0x8D44
298 #define GL_RENDERBUFFER_RED_SIZE          0x8D50
299 #define GL_RENDERBUFFER_GREEN_SIZE        0x8D51
300 #define GL_RENDERBUFFER_BLUE_SIZE         0x8D52
301 #define GL_RENDERBUFFER_ALPHA_SIZE        0x8D53
302 #define GL_RENDERBUFFER_DEPTH_SIZE        0x8D54
303 #define GL_RENDERBUFFER_STENCIL_SIZE      0x8D55
304 #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE 0x8CD0
305 #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME 0x8CD1
306 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL 0x8CD2
307 #define GL_COLOR_ATTACHMENT0              0x8CE0
308 #define GL_DEPTH_ATTACHMENT               0x8D00
309 #define GL_STENCIL_ATTACHMENT             0x8D20
310 #define GL_NONE                           0
311 #define GL_FRAMEBUFFER_COMPLETE           0x8CD5
312 #define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT 0x8CD6
313 #define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT 0x8CD7
314 #define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS 0x8CD9
315 #define GL_FRAMEBUFFER_UNSUPPORTED        0x8CDD
316 #define GL_FRAMEBUFFER_UNDEFINED          0x8219
317 #define GL_FRAMEBUFFER_BINDING            0x8CA6
318 #define GL_RENDERBUFFER_BINDING           0x8CA7
319 #define GL_MAX_RENDERBUFFER_SIZE          0x84E8
320 #define GL_GUILTY_CONTEXT_RESET           0x8253
321 #define GL_INNOCENT_CONTEXT_RESET         0x8254
322 #define GL_UNKNOWN_CONTEXT_RESET          0x8255
323 #define GL_CONTEXT_ROBUST_ACCESS          0x90F3
324 #define GL_RESET_NOTIFICATION_STRATEGY    0x8256
325 #define GL_LOSE_CONTEXT_ON_RESET          0x8252
326 GL_APICALL void GL_APIENTRY glActiveTexture (GLenum texture);
327 GL_APICALL void GL_APIENTRY glBindBuffer (GLenum target, GLuint buffer);
328 GL_APICALL void GL_APIENTRY glBindFramebuffer (GLenum target, GLuint framebuffer);
329 GL_APICALL void GL_APIENTRY glBindRenderbuffer (GLenum target, GLuint renderbuffer);
330 GL_APICALL void GL_APIENTRY glBindTexture (GLenum target, GLuint texture);
331 GL_APICALL void GL_APIENTRY glBlendColor (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
332 GL_APICALL void GL_APIENTRY glBlendEquation (GLenum mode);
333 GL_APICALL void GL_APIENTRY glBlendEquationSeparate (GLenum modeRGB, GLenum modeAlpha);
334 GL_APICALL void GL_APIENTRY glBlendFunc (GLenum sfactor, GLenum dfactor);
335 GL_APICALL void GL_APIENTRY glBlendFuncSeparate (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
336 GL_APICALL void GL_APIENTRY glBufferData (GLenum target, GLsizeiptr size, const void *data, GLenum usage);
337 GL_APICALL void GL_APIENTRY glBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const void *data);
338 GL_APICALL GLenum GL_APIENTRY glCheckFramebufferStatus (GLenum target);
339 GL_APICALL void GL_APIENTRY glClear (GLbitfield mask);
340 GL_APICALL void GL_APIENTRY glClearColor (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
341 GL_APICALL void GL_APIENTRY glClearDepthf (GLfloat d);
342 GL_APICALL void GL_APIENTRY glClearStencil (GLint s);
343 GL_APICALL void GL_APIENTRY glColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
344 GL_APICALL void GL_APIENTRY glCompressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
345 GL_APICALL GLuint GL_APIENTRY glCreateProgram (void);
346 GL_APICALL void GL_APIENTRY glCullFace (GLenum mode);
347 GL_APICALL void GL_APIENTRY glDepthFunc (GLenum func);
348 GL_APICALL void GL_APIENTRY glDepthMask (GLboolean flag);
349 GL_APICALL void GL_APIENTRY glDepthRangef (GLfloat n, GLfloat f);
350 GL_APICALL void GL_APIENTRY glDisable (GLenum cap);
351 GL_APICALL void GL_APIENTRY glDisableVertexAttribArray (GLuint index);
352 GL_APICALL void GL_APIENTRY glDrawArrays (GLenum mode, GLint first, GLsizei count);
353 GL_APICALL void GL_APIENTRY glDrawRangeElements (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices);
354 GL_APICALL void GL_APIENTRY glEnable (GLenum cap);
355 GL_APICALL void GL_APIENTRY glEnableVertexAttribArray (GLuint index);
356 GL_APICALL void GL_APIENTRY glFinish (void);
357 GL_APICALL void GL_APIENTRY glFlush (void);
358 GL_APICALL void GL_APIENTRY glFramebufferRenderbuffer (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
359 GL_APICALL void GL_APIENTRY glFramebufferTexture2D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
360 GL_APICALL void GL_APIENTRY glFrontFace (GLenum mode);
361 GL_APICALL void GL_APIENTRY glGenBuffers (GLsizei n, GLuint *buffers);
362 GL_APICALL void GL_APIENTRY glGenerateMipmap (GLenum target);
363 GL_APICALL void GL_APIENTRY glGenFramebuffers (GLsizei n, GLuint *framebuffers);
364 GL_APICALL void GL_APIENTRY glGenRenderbuffers (GLsizei n, GLuint *renderbuffers);
365 GL_APICALL void GL_APIENTRY glGenTextures (GLsizei n, GLuint *textures);
366 GL_APICALL GLint GL_APIENTRY glGetAttribLocation (GLuint program, const GLchar *name);
367 GL_APICALL void GL_APIENTRY glGetBooleanv (GLenum pname, GLboolean *data);
368 GL_APICALL void GL_APIENTRY glGetBufferParameteriv (GLenum target, GLenum pname, GLint *params);
369 GL_APICALL GLenum GL_APIENTRY glGetError (void);
370 GL_APICALL void GL_APIENTRY glGetFloatv (GLenum pname, GLfloat *data);
371 GL_APICALL void GL_APIENTRY glGetFramebufferAttachmentParameteriv (GLenum target, GLenum attachment, GLenum pname, GLint *params);
372 GL_APICALL GLenum GL_APIENTRY glGetGraphicsResetStatus (void);
373 GL_APICALL void GL_APIENTRY glGetIntegerv (GLenum pname, GLint *data);
374 GL_APICALL void GL_APIENTRY glGetProgramiv (GLuint program, GLenum pname, GLint *params);
375 GL_APICALL void GL_APIENTRY glGetRenderbufferParameteriv (GLenum target, GLenum pname, GLint *params);
376 GL_APICALL const GLubyte *GL_APIENTRY glGetString (GLenum name);
377 GL_APICALL void GL_APIENTRY glGetTexParameterfv (GLenum target, GLenum pname, GLfloat *params);
378 GL_APICALL void GL_APIENTRY glGetTexParameteriv (GLenum target, GLenum pname, GLint *params);
379 GL_APICALL void GL_APIENTRY glGetnUniformfv (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
380 GL_APICALL void GL_APIENTRY glGetnUniformiv (GLuint program, GLint location, GLsizei bufSize, GLint *params);
381 GL_APICALL GLint GL_APIENTRY glGetUniformLocation (GLuint program, const GLchar *name);
382 GL_APICALL void GL_APIENTRY glGetVertexAttribfv (GLuint index, GLenum pname, GLfloat *params);
383 GL_APICALL void GL_APIENTRY glGetVertexAttribiv (GLuint index, GLenum pname, GLint *params);
384 GL_APICALL void GL_APIENTRY glGetVertexAttribPointerv (GLuint index, GLenum pname, void **pointer);
385 GL_APICALL void GL_APIENTRY glHint (GLenum target, GLenum mode);
386 GL_APICALL GLboolean GL_APIENTRY glIsEnabled (GLenum cap);
387 GL_APICALL void GL_APIENTRY glLineWidth (GLfloat width);
388 GL_APICALL void GL_APIENTRY glPixelStorei (GLenum pname, GLint param);
389 GL_APICALL void GL_APIENTRY glPolygonOffset (GLfloat factor, GLfloat units);
390 GL_APICALL void GL_APIENTRY glProgramBinary (GLuint program, GLenum binaryFormat, const void *binary, GLsizei length);
391 GL_APICALL void GL_APIENTRY glReadnPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
392 GL_APICALL void GL_APIENTRY glRenderbufferStorage (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
393 GL_APICALL void GL_APIENTRY glSampleCoverage (GLfloat value, GLboolean invert);
394 GL_APICALL void GL_APIENTRY glScissor (GLint x, GLint y, GLsizei width, GLsizei height);
395 GL_APICALL void GL_APIENTRY glStencilFunc (GLenum func, GLint ref, GLuint mask);
396 GL_APICALL void GL_APIENTRY glStencilFuncSeparate (GLenum face, GLenum func, GLint ref, GLuint mask);
397 GL_APICALL void GL_APIENTRY glStencilMask (GLuint mask);
398 GL_APICALL void GL_APIENTRY glStencilMaskSeparate (GLenum face, GLuint mask);
399 GL_APICALL void GL_APIENTRY glStencilOp (GLenum fail, GLenum zfail, GLenum zpass);
400 GL_APICALL void GL_APIENTRY glStencilOpSeparate (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
401 GL_APICALL void GL_APIENTRY glTexStorage2D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
402 GL_APICALL void GL_APIENTRY glTexParameterf (GLenum target, GLenum pname, GLfloat param);
403 GL_APICALL void GL_APIENTRY glTexParameterfv (GLenum target, GLenum pname, const GLfloat *params);
404 GL_APICALL void GL_APIENTRY glTexParameteri (GLenum target, GLenum pname, GLint param);
405 GL_APICALL void GL_APIENTRY glTexParameteriv (GLenum target, GLenum pname, const GLint *params);
406 GL_APICALL void GL_APIENTRY glTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
407 GL_APICALL void GL_APIENTRY glUniform1f (GLint location, GLfloat v0);
408 GL_APICALL void GL_APIENTRY glUniform1fv (GLint location, GLsizei count, const GLfloat *value);
409 GL_APICALL void GL_APIENTRY glUniform1i (GLint location, GLint v0);
410 GL_APICALL void GL_APIENTRY glUniform1iv (GLint location, GLsizei count, const GLint *value);
411 GL_APICALL void GL_APIENTRY glUniform2f (GLint location, GLfloat v0, GLfloat v1);
412 GL_APICALL void GL_APIENTRY glUniform2fv (GLint location, GLsizei count, const GLfloat *value);
413 GL_APICALL void GL_APIENTRY glUniform2i (GLint location, GLint v0, GLint v1);
414 GL_APICALL void GL_APIENTRY glUniform2iv (GLint location, GLsizei count, const GLint *value);
415 GL_APICALL void GL_APIENTRY glUniform3f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
416 GL_APICALL void GL_APIENTRY glUniform3fv (GLint location, GLsizei count, const GLfloat *value);
417 GL_APICALL void GL_APIENTRY glUniform3i (GLint location, GLint v0, GLint v1, GLint v2);
418 GL_APICALL void GL_APIENTRY glUniform3iv (GLint location, GLsizei count, const GLint *value);
419 GL_APICALL void GL_APIENTRY glUniform4f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
420 GL_APICALL void GL_APIENTRY glUniform4fv (GLint location, GLsizei count, const GLfloat *value);
421 GL_APICALL void GL_APIENTRY glUniform4i (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
422 GL_APICALL void GL_APIENTRY glUniform4iv (GLint location, GLsizei count, const GLint *value);
423 GL_APICALL void GL_APIENTRY glUniformMatrix2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
424 GL_APICALL void GL_APIENTRY glUniformMatrix3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
425 GL_APICALL void GL_APIENTRY glUniformMatrix4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
426 GL_APICALL void GL_APIENTRY glUseProgram (GLuint program);
427 GL_APICALL void GL_APIENTRY glVertexAttrib1f (GLuint index, GLfloat x);
428 GL_APICALL void GL_APIENTRY glVertexAttrib1fv (GLuint index, const GLfloat *v);
429 GL_APICALL void GL_APIENTRY glVertexAttrib2f (GLuint index, GLfloat x, GLfloat y);
430 GL_APICALL void GL_APIENTRY glVertexAttrib2fv (GLuint index, const GLfloat *v);
431 GL_APICALL void GL_APIENTRY glVertexAttrib3f (GLuint index, GLfloat x, GLfloat y, GLfloat z);
432 GL_APICALL void GL_APIENTRY glVertexAttrib3fv (GLuint index, const GLfloat *v);
433 GL_APICALL void GL_APIENTRY glVertexAttrib4f (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
434 GL_APICALL void GL_APIENTRY glVertexAttrib4fv (GLuint index, const GLfloat *v);
435 GL_APICALL void GL_APIENTRY glVertexAttribPointer (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer);
436 GL_APICALL void GL_APIENTRY glViewport (GLint x, GLint y, GLsizei width, GLsizei height);
437 #endif /* GL_SC_VERSION_2_0 */
438 
439 #ifdef __cplusplus
440 }
441 #endif
442 
443 #endif
444