webgl: optimize webgl.texSubImage2D(video) path.
Currently, texSubImage2D(video) requires glReadPixels to copy video texture to
target texture. This CL makes infra structure to copy video texture to target
texture directly. Blink will turn on the direct path.
In addition, it will reduce WebGL video test flakiness significantly.
TEST=video texture test on webgl_conformance
./content/test/gpu/run_gpu_test.py webgl_conformance --browser=release --story-filter=WebglConformance.conformance_textures_video_tex_image_and_sub_image_2d_with_video
BUG=
349871,
504773
Committed:
https://crrev.com/01542ac6d0fbec6aa78e33e6c7ec49a582072ea9
Cr-Commit-Position: refs/heads/master@{#356390}