Konstantin Käfer
2b14579986
only paint layer if it has data
...
refs #184
2014-05-12 19:08:59 +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
Konstantin Käfer
1216a061d3
move to libuv for the rendering loop
2014-04-30 12:01:26 +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
Konstantin Käfer
78c10c0701
Merge remote-tracking branch 'remotes/origin/pr/127'
...
Conflicts:
include/llmr/map/map.hpp
src/map/map.cpp
src/platform/platform.cpp
2014-04-15 12:46:19 -04:00
Konstantin Käfer
305e688a3a
clean up os x + ios request code
...
fixes #129
2014-04-14 11:47:57 -04:00
Justin R. Miller
f60a46229d
refs #101 : first cut of basic hacky data sources
2014-04-02 11:07:22 -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
85f0d9392b
do not use shared pointers for buffers
2014-03-25 13:41:20 +01:00
Konstantin Käfer
3413ee536d
Merge branch 'master' into sdf
...
Conflicts:
include/llmr/map/tile_data.hpp
include/llmr/shader/shaders.hpp
src/map/map.cpp
src/map/tile_data.cpp
src/platform/platform.cpp
src/shader/shaders.cpp
2014-03-21 13:36:32 +01:00
Justin R. Miller
00a3245ce8
fixes #70 : raster tile rendering as toggleable mode from vector
2014-03-18 16:57:17 -07:00
Konstantin Käfer
99cef810ac
move tile parsing to its own object
2014-03-14 11:36:10 +01:00
Konstantin Käfer
be44b6b31f
add glyph atlas to map
2014-03-14 11:36:10 +01:00
Konstantin Käfer
d9589573bc
extract label shaping
2014-03-14 11:36:10 +01:00
Konstantin Käfer
a26ddf8bce
parse feature objects so that we can access all tags
2014-03-14 11:36:10 +01:00
Konstantin Käfer
8171c7bb43
add empty classes for rendering glyphs
2014-03-14 11:36:10 +01:00
Konstantin Käfer
f8a096a4fa
use templated function to reduce code
2014-03-14 11:36:10 +01:00
Konstantin Käfer
a3a1b812c8
don't pass around pointers if all we need is the state
2014-03-05 09:56:36 +01:00
Konstantin Käfer
027c6f33b3
implement tile wrapping
...
fixes #14
2014-03-05 09:40:32 +01:00
Konstantin Käfer
b0ddabd6ac
rename Tile to TileData
2014-03-04 17:53:16 +01:00