Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(236)

Side by Side Diff: ppapi/lib/gl/gles2/gles2.c

Issue 189373003: Get rid of the formatting code in build_gles2_cmd_buffer.py (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ppapi/c/ppb_opengles2.h ('k') | ppapi/shared_impl/ppb_opengles2_shared.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « ppapi/c/ppb_opengles2.h ('k') | ppapi/shared_impl/ppb_opengles2_shared.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698