Closed alexheretic closed 1 year ago
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.
Moved to more concrete issues #157 & #158
Currently a
GlyphBrush
should callprocess_queued
once per frame for the caching system to work properly. Multiple draws can be handled with multipleGlyphBrush
each drawing once per frame.We could probably do better here though.