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

Method MustDropAllTiles

libs/drape_frontend/read_manager.cpp:210–215  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

208}
209
210bool ReadManager::MustDropAllTiles(ScreenBase const & screen) const
211{
212 int const oldScale = df::GetDrawTileScale(m_currentViewport);
213 int const newScale = df::GetDrawTileScale(screen);
214 return (oldScale != newScale) || !m_currentViewport.GlobalRect().IsIntersect(screen.GlobalRect());
215}
216
217void ReadManager::PushTaskBackForTileKey(TileKey const & tileKey, ref_ptr<dp::TextureManager> texMng,
218 ref_ptr<MetalineManager> metalineMng)

Callers

nothing calls this directly

Calls 2

GetDrawTileScaleFunction · 0.85
IsIntersectMethod · 0.45

Tested by

no test coverage detected