gpui_platform/gpu.rs
1//! GPU capability information shared by `gpui` and its platform backends.
2
3/// Information about the GPU GPUI is running on.
4#[derive(Default, Debug, serde::Serialize, serde::Deserialize, Clone)]
5pub struct GpuSpecs {
6 /// Whether the GPU is really a fake (like `llvmpipe`) running on the CPU.
7 pub is_software_emulated: bool,
8 /// The name of the device, as reported by Vulkan.
9 pub device_name: String,
10 /// The name of the driver, as reported by Vulkan.
11 pub driver_name: String,
12 /// Further information about the driver, as reported by Vulkan.
13 pub driver_info: String,
14}