Re:Intro to Low-Level Graphics on Linux
by kllrnohj on Wednesday August 30, 2017 @10:43PM
(#15137808)
Vulkan & OpenGL are just really fast and complicated ways of putting pixels into the buffer you get from Wayland, DRM, etc... It's somewhat orthogonal.
[ Parent
| on HN ]
Yeah, I get that eventually they just plug into lower levels, but there is still some gluing of it all together that parts of Mesa address.
Re:Intro to Low-Level Graphics on Linux
by planteen on Wednesday August 30, 2017 @11:53PM
(#15138050)
Yeah the specifics I can hand wave about but would like more nice details. You get a "native" window surface from Mesa from DRM (the GBM API is one choice here I believe). You pass these returns to EGL for your display, native window, and surface. You then bind the OGLES2 API and you're of to the races.