Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This is simply wrong. Videos are still rendering in overlays in windows in Chrome right now. There are many reasons why overlays are still used.


[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.


Modern overlay systems support alpha compositing. The video is placed behind and the elements (toolbar etc) are in front with an alpha hole.


The toolbar and subtitles are in a separate plane that gets composited on top.

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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: