zwcloud / ImGui

Immediate Mode GUI for C#
https://zwcloud.net/#project/imgui
GNU Affero General Public License v3.0
197 stars 21 forks source link

Improve text rendering performance: per-character text-mesh cache #62

Open zwcloud opened 4 years ago

zwcloud commented 4 years ago

this blocks #63 Current implementation caches TextMesh for string. If the text changes frequently, the CPU time comsumed and memory impact is relatively high until all possible text mesh has been created and stored in TextMesh cache.