DescriptionReland of "webgl: optimize webgl.texSubImage2D(video) path."
Original CL: https://codereview.chromium.org/1315323006/
Revert: https://codereview.chromium.org/1418513016
Reason for revert:
Reverting to address webgl_conformance_tests break in:
https://build.chromium.org/p/chromium.gpu/builders/Android%20Debug%20%28Nexus%209%29/builds/3534
Reason for reland:
There is a bug in glCopySubTextureCHROMIUM extension. GLES2DecoderImpl::DoCopySubTextureCHROMIUM/DoCompressedCopySubTextureCHROMIUM
uses ValidForTexture to check dimensions of source texture. If the source
texture is backed by GL Image, the decoder can report false positive error.
This CL doesn't use Texture::ValidForTexture() for GL Image.
TEST=WebglConformance.conformance_textures_video_tex_image_and_sub_image_2d_with_video_*
BUG=349871, 504773, 549531
Committed: https://crrev.com/7c26f04cf12c2c72fdab8e4764faf9305724c7ee
Cr-Commit-Position: refs/heads/master@{#357100}
Patch Set 1 #Patch Set 2 : fold glCopySubTextureCHROMIUM bug fix into this CL #
Total comments: 5
Patch Set 3 : Add TODO comments #Messages
Total messages: 29 (9 generated)
|