Konstantin Käfer
ab71db336c
move tiles to std::map for faster lookups
2014-05-13 12:20:59 +02:00
Konstantin Käfer
d8fa9aa322
move weak_ptr list of tile_data objects to a map for faster lookups
2014-05-13 12:01:29 +02:00
Konstantin Käfer
263c887777
don't try to render layers that do not produce anyting during the current render pass
...
refs #184
2014-05-12 19:53:06 +02:00
Konstantin Käfer
6ebb4c21f7
clean up gl::group() structure
2014-05-12 18:25:48 +02:00
Konstantin Käfer
6136ab6d21
draw by layer, not by tile
...
This is needed for correctly compositing raster imagery into the map
fixes #122
fixes #157
2014-05-12 17:13:26 +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
449f403e87
rename animation => transition
2014-04-30 14:46:28 +02:00
Konstantin Käfer
4afe20776d
move animation time api to use nanoseconds
2014-04-30 14:20:15 +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
797f590cfb
cleanup + unused arguments
2014-04-16 10:55:06 -04:00
Konstantin Käfer
0367dbe8c7
use unique_ptrs and fix compile on mapnik
2014-04-15 12:24:15 -07:00
Konstantin Käfer
5792b04496
remove unused variable
2014-04-15 14:31:21 -04:00
Konstantin Käfer
7c6bf7d854
fix initialization order
2014-04-15 14:31:15 -04:00
Konstantin Käfer
3c656d2bf2
add debug markers for easier gl debugging
2014-04-15 14:30:05 -04:00
Konstantin Käfer
746224a2ae
load the normalized_id rather than the logical id
2014-04-15 12:46:28 -04: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
Justin R. Miller
228ce33278
cleanup APIs a bit
2014-04-09 11:59:27 -07:00
Justin R. Miller
e5713f31a6
move to raster buckets & tile parser handling raster decoding
2014-04-09 11:38:42 -07:00
Justin R. Miller
1215f6f1fe
refs #101 : data sources with styling
...
* add second, satellite class to stylesheet
* get rid of tile clipping masks for now
* flesh out raster styling properties
2014-04-04 13:24:11 -07:00
Justin R. Miller
2e5fed2a7a
abstract out zoom adjust
2014-04-02 15:00:48 -07:00
Justin R. Miller
f60a46229d
refs #101 : first cut of basic hacky data sources
2014-04-02 11:07:22 -07:00