| 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 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 206 gfx::OverlayTransform plane_transform, | 206 gfx::OverlayTransform plane_transform, |
| 207 unsigned overlay_texture_id, | 207 unsigned overlay_texture_id, |
| 208 const gfx::Rect& display_bounds, | 208 const gfx::Rect& display_bounds, |
| 209 const gfx::RectF& uv_rect) override; | 209 const gfx::RectF& uv_rect) override; |
| 210 GLuint InsertFutureSyncPointCHROMIUM() override; | 210 GLuint InsertFutureSyncPointCHROMIUM() override; |
| 211 void RetireSyncPointCHROMIUM(GLuint sync_point) override; | 211 void RetireSyncPointCHROMIUM(GLuint sync_point) override; |
| 212 | 212 |
| 213 void GetProgramInfoCHROMIUMHelper(GLuint program, std::vector<int8>* result); | 213 void GetProgramInfoCHROMIUMHelper(GLuint program, std::vector<int8>* result); |
| 214 GLint GetAttribLocationHelper(GLuint program, const char* name); | 214 GLint GetAttribLocationHelper(GLuint program, const char* name); |
| 215 GLint GetUniformLocationHelper(GLuint program, const char* name); | 215 GLint GetUniformLocationHelper(GLuint program, const char* name); |
| 216 GLint GetFragDataLocationHelper(GLuint program, const char* name); |
| 216 bool GetActiveAttribHelper( | 217 bool GetActiveAttribHelper( |
| 217 GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, | 218 GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, |
| 218 GLint* size, GLenum* type, char* name); | 219 GLint* size, GLenum* type, char* name); |
| 219 bool GetActiveUniformHelper( | 220 bool GetActiveUniformHelper( |
| 220 GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, | 221 GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, |
| 221 GLint* size, GLenum* type, char* name); | 222 GLint* size, GLenum* type, char* name); |
| 222 | 223 |
| 223 void FreeUnusedSharedMemory(); | 224 void FreeUnusedSharedMemory(); |
| 224 void FreeEverything(); | 225 void FreeEverything(); |
| 225 | 226 |
| (...skipping 568 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 794 | 795 |
| 795 inline bool GLES2Implementation::GetTexParameterivHelper( | 796 inline bool GLES2Implementation::GetTexParameterivHelper( |
| 796 GLenum /* target */, GLenum /* pname */, GLint* /* params */) { | 797 GLenum /* target */, GLenum /* pname */, GLint* /* params */) { |
| 797 return false; | 798 return false; |
| 798 } | 799 } |
| 799 | 800 |
| 800 } // namespace gles2 | 801 } // namespace gles2 |
| 801 } // namespace gpu | 802 } // namespace gpu |
| 802 | 803 |
| 803 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ | 804 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ |
| OLD | NEW |