OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 // This file is auto-generated. DO NOT EDIT! | 5 // This file is auto-generated. DO NOT EDIT! |
6 | 6 |
7 // This file is included by gles2_implementation.h to declare the | 7 // This file is included by gles2_implementation.h to declare the |
8 // GL api functions. | 8 // GL api functions. |
9 #ifndef GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_AUTOGEN_H_ | 9 #ifndef GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_AUTOGEN_H_ |
10 #define GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_AUTOGEN_H_ | 10 #define GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_AUTOGEN_H_ |
(...skipping 752 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
763 SetGLError(GL_INVALID_VALUE, "glViewport: width < 0"); | 763 SetGLError(GL_INVALID_VALUE, "glViewport: width < 0"); |
764 return; | 764 return; |
765 } | 765 } |
766 if (height < 0) { | 766 if (height < 0) { |
767 SetGLError(GL_INVALID_VALUE, "glViewport: height < 0"); | 767 SetGLError(GL_INVALID_VALUE, "glViewport: height < 0"); |
768 return; | 768 return; |
769 } | 769 } |
770 helper_->Viewport(x, y, width, height); | 770 helper_->Viewport(x, y, width, height); |
771 } | 771 } |
772 | 772 |
| 773 void BlitFramebufferEXT( |
| 774 GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, |
| 775 GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter) { |
| 776 helper_->BlitFramebufferEXT( |
| 777 srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter); |
| 778 } |
| 779 |
| 780 void RenderbufferStorageMultisampleEXT( |
| 781 GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, |
| 782 GLsizei height) { |
| 783 if (samples < 0) { |
| 784 SetGLError( |
| 785 GL_INVALID_VALUE, "glRenderbufferStorageMultisampleEXT: samples < 0"); |
| 786 return; |
| 787 } |
| 788 if (width < 0) { |
| 789 SetGLError( |
| 790 GL_INVALID_VALUE, "glRenderbufferStorageMultisampleEXT: width < 0"); |
| 791 return; |
| 792 } |
| 793 if (height < 0) { |
| 794 SetGLError( |
| 795 GL_INVALID_VALUE, "glRenderbufferStorageMultisampleEXT: height < 0"); |
| 796 return; |
| 797 } |
| 798 helper_->RenderbufferStorageMultisampleEXT( |
| 799 target, samples, internalformat, width, height); |
| 800 } |
| 801 |
773 void SwapBuffers(); | 802 void SwapBuffers(); |
774 | 803 |
775 GLuint GetMaxValueInBuffer( | 804 GLuint GetMaxValueInBuffer( |
776 GLuint buffer_id, GLsizei count, GLenum type, GLuint offset) { | 805 GLuint buffer_id, GLsizei count, GLenum type, GLuint offset) { |
777 typedef GetMaxValueInBuffer::Result Result; | 806 typedef GetMaxValueInBuffer::Result Result; |
778 Result* result = GetResultAs<Result*>(); | 807 Result* result = GetResultAs<Result*>(); |
779 *result = 0; | 808 *result = 0; |
780 helper_->GetMaxValueInBuffer( | 809 helper_->GetMaxValueInBuffer( |
781 buffer_id, count, type, offset, result_shm_id(), result_shm_offset()); | 810 buffer_id, count, type, offset, result_shm_id(), result_shm_offset()); |
782 WaitForCmd(); | 811 WaitForCmd(); |
(...skipping 15 matching lines...) Expand all Loading... |
798 void UnmapBufferSubData(const void* mem); | 827 void UnmapBufferSubData(const void* mem); |
799 | 828 |
800 void* MapTexSubImage2D( | 829 void* MapTexSubImage2D( |
801 GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, | 830 GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, |
802 GLsizei height, GLenum format, GLenum type, GLenum access); | 831 GLsizei height, GLenum format, GLenum type, GLenum access); |
803 | 832 |
804 void UnmapTexSubImage2D(const void* mem); | 833 void UnmapTexSubImage2D(const void* mem); |
805 | 834 |
806 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_AUTOGEN_H_ | 835 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_AUTOGEN_H_ |
807 | 836 |
OLD | NEW |