| OLD | NEW |
| 1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2014 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 #ifndef GL_GLEXT_PROTOTYPES | 9 #ifndef GL_GLEXT_PROTOTYPES |
| 10 #define GL_GLEXT_PROTOTYPES | 10 #define GL_GLEXT_PROTOTYPES |
| (...skipping 875 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 886 glGetCurrentContextPPAPI(), mode, count, type, indices, primcount); | 886 glGetCurrentContextPPAPI(), mode, count, type, indices, primcount); |
| 887 } | 887 } |
| 888 | 888 |
| 889 void GL_APIENTRY glVertexAttribDivisorANGLE(GLuint index, GLuint divisor) { | 889 void GL_APIENTRY glVertexAttribDivisorANGLE(GLuint index, GLuint divisor) { |
| 890 const struct PPB_OpenGLES2InstancedArrays* ext = | 890 const struct PPB_OpenGLES2InstancedArrays* ext = |
| 891 glGetInstancedArraysInterfacePPAPI(); | 891 glGetInstancedArraysInterfacePPAPI(); |
| 892 if (ext) | 892 if (ext) |
| 893 ext->VertexAttribDivisorANGLE(glGetCurrentContextPPAPI(), index, divisor); | 893 ext->VertexAttribDivisorANGLE(glGetCurrentContextPPAPI(), index, divisor); |
| 894 } | 894 } |
| 895 | 895 |
| 896 void GL_APIENTRY glDrawBuffersEXT(GLsizei count, const GLenum* bufs) { |
| 897 const struct PPB_OpenGLES2DrawBuffers_Dev* ext = |
| 898 glGetDrawBuffersInterfacePPAPI(); |
| 899 if (ext) |
| 900 ext->DrawBuffersEXT(glGetCurrentContextPPAPI(), count, bufs); |
| 901 } |
| 902 |
| OLD | NEW |