| 735 | } |
| 736 | |
| 737 | static bool CanCacheTextureGrow(HFontMap font_map) |
| 738 | { |
| 739 | if (!font_map->m_DynamicCacheSize) |
| 740 | { |
| 741 | return false; |
| 742 | } |
| 743 | |
| 744 | uint16_t width = font_map->m_CacheWidth; |
| 745 | uint16_t height = font_map->m_CacheHeight; |
| 746 | bool result = GetNextCacheSize(font_map, &width, &height); |
| 747 | return result; |
| 748 | } |
| 749 | |
| 750 | CacheGlyph* AddGlyphToCache(HFontMap font_map, uint32_t frame, uint64_t glyph_key, FontGlyph* glyph, int32_t g_offset_y) |
| 751 | { |
no test coverage detected