Draft multi-threaded image rendering in iced_wgpu
This commit is contained in:
parent
92888a3639
commit
cb8d2710da
22 changed files with 886 additions and 305 deletions
|
|
@ -4,7 +4,7 @@ mod scene;
|
|||
use controls::Controls;
|
||||
use scene::Scene;
|
||||
|
||||
use iced_wgpu::graphics::Viewport;
|
||||
use iced_wgpu::graphics::{Shell, Viewport};
|
||||
use iced_wgpu::{Engine, Renderer, wgpu};
|
||||
use iced_winit::Clipboard;
|
||||
use iced_winit::conversion;
|
||||
|
|
@ -150,6 +150,7 @@ pub fn main() -> Result<(), winit::error::EventLoopError> {
|
|||
queue.clone(),
|
||||
format,
|
||||
None,
|
||||
Shell::headless(),
|
||||
);
|
||||
|
||||
Renderer::new(engine, Font::default(), Pixels::from(16))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue