Skip to content

Commit

Permalink
Do some cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
maxdeviant committed Dec 17, 2024
1 parent 4d4c9af commit 7d6dbcd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions crates/gpui/src/gpui.rs
Original file line number Diff line number Diff line change
Expand Up @@ -344,15 +344,15 @@ impl<T> Flatten<T> for Result<T> {
}
}

/// 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,
}
2 changes: 1 addition & 1 deletion crates/gpui/src/platform/linux/wayland/window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 7d6dbcd

Please sign in to comment.