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

Unified Diff: cc/resources/sync_point_helper.h

Issue 16831004: Perform glReadPixels with PBOs in the gpu, if PBOs are available. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: use webglid where approperiate Created 7 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: cc/resources/sync_point_helper.h
diff --git a/cc/resources/sync_point_helper.h b/cc/resources/sync_point_helper.h
index c342069bc7e2b70f4e6a676c2f7192d610f2f29e..905b12e7d1e7227208a550947bda000c52b40442 100644
--- a/cc/resources/sync_point_helper.h
+++ b/cc/resources/sync_point_helper.h
@@ -7,8 +7,7 @@
#include "base/callback.h"
#include "cc/base/cc_export.h"
-
-namespace WebKit { class WebGraphicsContext3D; }
+#include "third_party/WebKit/public/platform/WebGraphicsContext3D.h"
namespace cc {
@@ -25,6 +24,11 @@ class CC_EXPORT SyncPointHelper {
unsigned sync_point,
const base::Closure& closure);
+ static void SignalQuery(
danakj 2013/06/17 18:36:48 nit: add a comment here to describe the function?
hubbe 2013/06/17 19:47:19 Done.
+ WebKit::WebGraphicsContext3D* context3d,
+ WebKit::WebGLId query,
+ const base::Closure& closure);
+
private:
SyncPointHelper();

Powered by Google App Engine
This is Rietveld 408576698