diff --git a/crates/gpui/src/gpui.rs b/crates/gpui/src/gpui.rs index 441db287305d7..265491c6f5b6c 100644 --- a/crates/gpui/src/gpui.rs +++ b/crates/gpui/src/gpui.rs @@ -344,15 +344,15 @@ impl Flatten for Result { } } +/// Information about the GPU GPUI is running on. #[derive(Default, Debug)] -/// Information about the GPU GPUI is running on pub struct GpuSpecs { - /// true if the GPU is really a fake (like llvmpipe) running on the CPU + /// Whether the GPU is really a fake (like `llvmpipe`) running on the CPU. pub is_software_emulated: bool, - /// Name of the device as reported by vulkan + /// The name of the device, as reported by Vulkan. pub device_name: String, - /// Name of the driver as reported by vulkan + /// The name of the driver, as reported by Vulkan. pub driver_name: String, - /// Further driver info as reported by vulkan + /// Further information about the driver, as reported by Vulkan. pub driver_info: String, } diff --git a/crates/gpui/src/platform/linux/wayland/window.rs b/crates/gpui/src/platform/linux/wayland/window.rs index f87216eefd941..bb0485272b70d 100644 --- a/crates/gpui/src/platform/linux/wayland/window.rs +++ b/crates/gpui/src/platform/linux/wayland/window.rs @@ -25,7 +25,7 @@ use crate::platform::linux::wayland::serial::SerialKind; use crate::platform::{PlatformAtlas, PlatformInputHandler, PlatformWindow}; use crate::scene::Scene; use crate::{ - px, size, AnyWindowHandle, Bounds, Decorations, GpuSpecs, Globals, Modifiers, Output, Pixels, + px, size, AnyWindowHandle, Bounds, Decorations, Globals, GpuSpecs, Modifiers, Output, Pixels, PlatformDisplay, PlatformInput, Point, PromptLevel, RequestFrameOptions, ResizeEdge, ScaledPixels, Size, Tiling, WaylandClientStatePtr, WindowAppearance, WindowBackgroundAppearance, WindowBounds, WindowControls, WindowDecorations, WindowParams,