MCPcopy Create free account
hub / github.com/defold/defold / TearDown

Method TearDown

engine/render/src/test/test_render.cpp:215–229  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

213 }
214
215 void TearDown() override
216 {
217 dmRender::DeleteRenderContext(m_Context, 0);
218 dmRender::DeleteFontMap(m_SystemFontMap);
219
220 DestroyGlyphBank(m_GlyphBank);
221 FontDestroy(m_Font);
222
223 dmGraphics::CloseWindow(m_GraphicsContext);
224 dmGraphics::DeleteContext(m_GraphicsContext);
225 dmScript::DeleteContext(m_ScriptContext);
226
227 dmPlatform::CloseWindow(m_Window);
228 dmPlatform::DeleteWindow(m_Window);
229 }
230};
231
232TEST_F(dmRenderTest, TestFontMapTextureFiltering)

Callers

nothing calls this directly

Calls 7

DeleteRenderContextFunction · 0.85
DeleteFontMapFunction · 0.85
FontDestroyFunction · 0.85
DestroyGlyphBankFunction · 0.70
CloseWindowFunction · 0.50
DeleteContextFunction · 0.50
DeleteWindowFunction · 0.50

Tested by

no test coverage detected