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

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

Issue 7737013: Move PPAPI graphics3d and opengles interfaces out of Dev. (Closed) Base URL: svn://chrome-svn/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/pp_video_dev.h ('k') | ppapi/c/dev/ppb_gles_chromium_texture_mapping_dev.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Copyright (c) 2010 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 5
6 #ifndef PPAPI_C_DEV_PPB_CONTEXT_3D_DEV_H_ 6 #ifndef PPAPI_C_DEV_PPB_CONTEXT_3D_DEV_H_
7 #define PPAPI_C_DEV_PPB_CONTEXT_3D_DEV_H_ 7 #define PPAPI_C_DEV_PPB_CONTEXT_3D_DEV_H_
8 8
9 #include "ppapi/c/dev/pp_graphics_3d_dev.h"
10
11 #include "ppapi/c/pp_bool.h" 9 #include "ppapi/c/pp_bool.h"
10 #include "ppapi/c/pp_graphics_3d.h"
12 #include "ppapi/c/pp_instance.h" 11 #include "ppapi/c/pp_instance.h"
13 #include "ppapi/c/pp_resource.h" 12 #include "ppapi/c/pp_resource.h"
14 13
15 #define PPB_CONTEXT_3D_DEV_INTERFACE_0_1 "PPB_Context3D(Dev);0.1" 14 #define PPB_CONTEXT_3D_DEV_INTERFACE_0_1 "PPB_Context3D(Dev);0.1"
16 #define PPB_CONTEXT_3D_DEV_INTERFACE PPB_CONTEXT_3D_DEV_INTERFACE_0_1 15 #define PPB_CONTEXT_3D_DEV_INTERFACE PPB_CONTEXT_3D_DEV_INTERFACE_0_1
17 16
18 struct PPB_Context3D_Dev { 17 struct PPB_Context3D_Dev {
19 // Creates and initializes a rendering context and returns a handle to it. 18 // Creates and initializes a rendering context and returns a handle to it.
20 // The context can be used to render to any compatible PPB_Surface3D_Dev. 19 // The context can be used to render to any compatible PPB_Surface3D_Dev.
21 // 20 //
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 // 115 //
117 // On failure, the following error codes can be returned: 116 // On failure, the following error codes can be returned:
118 // - PP_GRAPHICS3DERROR_BAD_CONTEXT: if context is not a valid context. 117 // - PP_GRAPHICS3DERROR_BAD_CONTEXT: if context is not a valid context.
119 // - PP_ERROR_BADARGUMENT: if either draw or read is NULL. 118 // - PP_ERROR_BADARGUMENT: if either draw or read is NULL.
120 int32_t (*GetBoundSurfaces)(PP_Resource context, 119 int32_t (*GetBoundSurfaces)(PP_Resource context,
121 PP_Resource* draw, 120 PP_Resource* draw,
122 PP_Resource* read); 121 PP_Resource* read);
123 }; 122 };
124 123
125 #endif // PPAPI_C_DEV_PPB_CONTEXT_3D_DEV_H_ 124 #endif // PPAPI_C_DEV_PPB_CONTEXT_3D_DEV_H_
OLDNEW
« no previous file with comments | « ppapi/c/dev/pp_video_dev.h ('k') | ppapi/c/dev/ppb_gles_chromium_texture_mapping_dev.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698