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

Unified Diff: third_party/WebKit/public/platform/WebExternalTextureMailbox.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: third_party/WebKit/public/platform/WebExternalTextureMailbox.h
diff --git a/third_party/WebKit/public/platform/WebExternalTextureMailbox.h b/third_party/WebKit/public/platform/WebExternalTextureMailbox.h
index f51d8e8d3b9194d6183aa8de655c107148948be8..7bc91af21ed5e3af19c3088a0993449c035a67e5 100644
--- a/third_party/WebKit/public/platform/WebExternalTextureMailbox.h
+++ b/third_party/WebKit/public/platform/WebExternalTextureMailbox.h
@@ -35,16 +35,18 @@ namespace blink {
struct WebExternalTextureMailbox {
signed char name[64];
- unsigned syncPoint;
+ signed char syncToken[24];
+ bool validSyncToken;
bool allowOverlay;
bool nearestNeighbor;
WebExternalTextureMailbox()
- : syncPoint(0)
+ : validSyncToken(false)
, allowOverlay(false)
, nearestNeighbor(false)
{
memset(name, 0, sizeof(name));
+ memset(syncToken, 0, sizeof(syncToken));
}
};

Powered by Google App Engine
This is Rietveld 408576698