pub fn set_gfx_api(gfx_api: GfxApi)
Expand description
Sets the default graphics API.
If the API cannot be used, the compositor will try other APIs.
This setting can be overwritten per-device with DrmDevice::set_gfx_api.
This call has no effect on devices that have already been initialized.