OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 // These functions emluate GLES2 over command buffers. | 7 // These functions emluate GLES2 over command buffers. |
8 #ifndef GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 8 #ifndef GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
9 #define GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 9 #define GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
10 | 10 |
(...skipping 826 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
837 GLuint client_child_id, GLuint client_parent_id) { | 837 GLuint client_child_id, GLuint client_parent_id) { |
838 GPU_CLIENT_LOG( | 838 GPU_CLIENT_LOG( |
839 "CopyTextureToParentTextureCHROMIUM" << "(" << client_child_id << ", " <<
client_parent_id << ")"); // NOLINT | 839 "CopyTextureToParentTextureCHROMIUM" << "(" << client_child_id << ", " <<
client_parent_id << ")"); // NOLINT |
840 gles2::GetGLContext()->CopyTextureToParentTextureCHROMIUM( | 840 gles2::GetGLContext()->CopyTextureToParentTextureCHROMIUM( |
841 client_child_id, client_parent_id); | 841 client_child_id, client_parent_id); |
842 } | 842 } |
843 void GLES2ResizeCHROMIUM(GLuint width, GLuint height) { | 843 void GLES2ResizeCHROMIUM(GLuint width, GLuint height) { |
844 GPU_CLIENT_LOG("ResizeCHROMIUM" << "(" << width << ", " << height << ")"); | 844 GPU_CLIENT_LOG("ResizeCHROMIUM" << "(" << width << ", " << height << ")"); |
845 gles2::GetGLContext()->ResizeCHROMIUM(width, height); | 845 gles2::GetGLContext()->ResizeCHROMIUM(width, height); |
846 } | 846 } |
| 847 const GLchar* GLES2GetRequestableExtensionsCHROMIUM() { |
| 848 GPU_CLIENT_LOG("GetRequestableExtensionsCHROMIUM" << "(" << ")"); |
| 849 const GLchar* result = |
| 850 gles2::GetGLContext()->GetRequestableExtensionsCHROMIUM(); |
| 851 GPU_CLIENT_LOG("return:" << result) |
| 852 return result; |
| 853 } |
| 854 void GLES2RequestExtensionCHROMIUM(const char* extension) { |
| 855 GPU_CLIENT_LOG("RequestExtensionCHROMIUM" << "(" << extension << ")"); |
| 856 gles2::GetGLContext()->RequestExtensionCHROMIUM(extension); |
| 857 } |
847 | 858 |
848 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 859 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
849 | 860 |
OLD | NEW |