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

Method ScheduleOverlayCollecting

libs/drape_frontend/frontend_renderer.cpp:2625–2633  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2623}
2624
2625void FrontendRenderer::ScheduleOverlayCollecting()
2626{
2627 auto const kCollectingEventsPeriod = std::chrono::seconds(10);
2628 m_notifier->Notify(ThreadsCommutator::RenderThread, kCollectingEventsPeriod, true /* repeating */, [this](uint64_t)
2629 {
2630 if (m_overlaysTracker->IsValid())
2631 CollectShowOverlaysEvents();
2632 });
2633}
2634
2635void FrontendRenderer::SearchInNonDisplaceableUserMarksLayer(ScreenBase const & modelView, DepthLayer layerId,
2636 m2::RectD const & selectionRect,

Callers 1

DoMethod · 0.80

Calls 2

NotifyMethod · 0.45
IsValidMethod · 0.45

Tested by

no test coverage detected