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

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

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

Powered by Google App Engine
This is Rietveld 408576698