DescriptionMake Android StreamTexture implement GLStreamTextureImage
Then make CopySubTextureCHROMIUM use the transform matrix provided
by GLStreamTextureImage, and stop informing the compositor of the
transform matrix. Video quad drawing applies the matrix automatically
via the CHROMIUM_stream_texture_matrix extension.
This has has the advantage that we no longer need custom texture copying
code in StreamTextureAndroid and we also don't need the IPC that updates
the compositor view of the transform matrix (because it is applied
transparently when the texture is sampled from). This in turn means that
the transform matrix can't get out of sync with the texture data.
BUG=226218, 371500, 588837, 599848
CQ_INCLUDE_TRYBOTS=tryserver.chromium.win:win_optional_gpu_tests_rel;tryserver.chromium.mac:mac_optional_gpu_tests_rel
Committed: https://crrev.com/8f2032aeb81c2a6a48ed2ed622859b59d84fbbaa
Cr-Commit-Position: refs/heads/master@{#384122}
Committed: https://crrev.com/9268401feeaaa16ffe7719d25e165108bddf9141
Cr-Commit-Position: refs/heads/master@{#385714}
Patch Set 1 #Patch Set 2 : Remove resolved TODO #
Total comments: 12
Patch Set 3 : Fix webview in-process path to not report the matrix to client_, apply y-flips in texture copy inst… #Patch Set 4 : Remove DidUpdateMatrix from VideoFrameProvider #Patch Set 5 : Add convenience method to GLStreamTextureImage for getting a fixed y-orientation matrix, document t… #Patch Set 6 : Remove a NOTREACHED that was added incorrectly. #Patch Set 7 : Rebase #
Total comments: 2
Patch Set 8 : Call UpdateTexImage before fetching the surface texture matrix #
Total comments: 5
Patch Set 9 : Rebase #Patch Set 10 : Don't remove the default stream texture matrix from cc/layers #Messages
Total messages: 61 (25 generated)
|