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 662 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
673 gles2::GetGLContext()->GetImageParameterivCHROMIUM(image_id, pname, params); | 673 gles2::GetGLContext()->GetImageParameterivCHROMIUM(image_id, pname, params); |
674 } | 674 } |
675 void GLES2GetTranslatedShaderSourceANGLE( | 675 void GLES2GetTranslatedShaderSourceANGLE( |
676 GLuint shader, GLsizei bufsize, GLsizei* length, char* source) { | 676 GLuint shader, GLsizei bufsize, GLsizei* length, char* source) { |
677 gles2::GetGLContext()->GetTranslatedShaderSourceANGLE( | 677 gles2::GetGLContext()->GetTranslatedShaderSourceANGLE( |
678 shader, bufsize, length, source); | 678 shader, bufsize, length, source); |
679 } | 679 } |
680 void GLES2PostSubBufferCHROMIUM(GLint x, GLint y, GLint width, GLint height) { | 680 void GLES2PostSubBufferCHROMIUM(GLint x, GLint y, GLint width, GLint height) { |
681 gles2::GetGLContext()->PostSubBufferCHROMIUM(x, y, width, height); | 681 gles2::GetGLContext()->PostSubBufferCHROMIUM(x, y, width, height); |
682 } | 682 } |
| 683 void GLES2SetOverlayPlaneCHROMIUM(GLint plane_id, |
| 684 GLenum texture_id, |
| 685 GLint x, |
| 686 GLint y, |
| 687 GLint width, |
| 688 GLint height) { |
| 689 gles2::GetGLContext()->SetOverlayPlaneCHROMIUM( |
| 690 plane_id, texture_id, x, y, width, height); |
| 691 } |
683 void GLES2TexImageIOSurface2DCHROMIUM( | 692 void GLES2TexImageIOSurface2DCHROMIUM( |
684 GLenum target, GLsizei width, GLsizei height, GLuint ioSurfaceId, | 693 GLenum target, GLsizei width, GLsizei height, GLuint ioSurfaceId, |
685 GLuint plane) { | 694 GLuint plane) { |
686 gles2::GetGLContext()->TexImageIOSurface2DCHROMIUM( | 695 gles2::GetGLContext()->TexImageIOSurface2DCHROMIUM( |
687 target, width, height, ioSurfaceId, plane); | 696 target, width, height, ioSurfaceId, plane); |
688 } | 697 } |
689 void GLES2CopyTextureCHROMIUM( | 698 void GLES2CopyTextureCHROMIUM( |
690 GLenum target, GLenum source_id, GLenum dest_id, GLint level, | 699 GLenum target, GLenum source_id, GLenum dest_id, GLint level, |
691 GLint internalformat, GLenum dest_type) { | 700 GLint internalformat, GLenum dest_type) { |
692 gles2::GetGLContext()->CopyTextureCHROMIUM( | 701 gles2::GetGLContext()->CopyTextureCHROMIUM( |
(...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1125 { "glDrawBuffersEXT", reinterpret_cast<GLES2FunctionPointer>( | 1134 { "glDrawBuffersEXT", reinterpret_cast<GLES2FunctionPointer>( |
1126 glDrawBuffersEXT), }, | 1135 glDrawBuffersEXT), }, |
1127 { "glDiscardBackbufferCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( | 1136 { "glDiscardBackbufferCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( |
1128 glDiscardBackbufferCHROMIUM), }, | 1137 glDiscardBackbufferCHROMIUM), }, |
1129 { NULL, NULL, }, | 1138 { NULL, NULL, }, |
1130 }; | 1139 }; |
1131 | 1140 |
1132 } // namespace gles2 | 1141 } // namespace gles2 |
1133 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 1142 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
1134 | 1143 |
OLD | NEW |