| 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 417 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 428 bool IsFramebufferReservedId(GLuint id) { return false; } | 428 bool IsFramebufferReservedId(GLuint id) { return false; } |
| 429 bool IsRenderbufferReservedId(GLuint id) { return false; } | 429 bool IsRenderbufferReservedId(GLuint id) { return false; } |
| 430 bool IsTextureReservedId(GLuint id) { return false; } | 430 bool IsTextureReservedId(GLuint id) { return false; } |
| 431 bool IsVertexArrayReservedId(GLuint id) { return false; } | 431 bool IsVertexArrayReservedId(GLuint id) { return false; } |
| 432 bool IsProgramReservedId(GLuint id) { return false; } | 432 bool IsProgramReservedId(GLuint id) { return false; } |
| 433 bool IsValuebufferReservedId(GLuint id) { return false; } | 433 bool IsValuebufferReservedId(GLuint id) { return false; } |
| 434 bool IsSamplerReservedId(GLuint id) { return false; } | 434 bool IsSamplerReservedId(GLuint id) { return false; } |
| 435 bool IsTransformFeedbackReservedId(GLuint id) { return false; } | 435 bool IsTransformFeedbackReservedId(GLuint id) { return false; } |
| 436 | 436 |
| 437 void BindBufferHelper(GLenum target, GLuint buffer); | 437 void BindBufferHelper(GLenum target, GLuint buffer); |
| 438 void BindBufferBaseHelper(GLenum target, GLuint index, GLuint buffer); |
| 439 void BindBufferRangeHelper(GLenum target, GLuint index, GLuint buffer, |
| 440 GLintptr offset, GLsizeiptr size); |
| 438 void BindFramebufferHelper(GLenum target, GLuint framebuffer); | 441 void BindFramebufferHelper(GLenum target, GLuint framebuffer); |
| 439 void BindRenderbufferHelper(GLenum target, GLuint renderbuffer); | 442 void BindRenderbufferHelper(GLenum target, GLuint renderbuffer); |
| 443 void BindSamplerHelper(GLuint unit, GLuint sampler); |
| 440 void BindTextureHelper(GLenum target, GLuint texture); | 444 void BindTextureHelper(GLenum target, GLuint texture); |
| 445 void BindTransformFeedbackHelper(GLenum target, GLuint transformfeedback); |
| 441 void BindVertexArrayOESHelper(GLuint array); | 446 void BindVertexArrayOESHelper(GLuint array); |
| 442 void BindValuebufferCHROMIUMHelper(GLenum target, GLuint valuebuffer); | 447 void BindValuebufferCHROMIUMHelper(GLenum target, GLuint valuebuffer); |
| 443 void UseProgramHelper(GLuint program); | 448 void UseProgramHelper(GLuint program); |
| 444 | 449 |
| 445 void BindBufferStub(GLenum target, GLuint buffer); | 450 void BindBufferStub(GLenum target, GLuint buffer); |
| 451 void BindBufferBaseStub(GLenum target, GLuint index, GLuint buffer); |
| 452 void BindBufferRangeStub(GLenum target, GLuint index, GLuint buffer, |
| 453 GLintptr offset, GLsizeiptr size); |
| 446 void BindFramebufferStub(GLenum target, GLuint framebuffer); | 454 void BindFramebufferStub(GLenum target, GLuint framebuffer); |
| 447 void BindRenderbufferStub(GLenum target, GLuint renderbuffer); | 455 void BindRenderbufferStub(GLenum target, GLuint renderbuffer); |
| 448 void BindTextureStub(GLenum target, GLuint texture); | 456 void BindTextureStub(GLenum target, GLuint texture); |
| 449 void BindValuebufferCHROMIUMStub(GLenum target, GLuint valuebuffer); | 457 void BindValuebufferCHROMIUMStub(GLenum target, GLuint valuebuffer); |
| 450 | 458 |
| 451 void GenBuffersHelper(GLsizei n, const GLuint* buffers); | 459 void GenBuffersHelper(GLsizei n, const GLuint* buffers); |
| 452 void GenFramebuffersHelper(GLsizei n, const GLuint* framebuffers); | 460 void GenFramebuffersHelper(GLsizei n, const GLuint* framebuffers); |
| 453 void GenRenderbuffersHelper(GLsizei n, const GLuint* renderbuffers); | 461 void GenRenderbuffersHelper(GLsizei n, const GLuint* renderbuffers); |
| 454 void GenTexturesHelper(GLsizei n, const GLuint* textures); | 462 void GenTexturesHelper(GLsizei n, const GLuint* textures); |
| 455 void GenVertexArraysOESHelper(GLsizei n, const GLuint* arrays); | 463 void GenVertexArraysOESHelper(GLsizei n, const GLuint* arrays); |
| (...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 784 | 792 |
| 785 inline bool GLES2Implementation::GetTexParameterivHelper( | 793 inline bool GLES2Implementation::GetTexParameterivHelper( |
| 786 GLenum /* target */, GLenum /* pname */, GLint* /* params */) { | 794 GLenum /* target */, GLenum /* pname */, GLint* /* params */) { |
| 787 return false; | 795 return false; |
| 788 } | 796 } |
| 789 | 797 |
| 790 } // namespace gles2 | 798 } // namespace gles2 |
| 791 } // namespace gpu | 799 } // namespace gpu |
| 792 | 800 |
| 793 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ | 801 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ |
| OLD | NEW |