8 Commits

Author SHA1 Message Date
Hannes Janetzek
5bf9deef89 - prevent possible concurrency between updateMap 'clear' tiles and onDrawFrame
- no need to sync tile in uploadTileData anymore, now that proxies are locked properly
- cleanups
2013-10-09 01:22:48 +02:00
Hannes Janetzek
c5e3be9d2b - started to move Matrices to MapViewPosition as these can be shared with
MapRenderer(TileLoader) and GLRenderer.
- using inverse projection to determine visible tiles and mapping screen-coordinates to model
- making MapPosition not final, reuse instance to get Position in Map-/GLRender

added: ScanBox scanline fill used for calculating visible tiles

rename:
- ShortPool -> VertexPool
- tile.isActive -> isLocked
2013-10-09 01:22:47 +02:00
Hannes Janetzek
7d7cf10d89 - fixed MapViewPosition scaleMap
- fixed GLRender isVisible() for proxy tiles
- smoother scale animation
2013-10-09 01:22:47 +02:00
Hannes Janetzek
4a5142fdf6 keep mapfile-writer/db from bit-rotting 2013-10-09 01:22:47 +02:00
Hannes Janetzek
19344e39cf starting to add some perspective 2013-10-09 01:22:47 +02:00
Hannes Janetzek
7ac44bc3df do not cancel loading in limitCache for now 2013-10-09 01:22:47 +02:00
Hannes Janetzek
6ee2a85e12 fixes:
- start MapWorkers at end of init
- check for screensize > 0 in updateMap
2013-10-09 01:22:47 +02:00
Hannes Janetzek
a1317a9de5 - remove swrenderer
- rearchitect:
 now that MapView is a ViewGroup and MapRenderer is the GLSurfaceView.
- lock/unlock proxy tiles properly to not be removed from cache while in use
2013-10-09 01:22:33 +02:00