DescriptionEnforce no uncleared OES external textures. Clear in AVDA, not GVD.
A few of us on the team have been bitten by the fact that GVD is
the one clearing textures instead of AVDA when it comes to OES
external textures. Lets save a few hours of debugging for someone
in the future.
OES external textures are now always pre-cleared by AVDA (the only
VDA using these) and checked by GpuVideoDecoder. Instead of an opaque
GL_INVALID_ENUM error in GLES2DecoderImpl::PrepareTexturesForRender()
a DCHECK will now fire in ClearLevel() indicating the exact problem.
BUG=662251
TEST=implement fancy new feature, notice there are no holes in foot.
CQ_INCLUDE_TRYBOTS=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
Committed: https://crrev.com/d3704fcabb140cd633890479194658742863c881
Cr-Commit-Position: refs/heads/master@{#431064}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Update comment. #Patch Set 3 : Fix mismerge. #
Dependent Patchsets: Messages
Total messages: 23 (15 generated)
|