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 |
(...skipping 13 matching lines...) Expand all Loading... | |
24 typedef short GLshort; | 24 typedef short GLshort; |
25 typedef float GLfloat; | 25 typedef float GLfloat; |
26 typedef float GLclampf; | 26 typedef float GLclampf; |
27 typedef int8_t GLbyte; | 27 typedef int8_t GLbyte; |
28 typedef uint8_t GLubyte; | 28 typedef uint8_t GLubyte; |
29 typedef int32_t GLfixed; | 29 typedef int32_t GLfixed; |
30 typedef unsigned short GLushort; | 30 typedef unsigned short GLushort; |
31 typedef int GLclampx; | 31 typedef int GLclampx; |
32 #endif // __gl2_h_ | 32 #endif // __gl2_h_ |
33 | 33 |
34 #define PPB_OPENGLES2_DEV_INTERFACE "PPB_OpenGLES(Dev);2.0" | 34 #define PPB_OPENGLES2_DEV_INTERFACE_2 "PPB_OpenGLES(Dev);2.0" |
polina
2011/04/27 03:40:26
2 or 2_0?
brettw
2011/04/27 03:50:47
Actually this string is all messed up. I renamed t
| |
35 #define PPB_OPENGLES2_DEV_INTERFACE PPB_OPENGLES2_DEV_INTERFACE_2 | |
35 | 36 |
36 struct PPB_OpenGLES2_Dev { | 37 struct PPB_OpenGLES2_Dev { |
37 void (*ActiveTexture)(PP_Resource context, GLenum texture); | 38 void (*ActiveTexture)(PP_Resource context, GLenum texture); |
38 void (*AttachShader)(PP_Resource context, GLuint program, GLuint shader); | 39 void (*AttachShader)(PP_Resource context, GLuint program, GLuint shader); |
39 void (*BindAttribLocation)( | 40 void (*BindAttribLocation)( |
40 PP_Resource context, GLuint program, GLuint index, const char* name); | 41 PP_Resource context, GLuint program, GLuint index, const char* name); |
41 void (*BindBuffer)(PP_Resource context, GLenum target, GLuint buffer); | 42 void (*BindBuffer)(PP_Resource context, GLenum target, GLuint buffer); |
42 void (*BindFramebuffer)( | 43 void (*BindFramebuffer)( |
43 PP_Resource context, GLenum target, GLuint framebuffer); | 44 PP_Resource context, GLenum target, GLuint framebuffer); |
44 void (*BindRenderbuffer)( | 45 void (*BindRenderbuffer)( |
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
295 PP_Resource context, GLuint indx, const GLfloat* values); | 296 PP_Resource context, GLuint indx, const GLfloat* values); |
296 void (*VertexAttribPointer)( | 297 void (*VertexAttribPointer)( |
297 PP_Resource context, GLuint indx, GLint size, GLenum type, | 298 PP_Resource context, GLuint indx, GLint size, GLenum type, |
298 GLboolean normalized, GLsizei stride, const void* ptr); | 299 GLboolean normalized, GLsizei stride, const void* ptr); |
299 void (*Viewport)( | 300 void (*Viewport)( |
300 PP_Resource context, GLint x, GLint y, GLsizei width, GLsizei height); | 301 PP_Resource context, GLint x, GLint y, GLsizei width, GLsizei height); |
301 }; | 302 }; |
302 | 303 |
303 #endif // PPAPI_C_DEV_PPB_OPENGLES_DEV_H_ | 304 #endif // PPAPI_C_DEV_PPB_OPENGLES_DEV_H_ |
304 | 305 |
OLD | NEW |