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

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

Issue 99053007: Updated Khronos GLES2 headers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase + newest skia changes Created 7 years 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) 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 // OpenGL ES interface. 9 // OpenGL ES interface.
10 #ifndef PPAPI_C_PPB_OPENGLES2_H_ 10 #ifndef PPAPI_C_PPB_OPENGLES2_H_
11 #define PPAPI_C_PPB_OPENGLES2_H_ 11 #define PPAPI_C_PPB_OPENGLES2_H_
12 12
13 #include "ppapi/c/pp_resource.h" 13 #include "ppapi/c/pp_resource.h"
14 14
15 #ifndef __gl2_h_ 15 #ifndef __gl2_h_
16 typedef unsigned int GLenum; 16 typedef unsigned int GLenum;
17 typedef void GLvoid; 17 typedef void GLvoid;
18 typedef long int GLintptr;
19 typedef int GLsizei; 18 typedef int GLsizei;
20 typedef long int GLsizeiptr;
21 typedef int GLint; 19 typedef int GLint;
22 typedef unsigned char GLboolean; 20 typedef unsigned char GLboolean;
23 typedef unsigned int GLuint; 21 typedef unsigned int GLuint;
24 typedef unsigned int GLbitfield; 22 typedef unsigned int GLbitfield;
25 typedef short GLshort; 23 typedef short GLshort;
26 typedef float GLfloat; 24 typedef float GLfloat;
27 typedef float GLclampf; 25 typedef float GLclampf;
28 typedef signed char GLbyte; 26 typedef signed char GLbyte;
29 typedef unsigned char GLubyte; 27 typedef unsigned char GLubyte;
30 typedef int GLfixed; 28 typedef int GLfixed;
31 typedef unsigned short GLushort; 29 typedef unsigned short GLushort;
32 typedef int GLclampx; 30 typedef int GLclampx;
31 #ifdef _WIN64
32 typedef long long int GLintptr;
33 typedef long long int GLsizeiptr;
34 #else
35 typedef long int GLintptr;
36 typedef long int GLsizeiptr;
37 #endif // _WIN64
33 #endif // __gl2_h_ 38 #endif // __gl2_h_
34 39
35 #define PPB_OPENGLES2_INTERFACE_1_0 "PPB_OpenGLES2;1.0" 40 #define PPB_OPENGLES2_INTERFACE_1_0 "PPB_OpenGLES2;1.0"
36 #define PPB_OPENGLES2_INTERFACE PPB_OPENGLES2_INTERFACE_1_0 41 #define PPB_OPENGLES2_INTERFACE PPB_OPENGLES2_INTERFACE_1_0
37 42
38 struct PPB_OpenGLES2 { 43 struct PPB_OpenGLES2 {
39 void (*ActiveTexture)(PP_Resource context, GLenum texture); 44 void (*ActiveTexture)(PP_Resource context, GLenum texture);
40 void (*AttachShader)(PP_Resource context, GLuint program, GLuint shader); 45 void (*AttachShader)(PP_Resource context, GLuint program, GLuint shader);
41 void (*BindAttribLocation)( 46 void (*BindAttribLocation)(
42 PP_Resource context, GLuint program, GLuint index, const char* name); 47 PP_Resource context, GLuint program, GLuint index, const char* name);
(...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after
368 void (*BeginQueryEXT)(PP_Resource context, GLenum target, GLuint id); 373 void (*BeginQueryEXT)(PP_Resource context, GLenum target, GLuint id);
369 void (*EndQueryEXT)(PP_Resource context, GLenum target); 374 void (*EndQueryEXT)(PP_Resource context, GLenum target);
370 void (*GetQueryivEXT)( 375 void (*GetQueryivEXT)(
371 PP_Resource context, GLenum target, GLenum pname, GLint* params); 376 PP_Resource context, GLenum target, GLenum pname, GLint* params);
372 void (*GetQueryObjectuivEXT)( 377 void (*GetQueryObjectuivEXT)(
373 PP_Resource context, GLuint id, GLenum pname, GLuint* params); 378 PP_Resource context, GLuint id, GLenum pname, GLuint* params);
374 }; 379 };
375 380
376 #endif // PPAPI_C_PPB_OPENGLES2_H_ 381 #endif // PPAPI_C_PPB_OPENGLES2_H_
377 382
OLDNEW
« no previous file with comments | « gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h ('k') | skia/config/SkUserConfig.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698