Nabla
Nabla copied to clipboard
Make OpenGL/EGL swapchains report all Swapchain/Surface capabilities properly
Description
Right now we dont give a crap about EGL format choice for the swapchain's context.
Description of the related problem
We completely ignore any other format than RGB8_SRGB, don't query whats possible & translate.
We also don't care about alpha composting, etc.
Solution proposal
Use EGL 1.5 properly to allow the reporting of all of our exposed Swapchain capabilities via the Surface, then also translate the chosen format into an EGL surface config properly.