Move image/svg handling into iced_graphics
The `TextureStore` trait is implemented by the atlas, and can also be implemented in the glow renderer or in a software renderer. The API here may be improved in the future, but API stability is presumably not a huge issue since these types will only be used by renderer backends.
This commit is contained in:
parent
7b12991728
commit
2c7c42ee93
10 changed files with 281 additions and 191 deletions
|
|
@ -99,7 +99,7 @@ impl Backend {
|
|||
}
|
||||
|
||||
#[cfg(any(feature = "image_rs", feature = "svg"))]
|
||||
self.image_pipeline.trim_cache();
|
||||
self.image_pipeline.trim_cache(device, encoder);
|
||||
}
|
||||
|
||||
fn flush(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue