| 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 <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 516 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 527 GLenum target, GLintptr offset, GLsizeiptr size, const void* data); | 527 GLenum target, GLintptr offset, GLsizeiptr size, const void* data); |
| 528 void BufferSubDataHelperImpl( | 528 void BufferSubDataHelperImpl( |
| 529 GLenum target, GLintptr offset, GLsizeiptr size, const void* data, | 529 GLenum target, GLintptr offset, GLsizeiptr size, const void* data, |
| 530 ScopedTransferBufferPtr* buffer); | 530 ScopedTransferBufferPtr* buffer); |
| 531 | 531 |
| 532 GLuint CreateImageCHROMIUMHelper(ClientBuffer buffer, | 532 GLuint CreateImageCHROMIUMHelper(ClientBuffer buffer, |
| 533 GLsizei width, | 533 GLsizei width, |
| 534 GLsizei height, | 534 GLsizei height, |
| 535 GLenum internalformat); | 535 GLenum internalformat); |
| 536 void DestroyImageCHROMIUMHelper(GLuint image_id); | 536 void DestroyImageCHROMIUMHelper(GLuint image_id); |
| 537 GLuint CreateGpuMemoryBufferImageCHROMIUMHelper(GLsizei width, | |
| 538 GLsizei height, | |
| 539 GLenum internalformat, | |
| 540 GLenum usage); | |
| 541 | 537 |
| 542 // Helper for GetVertexAttrib | 538 // Helper for GetVertexAttrib |
| 543 bool GetVertexAttribHelper(GLuint index, GLenum pname, uint32_t* param); | 539 bool GetVertexAttribHelper(GLuint index, GLenum pname, uint32_t* param); |
| 544 | 540 |
| 545 GLuint GetMaxValueInBufferCHROMIUMHelper( | 541 GLuint GetMaxValueInBufferCHROMIUMHelper( |
| 546 GLuint buffer_id, GLsizei count, GLenum type, GLuint offset); | 542 GLuint buffer_id, GLsizei count, GLenum type, GLuint offset); |
| 547 | 543 |
| 548 void WaitAllAsyncTexImage2DCHROMIUMHelper(); | 544 void WaitAllAsyncTexImage2DCHROMIUMHelper(); |
| 549 | 545 |
| 550 void RestoreElementAndArrayBuffers(bool restore); | 546 void RestoreElementAndArrayBuffers(bool restore); |
| (...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 875 | 871 |
| 876 inline bool GLES2Implementation::GetTexParameterivHelper( | 872 inline bool GLES2Implementation::GetTexParameterivHelper( |
| 877 GLenum /* target */, GLenum /* pname */, GLint* /* params */) { | 873 GLenum /* target */, GLenum /* pname */, GLint* /* params */) { |
| 878 return false; | 874 return false; |
| 879 } | 875 } |
| 880 | 876 |
| 881 } // namespace gles2 | 877 } // namespace gles2 |
| 882 } // namespace gpu | 878 } // namespace gpu |
| 883 | 879 |
| 884 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ | 880 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ |
| OLD | NEW |