OLD | NEW |
---|---|
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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. DO NOT EDIT! | 5 // This file is auto-generated. DO NOT EDIT! |
6 | 6 |
7 // OpenGL ES interface. | 7 // OpenGL ES interface. |
8 #ifndef PPAPI_C_DEV_PPB_OPENGLES_DEV_H_ | 8 #ifndef PPAPI_C_DEV_PPB_OPENGLES_DEV_H_ |
9 #define PPAPI_C_DEV_PPB_OPENGLES_DEV_H_ | 9 #define PPAPI_C_DEV_PPB_OPENGLES_DEV_H_ |
10 | 10 |
11 #include "ppapi/c/pp_resource.h" | 11 #include "ppapi/c/pp_resource.h" |
12 #include "ppapi/c/pp_stdint.h" | |
12 | 13 |
13 #ifndef __gl2_h_ | 14 #ifndef __gl2_h_ |
David Springer
2011/02/11 22:27:40
Can someone please explain why we are shadowing "s
| |
14 typedef unsigned int GLenum; | 15 typedef unsigned int GLenum; |
15 typedef void GLvoid; | 16 typedef void GLvoid; |
16 typedef long int GLintptr; | 17 typedef long int GLintptr; |
17 typedef int GLsizei; | 18 typedef int GLsizei; |
18 typedef long int GLsizeiptr; | 19 typedef long int GLsizeiptr; |
19 typedef int GLint; | 20 typedef int GLint; |
20 typedef unsigned char GLboolean; | 21 typedef unsigned char GLboolean; |
21 typedef unsigned int GLuint; | 22 typedef unsigned int GLuint; |
22 typedef unsigned int GLbitfield; | 23 typedef unsigned int GLbitfield; |
23 typedef short GLshort; | 24 typedef short GLshort; |
24 typedef float GLfloat; | 25 typedef float GLfloat; |
25 typedef float GLclampf; | 26 typedef float GLclampf; |
26 typedef signed char GLbyte; | 27 typedef int8_t GLbyte; |
27 typedef unsigned char GLubyte; | 28 typedef uint8_t GLubyte; |
28 typedef int GLfixed; | 29 typedef int32_t GLfixed; |
29 typedef unsigned short GLushort; | 30 typedef unsigned short GLushort; |
30 typedef int GLclampx; | 31 typedef int GLclampx; |
31 #endif // __gl2_h_ | 32 #endif // __gl2_h_ |
32 | 33 |
33 #define PPB_OPENGLES2_DEV_INTERFACE "PPB_OpenGLES(Dev);2.0" | 34 #define PPB_OPENGLES2_DEV_INTERFACE "PPB_OpenGLES(Dev);2.0" |
34 | 35 |
35 struct PPB_OpenGLES2_Dev { | 36 struct PPB_OpenGLES2_Dev { |
36 void (*ActiveTexture)(PP_Resource context, GLenum texture); | 37 void (*ActiveTexture)(PP_Resource context, GLenum texture); |
37 void (*AttachShader)(PP_Resource context, GLuint program, GLuint shader); | 38 void (*AttachShader)(PP_Resource context, GLuint program, GLuint shader); |
38 void (*BindAttribLocation)( | 39 void (*BindAttribLocation)( |
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
294 PP_Resource context, GLuint indx, const GLfloat* values); | 295 PP_Resource context, GLuint indx, const GLfloat* values); |
295 void (*VertexAttribPointer)( | 296 void (*VertexAttribPointer)( |
296 PP_Resource context, GLuint indx, GLint size, GLenum type, | 297 PP_Resource context, GLuint indx, GLint size, GLenum type, |
297 GLboolean normalized, GLsizei stride, const void* ptr); | 298 GLboolean normalized, GLsizei stride, const void* ptr); |
298 void (*Viewport)( | 299 void (*Viewport)( |
299 PP_Resource context, GLint x, GLint y, GLsizei width, GLsizei height); | 300 PP_Resource context, GLint x, GLint y, GLsizei width, GLsizei height); |
300 }; | 301 }; |
301 | 302 |
302 #endif // PPAPI_C_DEV_PPB_OPENGLES_DEV_H_ | 303 #endif // PPAPI_C_DEV_PPB_OPENGLES_DEV_H_ |
303 | 304 |
OLD | NEW |