pub fn with_driver<R, F: FnOnce(&mut GpuDriver) -> R>(f: F) -> Option<R>
Execute a closure with the GPU driver (mutable access)