Support sharing Pipeline state between TextAtlas (#95)
* Support sharing `Pipeline` state between `TextAtlas` * Keep using `Vec` for pipeline cache * Use `OnceCell` to keep `Pipeline` private * Revert "Use `OnceCell` to keep `Pipeline` private" This reverts commit 4112732b1734a3bb6b915d2103e699ef549b77c1. * Rename `Pipeline` type to `Cache`
This commit is contained in:
parent
670140e2a1
commit
5aed9e1477
6 changed files with 295 additions and 237 deletions
|
|
@ -4,10 +4,12 @@
|
|||
//! [cosmic-text]: https://github.com/pop-os/cosmic-text
|
||||
//! [etagere]: https://github.com/nical/etagere
|
||||
|
||||
mod cache;
|
||||
mod error;
|
||||
mod text_atlas;
|
||||
mod text_render;
|
||||
|
||||
pub use cache::Cache;
|
||||
pub use error::{PrepareError, RenderError};
|
||||
pub use text_atlas::{ColorMode, TextAtlas};
|
||||
pub use text_render::TextRenderer;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue