| 1363 | } |
| 1364 | |
| 1365 | void 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 | |
| 1384 | void FrontendRenderer::RenderScene(ScreenBase const & modelView, bool activeFrame) |
| 1385 | { |
nothing calls this directly
no test coverage detected