7 ms·
[citation needed] If video rendering used overlays, then YouTube could not put the toolbar or subtitles on top of the video, and they’ve been doing so for a lo
by Kwpolska 1y ago
[citation needed]
If video rendering used overlays, then YouTube could not put the toolbar or subtitles on top of the video, and they’ve been doing so for a long time.
- charcircuit 1y agoThe toolbar and subtitles are in a separate plane that gets composited on top. https://issues.chromium.org/issues/40140067 https://issues.chromium.org/issues/40140067 >In today's Chrome, when a device supports hardware overlays, we promote at most one video's frames to hardware overlays.
- petermcneeley 1y agoModern overlay systems support alpha compositing. The video is placed behind and the elements (toolbar etc) are in front with an alpha hole.