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

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: Fix mock gpu video accelerator factory 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..330231f8b82ee10b7fb934f53aae58247e849e64 100644
--- a/third_party/WebKit/public/platform/WebExternalTextureMailbox.h
+++ b/third_party/WebKit/public/platform/WebExternalTextureMailbox.h
@@ -35,16 +35,20 @@ namespace blink {
struct WebExternalTextureMailbox {
signed char name[64];
+ signed char syncToken[24];
Justin Novosad 2015/10/27 19:24:15 24 -> GL_SYNC_TOKEN_SIZE_CHROMIUM
David Yen 2015/10/28 22:03:43 I thought blink does not include the chromium gles
unsigned syncPoint;
+ 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