OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 emluate GLES2 over command buffers. | 9 // These functions emluate 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 536 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
547 } | 547 } |
548 void* GLES2MapTexSubImage2DCHROMIUM( | 548 void* GLES2MapTexSubImage2DCHROMIUM( |
549 GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, | 549 GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, |
550 GLsizei height, GLenum format, GLenum type, GLenum access) { | 550 GLsizei height, GLenum format, GLenum type, GLenum access) { |
551 return gles2::GetGLContext()->MapTexSubImage2DCHROMIUM( | 551 return gles2::GetGLContext()->MapTexSubImage2DCHROMIUM( |
552 target, level, xoffset, yoffset, width, height, format, type, access); | 552 target, level, xoffset, yoffset, width, height, format, type, access); |
553 } | 553 } |
554 void GLES2UnmapTexSubImage2DCHROMIUM(const void* mem) { | 554 void GLES2UnmapTexSubImage2DCHROMIUM(const void* mem) { |
555 gles2::GetGLContext()->UnmapTexSubImage2DCHROMIUM(mem); | 555 gles2::GetGLContext()->UnmapTexSubImage2DCHROMIUM(mem); |
556 } | 556 } |
557 void GLES2CopyTextureToParentTextureCHROMIUM( | |
558 GLuint client_child_id, GLuint client_parent_id) { | |
559 gles2::GetGLContext()->CopyTextureToParentTextureCHROMIUM( | |
560 client_child_id, client_parent_id); | |
561 } | |
562 void GLES2ResizeCHROMIUM(GLuint width, GLuint height) { | 557 void GLES2ResizeCHROMIUM(GLuint width, GLuint height) { |
563 gles2::GetGLContext()->ResizeCHROMIUM(width, height); | 558 gles2::GetGLContext()->ResizeCHROMIUM(width, height); |
564 } | 559 } |
565 const GLchar* GLES2GetRequestableExtensionsCHROMIUM() { | 560 const GLchar* GLES2GetRequestableExtensionsCHROMIUM() { |
566 return gles2::GetGLContext()->GetRequestableExtensionsCHROMIUM(); | 561 return gles2::GetGLContext()->GetRequestableExtensionsCHROMIUM(); |
567 } | 562 } |
568 void GLES2RequestExtensionCHROMIUM(const char* extension) { | 563 void GLES2RequestExtensionCHROMIUM(const char* extension) { |
569 gles2::GetGLContext()->RequestExtensionCHROMIUM(extension); | 564 gles2::GetGLContext()->RequestExtensionCHROMIUM(extension); |
570 } | 565 } |
571 void GLES2RateLimitOffscreenContextCHROMIUM() { | 566 void GLES2RateLimitOffscreenContextCHROMIUM() { |
572 gles2::GetGLContext()->RateLimitOffscreenContextCHROMIUM(); | 567 gles2::GetGLContext()->RateLimitOffscreenContextCHROMIUM(); |
573 } | 568 } |
574 void GLES2SetSurfaceCHROMIUM(GLint surface_id) { | 569 void GLES2SetSurfaceCHROMIUM(GLint surface_id) { |
575 gles2::GetGLContext()->SetSurfaceCHROMIUM(surface_id); | 570 gles2::GetGLContext()->SetSurfaceCHROMIUM(surface_id); |
576 } | 571 } |
577 void GLES2GetMultipleIntegervCHROMIUM( | 572 void GLES2GetMultipleIntegervCHROMIUM( |
578 const GLenum* pnames, GLuint count, GLint* results, GLsizeiptr size) { | 573 const GLenum* pnames, GLuint count, GLint* results, GLsizeiptr size) { |
579 gles2::GetGLContext()->GetMultipleIntegervCHROMIUM( | 574 gles2::GetGLContext()->GetMultipleIntegervCHROMIUM( |
580 pnames, count, results, size); | 575 pnames, count, results, size); |
581 } | 576 } |
582 void GLES2GetProgramInfoCHROMIUM( | 577 void GLES2GetProgramInfoCHROMIUM( |
583 GLuint program, GLsizei bufsize, GLsizei* size, void* info) { | 578 GLuint program, GLsizei bufsize, GLsizei* size, void* info) { |
584 gles2::GetGLContext()->GetProgramInfoCHROMIUM(program, bufsize, size, info); | 579 gles2::GetGLContext()->GetProgramInfoCHROMIUM(program, bufsize, size, info); |
585 } | 580 } |
586 | 581 |
587 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 582 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
588 | 583 |
OLD | NEW |