pub(crate) fn gpu_render_init(
device_path: &Path,
) -> Result<(Device<File>, GlesRenderer), String>Expand description
Bring the hardware renderer up on a DRM render node: the GBM device, the EGL display and context it backs, the GLES renderer, and the allocator the render targets come from.
The compositor and probe_wayland_gpu share this so the probe’s answer is the
compositor’s own. Errors name the step that failed, which is all a caller can act on.