| 241 | } |
| 242 | |
| 243 | void TextureManager::GetRegionBase(ref_ptr<Texture> tex, BaseRegion & region, Texture::Key const & key) |
| 244 | { |
| 245 | bool isNew = false; |
| 246 | region.SetResourceInfo(tex != nullptr ? tex->FindResource(key, isNew) : nullptr); |
| 247 | region.SetTexture(tex); |
| 248 | ASSERT(region.IsValid(), ()); |
| 249 | if (isNew) |
| 250 | m_nothingToUpload.clear(); |
| 251 | } |
| 252 | |
| 253 | uint32_t TextureManager::GetNumberOfGlyphsNotInGroup(std::vector<text::GlyphMetrics> const & glyphs, |
| 254 | GlyphGroup const & group) |
nothing calls this directly
no test coverage detected