Software decoded video's overlay support was added by Bug 1753373. It uploads software decoded videos to NV12 ID3D11Texture2D in VideoData::CreateAndCopyData(). But there are still some cases that BufferTextureHost videos does not support video overlay. This bug is going to upload BufferTextureHost video to NV12 ID3D11Texture2D at DCLayerTree. And adding support of video overlay of BufferTextureHost video.
Bug 1826685 Comment 0 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
Software decoded video's overlay support was added by Bug 1753373. It uploads software decoded videos to NV12 ID3D11Texture2D in VideoData::CreateAndCopyData(). But there are still some cases that BufferTextureHost videos does not support video overlay. This bug is going to upload BufferTextureHost video to NV12 ID3D11Texture2D at DCLayerTree. And adding support of video overlay of BufferTextureHost video. It is similar to how chrimium does for overlay of software decoded video. https://source.chromium.org/chromium/chromium/src/+/main:ui/gl/swap_chain_presenter.cc;l=438