kitty/gpu
Kovid Goyal 9367df7010
Add a gpu_driver option to choose between GPU drivers with fallback
The gpu_driver option is an ordered list of the GPU drivers to try,
defaulting to metal, vulkan, opengl. Drivers that are not part of the
build are skipped.

Add connect() to the GPU driver API. It is called once the windowing
system has been initialized, with the connection to the display, so
that drivers can check that they are able to render to windows on it,
before any windows are created. The driver is now loaded after
glfwInit() for this reason. If a driver cannot connect, the next one is
tried. If the driver fails to choose a visual or create a surface for
the first window, before any GPU resources exist, kitty switches to the
next usable driver and creates the window again.

--debug-rendering reports the driver used and why others were rejected.
2026-11-19 07:35:31 +05:30
..
opengl Add a gpu_driver option to choose between GPU drivers with fallback 2026-11-19 07:35:31 +05:30
api.h Add a gpu_driver option to choose between GPU drivers with fallback 2026-11-19 07:35:31 +05:30