Menu

Enum

GpuMode

kurogane::GpuModeSource
pub enum GpuMode { Auto, Hardware, Software, Disabled, }

GPU backend selection strategy.

Pass to App::gpu_mode to control how Chromium selects its rendering backend (default = GpuMode::Auto).

Variants

#Auto

Automatically select a backend

#Hardware

Use hardware acceleration

On Windows without SandboxMode::Chromium, GPU work runs inside the browser process rather than a GPU process.

#Software

Use SwiftShader software rendering

#Disabled

Disable GPU entirely. No canvas acceleration, no WebGL

Trait implementations