| 166 | } |
| 167 | |
| 168 | void TextureManager::Release() |
| 169 | { |
| 170 | m_glyphGroups.clear(); |
| 171 | |
| 172 | m_symbolTextures.clear(); |
| 173 | m_stipplePenTexture.reset(); |
| 174 | m_colorTexture.reset(); |
| 175 | |
| 176 | m_trafficArrowTexture.reset(); |
| 177 | m_hatchingTexture.reset(); |
| 178 | m_arrowTexture.reset(); |
| 179 | m_smaaAreaTexture.reset(); |
| 180 | m_smaaSearchTexture.reset(); |
| 181 | |
| 182 | m_glyphTextures.clear(); |
| 183 | |
| 184 | m_glyphManager.reset(); |
| 185 | |
| 186 | m_isInitialized = false; |
| 187 | m_nothingToUpload.test_and_set(); |
| 188 | } |
| 189 | |
| 190 | bool TextureManager::UpdateDynamicTextures(ref_ptr<dp::GraphicsContext> context) |
| 191 | { |
no test coverage detected