graphics: Split into multiple source files
-
graphics: Move DRI, GLX, VA-API, VDPAU drivers to separate source files
This reduces the size of graphics.c, which was getting unwieldy. This is purely moving code around, with no implementation changes.
The EGL and Vulkan drivers are more entangled with each other and will be refactored separately.
-
graphics: Move parsing of EGL/Vulkan from report into separate source
Again, this is to reduce the size of graphics.c.
-
graphics: Split JSON-manifest-based driver enumeration between files
graphics-drivers-json-based.c contains code shared between EGL and Vulkan. This leaves graphics.c only containing functional checks, not driver enumeration.
/cc @denittis
I'm not expecting you to review this in detail, because it's essentially unreviewable, but I want to land this before I start on tasks/67 (https://github.com/ValveSoftware/steam-runtime/issues/485).