OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 auto-generated from | 5 // This file is auto-generated from |
6 // gpu/command_buffer/build_gles2_cmd_buffer.py | 6 // gpu/command_buffer/build_gles2_cmd_buffer.py |
7 // It's formatted by clang-format using chromium coding style: | 7 // It's formatted by clang-format using chromium coding style: |
8 // clang-format -i -style=chromium filename | 8 // clang-format -i -style=chromium filename |
9 // DO NOT EDIT! | 9 // DO NOT EDIT! |
10 | 10 |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 virtual void DepthMask(GLboolean flag) = 0; | 141 virtual void DepthMask(GLboolean flag) = 0; |
142 virtual void DepthRangef(GLclampf zNear, GLclampf zFar) = 0; | 142 virtual void DepthRangef(GLclampf zNear, GLclampf zFar) = 0; |
143 virtual void DetachShader(GLuint program, GLuint shader) = 0; | 143 virtual void DetachShader(GLuint program, GLuint shader) = 0; |
144 virtual void Disable(GLenum cap) = 0; | 144 virtual void Disable(GLenum cap) = 0; |
145 virtual void DisableVertexAttribArray(GLuint index) = 0; | 145 virtual void DisableVertexAttribArray(GLuint index) = 0; |
146 virtual void DrawArrays(GLenum mode, GLint first, GLsizei count) = 0; | 146 virtual void DrawArrays(GLenum mode, GLint first, GLsizei count) = 0; |
147 virtual void DrawElements(GLenum mode, | 147 virtual void DrawElements(GLenum mode, |
148 GLsizei count, | 148 GLsizei count, |
149 GLenum type, | 149 GLenum type, |
150 const void* indices) = 0; | 150 const void* indices) = 0; |
| 151 virtual void DrawRangeElements(GLenum mode, |
| 152 GLuint start, |
| 153 GLuint end, |
| 154 GLsizei count, |
| 155 GLenum type, |
| 156 const void* indices) = 0; |
151 virtual void Enable(GLenum cap) = 0; | 157 virtual void Enable(GLenum cap) = 0; |
152 virtual void EnableVertexAttribArray(GLuint index) = 0; | 158 virtual void EnableVertexAttribArray(GLuint index) = 0; |
153 virtual GLsync FenceSync(GLenum condition, GLbitfield flags) = 0; | 159 virtual GLsync FenceSync(GLenum condition, GLbitfield flags) = 0; |
154 virtual void Finish() = 0; | 160 virtual void Finish() = 0; |
155 virtual void Flush() = 0; | 161 virtual void Flush() = 0; |
156 virtual void FramebufferRenderbuffer(GLenum target, | 162 virtual void FramebufferRenderbuffer(GLenum target, |
157 GLenum attachment, | 163 GLenum attachment, |
158 GLenum renderbuffertarget, | 164 GLenum renderbuffertarget, |
159 GLuint renderbuffer) = 0; | 165 GLuint renderbuffer) = 0; |
160 virtual void FramebufferTexture2D(GLenum target, | 166 virtual void FramebufferTexture2D(GLenum target, |
(...skipping 415 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
576 GLenum type, | 582 GLenum type, |
577 GLuint offset) = 0; | 583 GLuint offset) = 0; |
578 virtual GLboolean EnableFeatureCHROMIUM(const char* feature) = 0; | 584 virtual GLboolean EnableFeatureCHROMIUM(const char* feature) = 0; |
579 virtual void* MapBufferCHROMIUM(GLuint target, GLenum access) = 0; | 585 virtual void* MapBufferCHROMIUM(GLuint target, GLenum access) = 0; |
580 virtual GLboolean UnmapBufferCHROMIUM(GLuint target) = 0; | 586 virtual GLboolean UnmapBufferCHROMIUM(GLuint target) = 0; |
581 virtual void* MapBufferSubDataCHROMIUM(GLuint target, | 587 virtual void* MapBufferSubDataCHROMIUM(GLuint target, |
582 GLintptr offset, | 588 GLintptr offset, |
583 GLsizeiptr size, | 589 GLsizeiptr size, |
584 GLenum access) = 0; | 590 GLenum access) = 0; |
585 virtual void UnmapBufferSubDataCHROMIUM(const void* mem) = 0; | 591 virtual void UnmapBufferSubDataCHROMIUM(const void* mem) = 0; |
| 592 virtual void* MapBufferRange(GLenum target, |
| 593 GLintptr offset, |
| 594 GLsizeiptr size, |
| 595 GLbitfield access) = 0; |
| 596 virtual GLboolean UnmapBuffer(GLenum target) = 0; |
586 virtual void* MapTexSubImage2DCHROMIUM(GLenum target, | 597 virtual void* MapTexSubImage2DCHROMIUM(GLenum target, |
587 GLint level, | 598 GLint level, |
588 GLint xoffset, | 599 GLint xoffset, |
589 GLint yoffset, | 600 GLint yoffset, |
590 GLsizei width, | 601 GLsizei width, |
591 GLsizei height, | 602 GLsizei height, |
592 GLenum format, | 603 GLenum format, |
593 GLenum type, | 604 GLenum type, |
594 GLenum access) = 0; | 605 GLenum access) = 0; |
595 virtual void UnmapTexSubImage2DCHROMIUM(const void* mem) = 0; | 606 virtual void UnmapTexSubImage2DCHROMIUM(const void* mem) = 0; |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
721 GLint bounds_height, | 732 GLint bounds_height, |
722 GLfloat uv_x, | 733 GLfloat uv_x, |
723 GLfloat uv_y, | 734 GLfloat uv_y, |
724 GLfloat uv_width, | 735 GLfloat uv_width, |
725 GLfloat uv_height) = 0; | 736 GLfloat uv_height) = 0; |
726 virtual void SwapInterval(GLint interval) = 0; | 737 virtual void SwapInterval(GLint interval) = 0; |
727 virtual void MatrixLoadfCHROMIUM(GLenum matrixMode, const GLfloat* m) = 0; | 738 virtual void MatrixLoadfCHROMIUM(GLenum matrixMode, const GLfloat* m) = 0; |
728 virtual void MatrixLoadIdentityCHROMIUM(GLenum matrixMode) = 0; | 739 virtual void MatrixLoadIdentityCHROMIUM(GLenum matrixMode) = 0; |
729 virtual void BlendBarrierKHR() = 0; | 740 virtual void BlendBarrierKHR() = 0; |
730 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_INTERFACE_AUTOGEN_H_ | 741 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_INTERFACE_AUTOGEN_H_ |
OLD | NEW |