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

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

Issue 182213003: Add new PPB_OPENGLES2_DRAWBUFFERS_DEV_INTERFACE_1_0 pepper interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
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 // 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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698