first pass of merging in warp (doesn't build)
This commit is contained in:
@@ -36,7 +36,7 @@ pub(crate) fn run() -> anyhow::Result<()> {
|
||||
));
|
||||
|
||||
// Log some additional windowing system information on Linux.
|
||||
#[cfg(target_os = "linux")]
|
||||
#[cfg(any(target_os = "linux", target_os = "freebsd"))]
|
||||
{
|
||||
use winit::raw_window_handle::HasDisplayHandle as _;
|
||||
|
||||
@@ -54,15 +54,16 @@ pub(crate) fn run() -> anyhow::Result<()> {
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(any(target_os = "linux", windows))]
|
||||
#[cfg(any(target_os = "linux", target_os = "freebsd", windows))]
|
||||
{
|
||||
use std::ops::Deref as _;
|
||||
|
||||
use settings::Setting as _;
|
||||
use warpui::rendering::GPUPowerPreference;
|
||||
|
||||
use crate::settings::{
|
||||
init_private_user_preferences, PreferLowPowerGPU, PreferredGraphicsBackend,
|
||||
};
|
||||
use galaxyui::rendering::GPUPowerPreference;
|
||||
use settings::Setting as _;
|
||||
|
||||
let user_preferences = init_private_user_preferences();
|
||||
|
||||
@@ -90,7 +91,7 @@ pub(crate) fn run() -> anyhow::Result<()> {
|
||||
));
|
||||
}
|
||||
|
||||
#[cfg(target_os = "linux")]
|
||||
#[cfg(any(target_os = "linux", target_os = "freebsd"))]
|
||||
{
|
||||
let lspci_info = collect_output_or_suggest_install("lspci");
|
||||
println!("##################################################");
|
||||
|
||||
Reference in New Issue
Block a user