Konstantin Käfer
7d73d158ba
incorporate the color and draw circle dots if we don't have an icon
2014-05-19 16:19:51 +02:00
Konstantin Käfer
f848868c16
fix texture binding
2014-05-19 14:18:29 +02:00
Konstantin Käfer
4c99014a13
don't use fractional texture coordiantes in the shader
2014-05-15 15:16:34 +02:00
Konstantin Käfer
27b695b068
use explicit constructors
2014-05-15 14:56:06 +02:00
Konstantin Käfer
604e558d46
add missing include header
2014-05-10 10:32:30 +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
74768abeb8
make sure we call the sprite load callback
2014-04-30 12:58:38 +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
eb499e77c1
fix linejoin drawing on retina
2014-04-10 11:49:43 -04: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
5f64ecc3cc
Merge branch 'master' into linux-wrapper
...
Conflicts:
include/llmr/style/sprite.hpp
2014-02-21 12:26:16 +01:00
Konstantin Käfer
c0997961aa
don't use std::string to hold the image
2014-02-17 17:58:34 +01:00
Justin R. Miller
828d8ba26f
refs #60 : first cut of POI rendering
...
* add basic marker style to stylesheet
* pass through marker style to PBF conversion
* marker/point tile parsing, bucket, buffer, shaders, etc.
* new sprite hosting for 1x/2x variants
* sprite load accepts screen scale argument
2014-02-14 18:13:12 -08:00
Dane Springmeyer
ebedcce508
fix compile on linux
2014-02-03 22:58:59 +00:00
Konstantin Käfer
a6e464b9a7
add sprite object and parse image
...
refs #15
2014-02-03 17:38:40 +01:00
Konstantin Käfer
202e0270f7
add rapidjson for parsing sprite json files
2014-02-03 11:36:34 +01:00