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 #ifndef GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ | 5 #ifndef GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ |
6 #define GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ | 6 #define GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ |
7 | 7 |
8 #include <GLES2/gl2.h> | 8 #include <GLES2/gl2.h> |
9 | 9 |
10 #include <list> | 10 #include <list> |
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
191 | 191 |
192 // Include the auto-generated part of this class. We split this because | 192 // Include the auto-generated part of this class. We split this because |
193 // it means we can easily edit the non-auto generated parts right here in | 193 // it means we can easily edit the non-auto generated parts right here in |
194 // this file instead of having to edit some template or the code generator. | 194 // this file instead of having to edit some template or the code generator. |
195 #include "gpu/command_buffer/client/gles2_implementation_autogen.h" | 195 #include "gpu/command_buffer/client/gles2_implementation_autogen.h" |
196 | 196 |
197 void DisableVertexAttribArray(GLuint index) override; | 197 void DisableVertexAttribArray(GLuint index) override; |
198 void EnableVertexAttribArray(GLuint index) override; | 198 void EnableVertexAttribArray(GLuint index) override; |
199 void GetVertexAttribfv(GLuint index, GLenum pname, GLfloat* params) override; | 199 void GetVertexAttribfv(GLuint index, GLenum pname, GLfloat* params) override; |
200 void GetVertexAttribiv(GLuint index, GLenum pname, GLint* params) override; | 200 void GetVertexAttribiv(GLuint index, GLenum pname, GLint* params) override; |
| 201 void GetVertexAttribIiv(GLuint index, GLenum pname, GLint* params) override; |
| 202 void GetVertexAttribIuiv(GLuint index, GLenum pname, GLuint* params) override; |
201 | 203 |
202 // ContextSupport implementation. | 204 // ContextSupport implementation. |
203 void Swap() override; | 205 void Swap() override; |
204 void PartialSwapBuffers(const gfx::Rect& sub_buffer) override; | 206 void PartialSwapBuffers(const gfx::Rect& sub_buffer) override; |
205 void ScheduleOverlayPlane(int plane_z_order, | 207 void ScheduleOverlayPlane(int plane_z_order, |
206 gfx::OverlayTransform plane_transform, | 208 gfx::OverlayTransform plane_transform, |
207 unsigned overlay_texture_id, | 209 unsigned overlay_texture_id, |
208 const gfx::Rect& display_bounds, | 210 const gfx::Rect& display_bounds, |
209 const gfx::RectF& uv_rect) override; | 211 const gfx::RectF& uv_rect) override; |
210 GLuint InsertFutureSyncPointCHROMIUM() override; | 212 GLuint InsertFutureSyncPointCHROMIUM() override; |
(...skipping 629 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
840 | 842 |
841 inline bool GLES2Implementation::GetTexParameterivHelper( | 843 inline bool GLES2Implementation::GetTexParameterivHelper( |
842 GLenum /* target */, GLenum /* pname */, GLint* /* params */) { | 844 GLenum /* target */, GLenum /* pname */, GLint* /* params */) { |
843 return false; | 845 return false; |
844 } | 846 } |
845 | 847 |
846 } // namespace gles2 | 848 } // namespace gles2 |
847 } // namespace gpu | 849 } // namespace gpu |
848 | 850 |
849 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ | 851 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ |
OLD | NEW |