Hannes Janetzek
83025d3365
remove android dependencies from lib
2013-10-09 01:56:07 +02:00
Hannes Janetzek
10425ff232
start to extract android dependency
2013-10-09 01:56:07 +02:00
Hannes Janetzek
3e6ac7d5d4
add and use utility to set Int color as uniform
2013-10-09 01:55:56 +02:00
Hannes Janetzek
f262efee7f
Use native Matrix4 instead of float[16]
2013-10-09 01:55:56 +02:00
Hannes Janetzek
615e91856f
MULTIPLIER > SCALE
2013-10-09 01:55:55 +02:00
Hannes Janetzek
e53179eb7b
use linear filter for stipple texture
2013-10-09 01:55:54 +02:00
Hannes Janetzek
3e42886097
add color saturation utility
2013-10-09 01:55:54 +02:00
Hannes Janetzek
d91ad535a2
start to make line stipple themeable
2013-10-09 01:55:54 +02:00
Hannes Janetzek
7cf4ca27f3
- add initial version of line stipple renderer
...
- 'vbo' moved to 'Layers'
2013-10-09 01:55:54 +02:00
Hannes Janetzek
a95e7d6f31
try to fix occasional flickering. only seen on nexus with PowerVR
...
-> clear stencil region by drawing a quad instead of using glClear(stencil) for each tile
2013-10-09 01:55:51 +02:00
Hannes Janetzek
2b68d93891
check range in blendColors
2013-10-09 01:55:51 +02:00
Hannes Janetzek
235e001a82
add 'min-size' option to line renderinstruction, when size is less no outline will be drawn
2013-10-09 01:55:49 +02:00
Hannes Janetzek
007ab2e3bf
fix z-fighting on overlapping buildings:
...
- modify projection matrix to add offset, glPolygonOffset is not that reliable
2013-10-09 01:55:48 +02:00
Hannes Janetzek
4acd9a492f
finally got that z-value for un-projection right (=
...
- add more matrix utilities
2013-10-09 01:55:48 +02:00
Hannes Janetzek
bfe8cf2889
use setTileMatrix utility function
2013-10-09 01:55:48 +02:00
Hannes Janetzek
c9137aa790
pack colors to array before passing to gl
2013-10-09 01:47:43 +02:00
Hannes Janetzek
4a06553ddc
more work on overlay renderer:
...
- moved text rendering to overlay
- added grid overlay
2013-10-09 01:27:43 +02:00
Hannes Janetzek
33d8865d7b
- started overlays
...
- started symbol layer
- move renderer and generator out of view package
- hopefully the last big refactoring for a while...
- improve perspective, plane should be more far away to decrease foreshortening
2013-10-09 01:27:43 +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