Chromium Code Reviews| 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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 126 GL_APICALL GLboolean GL_APIENTRY glIsShader (GLidShader shader); | 126 GL_APICALL GLboolean GL_APIENTRY glIsShader (GLidShader shader); |
| 127 GL_APICALL GLboolean GL_APIENTRY glIsSync (GLidSync sync); | 127 GL_APICALL GLboolean GL_APIENTRY glIsSync (GLidSync sync); |
| 128 GL_APICALL GLboolean GL_APIENTRY glIsTexture (GLidTexture texture); | 128 GL_APICALL GLboolean GL_APIENTRY glIsTexture (GLidTexture texture); |
| 129 GL_APICALL GLboolean GL_APIENTRY glIsTransformFeedback (GLidTransformFeedback transformfeedback); | 129 GL_APICALL GLboolean GL_APIENTRY glIsTransformFeedback (GLidTransformFeedback transformfeedback); |
| 130 GL_APICALL void GL_APIENTRY glLineWidth (GLfloat width); | 130 GL_APICALL void GL_APIENTRY glLineWidth (GLfloat width); |
| 131 GL_APICALL void GL_APIENTRY glLinkProgram (GLidProgram program); | 131 GL_APICALL void GL_APIENTRY glLinkProgram (GLidProgram program); |
| 132 GL_APICALL void GL_APIENTRY glPauseTransformFeedback (void); | 132 GL_APICALL void GL_APIENTRY glPauseTransformFeedback (void); |
| 133 GL_APICALL void GL_APIENTRY glPixelStorei (GLenumPixelStore pname, GLint PixelStoreAlignment param); | 133 GL_APICALL void GL_APIENTRY glPixelStorei (GLenumPixelStore pname, GLint PixelStoreAlignment param); |
| 134 GL_APICALL void GL_APIENTRY glPolygonOffset (GLfloat factor, GLfloat uni ts); | 134 GL_APICALL void GL_APIENTRY glPolygonOffset (GLfloat factor, GLfloat uni ts); |
| 135 GL_APICALL void GL_APIENTRY glReadBuffer (GLenum src); | 135 GL_APICALL void GL_APIENTRY glReadBuffer (GLenum src); |
| 136 GL_APICALL void GL_APIENTRY glReadPixels (GLint x, GLint y, GLsizei widt h, GLsizei height, GLenumReadPixelFormat format, GLenumPixelType type, void* pix els); | 136 GL_APICALL void GL_APIENTRY glReadPixels (GLint x, GLint y, GLsizei widt h, GLsizei height, GLenumReadPixelFormat format, GLenumReadPixelType type, void* pixels); |
|
no sievers
2015/03/13 00:15:54
Wait, so this was accidentally not used before?
Zhenyao Mo
2015/03/13 02:38:33
Look at the build_*.py, it is overwritten in the R
no sievers
2015/03/13 19:44:18
Ah, got it, the code that validates this is custom
| |
| 137 GL_APICALL void GL_APIENTRY glReleaseShaderCompiler (void); | 137 GL_APICALL void GL_APIENTRY glReleaseShaderCompiler (void); |
| 138 GL_APICALL void GL_APIENTRY glRenderbufferStorage (GLenumRenderBufferTar get target, GLenumRenderBufferFormat internalformat, GLsizei width, GLsizei heig ht); | 138 GL_APICALL void GL_APIENTRY glRenderbufferStorage (GLenumRenderBufferTar get target, GLenumRenderBufferFormat internalformat, GLsizei width, GLsizei heig ht); |
| 139 GL_APICALL void GL_APIENTRY glResumeTransformFeedback (void); | 139 GL_APICALL void GL_APIENTRY glResumeTransformFeedback (void); |
| 140 GL_APICALL void GL_APIENTRY glSampleCoverage (GLclampf value, GLboolean invert); | 140 GL_APICALL void GL_APIENTRY glSampleCoverage (GLclampf value, GLboolean invert); |
| 141 GL_APICALL void GL_APIENTRY glSamplerParameterf (GLidBindSampler sampler , GLenumSamplerParameter pname, GLfloat param); | 141 GL_APICALL void GL_APIENTRY glSamplerParameterf (GLidBindSampler sampler , GLenumSamplerParameter pname, GLfloat param); |
| 142 GL_APICALL void GL_APIENTRY glSamplerParameterfv (GLidBindSampler sample r, GLenumSamplerParameter pname, const GLfloat* params); | 142 GL_APICALL void GL_APIENTRY glSamplerParameterfv (GLidBindSampler sample r, GLenumSamplerParameter pname, const GLfloat* params); |
| 143 GL_APICALL void GL_APIENTRY glSamplerParameteri (GLidBindSampler sampler , GLenumSamplerParameter pname, GLint param); | 143 GL_APICALL void GL_APIENTRY glSamplerParameteri (GLidBindSampler sampler , GLenumSamplerParameter pname, GLint param); |
| 144 GL_APICALL void GL_APIENTRY glSamplerParameteriv (GLidBindSampler sample r, GLenumSamplerParameter pname, const GLint* params); | 144 GL_APICALL void GL_APIENTRY glSamplerParameteriv (GLidBindSampler sample r, GLenumSamplerParameter pname, const GLint* params); |
| 145 GL_APICALL void GL_APIENTRY glScissor (GLint x, GLint y, GLsizei width, GLsizei height); | 145 GL_APICALL void GL_APIENTRY glScissor (GLint x, GLint y, GLsizei width, GLsizei height); |
| 146 GL_APICALL void GL_APIENTRY glShaderBinary (GLsizeiNotNegative n, const GLuint* shaders, GLenumShaderBinaryFormat binaryformat, const void* binary, GLsi zeiNotNegative length); | 146 GL_APICALL void GL_APIENTRY glShaderBinary (GLsizeiNotNegative n, const GLuint* shaders, GLenumShaderBinaryFormat binaryformat, const void* binary, GLsi zeiNotNegative length); |
| (...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 300 GL_APICALL void GL_APIENTRY glDiscardBackbufferCHROMIUM (void); | 300 GL_APICALL void GL_APIENTRY glDiscardBackbufferCHROMIUM (void); |
| 301 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); | 301 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); |
| 302 GL_APICALL void GL_APIENTRY glSwapInterval (GLint interval); | 302 GL_APICALL void GL_APIENTRY glSwapInterval (GLint interval); |
| 303 | 303 |
| 304 // Extension CHROMIUM_path_rendering. | 304 // Extension CHROMIUM_path_rendering. |
| 305 GL_APICALL void GL_APIENTRY glMatrixLoadfCHROMIUM (GLenumMatrixMode matr ixMode, const GLfloat* m); | 305 GL_APICALL void GL_APIENTRY glMatrixLoadfCHROMIUM (GLenumMatrixMode matr ixMode, const GLfloat* m); |
| 306 GL_APICALL void GL_APIENTRY glMatrixLoadIdentityCHROMIUM (GLenumMatrixMo de matrixMode); | 306 GL_APICALL void GL_APIENTRY glMatrixLoadIdentityCHROMIUM (GLenumMatrixMo de matrixMode); |
| 307 | 307 |
| 308 // Extension KHR_blend_equation_advanced | 308 // Extension KHR_blend_equation_advanced |
| 309 GL_APICALL void GL_APIENTRY glBlendBarrierKHR (void); | 309 GL_APICALL void GL_APIENTRY glBlendBarrierKHR (void); |
| OLD | NEW |