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

Unified Diff: third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.cpp

Issue 2461423002: Reland "Fix HTML5 video blurry" (Closed)
Patch Set: rebase to ToT Created 4 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/Source/platform/graphics/Canvas2DLayerBridge.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.cpp b/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.cpp
index 70a7db9d2faa26fc82b0978d7a24de21a7025797..206d21dd948a0dbb63449fc5559ab0a5ffefa848 100644
--- a/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.cpp
+++ b/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.cpp
@@ -432,7 +432,10 @@ bool Canvas2DLayerBridge::prepareMailboxFromImage(
gl->GenSyncTokenCHROMIUM(fenceSync, syncToken.GetData());
}
mailboxInfo.m_mailbox = mailbox;
- *outMailbox = cc::TextureMailbox(mailbox, syncToken, GL_TEXTURE_2D);
+ bool isOverlayCandidate = false;
+ bool secureOutputOnly = false;
+ *outMailbox = cc::TextureMailbox(mailbox, syncToken, GL_TEXTURE_2D, m_size,
+ isOverlayCandidate, secureOutputOnly);
gl->BindTexture(GL_TEXTURE_2D, 0);
// Because we are changing the texture binding without going through skia,

Powered by Google App Engine
This is Rietveld 408576698