Home
last modified time | relevance | path

Searched refs:GpuMode (Results 1 – 2 of 2) sorted by relevance

/external/crosvm/devices/src/virtio/gpu/
Dmod.rs57 pub enum GpuMode { enum
75 pub mode: GpuMode,
101 mode: GpuMode::ModeVirglRenderer, in default()
940 GpuMode::Mode2D => RutabagaComponentType::Rutabaga2D, in new()
941 GpuMode::ModeVirglRenderer => RutabagaComponentType::VirglRenderer, in new()
942 GpuMode::ModeGfxstream => RutabagaComponentType::Gfxstream, in new()
/external/crosvm/src/
Dmain.rs32 use devices::virtio::gpu::{GpuMode, GpuParameters};
177 gpu_params.mode = GpuMode::Mode2D; in parse_gpu_options()
180 gpu_params.mode = GpuMode::ModeVirglRenderer; in parse_gpu_options()
184 gpu_params.mode = GpuMode::ModeGfxstream; in parse_gpu_options()
189 gpu_params.mode = GpuMode::Mode2D; in parse_gpu_options()
192 gpu_params.mode = GpuMode::ModeVirglRenderer; in parse_gpu_options()
196 gpu_params.mode = GpuMode::ModeGfxstream; in parse_gpu_options()
374 if !vulkan_specified && gpu_params.mode == GpuMode::ModeGfxstream { in parse_gpu_options()
380 GpuMode::ModeGfxstream => {} in parse_gpu_options()