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

Unified Diff: ppapi/cpp/dev/context_3d_dev.h

Issue 6047008: Added ppapi::Surface3D. This CL completes the new Pepper3D interface. The imp... (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 side-by-side diff with in-line comments
Download patch
Index: ppapi/cpp/dev/context_3d_dev.h
===================================================================
--- ppapi/cpp/dev/context_3d_dev.h (revision 70037)
+++ ppapi/cpp/dev/context_3d_dev.h (working copy)
@@ -12,7 +12,7 @@
namespace pp {
-class CompletionCallback;
+class Surface3D_Dev;
class Context3D_Dev : public Resource {
public:
@@ -24,8 +24,8 @@
const Context3D_Dev& share_context,
const int32_t* attrib_list);
- // TODO(alokp): Move to Surface3D.
- int32_t SwapBuffers() const;
+ int32_t BindSurfaces(Surface3D_Dev& draw,
+ Surface3D_Dev& read);
protected:
explicit Context3D_Dev(PP_Resource resource_id) : Resource(resource_id) {}

Powered by Google App Engine
This is Rietveld 408576698