Introduce canvas::Cache grouping
Caches with the same `Group` will share their text atlas!
This commit is contained in:
parent
24501fd73b
commit
b5b78d505e
10 changed files with 279 additions and 101 deletions
|
|
@ -9,10 +9,10 @@
|
|||
)]
|
||||
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
|
||||
mod antialiasing;
|
||||
mod cached;
|
||||
mod settings;
|
||||
mod viewport;
|
||||
|
||||
pub mod cache;
|
||||
pub mod color;
|
||||
pub mod compositor;
|
||||
pub mod damage;
|
||||
|
|
@ -27,7 +27,7 @@ pub mod text;
|
|||
pub mod geometry;
|
||||
|
||||
pub use antialiasing::Antialiasing;
|
||||
pub use cached::Cached;
|
||||
pub use cache::Cache;
|
||||
pub use compositor::Compositor;
|
||||
pub use error::Error;
|
||||
pub use gradient::Gradient;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue