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

Side by Side Diff: ppapi/c/dev/ppb_context_3d_dev.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/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) 2011 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2010 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
9 #include "ppapi/c/pp_bool.h" 11 #include "ppapi/c/pp_bool.h"
10 #include "ppapi/c/pp_graphics_3d.h"
11 #include "ppapi/c/pp_instance.h" 12 #include "ppapi/c/pp_instance.h"
12 #include "ppapi/c/pp_resource.h" 13 #include "ppapi/c/pp_resource.h"
13 14
14 #define PPB_CONTEXT_3D_DEV_INTERFACE_0_1 "PPB_Context3D(Dev);0.1" 15 #define PPB_CONTEXT_3D_DEV_INTERFACE_0_1 "PPB_Context3D(Dev);0.1"
15 #define PPB_CONTEXT_3D_DEV_INTERFACE PPB_CONTEXT_3D_DEV_INTERFACE_0_1 16 #define PPB_CONTEXT_3D_DEV_INTERFACE PPB_CONTEXT_3D_DEV_INTERFACE_0_1
16 17
17 struct PPB_Context3D_Dev { 18 struct PPB_Context3D_Dev {
18 // Creates and initializes a rendering context and returns a handle to it. 19 // Creates and initializes a rendering context and returns a handle to it.
19 // The context can be used to render to any compatible PPB_Surface3D_Dev. 20 // The context can be used to render to any compatible PPB_Surface3D_Dev.
20 // 21 //
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 // 116 //
116 // On failure, the following error codes can be returned: 117 // On failure, the following error codes can be returned:
117 // - PP_GRAPHICS3DERROR_BAD_CONTEXT: if context is not a valid context. 118 // - PP_GRAPHICS3DERROR_BAD_CONTEXT: if context is not a valid context.
118 // - PP_ERROR_BADARGUMENT: if either draw or read is NULL. 119 // - PP_ERROR_BADARGUMENT: if either draw or read is NULL.
119 int32_t (*GetBoundSurfaces)(PP_Resource context, 120 int32_t (*GetBoundSurfaces)(PP_Resource context,
120 PP_Resource* draw, 121 PP_Resource* draw,
121 PP_Resource* read); 122 PP_Resource* read);
122 }; 123 };
123 124
124 #endif // PPAPI_C_DEV_PPB_CONTEXT_3D_DEV_H_ 125 #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