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

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

Powered by Google App Engine
This is Rietveld 408576698