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

Method EndUpdateOverlayTree

libs/drape_frontend/frontend_renderer.cpp:1365–1382  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1363}
1364
1365void FrontendRenderer::EndUpdateOverlayTree()
1366{
1367 if (m_overlayTree->IsNeedUpdate())
1368 {
1369 m_overlayTree->EndOverlayPlacing();
1370
1371 // Track overlays.
1372 if (m_overlaysTracker->StartTracking(GetCurrentZoom(), m_myPositionController->IsModeHasPosition(),
1373 m_myPositionController->GetDrawablePosition(),
1374 m_myPositionController->GetHorizontalAccuracy()))
1375 {
1376 for (auto const & handle : m_overlayTree->GetHandlesCache())
1377 if (handle->IsVisible())
1378 m_overlaysTracker->Track(handle->GetOverlayID().m_featureId);
1379 m_overlaysTracker->FinishTracking();
1380 }
1381 }
1382}
1383
1384void FrontendRenderer::RenderScene(ScreenBase const & modelView, bool activeFrame)
1385{

Callers

nothing calls this directly

Calls 9

IsNeedUpdateMethod · 0.80
EndOverlayPlacingMethod · 0.80
StartTrackingMethod · 0.80
IsModeHasPositionMethod · 0.80
GetDrawablePositionMethod · 0.80
GetHorizontalAccuracyMethod · 0.80
FinishTrackingMethod · 0.80
IsVisibleMethod · 0.45
TrackMethod · 0.45

Tested by

no test coverage detected