Young Hahn
25803b4b98
Guesses.
2014-05-28 22:57:32 -04:00
Young Hahn
a66db39a06
Monkey patching to get linux compile working.
2014-05-28 18:45:47 -04:00
Konstantin Käfer
83b3b0bb6a
create a copy
2014-05-28 22:18:18 +02:00
Konstantin Käfer
6f68cd3676
return font stack
2014-05-28 22:12:31 +02:00
Konstantin Käfer
193b2aacb7
add second labelling pass
2014-05-28 22:00:00 +02:00
Konstantin Käfer
ed7b86a134
add glyph store and load glyph pbfs
2014-05-28 20:51:13 +02:00
Konstantin Käfer
cca9d81ee7
add debug warnings
2014-05-28 15:51:09 +02:00
Konstantin Käfer
084e7af377
better sprite warnings
2014-05-22 15:19:51 +02:00
Konstantin Käfer
16a79b42ca
show tile parse warnings
2014-05-21 14:18:25 +02:00
Ansis Brammanis
2b348ccfd4
Merge branch 'master' of github.com:mapbox/llmr-native
2014-05-19 17:36:50 -04:00
Ansis Brammanis
4d38e4eb15
fix rotation range check in text shader
...
fixes #215
2014-05-19 17:35:55 -04:00
Konstantin Käfer
13575330f7
use sprite atlas
2014-05-19 10:48:36 +02:00
Konstantin Käfer
27f8ed29e4
encode icon texture coordinate in buffer so we can render all pois with 1 draw call
2014-05-19 10:48:36 +02:00
Konstantin Käfer
fda64b67af
rename point => icon
2014-05-15 14:51:02 +02:00
Konstantin Käfer
0bfd7b0f43
Calculate clip IDs with a huffman prefix tree
...
This changes the clip IDs from sequential to a huffman prefix tree, meaning that
parent tiles share the same prefix with child tiles (but are shorter). This allows
us to use the same checkerboard pattern to draw all tiles.
TODO:
- make sure we're not overflowing the 8 bit limit of the stencil buffer
- draw all checkerboard fields at the same time, with one draw call
- fix raster drawing (fading, clipping)
refs #132
2014-05-09 18:10:28 +02:00
Justin R. Miller
2b9fbb0731
squashed stylequest merge
...
* uses OSM Bright style
* adds dot shader
* adds layer translation
* adds dashed line support
* adds style array parsing
* improves background layer parsing
* improves style constant parsing
* fixes sprite JSON pixel ratio parsing
2014-05-07 10:37:25 -07:00
Konstantin Käfer
74768abeb8
make sure we call the sprite load callback
2014-04-30 12:58:38 +02:00
Konstantin Käfer
666f593803
use an event loop per map that is not the render thread
2014-04-25 14:26:59 +02:00
Justin R. Miller
e5713f31a6
move to raster buckets & tile parser handling raster decoding
2014-04-09 11:38:42 -07:00
Konstantin Käfer
21f7b0f706
use unique_ptr for buckets rather than shared_ptrs
2014-03-25 13:49:55 +01:00
Konstantin Käfer
67a8882457
use the correct glyphs
2014-03-24 11:13:20 +01:00
Konstantin Käfer
4ee0cf1791
port remainder of the the placement algorithm
2014-03-19 18:58:50 +01:00
Konstantin Käfer
99cef810ac
move tile parsing to its own object
2014-03-14 11:36:10 +01:00