Files
UnrealEngineUWP/Engine/Source/Runtime/SlateCore/Public/Textures
John Barrett 562d137362 Optimized Slate font caching code and refactored related classes.
- Check whether a character exists within a font set before attempting to load it, and replace with substitute character if not, to minimize FreeType API calls and excessive caching
- Added ability to customize font fallback level; normally if a character does not exist in a font, a localization fallback font set is checked, and then a last resort font set, which can potentially be expensive
- Optimized font texture atlas, to store empty/filled slots in linked lists, instead of in a single binary tree with expensive searches, and stopped tracking empty slots smaller than 2x2 pixels
- Optimized some unnecessary calls to FreeType API

[CL 2629056 by John Barrett in Main branch]
2015-07-22 12:12:02 -04:00
..