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

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

Issue 10290006: Update gl2.h and gl2ext.h headers from Khronos. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 7 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/lib/gl/include/GLES2/gl2.h » ('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) 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 #include <GLES2/gl2.h> 9 #include <GLES2/gl2.h>
10 #include <GLES2/gl2ext.h>
10 #include "ppapi/lib/gl/gles2/gl2ext_ppapi.h" 11 #include "ppapi/lib/gl/gles2/gl2ext_ppapi.h"
11 12
12 void GL_APIENTRY glActiveTexture(GLenum texture) { 13 void GL_APIENTRY glActiveTexture(GLenum texture) {
13 glGetInterfacePPAPI()->ActiveTexture(glGetCurrentContextPPAPI(), texture); 14 glGetInterfacePPAPI()->ActiveTexture(glGetCurrentContextPPAPI(), texture);
14 } 15 }
15 16
16 void GL_APIENTRY glAttachShader(GLuint program, GLuint shader) { 17 void GL_APIENTRY glAttachShader(GLuint program, GLuint shader) {
17 glGetInterfacePPAPI()->AttachShader( 18 glGetInterfacePPAPI()->AttachShader(
18 glGetCurrentContextPPAPI(), program, shader); 19 glGetCurrentContextPPAPI(), program, shader);
19 } 20 }
(...skipping 862 matching lines...) Expand 10 before | Expand all | Expand 10 after
882 glGetCurrentContextPPAPI(), mode, count, type, indices, primcount); 883 glGetCurrentContextPPAPI(), mode, count, type, indices, primcount);
883 } 884 }
884 885
885 void GL_APIENTRY glVertexAttribDivisorANGLE(GLuint index, GLuint divisor) { 886 void GL_APIENTRY glVertexAttribDivisorANGLE(GLuint index, GLuint divisor) {
886 const struct PPB_OpenGLES2InstancedArrays_Dev* ext = 887 const struct PPB_OpenGLES2InstancedArrays_Dev* ext =
887 glGetInstancedArraysInterfacePPAPI(); 888 glGetInstancedArraysInterfacePPAPI();
888 if (ext) 889 if (ext)
889 ext->VertexAttribDivisorANGLE(glGetCurrentContextPPAPI(), index, divisor); 890 ext->VertexAttribDivisorANGLE(glGetCurrentContextPPAPI(), index, divisor);
890 } 891 }
891 892
OLDNEW
« no previous file with comments | « ppapi/c/ppb_opengles2.h ('k') | ppapi/lib/gl/include/GLES2/gl2.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698