| 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 507 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 518 void DeleteSyncStub(GLsizei n, const GLuint* syncs); | 518 void DeleteSyncStub(GLsizei n, const GLuint* syncs); |
| 519 | 519 |
| 520 void BufferDataHelper( | 520 void BufferDataHelper( |
| 521 GLenum target, GLsizeiptr size, const void* data, GLenum usage); | 521 GLenum target, GLsizeiptr size, const void* data, GLenum usage); |
| 522 void BufferSubDataHelper( | 522 void BufferSubDataHelper( |
| 523 GLenum target, GLintptr offset, GLsizeiptr size, const void* data); | 523 GLenum target, GLintptr offset, GLsizeiptr size, const void* data); |
| 524 void BufferSubDataHelperImpl( | 524 void BufferSubDataHelperImpl( |
| 525 GLenum target, GLintptr offset, GLsizeiptr size, const void* data, | 525 GLenum target, GLintptr offset, GLsizeiptr size, const void* data, |
| 526 ScopedTransferBufferPtr* buffer); | 526 ScopedTransferBufferPtr* buffer); |
| 527 | 527 |
| 528 GLuint CreateImageCHROMIUMHelper(ClientBuffer buffer, | 528 GLuint CreateImageCHROMIUMHelper(ClientBuffer* buffers, |
| 529 GLsizei width, | 529 GLsizei width, |
| 530 GLsizei height, | 530 GLsizei height, |
| 531 GLenum internalformat); | 531 GLenum internalformat); |
| 532 void DestroyImageCHROMIUMHelper(GLuint image_id); | 532 void DestroyImageCHROMIUMHelper(GLuint image_id); |
| 533 GLuint CreateGpuMemoryBufferImageCHROMIUMHelper(GLsizei width, | 533 GLuint CreateGpuMemoryBufferImageCHROMIUMHelper(GLsizei width, |
| 534 GLsizei height, | 534 GLsizei height, |
| 535 GLenum internalformat, | 535 GLenum internalformat, |
| 536 GLenum usage); | 536 GLenum usage); |
| 537 | 537 |
| 538 // Helper for GetVertexAttrib | 538 // Helper for GetVertexAttrib |
| (...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 825 | 825 |
| 826 inline bool GLES2Implementation::GetTexParameterivHelper( | 826 inline bool GLES2Implementation::GetTexParameterivHelper( |
| 827 GLenum /* target */, GLenum /* pname */, GLint* /* params */) { | 827 GLenum /* target */, GLenum /* pname */, GLint* /* params */) { |
| 828 return false; | 828 return false; |
| 829 } | 829 } |
| 830 | 830 |
| 831 } // namespace gles2 | 831 } // namespace gles2 |
| 832 } // namespace gpu | 832 } // namespace gpu |
| 833 | 833 |
| 834 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ | 834 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ |
| OLD | NEW |