| 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 600 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 611 } | 611 } |
| 612 void* GLES2MapTexSubImage2DCHROMIUM( | 612 void* GLES2MapTexSubImage2DCHROMIUM( |
| 613 GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, | 613 GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, |
| 614 GLsizei height, GLenum format, GLenum type, GLenum access) { | 614 GLsizei height, GLenum format, GLenum type, GLenum access) { |
| 615 return gles2::GetGLContext()->MapTexSubImage2DCHROMIUM( | 615 return gles2::GetGLContext()->MapTexSubImage2DCHROMIUM( |
| 616 target, level, xoffset, yoffset, width, height, format, type, access); | 616 target, level, xoffset, yoffset, width, height, format, type, access); |
| 617 } | 617 } |
| 618 void GLES2UnmapTexSubImage2DCHROMIUM(const void* mem) { | 618 void GLES2UnmapTexSubImage2DCHROMIUM(const void* mem) { |
| 619 gles2::GetGLContext()->UnmapTexSubImage2DCHROMIUM(mem); | 619 gles2::GetGLContext()->UnmapTexSubImage2DCHROMIUM(mem); |
| 620 } | 620 } |
| 621 void GLES2ResizeCHROMIUM(GLuint width, GLuint height) { | 621 void GLES2ResizeCHROMIUM(GLuint width, GLuint height, GLfloat scale_factor) { |
| 622 gles2::GetGLContext()->ResizeCHROMIUM(width, height); | 622 gles2::GetGLContext()->ResizeCHROMIUM(width, height, scale_factor); |
| 623 } | 623 } |
| 624 const GLchar* GLES2GetRequestableExtensionsCHROMIUM() { | 624 const GLchar* GLES2GetRequestableExtensionsCHROMIUM() { |
| 625 return gles2::GetGLContext()->GetRequestableExtensionsCHROMIUM(); | 625 return gles2::GetGLContext()->GetRequestableExtensionsCHROMIUM(); |
| 626 } | 626 } |
| 627 void GLES2RequestExtensionCHROMIUM(const char* extension) { | 627 void GLES2RequestExtensionCHROMIUM(const char* extension) { |
| 628 gles2::GetGLContext()->RequestExtensionCHROMIUM(extension); | 628 gles2::GetGLContext()->RequestExtensionCHROMIUM(extension); |
| 629 } | 629 } |
| 630 void GLES2RateLimitOffscreenContextCHROMIUM() { | 630 void GLES2RateLimitOffscreenContextCHROMIUM() { |
| 631 gles2::GetGLContext()->RateLimitOffscreenContextCHROMIUM(); | 631 gles2::GetGLContext()->RateLimitOffscreenContextCHROMIUM(); |
| 632 } | 632 } |
| (...skipping 468 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1101 { "glWaitSyncPointCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( | 1101 { "glWaitSyncPointCHROMIUM", reinterpret_cast<GLES2FunctionPointer>( |
| 1102 glWaitSyncPointCHROMIUM), }, | 1102 glWaitSyncPointCHROMIUM), }, |
| 1103 { "glDrawBuffersEXT", reinterpret_cast<GLES2FunctionPointer>( | 1103 { "glDrawBuffersEXT", reinterpret_cast<GLES2FunctionPointer>( |
| 1104 glDrawBuffersEXT), }, | 1104 glDrawBuffersEXT), }, |
| 1105 { NULL, NULL, }, | 1105 { NULL, NULL, }, |
| 1106 }; | 1106 }; |
| 1107 | 1107 |
| 1108 } // namespace gles2 | 1108 } // namespace gles2 |
| 1109 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 1109 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
| 1110 | 1110 |
| OLD | NEW |