Skip to main content

recover

Function recover 

pub fn recover(
    adapter: &AdapterInfo,
    finished_frames: bool,
    reason: &str,
) -> Recovery
Expand description

Decide what follows the loss of a device on adapter. finished_frames says whether that device finished at least one frame before it was lost. A loss before any is a GPU that cannot be brought back, and from then on this process opens only software adapters (software_fallback).