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

Unified Diff: gpu/blink/webgraphicscontext3d_impl.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: Folded sync_point into sync_tokens Created 5 years, 2 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: gpu/blink/webgraphicscontext3d_impl.h
diff --git a/gpu/blink/webgraphicscontext3d_impl.h b/gpu/blink/webgraphicscontext3d_impl.h
index e0cd53bf4f82b0b604af3062cc38491fb03a764b..a7cc29070d0a018d1fcd07e36b7d38adbc5e132b 100644
--- a/gpu/blink/webgraphicscontext3d_impl.h
+++ b/gpu/blink/webgraphicscontext3d_impl.h
@@ -37,8 +37,8 @@ class GPU_BLINK_EXPORT WebGraphicsContext3DImpl
uint32_t lastFlushID() override;
- unsigned int insertSyncPoint() override;
- void waitSyncPoint(unsigned int sync_point) override;
+ bool insertSyncPoint(blink::WGC3Dbyte* sync_token) override;
+ void waitSyncToken(const blink::WGC3Dbyte* sync_token) override;
void loseContextCHROMIUM(blink::WGC3Denum current,
blink::WGC3Denum other) override;

Powered by Google App Engine
This is Rietveld 408576698