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 550 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
561 } | 561 } |
562 void GLES2ResizeCHROMIUM(GLuint width, GLuint height) { | 562 void GLES2ResizeCHROMIUM(GLuint width, GLuint height) { |
563 gles2::GetGLContext()->ResizeCHROMIUM(width, height); | 563 gles2::GetGLContext()->ResizeCHROMIUM(width, height); |
564 } | 564 } |
565 const GLchar* GLES2GetRequestableExtensionsCHROMIUM() { | 565 const GLchar* GLES2GetRequestableExtensionsCHROMIUM() { |
566 return gles2::GetGLContext()->GetRequestableExtensionsCHROMIUM(); | 566 return gles2::GetGLContext()->GetRequestableExtensionsCHROMIUM(); |
567 } | 567 } |
568 void GLES2RequestExtensionCHROMIUM(const char* extension) { | 568 void GLES2RequestExtensionCHROMIUM(const char* extension) { |
569 gles2::GetGLContext()->RequestExtensionCHROMIUM(extension); | 569 gles2::GetGLContext()->RequestExtensionCHROMIUM(extension); |
570 } | 570 } |
| 571 void GLES2SetLatchCHROMIUM(GLuint latch_id) { |
| 572 gles2::GetGLContext()->SetLatchCHROMIUM(latch_id); |
| 573 } |
| 574 void GLES2WaitLatchCHROMIUM(GLuint latch_id) { |
| 575 gles2::GetGLContext()->WaitLatchCHROMIUM(latch_id); |
| 576 } |
571 void GLES2RateLimitOffscreenContextCHROMIUM() { | 577 void GLES2RateLimitOffscreenContextCHROMIUM() { |
572 gles2::GetGLContext()->RateLimitOffscreenContextCHROMIUM(); | 578 gles2::GetGLContext()->RateLimitOffscreenContextCHROMIUM(); |
573 } | 579 } |
574 void GLES2SetSurfaceCHROMIUM(GLint surface_id) { | 580 void GLES2SetSurfaceCHROMIUM(GLint surface_id) { |
575 gles2::GetGLContext()->SetSurfaceCHROMIUM(surface_id); | 581 gles2::GetGLContext()->SetSurfaceCHROMIUM(surface_id); |
576 } | 582 } |
577 void GLES2GetMultipleIntegervCHROMIUM( | 583 void GLES2GetMultipleIntegervCHROMIUM( |
578 const GLenum* pnames, GLuint count, GLint* results, GLsizeiptr size) { | 584 const GLenum* pnames, GLuint count, GLint* results, GLsizeiptr size) { |
579 gles2::GetGLContext()->GetMultipleIntegervCHROMIUM( | 585 gles2::GetGLContext()->GetMultipleIntegervCHROMIUM( |
580 pnames, count, results, size); | 586 pnames, count, results, size); |
581 } | 587 } |
582 void GLES2GetProgramInfoCHROMIUM( | 588 void GLES2GetProgramInfoCHROMIUM( |
583 GLuint program, GLsizei bufsize, GLsizei* size, void* info) { | 589 GLuint program, GLsizei bufsize, GLsizei* size, void* info) { |
584 gles2::GetGLContext()->GetProgramInfoCHROMIUM(program, bufsize, size, info); | 590 gles2::GetGLContext()->GetProgramInfoCHROMIUM(program, bufsize, size, info); |
585 } | 591 } |
586 | 592 |
587 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 593 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
588 | 594 |
OLD | NEW |