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 520 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
531 GLuint CreateImageCHROMIUMHelper(ClientBuffer buffer, | 531 GLuint CreateImageCHROMIUMHelper(ClientBuffer buffer, |
532 GLsizei width, | 532 GLsizei width, |
533 GLsizei height, | 533 GLsizei height, |
534 GLenum internalformat); | 534 GLenum internalformat); |
535 void DestroyImageCHROMIUMHelper(GLuint image_id); | 535 void DestroyImageCHROMIUMHelper(GLuint image_id); |
536 GLuint CreateGpuMemoryBufferImageCHROMIUMHelper(GLsizei width, | 536 GLuint CreateGpuMemoryBufferImageCHROMIUMHelper(GLsizei width, |
537 GLsizei height, | 537 GLsizei height, |
538 GLenum internalformat, | 538 GLenum internalformat, |
539 GLenum usage); | 539 GLenum usage); |
540 | 540 |
| 541 GLuint CreateFenceCHROMIUMHelper(ClientFence fence); |
| 542 void DestroyFenceCHROMIUMHelper(GLuint fence_id); |
| 543 |
541 // Helper for GetVertexAttrib | 544 // Helper for GetVertexAttrib |
542 bool GetVertexAttribHelper(GLuint index, GLenum pname, uint32_t* param); | 545 bool GetVertexAttribHelper(GLuint index, GLenum pname, uint32_t* param); |
543 | 546 |
544 GLuint GetMaxValueInBufferCHROMIUMHelper( | 547 GLuint GetMaxValueInBufferCHROMIUMHelper( |
545 GLuint buffer_id, GLsizei count, GLenum type, GLuint offset); | 548 GLuint buffer_id, GLsizei count, GLenum type, GLuint offset); |
546 | 549 |
547 void WaitAllAsyncTexImage2DCHROMIUMHelper(); | 550 void WaitAllAsyncTexImage2DCHROMIUMHelper(); |
548 | 551 |
549 void RestoreElementAndArrayBuffers(bool restore); | 552 void RestoreElementAndArrayBuffers(bool restore); |
550 void RestoreArrayBuffer(bool restrore); | 553 void RestoreArrayBuffer(bool restrore); |
(...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
874 | 877 |
875 inline bool GLES2Implementation::GetTexParameterivHelper( | 878 inline bool GLES2Implementation::GetTexParameterivHelper( |
876 GLenum /* target */, GLenum /* pname */, GLint* /* params */) { | 879 GLenum /* target */, GLenum /* pname */, GLint* /* params */) { |
877 return false; | 880 return false; |
878 } | 881 } |
879 | 882 |
880 } // namespace gles2 | 883 } // namespace gles2 |
881 } // namespace gpu | 884 } // namespace gpu |
882 | 885 |
883 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ | 886 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ |
OLD | NEW |