Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cache rendered strings #26

Open
Grokmoo opened this issue Oct 29, 2020 · 0 comments
Open

cache rendered strings #26

Grokmoo opened this issue Oct 29, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@Grokmoo
Copy link
Owner

Grokmoo commented Oct 29, 2020

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.

@Grokmoo Grokmoo added the enhancement New feature or request label Oct 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant