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 <map> | 10 #include <map> |
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
213 GLuint index, GLenum pname, GLfloat* params) OVERRIDE; | 213 GLuint index, GLenum pname, GLfloat* params) OVERRIDE; |
214 virtual void GetVertexAttribiv( | 214 virtual void GetVertexAttribiv( |
215 GLuint index, GLenum pname, GLint* params) OVERRIDE; | 215 GLuint index, GLenum pname, GLint* params) OVERRIDE; |
216 | 216 |
217 // ContextSupport implementation. | 217 // ContextSupport implementation. |
218 virtual void Swap() OVERRIDE; | 218 virtual void Swap() OVERRIDE; |
219 virtual void PartialSwapBuffers(const gfx::Rect& sub_buffer) OVERRIDE; | 219 virtual void PartialSwapBuffers(const gfx::Rect& sub_buffer) OVERRIDE; |
220 virtual void SetSwapBuffersCompleteCallback( | 220 virtual void SetSwapBuffersCompleteCallback( |
221 const base::Closure& swap_buffers_complete_callback) | 221 const base::Closure& swap_buffers_complete_callback) |
222 OVERRIDE; | 222 OVERRIDE; |
| 223 virtual void ScheduleOverlayPlane(int plane_z_order, |
| 224 unsigned plane_transform, |
| 225 unsigned overlay_texture_id, |
| 226 const gfx::Rect& display_bounds, |
| 227 gfx::RectF uv_rect) OVERRIDE; |
223 | 228 |
224 void GetProgramInfoCHROMIUMHelper(GLuint program, std::vector<int8>* result); | 229 void GetProgramInfoCHROMIUMHelper(GLuint program, std::vector<int8>* result); |
225 GLint GetAttribLocationHelper(GLuint program, const char* name); | 230 GLint GetAttribLocationHelper(GLuint program, const char* name); |
226 GLint GetUniformLocationHelper(GLuint program, const char* name); | 231 GLint GetUniformLocationHelper(GLuint program, const char* name); |
227 bool GetActiveAttribHelper( | 232 bool GetActiveAttribHelper( |
228 GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, | 233 GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, |
229 GLint* size, GLenum* type, char* name); | 234 GLint* size, GLenum* type, char* name); |
230 bool GetActiveUniformHelper( | 235 bool GetActiveUniformHelper( |
231 GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, | 236 GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, |
232 GLint* size, GLenum* type, char* name); | 237 GLint* size, GLenum* type, char* name); |
(...skipping 522 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
755 | 760 |
756 inline bool GLES2Implementation::GetTexParameterivHelper( | 761 inline bool GLES2Implementation::GetTexParameterivHelper( |
757 GLenum /* target */, GLenum /* pname */, GLint* /* params */) { | 762 GLenum /* target */, GLenum /* pname */, GLint* /* params */) { |
758 return false; | 763 return false; |
759 } | 764 } |
760 | 765 |
761 } // namespace gles2 | 766 } // namespace gles2 |
762 } // namespace gpu | 767 } // namespace gpu |
763 | 768 |
764 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ | 769 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ |
OLD | NEW |