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 526 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
537 } | 537 } |
538 void GLES2EndQueryEXT(GLenum target) { | 538 void GLES2EndQueryEXT(GLenum target) { |
539 gles2::GetGLContext()->EndQueryEXT(target); | 539 gles2::GetGLContext()->EndQueryEXT(target); |
540 } | 540 } |
541 void GLES2GetQueryivEXT(GLenum target, GLenum pname, GLint* params) { | 541 void GLES2GetQueryivEXT(GLenum target, GLenum pname, GLint* params) { |
542 gles2::GetGLContext()->GetQueryivEXT(target, pname, params); | 542 gles2::GetGLContext()->GetQueryivEXT(target, pname, params); |
543 } | 543 } |
544 void GLES2GetQueryObjectuivEXT(GLuint id, GLenum pname, GLuint* params) { | 544 void GLES2GetQueryObjectuivEXT(GLuint id, GLenum pname, GLuint* params) { |
545 gles2::GetGLContext()->GetQueryObjectuivEXT(id, pname, params); | 545 gles2::GetGLContext()->GetQueryObjectuivEXT(id, pname, params); |
546 } | 546 } |
| 547 void GLES2InsertEventMarkerEXT(GLsizei length, const GLchar* marker) { |
| 548 gles2::GetGLContext()->InsertEventMarkerEXT(length, marker); |
| 549 } |
| 550 void GLES2PushGroupMarkerEXT(GLsizei length, const GLchar* marker) { |
| 551 gles2::GetGLContext()->PushGroupMarkerEXT(length, marker); |
| 552 } |
| 553 void GLES2PopGroupMarkerEXT() { |
| 554 gles2::GetGLContext()->PopGroupMarkerEXT(); |
| 555 } |
547 void GLES2SwapBuffers() { | 556 void GLES2SwapBuffers() { |
548 gles2::GetGLContext()->SwapBuffers(); | 557 gles2::GetGLContext()->SwapBuffers(); |
549 } | 558 } |
550 GLuint GLES2GetMaxValueInBufferCHROMIUM( | 559 GLuint GLES2GetMaxValueInBufferCHROMIUM( |
551 GLuint buffer_id, GLsizei count, GLenum type, GLuint offset) { | 560 GLuint buffer_id, GLsizei count, GLenum type, GLuint offset) { |
552 return gles2::GetGLContext()->GetMaxValueInBufferCHROMIUM( | 561 return gles2::GetGLContext()->GetMaxValueInBufferCHROMIUM( |
553 buffer_id, count, type, offset); | 562 buffer_id, count, type, offset); |
554 } | 563 } |
555 void GLES2GenSharedIdsCHROMIUM( | 564 void GLES2GenSharedIdsCHROMIUM( |
556 GLuint namespace_id, GLuint id_offset, GLsizei n, GLuint* ids) { | 565 GLuint namespace_id, GLuint id_offset, GLsizei n, GLuint* ids) { |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
654 void GLES2ConsumeTextureCHROMIUM(GLenum target, const GLbyte* mailbox) { | 663 void GLES2ConsumeTextureCHROMIUM(GLenum target, const GLbyte* mailbox) { |
655 gles2::GetGLContext()->ConsumeTextureCHROMIUM(target, mailbox); | 664 gles2::GetGLContext()->ConsumeTextureCHROMIUM(target, mailbox); |
656 } | 665 } |
657 void GLES2BindUniformLocationCHROMIUM( | 666 void GLES2BindUniformLocationCHROMIUM( |
658 GLuint program, GLint location, const char* name) { | 667 GLuint program, GLint location, const char* name) { |
659 gles2::GetGLContext()->BindUniformLocationCHROMIUM(program, location, name); | 668 gles2::GetGLContext()->BindUniformLocationCHROMIUM(program, location, name); |
660 } | 669 } |
661 | 670 |
662 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 671 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
663 | 672 |
OLD | NEW |