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

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

Issue 2418173002: Fix HTML5 video blurry (Closed)
Patch Set: add dcheck Created 4 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/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..8489595e706e7dec17c772fba585d0eefcdfbe91 100644
--- a/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.cpp
+++ b/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.cpp
@@ -432,7 +432,8 @@ bool Canvas2DLayerBridge::prepareMailboxFromImage(
gl->GenSyncTokenCHROMIUM(fenceSync, syncToken.GetData());
}
mailboxInfo.m_mailbox = mailbox;
- *outMailbox = cc::TextureMailbox(mailbox, syncToken, GL_TEXTURE_2D);
+ *outMailbox = cc::TextureMailbox(mailbox, syncToken, GL_TEXTURE_2D, m_size,
+ false, false);
Justin Novosad 2016/10/25 21:28:16 These "false" literals are bad for code readabilit
dshwang 2016/10/26 15:26:28 Done. Could you review again? In addition, do you
gl->BindTexture(GL_TEXTURE_2D, 0);
// Because we are changing the texture binding without going through skia,
« media/renderers/skcanvas_video_renderer.cc ('K') | « media/renderers/skcanvas_video_renderer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698