3 ms·
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.
by kllrnohj 9y ago
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.
- shmerl 9y agoYeah, 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.
- planteen 9y agoYeah 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.
- shmerl 9y ago> you pass these returns to EGL for your display, native window, and surface. EGL if you use OpenGL, and WSI if Vulkan, if I understand correctly.