DescriptionAdd distinction between RGB and RGBA native texture video frame and resources
Currently it's impossible to place a NATIVE_TEXTURE VideoFrame into an
overlay, because:
* NATIVE_TEXTURE VideoFrame turns into RGB_RESOURCE in
VideoResourceUpdater
* RGB_RESOURCE always sets premultipled_alpha flag on its
TextureDrawQuad (see VideoLayerImpl::AppendQuads)
* OverlayStrategyCommon rejects quads with premultiplied alpha
BUG=
Committed: https://crrev.com/9e2b43aee24f3a9827e05d34578ba9a747236cd5
Cr-Commit-Position: refs/heads/master@{#329651}
Patch Set 1 #
Total comments: 2
Patch Set 2 : s/allows_overlay/allow_overlay #Patch Set 3 : Rebase #Patch Set 4 : Fix unit test breakage from bad merge #Messages
Total messages: 24 (10 generated)
|