Skip to main content

probe_wayland_gpu

Function probe_wayland_gpu 

Source
pub fn probe_wayland_gpu(render_node: &str, auto_gpu: &str) -> WaylandGpuProbe
Expand description

Probe the render node the compositor would run on: render_node explicitly, else the auto_gpu pick. Allocates one GBM buffer, exports it, and opens a GL context on it, so a deployment learns before starting whether the compositor renders in hardware.