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

Handle multiple draws per frame better #128

Closed
alexheretic opened this issue Jan 16, 2021 · 2 comments
Closed

Handle multiple draws per frame better #128

alexheretic opened this issue Jan 16, 2021 · 2 comments

Comments

@alexheretic
Copy link
Owner

Currently a GlyphBrush should call process_queued once per frame for the caching system to work properly. Multiple draws can be handled with multiple GlyphBrush each drawing once per frame.

We could probably do better here though.

@Nuckal777
Copy link

Didn't look deeply into the topic. Can we achieve better cache usage with multiple draws, if the user calls GlyphBrush::cleanup_frame() explicitly when finishing a frame? Currently the cache is trimmed after each draw implicitly.

@alexheretic
Copy link
Owner Author

Moved to more concrete issues #157 & #158

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants