Nabla icon indicating copy to clipboard operation
Nabla copied to clipboard

Make OpenGL/EGL swapchains report all Swapchain/Surface capabilities properly

Open devshgraphicsprogramming opened this issue 3 years ago • 0 comments

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.