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 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
166 GL_APICALL GLboolean GL_APIENTRY glIsVertexArrayOES (GLidVertexArray array); | 166 GL_APICALL GLboolean GL_APIENTRY glIsVertexArrayOES (GLidVertexArray array); |
167 GL_APICALL void GL_APIENTRY glBindVertexArrayOES (GLidBindVertexArray ar
ray); | 167 GL_APICALL void GL_APIENTRY glBindVertexArrayOES (GLidBindVertexArray ar
ray); |
168 | 168 |
169 // Non-GL commands. | 169 // Non-GL commands. |
170 GL_APICALL void GL_APIENTRY glSwapBuffers (void); | 170 GL_APICALL void GL_APIENTRY glSwapBuffers (void); |
171 GL_APICALL GLuint GL_APIENTRY glGetMaxValueInBufferCHROMIUM (GLidBuffer bu
ffer_id, GLsizei count, GLenumGetMaxIndexType type, GLuint offset); | 171 GL_APICALL GLuint GL_APIENTRY glGetMaxValueInBufferCHROMIUM (GLidBuffer bu
ffer_id, GLsizei count, GLenumGetMaxIndexType type, GLuint offset); |
172 GL_APICALL void GL_APIENTRY glGenSharedIdsCHROMIUM (GLuint namespace_id,
GLuint id_offset, GLsizeiNotNegative n, GLuint* ids); | 172 GL_APICALL void GL_APIENTRY glGenSharedIdsCHROMIUM (GLuint namespace_id,
GLuint id_offset, GLsizeiNotNegative n, GLuint* ids); |
173 GL_APICALL void GL_APIENTRY glDeleteSharedIdsCHROMIUM (GLuint namespace_
id, GLsizeiNotNegative n, const GLuint* ids); | 173 GL_APICALL void GL_APIENTRY glDeleteSharedIdsCHROMIUM (GLuint namespace_
id, GLsizeiNotNegative n, const GLuint* ids); |
174 GL_APICALL void GL_APIENTRY glRegisterSharedIdsCHROMIUM (GLuint namespac
e_id, GLsizeiNotNegative n, const GLuint* ids); | 174 GL_APICALL void GL_APIENTRY glRegisterSharedIdsCHROMIUM (GLuint namespac
e_id, GLsizeiNotNegative n, const GLuint* ids); |
175 GL_APICALL GLboolean GL_APIENTRY glEnableFeatureCHROMIUM (const char* feature
); | 175 GL_APICALL GLboolean GL_APIENTRY glEnableFeatureCHROMIUM (const char* feature
); |
| 176 GL_APICALL void* GL_APIENTRY glMapBufferCHROMIUM (GLuint target, GLenum a
ccess); |
| 177 GL_APICALL GLboolean GL_APIENTRY glUnmapBufferCHROMIUM (GLuint target); |
| 178 |
176 GL_APICALL void* GL_APIENTRY glMapBufferSubDataCHROMIUM (GLuint target, G
LintptrNotNegative offset, GLsizeiptr size, GLenum access); | 179 GL_APICALL void* GL_APIENTRY glMapBufferSubDataCHROMIUM (GLuint target, G
LintptrNotNegative offset, GLsizeiptr size, GLenum access); |
177 GL_APICALL void GL_APIENTRY glUnmapBufferSubDataCHROMIUM (const void* me
m); | 180 GL_APICALL void GL_APIENTRY glUnmapBufferSubDataCHROMIUM (const void* me
m); |
178 GL_APICALL void* GL_APIENTRY glMapTexSubImage2DCHROMIUM (GLenum target, G
Lint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum
format, GLenum type, GLenum access); | 181 GL_APICALL void* GL_APIENTRY glMapTexSubImage2DCHROMIUM (GLenum target, G
Lint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum
format, GLenum type, GLenum access); |
179 GL_APICALL void GL_APIENTRY glUnmapTexSubImage2DCHROMIUM (const void* me
m); | 182 GL_APICALL void GL_APIENTRY glUnmapTexSubImage2DCHROMIUM (const void* me
m); |
180 GL_APICALL void GL_APIENTRY glResizeCHROMIUM (GLuint width, GLuint heigh
t); | 183 GL_APICALL void GL_APIENTRY glResizeCHROMIUM (GLuint width, GLuint heigh
t); |
181 GL_APICALL const GLchar* GL_APIENTRY glGetRequestableExtensionsCHROMIUM (void); | 184 GL_APICALL const GLchar* GL_APIENTRY glGetRequestableExtensionsCHROMIUM (void); |
182 GL_APICALL void GL_APIENTRY glRequestExtensionCHROMIUM (const char* exte
nsion); | 185 GL_APICALL void GL_APIENTRY glRequestExtensionCHROMIUM (const char* exte
nsion); |
183 GL_APICALL void GL_APIENTRY glRateLimitOffscreenContextCHROMIUM (void); | 186 GL_APICALL void GL_APIENTRY glRateLimitOffscreenContextCHROMIUM (void); |
184 GL_APICALL void GL_APIENTRY glGetMultipleIntegervCHROMIUM (const GLenum*
pnames, GLuint count, GLint* results, GLsizeiptr size); | 187 GL_APICALL void GL_APIENTRY glGetMultipleIntegervCHROMIUM (const GLenum*
pnames, GLuint count, GLint* results, GLsizeiptr size); |
185 GL_APICALL void GL_APIENTRY glGetProgramInfoCHROMIUM (GLidProgram progra
m, GLsizeiNotNegative bufsize, GLsizei* size, void* info); | 188 GL_APICALL void GL_APIENTRY glGetProgramInfoCHROMIUM (GLidProgram progra
m, GLsizeiNotNegative bufsize, GLsizei* size, void* info); |
186 GL_APICALL GLuint GL_APIENTRY glCreateStreamTextureCHROMIUM (GLuint textur
e); | 189 GL_APICALL GLuint GL_APIENTRY glCreateStreamTextureCHROMIUM (GLuint textur
e); |
187 GL_APICALL void GL_APIENTRY glDestroyStreamTextureCHROMIUM (GLuint textu
re); | 190 GL_APICALL void GL_APIENTRY glDestroyStreamTextureCHROMIUM (GLuint textu
re); |
188 GL_APICALL void GL_APIENTRY glGetTranslatedShaderSourceANGLE (GLidShader
shader, GLsizeiNotNegative bufsize, GLsizeiOptional* length, char* source); | 191 GL_APICALL void GL_APIENTRY glGetTranslatedShaderSourceANGLE (GLidShader
shader, GLsizeiNotNegative bufsize, GLsizeiOptional* length, char* source); |
189 GL_APICALL void GL_APIENTRY glPostSubBufferCHROMIUM (GLint x, GLint y, G
Lint width, GLint height); | 192 GL_APICALL void GL_APIENTRY glPostSubBufferCHROMIUM (GLint x, GLint y, G
Lint width, GLint height); |
190 GL_APICALL void GL_APIENTRY glTexImageIOSurface2DCHROMIUM (GLenumTexture
BindTarget target, GLsizei width, GLsizei height, GLuint ioSurfaceId, GLuint pla
ne); | 193 GL_APICALL void GL_APIENTRY glTexImageIOSurface2DCHROMIUM (GLenumTexture
BindTarget target, GLsizei width, GLsizei height, GLuint ioSurfaceId, GLuint pla
ne); |
191 GL_APICALL void GL_APIENTRY glCopyTextureCHROMIUM (GLenum target, GLenum
source_id, GLenum dest_id, GLint level, GLintTextureInternalFormat internalform
at); | 194 GL_APICALL void GL_APIENTRY glCopyTextureCHROMIUM (GLenum target, GLenum
source_id, GLenum dest_id, GLint level, GLintTextureInternalFormat internalform
at); |
192 GL_APICALL void GL_APIENTRY glDrawArraysInstancedANGLE (GLenumDrawMode m
ode, GLint first, GLsizei count, GLsizei primcount); | 195 GL_APICALL void GL_APIENTRY glDrawArraysInstancedANGLE (GLenumDrawMode m
ode, GLint first, GLsizei count, GLsizei primcount); |
193 GL_APICALL void GL_APIENTRY glDrawElementsInstancedANGLE (GLenumDrawMode
mode, GLsizei count, GLenumIndexType type, const void* indices, GLsizei primcou
nt); | 196 GL_APICALL void GL_APIENTRY glDrawElementsInstancedANGLE (GLenumDrawMode
mode, GLsizei count, GLenumIndexType type, const void* indices, GLsizei primcou
nt); |
194 GL_APICALL void GL_APIENTRY glVertexAttribDivisorANGLE (GLuint index, GL
uint divisor); | 197 GL_APICALL void GL_APIENTRY glVertexAttribDivisorANGLE (GLuint index, GL
uint divisor); |
195 GL_APICALL void GL_APIENTRY glGenMailboxCHROMIUM (GLbyte* mailbox); | 198 GL_APICALL void GL_APIENTRY glGenMailboxCHROMIUM (GLbyte* mailbox); |
196 GL_APICALL void GL_APIENTRY glProduceTextureCHROMIUM (GLenumTextureTarge
t target, const GLbyte* mailbox); | 199 GL_APICALL void GL_APIENTRY glProduceTextureCHROMIUM (GLenumTextureTarge
t target, const GLbyte* mailbox); |
197 GL_APICALL void GL_APIENTRY glConsumeTextureCHROMIUM (GLenumTextureTarge
t target, const GLbyte* mailbox); | 200 GL_APICALL void GL_APIENTRY glConsumeTextureCHROMIUM (GLenumTextureTarge
t target, const GLbyte* mailbox); |
198 GL_APICALL void GL_APIENTRY glBindUniformLocationCHROMIUM (GLidProgram p
rogram, GLint location, const char* name); | 201 GL_APICALL void GL_APIENTRY glBindUniformLocationCHROMIUM (GLidProgram p
rogram, GLint location, const char* name); |
199 GL_APICALL void GL_APIENTRY glBindTexImage2DCHROMIUM (GLenumTextureBindT
arget target, GLint imageId); | 202 GL_APICALL void GL_APIENTRY glBindTexImage2DCHROMIUM (GLenumTextureBindT
arget target, GLint imageId); |
200 GL_APICALL void GL_APIENTRY glReleaseTexImage2DCHROMIUM (GLenumTextureBi
ndTarget target, GLint imageId); | 203 GL_APICALL void GL_APIENTRY glReleaseTexImage2DCHROMIUM (GLenumTextureBi
ndTarget target, GLint imageId); |
201 GL_APICALL void GL_APIENTRY glTraceBeginCHROMIUM (const char* name); | 204 GL_APICALL void GL_APIENTRY glTraceBeginCHROMIUM (const char* name); |
202 GL_APICALL void GL_APIENTRY glTraceEndCHROMIUM (void); | 205 GL_APICALL void GL_APIENTRY glTraceEndCHROMIUM (void); |
OLD | NEW |