MCPcopy Create free account
hub / github.com/comaps/comaps / Release

Method Release

libs/drape/texture_manager.cpp:168–188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

166}
167
168void 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
190bool TextureManager::UpdateDynamicTextures(ref_ptr<dp::GraphicsContext> context)
191{

Callers 3

~DrapeEngineMethod · 0.80
ReleaseResourcesMethod · 0.80
OnContextDestroyMethod · 0.80

Calls 2

clearMethod · 0.45
resetMethod · 0.45

Tested by

no test coverage detected