-
kbr authored
The fix for Issue 672895 made these video rendering and upload paths fragile if the video's metadata caused the natural size to differ in certain ways from the coded size. Make the code robust to this case by reverting to CopyTextureCHROMIUM in most cases, and allocating the texture to the correct sizes in others. Tested with new WebGL conformance test to be incorporated in a forthcoming roll: https://github.com/KhronosGroup/WebGL/pull/2359 . BUG=701060 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel Review-Url: https://codereview.chromium.org/2791813003 Cr-Original-Commit-Position: refs/heads/master@{#463925} Committed: https://chromium.googlesource.com/chromium/src/+/0cc4c62a163318c06636916b7e2b2c6a56f16b74 Review-Url: https://codereview.chromium.org/2791813003 Cr-Commit-Position: refs/heads/master@{#464253}
0986e620