OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // This file is read by build_gles2_cmd_buffer.py to generate commands. | 5 // This file is read by build_gles2_cmd_buffer.py to generate commands. |
6 | 6 |
7 GL_APICALL void GL_APIENTRY glActiveTexture (GLenum texture); | 7 GL_APICALL void GL_APIENTRY glActiveTexture (GLenum texture); |
8 GL_APICALL void GL_APIENTRY glAttachShader (GLidProgram program, GLidSha
der shader); | 8 GL_APICALL void GL_APIENTRY glAttachShader (GLidProgram program, GLidSha
der shader); |
9 GL_APICALL void GL_APIENTRY glBindAttribLocation (GLidProgram program, G
Luint index, const char* name); | 9 GL_APICALL void GL_APIENTRY glBindAttribLocation (GLidProgram program, G
Luint index, const char* name); |
10 GL_APICALL void GL_APIENTRY glBindBuffer (GLenumBufferTarget target, GLi
dBindBuffer buffer); | 10 GL_APICALL void GL_APIENTRY glBindBuffer (GLenumBufferTarget target, GLi
dBindBuffer buffer); |
(...skipping 28 matching lines...) Loading... |
39 GL_APICALL void GL_APIENTRY glCopyTexImage2D (GLenumTextureTarget target
, GLint level, GLenumTextureInternalFormat internalformat, GLint x, GLint y, GLs
izei width, GLsizei height, GLintTextureBorder border); | 39 GL_APICALL void GL_APIENTRY glCopyTexImage2D (GLenumTextureTarget target
, GLint level, GLenumTextureInternalFormat internalformat, GLint x, GLint y, GLs
izei width, GLsizei height, GLintTextureBorder border); |
40 GL_APICALL void GL_APIENTRY glCopyTexSubImage2D (GLenumTextureTarget tar
get, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width,
GLsizei height); | 40 GL_APICALL void GL_APIENTRY glCopyTexSubImage2D (GLenumTextureTarget tar
get, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width,
GLsizei height); |
41 GL_APICALL GLuint GL_APIENTRY glCreateProgram (void); | 41 GL_APICALL GLuint GL_APIENTRY glCreateProgram (void); |
42 GL_APICALL GLuint GL_APIENTRY glCreateShader (GLenumShaderType type); | 42 GL_APICALL GLuint GL_APIENTRY glCreateShader (GLenumShaderType type); |
43 GL_APICALL void GL_APIENTRY glCullFace (GLenumFaceType mode); | 43 GL_APICALL void GL_APIENTRY glCullFace (GLenumFaceType mode); |
44 GL_APICALL void GL_APIENTRY glDeleteBuffers (GLsizeiNotNegative n, const
GLuint* buffers); | 44 GL_APICALL void GL_APIENTRY glDeleteBuffers (GLsizeiNotNegative n, const
GLuint* buffers); |
45 GL_APICALL void GL_APIENTRY glDeleteFramebuffers (GLsizeiNotNegative n,
const GLuint* framebuffers); | 45 GL_APICALL void GL_APIENTRY glDeleteFramebuffers (GLsizeiNotNegative n,
const GLuint* framebuffers); |
46 GL_APICALL void GL_APIENTRY glDeleteProgram (GLidProgram program); | 46 GL_APICALL void GL_APIENTRY glDeleteProgram (GLidProgram program); |
47 GL_APICALL void GL_APIENTRY glDeleteRenderbuffers (GLsizeiNotNegative n,
const GLuint* renderbuffers); | 47 GL_APICALL void GL_APIENTRY glDeleteRenderbuffers (GLsizeiNotNegative n,
const GLuint* renderbuffers); |
48 GL_APICALL void GL_APIENTRY glDeleteSamplers (GLsizeiNotNegative n, cons
t GLuint* samplers); | 48 GL_APICALL void GL_APIENTRY glDeleteSamplers (GLsizeiNotNegative n, cons
t GLuint* samplers); |
| 49 GL_APICALL void GL_APIENTRY glDeleteSync (GLidSync sync); |
49 GL_APICALL void GL_APIENTRY glDeleteShader (GLidShader shader); | 50 GL_APICALL void GL_APIENTRY glDeleteShader (GLidShader shader); |
50 GL_APICALL void GL_APIENTRY glDeleteTextures (GLsizeiNotNegative n, cons
t GLuint* textures); | 51 GL_APICALL void GL_APIENTRY glDeleteTextures (GLsizeiNotNegative n, cons
t GLuint* textures); |
51 GL_APICALL void GL_APIENTRY glDeleteTransformFeedbacks (GLsizeiNotNegati
ve n, const GLuint* ids); | 52 GL_APICALL void GL_APIENTRY glDeleteTransformFeedbacks (GLsizeiNotNegati
ve n, const GLuint* ids); |
52 GL_APICALL void GL_APIENTRY glDepthFunc (GLenumCmpFunction func); | 53 GL_APICALL void GL_APIENTRY glDepthFunc (GLenumCmpFunction func); |
53 GL_APICALL void GL_APIENTRY glDepthMask (GLboolean flag); | 54 GL_APICALL void GL_APIENTRY glDepthMask (GLboolean flag); |
54 GL_APICALL void GL_APIENTRY glDepthRangef (GLclampf zNear, GLclampf zFar
); | 55 GL_APICALL void GL_APIENTRY glDepthRangef (GLclampf zNear, GLclampf zFar
); |
55 GL_APICALL void GL_APIENTRY glDetachShader (GLidProgram program, GLidSha
der shader); | 56 GL_APICALL void GL_APIENTRY glDetachShader (GLidProgram program, GLidSha
der shader); |
56 GL_APICALL void GL_APIENTRY glDisable (GLenumCapability cap); | 57 GL_APICALL void GL_APIENTRY glDisable (GLenumCapability cap); |
57 GL_APICALL void GL_APIENTRY glDisableVertexAttribArray (GLuint index); | 58 GL_APICALL void GL_APIENTRY glDisableVertexAttribArray (GLuint index); |
58 GL_APICALL void GL_APIENTRY glDrawArrays (GLenumDrawMode mode, GLint fir
st, GLsizei count); | 59 GL_APICALL void GL_APIENTRY glDrawArrays (GLenumDrawMode mode, GLint fir
st, GLsizei count); |
59 GL_APICALL void GL_APIENTRY glDrawElements (GLenumDrawMode mode, GLsizei
count, GLenumIndexType type, const void* indices); | 60 GL_APICALL void GL_APIENTRY glDrawElements (GLenumDrawMode mode, GLsizei
count, GLenumIndexType type, const void* indices); |
60 GL_APICALL void GL_APIENTRY glEnable (GLenumCapability cap); | 61 GL_APICALL void GL_APIENTRY glEnable (GLenumCapability cap); |
61 GL_APICALL void GL_APIENTRY glEnableVertexAttribArray (GLuint index); | 62 GL_APICALL void GL_APIENTRY glEnableVertexAttribArray (GLuint index); |
| 63 GL_APICALL GLsync GL_APIENTRY glFenceSync (GLenumSyncCondition condition,
GLbitfieldSyncFlags flags); |
62 GL_APICALL void GL_APIENTRY glFinish (void); | 64 GL_APICALL void GL_APIENTRY glFinish (void); |
63 GL_APICALL void GL_APIENTRY glFlush (void); | 65 GL_APICALL void GL_APIENTRY glFlush (void); |
64 GL_APICALL void GL_APIENTRY glFramebufferRenderbuffer (GLenumFrameBuffer
Target target, GLenumAttachment attachment, GLenumRenderBufferTarget renderbuffe
rtarget, GLidRenderbuffer renderbuffer); | 66 GL_APICALL void GL_APIENTRY glFramebufferRenderbuffer (GLenumFrameBuffer
Target target, GLenumAttachment attachment, GLenumRenderBufferTarget renderbuffe
rtarget, GLidRenderbuffer renderbuffer); |
65 GL_APICALL void GL_APIENTRY glFramebufferTexture2D (GLenumFrameBufferTar
get target, GLenumAttachment attachment, GLenumTextureTarget textarget, GLidText
ure texture, GLintZeroOnly level); | 67 GL_APICALL void GL_APIENTRY glFramebufferTexture2D (GLenumFrameBufferTar
get target, GLenumAttachment attachment, GLenumTextureTarget textarget, GLidText
ure texture, GLintZeroOnly level); |
66 GL_APICALL void GL_APIENTRY glFramebufferTextureLayer (GLenumFrameBuffer
Target target, GLenumAttachment attachment, GLidTexture texture, GLint level, GL
int layer); | 68 GL_APICALL void GL_APIENTRY glFramebufferTextureLayer (GLenumFrameBuffer
Target target, GLenumAttachment attachment, GLidTexture texture, GLint level, GL
int layer); |
67 GL_APICALL void GL_APIENTRY glFrontFace (GLenumFaceMode mode); | 69 GL_APICALL void GL_APIENTRY glFrontFace (GLenumFaceMode mode); |
68 GL_APICALL void GL_APIENTRY glGenBuffers (GLsizeiNotNegative n, GLuint*
buffers); | 70 GL_APICALL void GL_APIENTRY glGenBuffers (GLsizeiNotNegative n, GLuint*
buffers); |
69 GL_APICALL void GL_APIENTRY glGenerateMipmap (GLenumTextureBindTarget ta
rget); | 71 GL_APICALL void GL_APIENTRY glGenerateMipmap (GLenumTextureBindTarget ta
rget); |
70 GL_APICALL void GL_APIENTRY glGenFramebuffers (GLsizeiNotNegative n, GLu
int* framebuffers); | 72 GL_APICALL void GL_APIENTRY glGenFramebuffers (GLsizeiNotNegative n, GLu
int* framebuffers); |
71 GL_APICALL void GL_APIENTRY glGenRenderbuffers (GLsizeiNotNegative n, GL
uint* renderbuffers); | 73 GL_APICALL void GL_APIENTRY glGenRenderbuffers (GLsizeiNotNegative n, GL
uint* renderbuffers); |
(...skipping 32 matching lines...) Loading... |
104 GL_APICALL void GL_APIENTRY glHint (GLenumHintTarget target, GLenumHintM
ode mode); | 106 GL_APICALL void GL_APIENTRY glHint (GLenumHintTarget target, GLenumHintM
ode mode); |
105 GL_APICALL void GL_APIENTRY glInvalidateFramebuffer (GLenumFrameBufferTa
rget target, GLsizeiNotNegative count, const GLenum* attachments); | 107 GL_APICALL void GL_APIENTRY glInvalidateFramebuffer (GLenumFrameBufferTa
rget target, GLsizeiNotNegative count, const GLenum* attachments); |
106 GL_APICALL void GL_APIENTRY glInvalidateSubFramebuffer (GLenumFrameBuffe
rTarget target, GLsizeiNotNegative count, const GLenum* attachments, GLint x, GL
int y, GLsizei width, GLsizei height); | 108 GL_APICALL void GL_APIENTRY glInvalidateSubFramebuffer (GLenumFrameBuffe
rTarget target, GLsizeiNotNegative count, const GLenum* attachments, GLint x, GL
int y, GLsizei width, GLsizei height); |
107 GL_APICALL GLboolean GL_APIENTRY glIsBuffer (GLidBuffer buffer); | 109 GL_APICALL GLboolean GL_APIENTRY glIsBuffer (GLidBuffer buffer); |
108 GL_APICALL GLboolean GL_APIENTRY glIsEnabled (GLenumCapability cap); | 110 GL_APICALL GLboolean GL_APIENTRY glIsEnabled (GLenumCapability cap); |
109 GL_APICALL GLboolean GL_APIENTRY glIsFramebuffer (GLidFramebuffer framebuffer
); | 111 GL_APICALL GLboolean GL_APIENTRY glIsFramebuffer (GLidFramebuffer framebuffer
); |
110 GL_APICALL GLboolean GL_APIENTRY glIsProgram (GLidProgram program); | 112 GL_APICALL GLboolean GL_APIENTRY glIsProgram (GLidProgram program); |
111 GL_APICALL GLboolean GL_APIENTRY glIsRenderbuffer (GLidRenderbuffer renderbuf
fer); | 113 GL_APICALL GLboolean GL_APIENTRY glIsRenderbuffer (GLidRenderbuffer renderbuf
fer); |
112 GL_APICALL GLboolean GL_APIENTRY glIsSampler (GLidSampler sampler); | 114 GL_APICALL GLboolean GL_APIENTRY glIsSampler (GLidSampler sampler); |
113 GL_APICALL GLboolean GL_APIENTRY glIsShader (GLidShader shader); | 115 GL_APICALL GLboolean GL_APIENTRY glIsShader (GLidShader shader); |
| 116 GL_APICALL GLboolean GL_APIENTRY glIsSync (GLidSync sync); |
114 GL_APICALL GLboolean GL_APIENTRY glIsTexture (GLidTexture texture); | 117 GL_APICALL GLboolean GL_APIENTRY glIsTexture (GLidTexture texture); |
115 GL_APICALL GLboolean GL_APIENTRY glIsTransformFeedback (GLidTransformFeedback
transformfeedback); | 118 GL_APICALL GLboolean GL_APIENTRY glIsTransformFeedback (GLidTransformFeedback
transformfeedback); |
116 GL_APICALL void GL_APIENTRY glLineWidth (GLfloat width); | 119 GL_APICALL void GL_APIENTRY glLineWidth (GLfloat width); |
117 GL_APICALL void GL_APIENTRY glLinkProgram (GLidProgram program); | 120 GL_APICALL void GL_APIENTRY glLinkProgram (GLidProgram program); |
118 GL_APICALL void GL_APIENTRY glPauseTransformFeedback (void); | 121 GL_APICALL void GL_APIENTRY glPauseTransformFeedback (void); |
119 GL_APICALL void GL_APIENTRY glPixelStorei (GLenumPixelStore pname, GLint
PixelStoreAlignment param); | 122 GL_APICALL void GL_APIENTRY glPixelStorei (GLenumPixelStore pname, GLint
PixelStoreAlignment param); |
120 GL_APICALL void GL_APIENTRY glPolygonOffset (GLfloat factor, GLfloat uni
ts); | 123 GL_APICALL void GL_APIENTRY glPolygonOffset (GLfloat factor, GLfloat uni
ts); |
121 GL_APICALL void GL_APIENTRY glReadBuffer (GLenum src); | 124 GL_APICALL void GL_APIENTRY glReadBuffer (GLenum src); |
122 GL_APICALL void GL_APIENTRY glReadPixels (GLint x, GLint y, GLsizei widt
h, GLsizei height, GLenumReadPixelFormat format, GLenumPixelType type, void* pix
els); | 125 GL_APICALL void GL_APIENTRY glReadPixels (GLint x, GLint y, GLsizei widt
h, GLsizei height, GLenumReadPixelFormat format, GLenumPixelType type, void* pix
els); |
123 GL_APICALL void GL_APIENTRY glReleaseShaderCompiler (void); | 126 GL_APICALL void GL_APIENTRY glReleaseShaderCompiler (void); |
(...skipping 152 matching lines...) Loading... |
276 GL_APICALL void GL_APIENTRY glDiscardBackbufferCHROMIUM (void); | 279 GL_APICALL void GL_APIENTRY glDiscardBackbufferCHROMIUM (void); |
277 GL_APICALL void GL_APIENTRY glScheduleOverlayPlaneCHROMIUM (GLint plane_
z_order, GLenum plane_transform, GLuint overlay_texture_id, GLint bounds_x, GLin
t bounds_y, GLint bounds_width, GLint bounds_height, GLfloat uv_x, GLfloat uv_y,
GLfloat uv_width, GLfloat uv_height); | 280 GL_APICALL void GL_APIENTRY glScheduleOverlayPlaneCHROMIUM (GLint plane_
z_order, GLenum plane_transform, GLuint overlay_texture_id, GLint bounds_x, GLin
t bounds_y, GLint bounds_width, GLint bounds_height, GLfloat uv_x, GLfloat uv_y,
GLfloat uv_width, GLfloat uv_height); |
278 GL_APICALL void GL_APIENTRY glSwapInterval (GLint interval); | 281 GL_APICALL void GL_APIENTRY glSwapInterval (GLint interval); |
279 | 282 |
280 // Extension CHROMIUM_path_rendering. | 283 // Extension CHROMIUM_path_rendering. |
281 GL_APICALL void GL_APIENTRY glMatrixLoadfCHROMIUM (GLenumMatrixMode matr
ixMode, const GLfloat* m); | 284 GL_APICALL void GL_APIENTRY glMatrixLoadfCHROMIUM (GLenumMatrixMode matr
ixMode, const GLfloat* m); |
282 GL_APICALL void GL_APIENTRY glMatrixLoadIdentityCHROMIUM (GLenumMatrixMo
de matrixMode); | 285 GL_APICALL void GL_APIENTRY glMatrixLoadIdentityCHROMIUM (GLenumMatrixMo
de matrixMode); |
283 | 286 |
284 // Extension KHR_blend_equation_advanced | 287 // Extension KHR_blend_equation_advanced |
285 GL_APICALL void GL_APIENTRY glBlendBarrierKHR (void); | 288 GL_APICALL void GL_APIENTRY glBlendBarrierKHR (void); |
OLD | NEW |