OLD | NEW |
---|---|
1 // Copyright (c) 2011 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_ |
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
295 GLfloat w); | 295 GLfloat w); |
296 void (*VertexAttrib4fv)( | 296 void (*VertexAttrib4fv)( |
297 PP_Resource context, GLuint indx, const GLfloat* values); | 297 PP_Resource context, GLuint indx, const GLfloat* values); |
298 void (*VertexAttribPointer)( | 298 void (*VertexAttribPointer)( |
299 PP_Resource context, GLuint indx, GLint size, GLenum type, | 299 PP_Resource context, GLuint indx, GLint size, GLenum type, |
300 GLboolean normalized, GLsizei stride, const void* ptr); | 300 GLboolean normalized, GLsizei stride, const void* ptr); |
301 void (*Viewport)( | 301 void (*Viewport)( |
302 PP_Resource context, GLint x, GLint y, GLsizei width, GLsizei height); | 302 PP_Resource context, GLint x, GLint y, GLsizei width, GLsizei height); |
303 }; | 303 }; |
304 | 304 |
305 #define PPB_OPENGLES2_INSTANCEDARRAYS_INTERFACE_1_0 "PPB_OpenGLES2InstancedArray s;1.0" // NOLINT | |
306 #define PPB_OPENGLES2_INSTANCEDARRAYS_INTERFACE PPB_OPENGLES2_INSTANCEDARRAYS_IN TERFACE_1_0 // NOLINT | |
307 | |
308 struct PPB_OpenGLES2InstancedArrays { | |
309 void (*DrawArraysInstancedANGLE)( | |
310 PP_Resource context, GLenum mode, GLint first, GLsizei count, | |
311 GLsizei primcount); | |
312 void (*DrawElementsInstancedANGLE)( | |
313 PP_Resource context, GLenum mode, GLsizei count, GLenum type, | |
314 const void* indices, GLsizei primcount); | |
315 void (*VertexAttribDivisorANGLE)( | |
316 PP_Resource context, GLuint index, GLuint divisor); | |
317 }; | |
318 | |
319 #define PPB_OPENGLES2_FRAMEBUFFERBLIT_INTERFACE_1_0 "PPB_OpenGLES2FramebufferBli t;1.0" // NOLINT | |
320 #define PPB_OPENGLES2_FRAMEBUFFERBLIT_INTERFACE PPB_OPENGLES2_FRAMEBUFFERBLIT_IN TERFACE_1_0 // NOLINT | |
321 | |
322 struct PPB_OpenGLES2FramebufferBlit { | |
323 void (*BlitFramebufferEXT)( | |
324 PP_Resource context, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, | |
325 GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, | |
326 GLenum filter); | |
327 }; | |
328 | |
329 #define PPB_OPENGLES2_FRAMEBUFFERMULTISAMPLE_INTERFACE_1_0 "PPB_OpenGLES2Framebu fferMultisample;1.0" // NOLINT | |
330 #define PPB_OPENGLES2_FRAMEBUFFERMULTISAMPLE_INTERFACE PPB_OPENGLES2_FRAMEBUFFER MULTISAMPLE_INTERFACE_1_0 // NOLINT | |
331 | |
332 struct PPB_OpenGLES2FramebufferMultisample { | |
333 void (*RenderbufferStorageMultisampleEXT)( | |
334 PP_Resource context, GLenum target, GLsizei samples, | |
335 GLenum internalformat, GLsizei width, GLsizei height); | |
336 }; | |
337 | |
338 #define PPB_OPENGLES2_CHROMIUMENABLEFEATURE_INTERFACE_1_0 "PPB_OpenGLES2Chromium EnableFeature;1.0" // NOLINT | |
339 #define PPB_OPENGLES2_CHROMIUMENABLEFEATURE_INTERFACE PPB_OPENGLES2_CHROMIUMENAB LEFEATURE_INTERFACE_1_0 // NOLINT | |
340 | |
341 struct PPB_OpenGLES2ChromiumEnableFeature { | |
342 GLboolean (*EnableFeatureCHROMIUM)(PP_Resource context, const char* feature); | |
343 }; | |
344 | |
345 #define PPB_OPENGLES2_CHROMIUMMAPSUB_INTERFACE_1_0 "PPB_OpenGLES2ChromiumMapSub; 1.0" // NOLINT | |
346 #define PPB_OPENGLES2_CHROMIUMMAPSUB_INTERFACE PPB_OPENGLES2_CHROMIUMMAPSUB_INTE RFACE_1_0 // NOLINT | |
347 | |
348 struct PPB_OpenGLES2ChromiumMapSub { | |
349 void* (*MapBufferSubDataCHROMIUM)( | |
350 PP_Resource context, GLuint target, GLintptr offset, GLsizeiptr size, | |
351 GLenum access); | |
352 void (*UnmapBufferSubDataCHROMIUM)(PP_Resource context, const void* mem); | |
353 void* (*MapTexSubImage2DCHROMIUM)( | |
nfullagar
2012/02/16 23:25:43
If MapTexSubImage2DCHROMIUM is moving here, this C
| |
354 PP_Resource context, GLenum target, GLint level, GLint xoffset, | |
355 GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, | |
356 GLenum access); | |
357 void (*UnmapTexSubImage2DCHROMIUM)(PP_Resource context, const void* mem); | |
nfullagar
2012/02/16 23:25:43
Traditionally new PPAPI interfaces would hang out
| |
358 }; | |
359 | |
305 #endif // PPAPI_C_PPB_OPENGLES2_H_ | 360 #endif // PPAPI_C_PPB_OPENGLES2_H_ |
306 | 361 |
OLD | NEW |