DescriptionFix HTML5 video blurry
HW decoded video is blurry, because crbug.com/575587 shinked visual rect by 1
pixel, if coded rect is larger than visual rect. This fixed bleeding texture,
but caused blurry issue.
Meanwhile, crbug.com/429640 fixed bleeding texture for software YUV video in
the elegant way. It clamps all texture coordinates to this maximum value in the
fragment shader.
This CL removes the 1 pixel hack and applies the way to TextureDrawQuad and
StreamVideoDrawQuad (i.e. HW decoded video path).
BUG=615325
CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel
Committed: https://crrev.com/b38566a76c4af61c0d34df7d8b906e7936b8e524
Cr-Commit-Position: refs/heads/master@{#428707}
Patch Set 1 #Patch Set 2 : build fix #Patch Set 3 : add pixeltests #
Total comments: 7
Patch Set 4 : fix canvas tests #Patch Set 5 : fix plugin test #
Total comments: 12
Patch Set 6 : resolve reviewer's concerns #
Total comments: 3
Patch Set 7 : add dcheck #
Total comments: 6
Patch Set 8 : fix nits #Messages
Total messages: 76 (54 generated)
|