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

Side by Side Diff: ppapi/cpp/dev/graphics_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/cpp/dev/graphics_3d_client_dev.cc ('k') | ppapi/cpp/dev/graphics_3d_dev.cc » ('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 #ifndef PPAPI_CPP_DEV_GRAPHICS_3D_DEV_H_
6 #define PPAPI_CPP_DEV_GRAPHICS_3D_DEV_H_
7
8 #include "ppapi/c/dev/ppb_graphics_3d_dev.h"
9 #include "ppapi/cpp/resource.h"
10
11 namespace pp {
12
13 class CompletionCallback;
14 class Instance;
15 class Var;
16
17 class Graphics3D_Dev : public Resource {
18 public:
19 // Creates an is_null() Graphics3D_Dev object.
20 Graphics3D_Dev();
21
22 Graphics3D_Dev(const Instance& instance,
23 const Graphics3D_Dev& share_context,
24 const int32_t* attrib_list);
25
26 ~Graphics3D_Dev();
27
28 int32_t GetAttribs(int32_t* attrib_list) const;
29 int32_t SetAttribs(int32_t* attrib_list);
30
31 int32_t ResizeBuffers(int32_t width, int32_t height);
32
33 int32_t SwapBuffers(const CompletionCallback& cc);
34 };
35
36 } // namespace pp
37
38 #endif // PPAPI_CPP_DEV_GRAPHICS_3D_DEV_H_
39
OLDNEW
« no previous file with comments | « ppapi/cpp/dev/graphics_3d_client_dev.cc ('k') | ppapi/cpp/dev/graphics_3d_dev.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698