Grokmoo / Grokmoo/thyme

cache rendered strings

Open
#26 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Rust
Stars
95
Forks
5
PR merge metrics
No merged PRs in 30d

Description

Cache rendered text to a texture by the text content, font and size of the area the text is being layed out in. On subsequent frames, we can render the entire line of text in a single draw call - as well as skip layout entirely. This should be a major boost to performance.

Will need to determine (probably configurable as a `BuildOption`) the texture cache size and handle invalidating unused parts over time.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.