gpu/api.h defines the interface between kitty and dynamically loaded GPU drivers. It uses only standard C types, with opaque 64 bit handles for all resources, so that it can be implemented with OpenGL, Vulkan or Metal.