egui/crates/egui-wgpu/src
Arthur Brussee 759a0b2a21
Add option to initialize on existing wgpu setup (#5319)
When mixing and matching eframe with other wgpu applications
(https://github.com/tracel-ai/burn in my case), it can be helpful to use
an existing wgpu setup to initialize eframe with. This PR changes the
WpuConfiguration (in a non-backwards compat way :/), to either take some
options how to create a wgpu setup, or an existing wgpu setup
(consisting of an instance, adapter, device and queue).

* [x] I have followed the instructions in the PR template

---------

Co-authored-by: Andreas Reich <r_andreas2@web.de>
2024-10-29 17:12:28 +01:00
..
egui.wgsl Introduce dithering to reduce banding (#4497) 2024-07-08 09:57:11 +02:00
lib.rs Add option to initialize on existing wgpu setup (#5319) 2024-10-29 17:12:28 +01:00
renderer.rs Wgpu render pass on paint callback has now static lifetime (#5149) 2024-09-23 11:48:09 +02:00
winit.rs Add option to initialize on existing wgpu setup (#5319) 2024-10-29 17:12:28 +01:00