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 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
220 virtual void Swap() OVERRIDE; | 220 virtual void Swap() OVERRIDE; |
221 virtual void PartialSwapBuffers(const gfx::Rect& sub_buffer) OVERRIDE; | 221 virtual void PartialSwapBuffers(const gfx::Rect& sub_buffer) OVERRIDE; |
222 virtual void SetSwapBuffersCompleteCallback( | 222 virtual void SetSwapBuffersCompleteCallback( |
223 const base::Closure& swap_buffers_complete_callback) | 223 const base::Closure& swap_buffers_complete_callback) |
224 OVERRIDE; | 224 OVERRIDE; |
225 virtual void ScheduleOverlayPlane(int plane_z_order, | 225 virtual void ScheduleOverlayPlane(int plane_z_order, |
226 gfx::OverlayTransform plane_transform, | 226 gfx::OverlayTransform plane_transform, |
227 unsigned overlay_texture_id, | 227 unsigned overlay_texture_id, |
228 const gfx::Rect& display_bounds, | 228 const gfx::Rect& display_bounds, |
229 const gfx::RectF& uv_rect) OVERRIDE; | 229 const gfx::RectF& uv_rect) OVERRIDE; |
| 230 virtual GLuint InsertFutureSyncPointCHROMIUM() OVERRIDE; |
| 231 virtual void RetireSyncPointCHROMIUM(GLuint sync_point) OVERRIDE; |
230 | 232 |
231 void GetProgramInfoCHROMIUMHelper(GLuint program, std::vector<int8>* result); | 233 void GetProgramInfoCHROMIUMHelper(GLuint program, std::vector<int8>* result); |
232 GLint GetAttribLocationHelper(GLuint program, const char* name); | 234 GLint GetAttribLocationHelper(GLuint program, const char* name); |
233 GLint GetUniformLocationHelper(GLuint program, const char* name); | 235 GLint GetUniformLocationHelper(GLuint program, const char* name); |
234 bool GetActiveAttribHelper( | 236 bool GetActiveAttribHelper( |
235 GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, | 237 GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, |
236 GLint* size, GLenum* type, char* name); | 238 GLint* size, GLenum* type, char* name); |
237 bool GetActiveUniformHelper( | 239 bool GetActiveUniformHelper( |
238 GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, | 240 GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, |
239 GLint* size, GLenum* type, char* name); | 241 GLint* size, GLenum* type, char* name); |
(...skipping 574 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
814 | 816 |
815 inline bool GLES2Implementation::GetTexParameterivHelper( | 817 inline bool GLES2Implementation::GetTexParameterivHelper( |
816 GLenum /* target */, GLenum /* pname */, GLint* /* params */) { | 818 GLenum /* target */, GLenum /* pname */, GLint* /* params */) { |
817 return false; | 819 return false; |
818 } | 820 } |
819 | 821 |
820 } // namespace gles2 | 822 } // namespace gles2 |
821 } // namespace gpu | 823 } // namespace gpu |
822 | 824 |
823 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ | 825 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ |
OLD | NEW |