glyph-brush icon indicating copy to clipboard operation
glyph-brush copied to clipboard

Handle multiple draws per frame better

Open alexheretic opened this issue 4 years ago • 1 comments

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.

alexheretic avatar Jan 16 '21 23:01 alexheretic

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.

Nuckal777 avatar Jul 25 '22 19:07 Nuckal777

Moved to more concrete issues #157 & #158

alexheretic avatar Oct 21 '22 18:10 alexheretic