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

Method RecacheGui

libs/drape_frontend/backend_renderer.cpp:119–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117}
118
119void BackendRenderer::RecacheGui(gui::TWidgetsInitInfo const & initInfo, bool needResetOldGui)
120{
121 CHECK(m_context != nullptr, ());
122 drape_ptr<gui::LayerRenderer> layerRenderer = m_guiCacher.RecacheWidgets(m_context, initInfo, m_texMng);
123 drape_ptr<Message> outputMsg = make_unique_dp<GuiLayerRecachedMessage>(std::move(layerRenderer), needResetOldGui);
124 m_commutator->PostMessage(ThreadsCommutator::RenderThread, std::move(outputMsg), MessagePriority::Normal);
125}
126
127#ifdef RENDER_DEBUG_INFO_LABELS
128void BackendRenderer::RecacheDebugLabels()

Callers

nothing calls this directly

Calls 2

RecacheWidgetsMethod · 0.80
PostMessageMethod · 0.45

Tested by

no test coverage detected