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* const 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 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
834 | 834 |
835 inline bool GLES2Implementation::GetTexParameterivHelper( | 835 inline bool GLES2Implementation::GetTexParameterivHelper( |
836 GLenum /* target */, GLenum /* pname */, GLint* /* params */) { | 836 GLenum /* target */, GLenum /* pname */, GLint* /* params */) { |
837 return false; | 837 return false; |
838 } | 838 } |
839 | 839 |
840 } // namespace gles2 | 840 } // namespace gles2 |
841 } // namespace gpu | 841 } // namespace gpu |
842 | 842 |
843 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ | 843 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ |
OLD | NEW |