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 565 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
726 GLint bounds_height, | 732 GLint bounds_height, |
727 GLfloat uv_x, | 733 GLfloat uv_x, |
728 GLfloat uv_y, | 734 GLfloat uv_y, |
729 GLfloat uv_width, | 735 GLfloat uv_width, |
730 GLfloat uv_height) = 0; | 736 GLfloat uv_height) = 0; |
731 virtual void SwapInterval(GLint interval) = 0; | 737 virtual void SwapInterval(GLint interval) = 0; |
732 virtual void MatrixLoadfCHROMIUM(GLenum matrixMode, const GLfloat* m) = 0; | 738 virtual void MatrixLoadfCHROMIUM(GLenum matrixMode, const GLfloat* m) = 0; |
733 virtual void MatrixLoadIdentityCHROMIUM(GLenum matrixMode) = 0; | 739 virtual void MatrixLoadIdentityCHROMIUM(GLenum matrixMode) = 0; |
734 virtual void BlendBarrierKHR() = 0; | 740 virtual void BlendBarrierKHR() = 0; |
735 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_INTERFACE_AUTOGEN_H_ | 741 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_INTERFACE_AUTOGEN_H_ |
OLD | NEW |