I swear Lemmy comments for YouTube had a feature that let you open it for any page, but it seems the GitHub and Firefox page been deleted.
Edit: Looks like I’ve still got a fork: https://github.com/Steve-Tech/Reddit-Comments-for-YouTube (it says Reddit, but works for Lemmy too)
My understanding is that most of that all lives in mesa, and the kernel driver basically just abstracts the hardware.