| 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 537 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 548 | 548 |
| 549 GLuint CreateImageCHROMIUMHelper(GLsizei width, | 549 GLuint CreateImageCHROMIUMHelper(GLsizei width, |
| 550 GLsizei height, | 550 GLsizei height, |
| 551 GLenum internalformat, | 551 GLenum internalformat, |
| 552 GLenum usage); | 552 GLenum usage); |
| 553 void DestroyImageCHROMIUMHelper(GLuint image_id); | 553 void DestroyImageCHROMIUMHelper(GLuint image_id); |
| 554 void* MapImageCHROMIUMHelper(GLuint image_id); | 554 void* MapImageCHROMIUMHelper(GLuint image_id); |
| 555 void UnmapImageCHROMIUMHelper(GLuint image_id); | 555 void UnmapImageCHROMIUMHelper(GLuint image_id); |
| 556 void GetImageParameterivCHROMIUMHelper( | 556 void GetImageParameterivCHROMIUMHelper( |
| 557 GLuint image_id, GLenum pname, GLint* params); | 557 GLuint image_id, GLenum pname, GLint* params); |
| 558 GLuint CreateGpuMemoryBufferImageCHROMIUMHelper(GLsizei width, |
| 559 GLsizei height, |
| 560 GLenum internalformat, |
| 561 GLenum usage); |
| 558 | 562 |
| 559 // Helper for GetVertexAttrib | 563 // Helper for GetVertexAttrib |
| 560 bool GetVertexAttribHelper(GLuint index, GLenum pname, uint32* param); | 564 bool GetVertexAttribHelper(GLuint index, GLenum pname, uint32* param); |
| 561 | 565 |
| 562 GLuint GetMaxValueInBufferCHROMIUMHelper( | 566 GLuint GetMaxValueInBufferCHROMIUMHelper( |
| 563 GLuint buffer_id, GLsizei count, GLenum type, GLuint offset); | 567 GLuint buffer_id, GLsizei count, GLenum type, GLuint offset); |
| 564 | 568 |
| 565 void RestoreElementAndArrayBuffers(bool restore); | 569 void RestoreElementAndArrayBuffers(bool restore); |
| 566 void RestoreArrayBuffer(bool restrore); | 570 void RestoreArrayBuffer(bool restrore); |
| 567 | 571 |
| (...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 822 | 826 |
| 823 inline bool GLES2Implementation::GetTexParameterivHelper( | 827 inline bool GLES2Implementation::GetTexParameterivHelper( |
| 824 GLenum /* target */, GLenum /* pname */, GLint* /* params */) { | 828 GLenum /* target */, GLenum /* pname */, GLint* /* params */) { |
| 825 return false; | 829 return false; |
| 826 } | 830 } |
| 827 | 831 |
| 828 } // namespace gles2 | 832 } // namespace gles2 |
| 829 } // namespace gpu | 833 } // namespace gpu |
| 830 | 834 |
| 831 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ | 835 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ |
| OLD | NEW |