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

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

Issue 7782020: Revert 99855 - Move PPAPI graphics3d and opengles interfaces out of Dev. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 3 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/ppp_graphics_3d_dev.h ('k') | ppapi/c/ppb_graphics_3d.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) 2011 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
6 #ifndef PPAPI_C_PP_GRAPHICS_3D_H_
7 #define PPAPI_C_PP_GRAPHICS_3D_H_
8
9 #include "ppapi/c/pp_stdint.h"
10
11 enum PP_Graphics3DAttrib {
12 // Bits of Alpha in the color buffer.
13 PP_GRAPHICS3DATTRIB_ALPHA_SIZE = 0x3021,
14 // Bits of Blue in the color buffer.
15 PP_GRAPHICS3DATTRIB_BLUE_SIZE = 0x3022,
16 // Bits of Green in the color buffer.
17 PP_GRAPHICS3DATTRIB_GREEN_SIZE = 0x3023,
18 // Bits of Red in the color buffer.
19 PP_GRAPHICS3DATTRIB_RED_SIZE = 0x3024,
20 // Bits of Z in the depth buffer.
21 PP_GRAPHICS3DATTRIB_DEPTH_SIZE = 0x3025,
22 // Bits of Stencil in the stencil buffer.
23 PP_GRAPHICS3DATTRIB_STENCIL_SIZE = 0x3026,
24 // Number of samples per pixel.
25 PP_GRAPHICS3DATTRIB_SAMPLES = 0x3031,
26 // Number of multisample buffers.
27 PP_GRAPHICS3DATTRIB_SAMPLE_BUFFERS = 0x3032,
28 // Attrib list terminator.
29 PP_GRAPHICS3DATTRIB_NONE = 0x3038,
30 // Height of surface in pixels.
31 PP_GRAPHICS3DATTRIB_HEIGHT = 0x3056,
32 // Width of surface in pixels.
33 PP_GRAPHICS3DATTRIB_WIDTH = 0x3057,
34
35 // Specifies the effect on the color buffer of posting a surface
36 // with SwapBuffers. The initial value is chosen by the implementation.
37 PP_GRAPHICS3DATTRIB_SWAP_BEHAVIOR = 0x3093,
38 // Indicates that color buffer contents are unaffected.
39 PP_GRAPHICS3DATTRIB_BUFFER_PRESERVED = 0x3094,
40 // Indicates that color buffer contents may be destroyed or changed.
41 PP_GRAPHICS3DATTRIB_BUFFER_DESTROYED = 0x3095
42 };
43
44 // TODO(alokp): Remove this when PPB_Context3D_Dev and PPB_Surface3D_Dev
45 // are deprecated.
46 typedef int32_t PP_Config3D_Dev;
47
48 #endif // PPAPI_C_PP_GRAPHICS_3D_H_
OLDNEW
« no previous file with comments | « ppapi/c/dev/ppp_graphics_3d_dev.h ('k') | ppapi/c/ppb_graphics_3d.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698