summaryrefslogtreecommitdiffstats
path: root/graphics/src/lib.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-04-30 07:57:54 +0200
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-04-30 07:57:54 +0200
commitb5b78d505e22cafccb4ecbf57dc61f536ca558ca (patch)
tree2563da1f3038607a329088ac3f7e460ca3d772fd /graphics/src/lib.rs
parent24501fd73b5ae884367a2d112ff44625058b876b (diff)
downloadiced-b5b78d505e22cafccb4ecbf57dc61f536ca558ca.tar.gz
iced-b5b78d505e22cafccb4ecbf57dc61f536ca558ca.tar.bz2
iced-b5b78d505e22cafccb4ecbf57dc61f536ca558ca.zip
Introduce `canvas::Cache` grouping
Caches with the same `Group` will share their text atlas!
Diffstat (limited to 'graphics/src/lib.rs')
-rw-r--r--graphics/src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/src/lib.rs b/graphics/src/lib.rs
index 865ebd97..b5ef55e7 100644
--- a/graphics/src/lib.rs
+++ b/graphics/src/lib.rs
@@ -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;