| 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 618 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 629 } | 629 } |
| 630 void GLES2DrawElementsInstancedANGLE( | 630 void GLES2DrawElementsInstancedANGLE( |
| 631 GLenum mode, GLsizei count, GLenum type, const void* indices, | 631 GLenum mode, GLsizei count, GLenum type, const void* indices, |
| 632 GLsizei primcount) { | 632 GLsizei primcount) { |
| 633 gles2::GetGLContext()->DrawElementsInstancedANGLE( | 633 gles2::GetGLContext()->DrawElementsInstancedANGLE( |
| 634 mode, count, type, indices, primcount); | 634 mode, count, type, indices, primcount); |
| 635 } | 635 } |
| 636 void GLES2VertexAttribDivisorANGLE(GLuint index, GLuint divisor) { | 636 void GLES2VertexAttribDivisorANGLE(GLuint index, GLuint divisor) { |
| 637 gles2::GetGLContext()->VertexAttribDivisorANGLE(index, divisor); | 637 gles2::GetGLContext()->VertexAttribDivisorANGLE(index, divisor); |
| 638 } | 638 } |
| 639 void GLES2DiscardBackbufferCHROMIUM() { |
| 640 gles2::GetGLContext()->DiscardBackbufferCHROMIUM(); |
| 641 } |
| 642 void GLES2EnsureBackbufferCHROMIUM() { |
| 643 gles2::GetGLContext()->EnsureBackbufferCHROMIUM(); |
| 644 } |
| 639 | 645 |
| 640 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ | 646 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ |
| 641 | 647 |
| OLD | NEW |