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

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

Issue 1804243002: Re-enable IOSurface Canvas2D. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Compile errors from rebase, still... Created 4 years, 9 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
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 bd57a369dd26ef87e83f8b26d9793c24070484b0..0bb41cfd87bcb188c2c6d0c8caafad4a93ae54dc 100644
--- a/third_party/WebKit/public/platform/WebExternalTextureMailbox.h
+++ b/third_party/WebKit/public/platform/WebExternalTextureMailbox.h
@@ -31,21 +31,20 @@
#ifndef WebExternalTextureMailbox_h
#define WebExternalTextureMailbox_h
+#include "WebSize.h"
+
namespace blink {
struct WebExternalTextureMailbox {
signed char name[64];
signed char syncToken[24];
- bool validSyncToken;
- bool allowOverlay;
- bool nearestNeighbor;
- unsigned textureTarget;
+ bool validSyncToken = false;
+ bool allowOverlay = false;
+ bool nearestNeighbor = false;
+ unsigned textureTarget = 0;
+ WebSize textureSize;
WebExternalTextureMailbox()
- : validSyncToken(false)
- , allowOverlay(false)
- , nearestNeighbor(false)
- , textureTarget(0)
{
memset(name, 0, sizeof(name));
memset(syncToken, 0, sizeof(syncToken));
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698