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

Side by Side Diff: ppapi/cpp/dev/graphics_3d_dev.h

Issue 7624003: Removed PPB_Graphics3D::GetString(). Versioning should be handled in pepper at a higher level. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 4 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
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_DEV_GRAPHICS_3D_DEV_H_
6 #define PPAPI_CPP_DEV_GRAPHICS_3D_DEV_H_ 6 #define PPAPI_CPP_DEV_GRAPHICS_3D_DEV_H_
7 7
8 #include "ppapi/c/dev/ppb_graphics_3d_dev.h" 8 #include "ppapi/c/dev/ppb_graphics_3d_dev.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_Dev : 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_Dev();
21 21
22 Graphics3D_Dev(const Instance& instance, 22 Graphics3D_Dev(const Instance& instance,
23 const Graphics3D_Dev& share_context, 23 const Graphics3D_Dev& share_context,
24 const int32_t* attrib_list); 24 const int32_t* attrib_list);
25 25
26 ~Graphics3D_Dev(); 26 ~Graphics3D_Dev();
27 27
28 static Var GetString(int32_t name);
29
30 int32_t GetAttribs(int32_t* attrib_list) const; 28 int32_t GetAttribs(int32_t* attrib_list) const;
31 int32_t SetAttribs(int32_t* attrib_list); 29 int32_t SetAttribs(int32_t* attrib_list);
32 30
33 int32_t ResizeBuffers(int32_t width, int32_t height); 31 int32_t ResizeBuffers(int32_t width, int32_t height);
34 32
35 int32_t SwapBuffers(const CompletionCallback& cc); 33 int32_t SwapBuffers(const CompletionCallback& cc);
36 }; 34 };
37 35
38 } // namespace pp 36 } // namespace pp
39 37
40 #endif // PPAPI_CPP_DEV_GRAPHICS_3D_DEV_H_ 38 #endif // PPAPI_CPP_DEV_GRAPHICS_3D_DEV_H_
41 39
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698