It is safer approach than Bug 1840552. Video upload is triggered at [WebRenderImageHost::UseTextureHost()](https://searchfox.org/mozilla-central/rev/95ec620fda8ad6e4096cac1f1a9db8653669b31d/gfx/layers/wr/WebRenderImageHost.cpp#57). Actual video uploading to ID3D11Texture2D is done in TextureUpdateThread.
Bug 1855277 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.
This is a safer approach than Bug 1840552 because it does not add a video bridge to gmp. Video upload is triggered at [WebRenderImageHost::UseTextureHost()](https://searchfox.org/mozilla-central/rev/95ec620fda8ad6e4096cac1f1a9db8653669b31d/gfx/layers/wr/WebRenderImageHost.cpp#57). Actual video uploading to ID3D11Texture2D is done in TextureUpdateThread.
This is a safer approach than Bug 1840552 because it does not add video bridge to gmp. Video upload is triggered at [WebRenderImageHost::UseTextureHost()](https://searchfox.org/mozilla-central/rev/95ec620fda8ad6e4096cac1f1a9db8653669b31d/gfx/layers/wr/WebRenderImageHost.cpp#57). Actual video uploading to ID3D11Texture2D is done in TextureUpdateThread.
This is a safer approach than Bug 1840552 because it does not add video bridge to gmp. And this implementation could be used also for software decoded video. Video upload is triggered at [WebRenderImageHost::UseTextureHost()](https://searchfox.org/mozilla-central/rev/95ec620fda8ad6e4096cac1f1a9db8653669b31d/gfx/layers/wr/WebRenderImageHost.cpp#57). Actual video uploading to ID3D11Texture2D is done in TextureUpdateThread.