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

Unified Diff: third_party/WebKit/public/platform/WebGraphicsContext3D.h

Issue 1427543002: Modified old wait sync point functions to also accept new sync tokens. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: format Created 5 years, 1 month 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: third_party/WebKit/public/platform/WebGraphicsContext3D.h
diff --git a/third_party/WebKit/public/platform/WebGraphicsContext3D.h b/third_party/WebKit/public/platform/WebGraphicsContext3D.h
index 5e0521e881b032fa8d4c5b460b33d6b0ddf9f267..b1362df1051ef7330c69b2ee895cb87222e47945 100644
--- a/third_party/WebKit/public/platform/WebGraphicsContext3D.h
+++ b/third_party/WebKit/public/platform/WebGraphicsContext3D.h
@@ -148,8 +148,8 @@ public:
virtual void discardBackbufferCHROMIUM() { }
virtual void ensureBackbufferCHROMIUM() { }
- virtual unsigned insertSyncPoint() { return 0; }
- virtual void waitSyncPoint(unsigned) { }
+ virtual bool insertSyncPoint(WGC3Dbyte*) { return false; }
+ virtual void waitSyncToken(const WGC3Dbyte*) {}
// Copies the contents of the off-screen render target used by the WebGL
// context to the corresponding texture used by the compositor.

Powered by Google App Engine
This is Rietveld 408576698