Fast GPU cached text rendering
Clone or download
alexheretic Optimise layout recalculation 2 (#56)
* Add `recalculate_glyphs` to GlyphPositioner
* Use queue counting to provide layout with recalculate option
* Save geometry in the section hash
* Add recalc tests
* Add GlyphChange::Color optimised recalc
* Detect color-only changes for optimised layout recalc
* Add GlyphChange::Alpha optimised recalc
* Detect alpha-only changes for optimised layout recalc
* Use rusttype >=0.7.4
* Add non-exhaustive to GlyphChange
* Add GlyphPositioner stability test
* Fix section diff not taking into account simultaneous text & geo changes
* Update dev-dependencies
* Avoid cloning changed section for layout recalc
Latest commit be090f1 Feb 3, 2019

README.md

glyph-brush

Fast cached text rendering.

glyph_brush

Render API agnostic rasterization & draw caching text rendering.

gfx_glyph

glyph_brush wrapper for gfx-rs v0.17 (OpenGL).

glyph_brush_layout

Text layout for rusttype used in glyph_brush.

Examples

cargo run -p glyph_brush --example opengl --release

Also look at the individual crate readmes.

Minimum supported rust compiler

All crates maintained with latest stable rust.