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

Side by Side Diff: ppapi/c/ppb_opengles2.h

Issue 397183002: Add PPAPI interface for OpenGL ES 2.0 Vertex Array Objects. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 5 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') | ppapi/lib/gl/gles2/gl2ext_ppapi.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 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 593 matching lines...) Expand 10 before | Expand all | Expand 10 after
604 void (*GetQueryivEXT)(PP_Resource context, 604 void (*GetQueryivEXT)(PP_Resource context,
605 GLenum target, 605 GLenum target,
606 GLenum pname, 606 GLenum pname,
607 GLint* params); 607 GLint* params);
608 void (*GetQueryObjectuivEXT)(PP_Resource context, 608 void (*GetQueryObjectuivEXT)(PP_Resource context,
609 GLuint id, 609 GLuint id,
610 GLenum pname, 610 GLenum pname,
611 GLuint* params); 611 GLuint* params);
612 }; 612 };
613 613
614 #define PPB_OPENGLES2_VERTEXARRAYOBJECT_INTERFACE_1_0 \
615 "PPB_OpenGLES2VertexArrayObject;1.0"
616 #define PPB_OPENGLES2_VERTEXARRAYOBJECT_INTERFACE \
617 PPB_OPENGLES2_VERTEXARRAYOBJECT_INTERFACE_1_0
618
619 struct PPB_OpenGLES2VertexArrayObject {
620 void (*GenVertexArraysOES)(PP_Resource context, GLsizei n, GLuint* arrays);
621 void (*DeleteVertexArraysOES)(PP_Resource context,
622 GLsizei n,
623 const GLuint* arrays);
624 GLboolean (*IsVertexArrayOES)(PP_Resource context, GLuint array);
625 void (*BindVertexArrayOES)(PP_Resource context, GLuint array);
626 };
627
614 #endif // PPAPI_C_PPB_OPENGLES2_H_ 628 #endif // PPAPI_C_PPB_OPENGLES2_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/build_gles2_cmd_buffer.py ('k') | ppapi/lib/gl/gles2/gl2ext_ppapi.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698