Desktop: Prefer Vulkan as the WGPU backend on Linux (#4270)

* Manual wgpu adapter selection

* Fall back to remaining adapters when the preferred one fails to initialize
This commit is contained in:
Timon
2026-06-25 00:09:39 +00:00
committed by GitHub
parent ebbbb6bd1b
commit 6fb6e83d68
3 changed files with 61 additions and 49 deletions
+1
View File
@@ -8,6 +8,7 @@ use std::sync::Arc;
pub use graph_craft::application_io::resource::MmapResourceStorage;
pub use graphite_editor::consts::{DOUBLE_CLICK_MILLISECONDS, FILE_EXTENSION};
pub use wgpu_executor::WgpuBackends;
pub use wgpu_executor::WgpuContext;
pub use wgpu_executor::WgpuContextBuilder;
pub use wgpu_executor::WgpuExecutor;