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

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

Issue 5944001: Make Graphics3D::SwapBuffers take a completion callback (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/graphics_3d_dev.h
diff --git a/ppapi/cpp/dev/graphics_3d_dev.h b/ppapi/cpp/dev/graphics_3d_dev.h
index 88fe47d3efbdc80cc42efa9e8c429ff842983ad1..ac9406b95e180f976b77f016f07e14ce1c39e247 100644
--- a/ppapi/cpp/dev/graphics_3d_dev.h
+++ b/ppapi/cpp/dev/graphics_3d_dev.h
@@ -7,6 +7,7 @@
#include "ppapi/c/dev/ppb_graphics_3d_dev.h"
#include "ppapi/c/dev/ppb_opengles_dev.h"
+#include "ppapi/cpp/completion_callback.h"
#include "ppapi/cpp/instance.h"
#include "ppapi/cpp/resource.h"
@@ -41,7 +42,7 @@ class Graphics3D_Dev : public Resource {
const int32_t* attrib_list);
bool MakeCurrent() const;
- bool SwapBuffers() const;
+ bool SwapBuffers(const CompletionCallback& cc) const;
protected:
explicit Graphics3D_Dev(PP_Resource resource_id) : Resource(resource_id) {}

Powered by Google App Engine
This is Rietveld 408576698