Video swap chain always use double buffering in [DCSurfaceVideo::CreateVideoSwapChain() ](https://searchfox.org/mozilla-central/rev/3ede9deb876ad5d6389cb51b371d4a4c8d788deb/gfx/webrender_bindings/DCLayerTree.cpp#1148). It seems better to use triple buffering.
Bug 1818685 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.
Video swap chain always use double buffering in [DCSurfaceVideo::CreateVideoSwapChain() ](https://searchfox.org/mozilla-central/rev/3ede9deb876ad5d6389cb51b371d4a4c8d788deb/gfx/webrender_bindings/DCLayerTree.cpp#1148). It seems better to enable triple buffering. Chromium also enable triple buffering for video swap chain. - https://source.chromium.org/chromium/chromium/src/+/main:ui/gl/swap_chain_presenter.cc;l=1656 - https://source.chromium.org/chromium/chromium/src/+/main:ui/gl/swap_chain_presenter.cc;l=159
Video swap chain always use double buffering in [DCSurfaceVideo::CreateVideoSwapChain() ](https://searchfox.org/mozilla-central/rev/3ede9deb876ad5d6389cb51b371d4a4c8d788deb/gfx/webrender_bindings/DCLayerTree.cpp#1148). It seems better to enable triple buffering.