linux: Better GPU debugging (#14706)

Release Notes:

- linux: Added GPU information to `editor: Copy System Specs to
Clipboard`
- linux: Show a prominant warning before running under llvmpipe and
similar.
This commit is contained in:
Conrad Irwin
2024-07-23 09:56:45 -06:00
committed by GitHub
parent c262c81e52
commit bdf1d4edea
16 changed files with 136 additions and 48 deletions
@@ -654,6 +654,10 @@ impl PlatformWindow for WindowsWindow {
fn get_raw_handle(&self) -> HWND {
self.0.hwnd
}
fn gpu_specs(&self) -> Option<GPUSpecs> {
Some(self.0.state.borrow().renderer.gpu_specs())
}
}
#[implement(IDropTarget)]