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

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

Issue 2418173002: Fix HTML5 video blurry (Closed)
Patch Set: fix plugin test 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 db8d6d6b0d82815b417583c2d943f84a2ca60490..781cdcfbd66a50719549ccb54f4c816653a92316 100644
--- a/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.cpp
+++ b/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.cpp
@@ -429,7 +429,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,
enne (OOO) 2016/10/19 19:04:03 Why did this need to change?
dshwang 2016/10/20 18:57:56 It's the bug I mentioned above. without this chang
+ false, false);
gl->BindTexture(GL_TEXTURE_2D, 0);
// Because we are changing the texture binding without going through skia,
« cc/output/renderer_pixeltest.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