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

Method OnContextCreate

libs/drape_frontend/backend_renderer.cpp:695–706  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

693}
694
695void BackendRenderer::OnContextCreate()
696{
697 LOG(LINFO, ("On context create."));
698 m_context = m_contextFactory->GetResourcesUploadContext();
699 m_contextFactory->WaitForInitialization(m_context.get());
700 m_context->MakeCurrent();
701 m_context->Init(m_apiVersion);
702 dp::SupportManager::Instance().Init(m_context);
703
704 m_readManager->Start();
705 InitContextDependentResources();
706}
707
708void BackendRenderer::OnContextDestroy()
709{

Callers

nothing calls this directly

Calls 6

getMethod · 0.65
WaitForInitializationMethod · 0.45
MakeCurrentMethod · 0.45
InitMethod · 0.45
StartMethod · 0.45

Tested by

no test coverage detected