| 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 // It's formatted by clang-format using chromium coding style: | 7 // It's formatted by clang-format using chromium coding style: |
| 8 // clang-format -i -style=chromium filename | 8 // clang-format -i -style=chromium filename |
| 9 // DO NOT EDIT! | 9 // DO NOT EDIT! |
| 10 | 10 |
| (...skipping 1037 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1048 ext->DrawElementsInstancedANGLE( | 1048 ext->DrawElementsInstancedANGLE( |
| 1049 glGetCurrentContextPPAPI(), mode, count, type, indices, primcount); | 1049 glGetCurrentContextPPAPI(), mode, count, type, indices, primcount); |
| 1050 } | 1050 } |
| 1051 | 1051 |
| 1052 void GL_APIENTRY glVertexAttribDivisorANGLE(GLuint index, GLuint divisor) { | 1052 void GL_APIENTRY glVertexAttribDivisorANGLE(GLuint index, GLuint divisor) { |
| 1053 const struct PPB_OpenGLES2InstancedArrays* ext = | 1053 const struct PPB_OpenGLES2InstancedArrays* ext = |
| 1054 glGetInstancedArraysInterfacePPAPI(); | 1054 glGetInstancedArraysInterfacePPAPI(); |
| 1055 if (ext) | 1055 if (ext) |
| 1056 ext->VertexAttribDivisorANGLE(glGetCurrentContextPPAPI(), index, divisor); | 1056 ext->VertexAttribDivisorANGLE(glGetCurrentContextPPAPI(), index, divisor); |
| 1057 } | 1057 } |
| 1058 |
| 1058 void GL_APIENTRY glDrawBuffersEXT(GLsizei count, const GLenum* bufs) { | 1059 void GL_APIENTRY glDrawBuffersEXT(GLsizei count, const GLenum* bufs) { |
| 1059 const struct PPB_OpenGLES2DrawBuffers_Dev* ext = | 1060 const struct PPB_OpenGLES2DrawBuffers_Dev* ext = |
| 1060 glGetDrawBuffersInterfacePPAPI(); | 1061 glGetDrawBuffersInterfacePPAPI(); |
| 1061 if (ext) | 1062 if (ext) |
| 1062 ext->DrawBuffersEXT(glGetCurrentContextPPAPI(), count, bufs); | 1063 ext->DrawBuffersEXT(glGetCurrentContextPPAPI(), count, bufs); |
| 1063 } | 1064 } |
| 1064 | |
| OLD | NEW |