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 // This file is auto-generated from | 5 // This file is auto-generated from |
6 // gpu/command_buffer/build_gles2_cmd_buffer.py | 6 // gpu/command_buffer/build_gles2_cmd_buffer.py |
7 // DO NOT EDIT! | 7 // DO NOT EDIT! |
8 | 8 |
9 // These functions emulate GLES2 over command buffers. | 9 // These functions emulate GLES2 over command buffers. |
10 #ifndef GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 10 #ifndef GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
(...skipping 637 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
648 gles2::GetGLContext()->PostSubBufferCHROMIUM(x, y, width, height); | 648 gles2::GetGLContext()->PostSubBufferCHROMIUM(x, y, width, height); |
649 } | 649 } |
650 void GLES2TexImageIOSurface2DCHROMIUM( | 650 void GLES2TexImageIOSurface2DCHROMIUM( |
651 GLenum target, GLsizei width, GLsizei height, GLuint ioSurfaceId, | 651 GLenum target, GLsizei width, GLsizei height, GLuint ioSurfaceId, |
652 GLuint plane) { | 652 GLuint plane) { |
653 gles2::GetGLContext()->TexImageIOSurface2DCHROMIUM( | 653 gles2::GetGLContext()->TexImageIOSurface2DCHROMIUM( |
654 target, width, height, ioSurfaceId, plane); | 654 target, width, height, ioSurfaceId, plane); |
655 } | 655 } |
656 void GLES2CopyTextureCHROMIUM( | 656 void GLES2CopyTextureCHROMIUM( |
657 GLenum target, GLenum source_id, GLenum dest_id, GLint level, | 657 GLenum target, GLenum source_id, GLenum dest_id, GLint level, |
658 GLint internalformat) { | 658 GLint internalformat, GLenum dest_type) { |
659 gles2::GetGLContext()->CopyTextureCHROMIUM( | 659 gles2::GetGLContext()->CopyTextureCHROMIUM( |
660 target, source_id, dest_id, level, internalformat); | 660 target, source_id, dest_id, level, internalformat, dest_type); |
661 } | 661 } |
662 void GLES2DrawArraysInstancedANGLE( | 662 void GLES2DrawArraysInstancedANGLE( |
663 GLenum mode, GLint first, GLsizei count, GLsizei primcount) { | 663 GLenum mode, GLint first, GLsizei count, GLsizei primcount) { |
664 gles2::GetGLContext()->DrawArraysInstancedANGLE( | 664 gles2::GetGLContext()->DrawArraysInstancedANGLE( |
665 mode, first, count, primcount); | 665 mode, first, count, primcount); |
666 } | 666 } |
667 void GLES2DrawElementsInstancedANGLE( | 667 void GLES2DrawElementsInstancedANGLE( |
668 GLenum mode, GLsizei count, GLenum type, const void* indices, | 668 GLenum mode, GLsizei count, GLenum type, const void* indices, |
669 GLsizei primcount) { | 669 GLsizei primcount) { |
670 gles2::GetGLContext()->DrawElementsInstancedANGLE( | 670 gles2::GetGLContext()->DrawElementsInstancedANGLE( |
(...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1073 { "glWaitSyncPointCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( | 1073 { "glWaitSyncPointCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( |
1074 glWaitSyncPointCHROMIUM), }, | 1074 glWaitSyncPointCHROMIUM), }, |
1075 { "glDrawBuffersEXT", reinterpret_cast<GLES2FunctionPointer>( | 1075 { "glDrawBuffersEXT", reinterpret_cast<GLES2FunctionPointer>( |
1076 glDrawBuffersEXT), }, | 1076 glDrawBuffersEXT), }, |
1077 { NULL, NULL, }, | 1077 { NULL, NULL, }, |
1078 }; | 1078 }; |
1079 | 1079 |
1080 } // namespace gles2 | 1080 } // namespace gles2 |
1081 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 1081 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
1082 | 1082 |
OLD | NEW |