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

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

Issue 5567004: Proposed changes to Pepper 3D API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years 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
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef PPAPI_C_DEV_PPB_CONTEXT_3D_DEV_H_
6 #define PPAPI_C_DEV_PPB_CONTEXT_3D_DEV_H_
7
8 #include "ppapi/c/pp_bool.h"
9 #include "ppapi/c/pp_module.h"
10 #include "ppapi/c/pp_resource.h"
11
12 #define PPB_CONTEXT_3D_DEV_INTERFACE "PPB_Context3D(Dev);0.1"
13
14 struct PPB_Context3D_Dev {
15 PP_Bool (*IsContext3D)(PP_Resource resource);
16
17 int32_t (*Create)(PP_Module module,
brettw 2010/12/07 05:51:06 Generally we put this function first and IsXXX sec
18 int32_t config,
19 PP_Resource share_context,
20 const int32_t* attrib_list,
21 PP_Resource* context);
22
23 int32_t (*BindSurfaces)(PP_Resource context,
24 PP_Resource draw,
25 PP_Resource read);
26 };
27
28 #endif // PPAPI_C_DEV_PPB_CONTEXT_3D_DEV_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698