OLD | NEW |
1 #ifndef __gl2_h_ | 1 #ifndef __gl2_h_ |
2 #define __gl2_h_ 1 | 2 #define __gl2_h_ 1 |
3 | 3 |
4 #ifdef __cplusplus | 4 #ifdef __cplusplus |
5 extern "C" { | 5 extern "C" { |
6 #endif | 6 #endif |
7 | 7 |
8 /* | 8 /* |
9 ** Copyright (c) 2013-2014 The Khronos Group Inc. | 9 ** Copyright (c) 2013-2017 The Khronos Group Inc. |
10 ** | 10 ** |
11 ** Permission is hereby granted, free of charge, to any person obtaining a | 11 ** Permission is hereby granted, free of charge, to any person obtaining a |
12 ** copy of this software and/or associated documentation files (the | 12 ** copy of this software and/or associated documentation files (the |
13 ** "Materials"), to deal in the Materials without restriction, including | 13 ** "Materials"), to deal in the Materials without restriction, including |
14 ** without limitation the rights to use, copy, modify, merge, publish, | 14 ** without limitation the rights to use, copy, modify, merge, publish, |
15 ** distribute, sublicense, and/or sell copies of the Materials, and to | 15 ** distribute, sublicense, and/or sell copies of the Materials, and to |
16 ** permit persons to whom the Materials are furnished to do so, subject to | 16 ** permit persons to whom the Materials are furnished to do so, subject to |
17 ** the following conditions: | 17 ** the following conditions: |
18 ** | 18 ** |
19 ** The above copyright notice and this permission notice shall be included | 19 ** The above copyright notice and this permission notice shall be included |
20 ** in all copies or substantial portions of the Materials. | 20 ** in all copies or substantial portions of the Materials. |
21 ** | 21 ** |
22 ** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | 22 ** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, |
23 ** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | 23 ** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
24 ** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. | 24 ** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. |
25 ** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY | 25 ** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY |
26 ** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, | 26 ** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, |
27 ** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE | 27 ** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE |
28 ** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. | 28 ** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. |
29 */ | 29 */ |
30 /* | 30 /* |
31 ** This header is generated from the Khronos OpenGL / OpenGL ES XML | 31 ** This header is generated from the Khronos OpenGL / OpenGL ES XML |
32 ** API Registry. The current version of the Registry, generator scripts | 32 ** API Registry. The current version of the Registry, generator scripts |
33 ** used to make the header, and the header can be found at | 33 ** used to make the header, and the header can be found at |
34 ** http://www.opengl.org/registry/ | 34 ** https://github.com/KhronosGroup/OpenGL-Registry |
35 ** | |
36 ** Khronos $Revision: 28366 $ on $Date: 2014-10-20 11:29:02 +0200 (Mon, 20 Oct 2
014) $ | |
37 */ | 35 */ |
38 | 36 |
| 37 /* Chromium-specific GLES2 declarations */ |
39 #include <GLES2/gl2chromium.h> | 38 #include <GLES2/gl2chromium.h> |
| 39 |
40 #include <GLES2/gl2platform.h> | 40 #include <GLES2/gl2platform.h> |
41 | 41 |
42 /* Generated on date 20141020 */ | 42 #ifndef GL_APIENTRYP |
| 43 #define GL_APIENTRYP GL_APIENTRY* |
| 44 #endif |
| 45 |
| 46 #ifndef GL_GLES_PROTOTYPES |
| 47 #define GL_GLES_PROTOTYPES 1 |
| 48 #endif |
| 49 |
| 50 /* Generated on date 20170325 */ |
43 | 51 |
44 /* Generated C header for: | 52 /* Generated C header for: |
45 * API: gles2 | 53 * API: gles2 |
46 * Profile: common | 54 * Profile: common |
47 * Versions considered: 2\.[0-9] | 55 * Versions considered: 2\.[0-9] |
48 * Versions emitted: .* | 56 * Versions emitted: .* |
49 * Default extensions included: None | 57 * Default extensions included: None |
50 * Additional extensions included: _nomatch_^ | 58 * Additional extensions included: _nomatch_^ |
51 * Extensions removed: _nomatch_^ | 59 * Extensions removed: _nomatch_^ |
52 */ | 60 */ |
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
368 #define GL_NONE 0 | 376 #define GL_NONE 0 |
369 #define GL_FRAMEBUFFER_COMPLETE 0x8CD5 | 377 #define GL_FRAMEBUFFER_COMPLETE 0x8CD5 |
370 #define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT 0x8CD6 | 378 #define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT 0x8CD6 |
371 #define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT 0x8CD7 | 379 #define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT 0x8CD7 |
372 #define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS 0x8CD9 | 380 #define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS 0x8CD9 |
373 #define GL_FRAMEBUFFER_UNSUPPORTED 0x8CDD | 381 #define GL_FRAMEBUFFER_UNSUPPORTED 0x8CDD |
374 #define GL_FRAMEBUFFER_BINDING 0x8CA6 | 382 #define GL_FRAMEBUFFER_BINDING 0x8CA6 |
375 #define GL_RENDERBUFFER_BINDING 0x8CA7 | 383 #define GL_RENDERBUFFER_BINDING 0x8CA7 |
376 #define GL_MAX_RENDERBUFFER_SIZE 0x84E8 | 384 #define GL_MAX_RENDERBUFFER_SIZE 0x84E8 |
377 #define GL_INVALID_FRAMEBUFFER_OPERATION 0x0506 | 385 #define GL_INVALID_FRAMEBUFFER_OPERATION 0x0506 |
| 386 typedef void (GL_APIENTRYP PFNGLACTIVETEXTUREPROC) (GLenum texture); |
| 387 typedef void (GL_APIENTRYP PFNGLATTACHSHADERPROC) (GLuint program, GLuint shader
); |
| 388 typedef void (GL_APIENTRYP PFNGLBINDATTRIBLOCATIONPROC) (GLuint program, GLuint
index, const GLchar *name); |
| 389 typedef void (GL_APIENTRYP PFNGLBINDBUFFERPROC) (GLenum target, GLuint buffer); |
| 390 typedef void (GL_APIENTRYP PFNGLBINDFRAMEBUFFERPROC) (GLenum target, GLuint fram
ebuffer); |
| 391 typedef void (GL_APIENTRYP PFNGLBINDRENDERBUFFERPROC) (GLenum target, GLuint ren
derbuffer); |
| 392 typedef void (GL_APIENTRYP PFNGLBINDTEXTUREPROC) (GLenum target, GLuint texture)
; |
| 393 typedef void (GL_APIENTRYP PFNGLBLENDCOLORPROC) (GLfloat red, GLfloat green, GLf
loat blue, GLfloat alpha); |
| 394 typedef void (GL_APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode); |
| 395 typedef void (GL_APIENTRYP PFNGLBLENDEQUATIONSEPARATEPROC) (GLenum modeRGB, GLen
um modeAlpha); |
| 396 typedef void (GL_APIENTRYP PFNGLBLENDFUNCPROC) (GLenum sfactor, GLenum dfactor); |
| 397 typedef void (GL_APIENTRYP PFNGLBLENDFUNCSEPARATEPROC) (GLenum sfactorRGB, GLenu
m dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); |
| 398 typedef void (GL_APIENTRYP PFNGLBUFFERDATAPROC) (GLenum target, GLsizeiptr size,
const void *data, GLenum usage); |
| 399 typedef void (GL_APIENTRYP PFNGLBUFFERSUBDATAPROC) (GLenum target, GLintptr offs
et, GLsizeiptr size, const void *data); |
| 400 typedef GLenum (GL_APIENTRYP PFNGLCHECKFRAMEBUFFERSTATUSPROC) (GLenum target); |
| 401 typedef void (GL_APIENTRYP PFNGLCLEARPROC) (GLbitfield mask); |
| 402 typedef void (GL_APIENTRYP PFNGLCLEARCOLORPROC) (GLfloat red, GLfloat green, GLf
loat blue, GLfloat alpha); |
| 403 typedef void (GL_APIENTRYP PFNGLCLEARDEPTHFPROC) (GLfloat d); |
| 404 typedef void (GL_APIENTRYP PFNGLCLEARSTENCILPROC) (GLint s); |
| 405 typedef void (GL_APIENTRYP PFNGLCOLORMASKPROC) (GLboolean red, GLboolean green,
GLboolean blue, GLboolean alpha); |
| 406 typedef void (GL_APIENTRYP PFNGLCOMPILESHADERPROC) (GLuint shader); |
| 407 typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DPROC) (GLenum target, GLint
level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsiz
ei imageSize, const void *data); |
| 408 typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC) (GLenum target, GLi
nt level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum fo
rmat, GLsizei imageSize, const void *data); |
| 409 typedef void (GL_APIENTRYP PFNGLCOPYTEXIMAGE2DPROC) (GLenum target, GLint level,
GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint b
order); |
| 410 typedef void (GL_APIENTRYP PFNGLCOPYTEXSUBIMAGE2DPROC) (GLenum target, GLint lev
el, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei heigh
t); |
| 411 typedef GLuint (GL_APIENTRYP PFNGLCREATEPROGRAMPROC) (void); |
| 412 typedef GLuint (GL_APIENTRYP PFNGLCREATESHADERPROC) (GLenum type); |
| 413 typedef void (GL_APIENTRYP PFNGLCULLFACEPROC) (GLenum mode); |
| 414 typedef void (GL_APIENTRYP PFNGLDELETEBUFFERSPROC) (GLsizei n, const GLuint *buf
fers); |
| 415 typedef void (GL_APIENTRYP PFNGLDELETEFRAMEBUFFERSPROC) (GLsizei n, const GLuint
*framebuffers); |
| 416 typedef void (GL_APIENTRYP PFNGLDELETEPROGRAMPROC) (GLuint program); |
| 417 typedef void (GL_APIENTRYP PFNGLDELETERENDERBUFFERSPROC) (GLsizei n, const GLuin
t *renderbuffers); |
| 418 typedef void (GL_APIENTRYP PFNGLDELETESHADERPROC) (GLuint shader); |
| 419 typedef void (GL_APIENTRYP PFNGLDELETETEXTURESPROC) (GLsizei n, const GLuint *te
xtures); |
| 420 typedef void (GL_APIENTRYP PFNGLDEPTHFUNCPROC) (GLenum func); |
| 421 typedef void (GL_APIENTRYP PFNGLDEPTHMASKPROC) (GLboolean flag); |
| 422 typedef void (GL_APIENTRYP PFNGLDEPTHRANGEFPROC) (GLfloat n, GLfloat f); |
| 423 typedef void (GL_APIENTRYP PFNGLDETACHSHADERPROC) (GLuint program, GLuint shader
); |
| 424 typedef void (GL_APIENTRYP PFNGLDISABLEPROC) (GLenum cap); |
| 425 typedef void (GL_APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYPROC) (GLuint index); |
| 426 typedef void (GL_APIENTRYP PFNGLDRAWARRAYSPROC) (GLenum mode, GLint first, GLsiz
ei count); |
| 427 typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSPROC) (GLenum mode, GLsizei count, G
Lenum type, const void *indices); |
| 428 typedef void (GL_APIENTRYP PFNGLENABLEPROC) (GLenum cap); |
| 429 typedef void (GL_APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYPROC) (GLuint index); |
| 430 typedef void (GL_APIENTRYP PFNGLFINISHPROC) (void); |
| 431 typedef void (GL_APIENTRYP PFNGLFLUSHPROC) (void); |
| 432 typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERRENDERBUFFERPROC) (GLenum target, GLe
num attachment, GLenum renderbuffertarget, GLuint renderbuffer); |
| 433 typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DPROC) (GLenum target, GLenum
attachment, GLenum textarget, GLuint texture, GLint level); |
| 434 typedef void (GL_APIENTRYP PFNGLFRONTFACEPROC) (GLenum mode); |
| 435 typedef void (GL_APIENTRYP PFNGLGENBUFFERSPROC) (GLsizei n, GLuint *buffers); |
| 436 typedef void (GL_APIENTRYP PFNGLGENERATEMIPMAPPROC) (GLenum target); |
| 437 typedef void (GL_APIENTRYP PFNGLGENFRAMEBUFFERSPROC) (GLsizei n, GLuint *framebu
ffers); |
| 438 typedef void (GL_APIENTRYP PFNGLGENRENDERBUFFERSPROC) (GLsizei n, GLuint *render
buffers); |
| 439 typedef void (GL_APIENTRYP PFNGLGENTEXTURESPROC) (GLsizei n, GLuint *textures); |
| 440 typedef void (GL_APIENTRYP PFNGLGETACTIVEATTRIBPROC) (GLuint program, GLuint ind
ex, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); |
| 441 typedef void (GL_APIENTRYP PFNGLGETACTIVEUNIFORMPROC) (GLuint program, GLuint in
dex, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); |
| 442 typedef void (GL_APIENTRYP PFNGLGETATTACHEDSHADERSPROC) (GLuint program, GLsizei
maxCount, GLsizei *count, GLuint *shaders); |
| 443 typedef GLint (GL_APIENTRYP PFNGLGETATTRIBLOCATIONPROC) (GLuint program, const G
Lchar *name); |
| 444 typedef void (GL_APIENTRYP PFNGLGETBOOLEANVPROC) (GLenum pname, GLboolean *data)
; |
| 445 typedef void (GL_APIENTRYP PFNGLGETBUFFERPARAMETERIVPROC) (GLenum target, GLenum
pname, GLint *params); |
| 446 typedef GLenum (GL_APIENTRYP PFNGLGETERRORPROC) (void); |
| 447 typedef void (GL_APIENTRYP PFNGLGETFLOATVPROC) (GLenum pname, GLfloat *data); |
| 448 typedef void (GL_APIENTRYP PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC) (GLenum
target, GLenum attachment, GLenum pname, GLint *params); |
| 449 typedef void (GL_APIENTRYP PFNGLGETINTEGERVPROC) (GLenum pname, GLint *data); |
| 450 typedef void (GL_APIENTRYP PFNGLGETPROGRAMIVPROC) (GLuint program, GLenum pname,
GLint *params); |
| 451 typedef void (GL_APIENTRYP PFNGLGETPROGRAMINFOLOGPROC) (GLuint program, GLsizei
bufSize, GLsizei *length, GLchar *infoLog); |
| 452 typedef void (GL_APIENTRYP PFNGLGETRENDERBUFFERPARAMETERIVPROC) (GLenum target,
GLenum pname, GLint *params); |
| 453 typedef void (GL_APIENTRYP PFNGLGETSHADERIVPROC) (GLuint shader, GLenum pname, G
Lint *params); |
| 454 typedef void (GL_APIENTRYP PFNGLGETSHADERINFOLOGPROC) (GLuint shader, GLsizei bu
fSize, GLsizei *length, GLchar *infoLog); |
| 455 typedef void (GL_APIENTRYP PFNGLGETSHADERPRECISIONFORMATPROC) (GLenum shadertype
, GLenum precisiontype, GLint *range, GLint *precision); |
| 456 typedef void (GL_APIENTRYP PFNGLGETSHADERSOURCEPROC) (GLuint shader, GLsizei buf
Size, GLsizei *length, GLchar *source); |
| 457 typedef const GLubyte *(GL_APIENTRYP PFNGLGETSTRINGPROC) (GLenum name); |
| 458 typedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERFVPROC) (GLenum target, GLenum pn
ame, GLfloat *params); |
| 459 typedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERIVPROC) (GLenum target, GLenum pn
ame, GLint *params); |
| 460 typedef void (GL_APIENTRYP PFNGLGETUNIFORMFVPROC) (GLuint program, GLint locatio
n, GLfloat *params); |
| 461 typedef void (GL_APIENTRYP PFNGLGETUNIFORMIVPROC) (GLuint program, GLint locatio
n, GLint *params); |
| 462 typedef GLint (GL_APIENTRYP PFNGLGETUNIFORMLOCATIONPROC) (GLuint program, const
GLchar *name); |
| 463 typedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBFVPROC) (GLuint index, GLenum pna
me, GLfloat *params); |
| 464 typedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBIVPROC) (GLuint index, GLenum pna
me, GLint *params); |
| 465 typedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVPROC) (GLuint index, GLen
um pname, void **pointer); |
| 466 typedef void (GL_APIENTRYP PFNGLHINTPROC) (GLenum target, GLenum mode); |
| 467 typedef GLboolean (GL_APIENTRYP PFNGLISBUFFERPROC) (GLuint buffer); |
| 468 typedef GLboolean (GL_APIENTRYP PFNGLISENABLEDPROC) (GLenum cap); |
| 469 typedef GLboolean (GL_APIENTRYP PFNGLISFRAMEBUFFERPROC) (GLuint framebuffer); |
| 470 typedef GLboolean (GL_APIENTRYP PFNGLISPROGRAMPROC) (GLuint program); |
| 471 typedef GLboolean (GL_APIENTRYP PFNGLISRENDERBUFFERPROC) (GLuint renderbuffer); |
| 472 typedef GLboolean (GL_APIENTRYP PFNGLISSHADERPROC) (GLuint shader); |
| 473 typedef GLboolean (GL_APIENTRYP PFNGLISTEXTUREPROC) (GLuint texture); |
| 474 typedef void (GL_APIENTRYP PFNGLLINEWIDTHPROC) (GLfloat width); |
| 475 typedef void (GL_APIENTRYP PFNGLLINKPROGRAMPROC) (GLuint program); |
| 476 typedef void (GL_APIENTRYP PFNGLPIXELSTOREIPROC) (GLenum pname, GLint param); |
| 477 typedef void (GL_APIENTRYP PFNGLPOLYGONOFFSETPROC) (GLfloat factor, GLfloat unit
s); |
| 478 typedef void (GL_APIENTRYP PFNGLREADPIXELSPROC) (GLint x, GLint y, GLsizei width
, GLsizei height, GLenum format, GLenum type, void *pixels); |
| 479 typedef void (GL_APIENTRYP PFNGLRELEASESHADERCOMPILERPROC) (void); |
| 480 typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEPROC) (GLenum target, GLenum
internalformat, GLsizei width, GLsizei height); |
| 481 typedef void (GL_APIENTRYP PFNGLSAMPLECOVERAGEPROC) (GLfloat value, GLboolean in
vert); |
| 482 typedef void (GL_APIENTRYP PFNGLSCISSORPROC) (GLint x, GLint y, GLsizei width, G
Lsizei height); |
| 483 typedef void (GL_APIENTRYP PFNGLSHADERBINARYPROC) (GLsizei count, const GLuint *
shaders, GLenum binaryformat, const void *binary, GLsizei length); |
| 484 typedef void (GL_APIENTRYP PFNGLSHADERSOURCEPROC) (GLuint shader, GLsizei count,
const GLchar *const*string, const GLint *length); |
| 485 typedef void (GL_APIENTRYP PFNGLSTENCILFUNCPROC) (GLenum func, GLint ref, GLuint
mask); |
| 486 typedef void (GL_APIENTRYP PFNGLSTENCILFUNCSEPARATEPROC) (GLenum face, GLenum fu
nc, GLint ref, GLuint mask); |
| 487 typedef void (GL_APIENTRYP PFNGLSTENCILMASKPROC) (GLuint mask); |
| 488 typedef void (GL_APIENTRYP PFNGLSTENCILMASKSEPARATEPROC) (GLenum face, GLuint ma
sk); |
| 489 typedef void (GL_APIENTRYP PFNGLSTENCILOPPROC) (GLenum fail, GLenum zfail, GLenu
m zpass); |
| 490 typedef void (GL_APIENTRYP PFNGLSTENCILOPSEPARATEPROC) (GLenum face, GLenum sfai
l, GLenum dpfail, GLenum dppass); |
| 491 typedef void (GL_APIENTRYP PFNGLTEXIMAGE2DPROC) (GLenum target, GLint level, GLi
nt internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, G
Lenum type, const void *pixels); |
| 492 typedef void (GL_APIENTRYP PFNGLTEXPARAMETERFPROC) (GLenum target, GLenum pname,
GLfloat param); |
| 493 typedef void (GL_APIENTRYP PFNGLTEXPARAMETERFVPROC) (GLenum target, GLenum pname
, const GLfloat *params); |
| 494 typedef void (GL_APIENTRYP PFNGLTEXPARAMETERIPROC) (GLenum target, GLenum pname,
GLint param); |
| 495 typedef void (GL_APIENTRYP PFNGLTEXPARAMETERIVPROC) (GLenum target, GLenum pname
, const GLint *params); |
| 496 typedef void (GL_APIENTRYP PFNGLTEXSUBIMAGE2DPROC) (GLenum target, GLint level,
GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLen
um type, const void *pixels); |
| 497 typedef void (GL_APIENTRYP PFNGLUNIFORM1FPROC) (GLint location, GLfloat v0); |
| 498 typedef void (GL_APIENTRYP PFNGLUNIFORM1FVPROC) (GLint location, GLsizei count,
const GLfloat *value); |
| 499 typedef void (GL_APIENTRYP PFNGLUNIFORM1IPROC) (GLint location, GLint v0); |
| 500 typedef void (GL_APIENTRYP PFNGLUNIFORM1IVPROC) (GLint location, GLsizei count,
const GLint *value); |
| 501 typedef void (GL_APIENTRYP PFNGLUNIFORM2FPROC) (GLint location, GLfloat v0, GLfl
oat v1); |
| 502 typedef void (GL_APIENTRYP PFNGLUNIFORM2FVPROC) (GLint location, GLsizei count,
const GLfloat *value); |
| 503 typedef void (GL_APIENTRYP PFNGLUNIFORM2IPROC) (GLint location, GLint v0, GLint
v1); |
| 504 typedef void (GL_APIENTRYP PFNGLUNIFORM2IVPROC) (GLint location, GLsizei count,
const GLint *value); |
| 505 typedef void (GL_APIENTRYP PFNGLUNIFORM3FPROC) (GLint location, GLfloat v0, GLfl
oat v1, GLfloat v2); |
| 506 typedef void (GL_APIENTRYP PFNGLUNIFORM3FVPROC) (GLint location, GLsizei count,
const GLfloat *value); |
| 507 typedef void (GL_APIENTRYP PFNGLUNIFORM3IPROC) (GLint location, GLint v0, GLint
v1, GLint v2); |
| 508 typedef void (GL_APIENTRYP PFNGLUNIFORM3IVPROC) (GLint location, GLsizei count,
const GLint *value); |
| 509 typedef void (GL_APIENTRYP PFNGLUNIFORM4FPROC) (GLint location, GLfloat v0, GLfl
oat v1, GLfloat v2, GLfloat v3); |
| 510 typedef void (GL_APIENTRYP PFNGLUNIFORM4FVPROC) (GLint location, GLsizei count,
const GLfloat *value); |
| 511 typedef void (GL_APIENTRYP PFNGLUNIFORM4IPROC) (GLint location, GLint v0, GLint
v1, GLint v2, GLint v3); |
| 512 typedef void (GL_APIENTRYP PFNGLUNIFORM4IVPROC) (GLint location, GLsizei count,
const GLint *value); |
| 513 typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX2FVPROC) (GLint location, GLsizei c
ount, GLboolean transpose, const GLfloat *value); |
| 514 typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX3FVPROC) (GLint location, GLsizei c
ount, GLboolean transpose, const GLfloat *value); |
| 515 typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX4FVPROC) (GLint location, GLsizei c
ount, GLboolean transpose, const GLfloat *value); |
| 516 typedef void (GL_APIENTRYP PFNGLUSEPROGRAMPROC) (GLuint program); |
| 517 typedef void (GL_APIENTRYP PFNGLVALIDATEPROGRAMPROC) (GLuint program); |
| 518 typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB1FPROC) (GLuint index, GLfloat x); |
| 519 typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB1FVPROC) (GLuint index, const GLfloa
t *v); |
| 520 typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB2FPROC) (GLuint index, GLfloat x, GL
float y); |
| 521 typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB2FVPROC) (GLuint index, const GLfloa
t *v); |
| 522 typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB3FPROC) (GLuint index, GLfloat x, GL
float y, GLfloat z); |
| 523 typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB3FVPROC) (GLuint index, const GLfloa
t *v); |
| 524 typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB4FPROC) (GLuint index, GLfloat x, GL
float y, GLfloat z, GLfloat w); |
| 525 typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB4FVPROC) (GLuint index, const GLfloa
t *v); |
| 526 typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBPOINTERPROC) (GLuint index, GLint si
ze, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer); |
| 527 typedef void (GL_APIENTRYP PFNGLVIEWPORTPROC) (GLint x, GLint y, GLsizei width,
GLsizei height); |
| 528 #if GL_GLES_PROTOTYPES |
378 GL_APICALL void GL_APIENTRY glActiveTexture (GLenum texture); | 529 GL_APICALL void GL_APIENTRY glActiveTexture (GLenum texture); |
379 GL_APICALL void GL_APIENTRY glAttachShader (GLuint program, GLuint shader); | 530 GL_APICALL void GL_APIENTRY glAttachShader (GLuint program, GLuint shader); |
380 GL_APICALL void GL_APIENTRY glBindAttribLocation (GLuint program, GLuint index,
const GLchar *name); | 531 GL_APICALL void GL_APIENTRY glBindAttribLocation (GLuint program, GLuint index,
const GLchar *name); |
381 GL_APICALL void GL_APIENTRY glBindBuffer (GLenum target, GLuint buffer); | 532 GL_APICALL void GL_APIENTRY glBindBuffer (GLenum target, GLuint buffer); |
382 GL_APICALL void GL_APIENTRY glBindFramebuffer (GLenum target, GLuint framebuffer
); | 533 GL_APICALL void GL_APIENTRY glBindFramebuffer (GLenum target, GLuint framebuffer
); |
383 GL_APICALL void GL_APIENTRY glBindRenderbuffer (GLenum target, GLuint renderbuff
er); | 534 GL_APICALL void GL_APIENTRY glBindRenderbuffer (GLenum target, GLuint renderbuff
er); |
384 GL_APICALL void GL_APIENTRY glBindTexture (GLenum target, GLuint texture); | 535 GL_APICALL void GL_APIENTRY glBindTexture (GLenum target, GLuint texture); |
385 GL_APICALL void GL_APIENTRY glBlendColor (GLfloat red, GLfloat green, GLfloat bl
ue, GLfloat alpha); | 536 GL_APICALL void GL_APIENTRY glBlendColor (GLfloat red, GLfloat green, GLfloat bl
ue, GLfloat alpha); |
386 GL_APICALL void GL_APIENTRY glBlendEquation (GLenum mode); | 537 GL_APICALL void GL_APIENTRY glBlendEquation (GLenum mode); |
387 GL_APICALL void GL_APIENTRY glBlendEquationSeparate (GLenum modeRGB, GLenum mode
Alpha); | 538 GL_APICALL void GL_APIENTRY glBlendEquationSeparate (GLenum modeRGB, GLenum mode
Alpha); |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
510 GL_APICALL void GL_APIENTRY glVertexAttrib1f (GLuint index, GLfloat x); | 661 GL_APICALL void GL_APIENTRY glVertexAttrib1f (GLuint index, GLfloat x); |
511 GL_APICALL void GL_APIENTRY glVertexAttrib1fv (GLuint index, const GLfloat *v); | 662 GL_APICALL void GL_APIENTRY glVertexAttrib1fv (GLuint index, const GLfloat *v); |
512 GL_APICALL void GL_APIENTRY glVertexAttrib2f (GLuint index, GLfloat x, GLfloat y
); | 663 GL_APICALL void GL_APIENTRY glVertexAttrib2f (GLuint index, GLfloat x, GLfloat y
); |
513 GL_APICALL void GL_APIENTRY glVertexAttrib2fv (GLuint index, const GLfloat *v); | 664 GL_APICALL void GL_APIENTRY glVertexAttrib2fv (GLuint index, const GLfloat *v); |
514 GL_APICALL void GL_APIENTRY glVertexAttrib3f (GLuint index, GLfloat x, GLfloat y
, GLfloat z); | 665 GL_APICALL void GL_APIENTRY glVertexAttrib3f (GLuint index, GLfloat x, GLfloat y
, GLfloat z); |
515 GL_APICALL void GL_APIENTRY glVertexAttrib3fv (GLuint index, const GLfloat *v); | 666 GL_APICALL void GL_APIENTRY glVertexAttrib3fv (GLuint index, const GLfloat *v); |
516 GL_APICALL void GL_APIENTRY glVertexAttrib4f (GLuint index, GLfloat x, GLfloat y
, GLfloat z, GLfloat w); | 667 GL_APICALL void GL_APIENTRY glVertexAttrib4f (GLuint index, GLfloat x, GLfloat y
, GLfloat z, GLfloat w); |
517 GL_APICALL void GL_APIENTRY glVertexAttrib4fv (GLuint index, const GLfloat *v); | 668 GL_APICALL void GL_APIENTRY glVertexAttrib4fv (GLuint index, const GLfloat *v); |
518 GL_APICALL void GL_APIENTRY glVertexAttribPointer (GLuint index, GLint size, GLe
num type, GLboolean normalized, GLsizei stride, const void *pointer); | 669 GL_APICALL void GL_APIENTRY glVertexAttribPointer (GLuint index, GLint size, GLe
num type, GLboolean normalized, GLsizei stride, const void *pointer); |
519 GL_APICALL void GL_APIENTRY glViewport (GLint x, GLint y, GLsizei width, GLsizei
height); | 670 GL_APICALL void GL_APIENTRY glViewport (GLint x, GLint y, GLsizei width, GLsizei
height); |
| 671 #endif |
520 #endif /* GL_ES_VERSION_2_0 */ | 672 #endif /* GL_ES_VERSION_2_0 */ |
521 | 673 |
522 #ifdef __cplusplus | 674 #ifdef __cplusplus |
523 } | 675 } |
524 #endif | 676 #endif |
525 | 677 |
526 #endif | 678 #endif |
OLD | NEW |