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

Side by Side Diff: ppapi/c/dev/ppb_opengles2ext_dev.h

Issue 9420017: Add Pepper support for several GL extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix build_gles2_cmd_buffer Created 8 years, 10 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 | « ppapi/c/dev/ppb_gles_chromium_texture_mapping_dev.h ('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
(Empty)
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
3 // found in the LICENSE file.
4
5 // This file is auto-generated from
6 // gpu/command_buffer/build_gles2_cmd_buffer.py
7 // DO NOT EDIT!
8
9 // OpenGL ES interface.
10 #ifndef C_DEV_PPB_OPENGLES2EXT_DEV_H_
11 #define C_DEV_PPB_OPENGLES2EXT_DEV_H_
12
13 #include "ppapi/c/pp_resource.h"
14 #include "ppapi/c/ppb_opengles2.h"
15
16 #define PPB_OPENGLES2_INSTANCEDARRAYS_DEV_INTERFACE_1_0 \
17 "PPB_OpenGLES2InstancedArrays(Dev);1.0"
18 #define PPB_OPENGLES2_INSTANCEDARRAYS_DEV_INTERFACE \
19 PPB_OPENGLES2_INSTANCEDARRAYS_DEV_INTERFACE_1_0
20
21 struct PPB_OpenGLES2InstancedArrays_Dev {
22 void (*DrawArraysInstancedANGLE)(
23 PP_Resource context, GLenum mode, GLint first, GLsizei count,
24 GLsizei primcount);
25 void (*DrawElementsInstancedANGLE)(
26 PP_Resource context, GLenum mode, GLsizei count, GLenum type,
27 const void* indices, GLsizei primcount);
28 void (*VertexAttribDivisorANGLE)(
29 PP_Resource context, GLuint index, GLuint divisor);
30 };
31
32 #define PPB_OPENGLES2_FRAMEBUFFERBLIT_DEV_INTERFACE_1_0 \
33 "PPB_OpenGLES2FramebufferBlit(Dev);1.0"
34 #define PPB_OPENGLES2_FRAMEBUFFERBLIT_DEV_INTERFACE \
35 PPB_OPENGLES2_FRAMEBUFFERBLIT_DEV_INTERFACE_1_0
36
37 struct PPB_OpenGLES2FramebufferBlit_Dev {
38 void (*BlitFramebufferEXT)(
39 PP_Resource context, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1,
40 GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask,
41 GLenum filter);
42 };
43
44 #define PPB_OPENGLES2_FRAMEBUFFERMULTISAMPLE_DEV_INTERFACE_1_0 \
45 "PPB_OpenGLES2FramebufferMultisample(Dev);1.0"
46 #define PPB_OPENGLES2_FRAMEBUFFERMULTISAMPLE_DEV_INTERFACE \
47 PPB_OPENGLES2_FRAMEBUFFERMULTISAMPLE_DEV_INTERFACE_1_0
48
49 struct PPB_OpenGLES2FramebufferMultisample_Dev {
50 void (*RenderbufferStorageMultisampleEXT)(
51 PP_Resource context, GLenum target, GLsizei samples,
52 GLenum internalformat, GLsizei width, GLsizei height);
53 };
54
55 #define PPB_OPENGLES2_CHROMIUMENABLEFEATURE_DEV_INTERFACE_1_0 \
56 "PPB_OpenGLES2ChromiumEnableFeature(Dev);1.0"
57 #define PPB_OPENGLES2_CHROMIUMENABLEFEATURE_DEV_INTERFACE \
58 PPB_OPENGLES2_CHROMIUMENABLEFEATURE_DEV_INTERFACE_1_0
59
60 struct PPB_OpenGLES2ChromiumEnableFeature_Dev {
61 GLboolean (*EnableFeatureCHROMIUM)(PP_Resource context, const char* feature);
62 };
63
64 #define PPB_OPENGLES2_CHROMIUMMAPSUB_DEV_INTERFACE_1_0 \
65 "PPB_OpenGLES2ChromiumMapSub(Dev);1.0"
66 #define PPB_OPENGLES2_CHROMIUMMAPSUB_DEV_INTERFACE \
67 PPB_OPENGLES2_CHROMIUMMAPSUB_DEV_INTERFACE_1_0
68
69 struct PPB_OpenGLES2ChromiumMapSub_Dev {
70 void* (*MapBufferSubDataCHROMIUM)(
71 PP_Resource context, GLuint target, GLintptr offset, GLsizeiptr size,
72 GLenum access);
73 void (*UnmapBufferSubDataCHROMIUM)(PP_Resource context, const void* mem);
74 void* (*MapTexSubImage2DCHROMIUM)(
75 PP_Resource context, GLenum target, GLint level, GLint xoffset,
76 GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type,
77 GLenum access);
78 void (*UnmapTexSubImage2DCHROMIUM)(PP_Resource context, const void* mem);
79 };
80
81 #endif // C_DEV_PPB_OPENGLES2EXT_DEV_H_
82
OLDNEW
« no previous file with comments | « ppapi/c/dev/ppb_gles_chromium_texture_mapping_dev.h ('k') | ppapi/lib/gl/gles2/gl2ext_ppapi.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698