Commit Graph

177 Commits

Author SHA1 Message Date
Konstantin Käfer
e95ece8333 fix sprite rendering 2014-04-30 13:05:04 +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
f683cbf02a hide atomic flags as implementation detail 2014-04-30 12:29:50 +02:00
Konstantin Käfer
fcfd506a3c fix rendering + build 2014-04-30 12:09: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
3e92f36afc fix headless test case 2014-04-25 16:12:03 +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
a324929ba3 clarify comment for gestures as well 2014-04-22 15:02:44 -07:00
Konstantin Käfer
b119aa92d8 remove Settings object from Painter 2014-04-16 16:45:09 -04:00
Konstantin Käfer
797f590cfb cleanup + unused arguments 2014-04-16 10:55:06 -04:00
Konstantin Käfer
74cb7edb5b remove more unused variables 2014-04-16 10:47:09 -04:00
Konstantin Käfer
1b922e3a34 remove start_x/y variables, they're unused 2014-04-16 10:46:52 -04:00
Konstantin Käfer
05f8039981 Merge branch 'master' of github.com:mapbox/llmr-native 2014-04-15 18:47:59 -04:00
Konstantin Käfer
b414cbea44 automatically derive fb dimensions 2014-04-15 18:45:15 -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
Konstantin Käfer
8e442411b0 add human-readable error messages 2014-04-15 11:45:26 -04:00
Konstantin Käfer
e9db888491 cascade stylesheet on every update, including animations
previously, animations didn't trigger a style cascade, leading to overly thick lines

fixes #81
2014-04-15 11:40:52 -04:00
Konstantin Käfer
137172575d account for the angle when zooming 2014-04-14 19:31:51 -04:00
Konstantin Käfer
9bb88711b8 always start animations with a common start time
fixes #134
2014-04-14 19:30:09 -04:00
Konstantin Käfer
f18aa61e33 derive from GLKViewController
this handles resizing the view/framebuffer much better

fixes #130, #131, #133, #118
2014-04-14 18:50:17 -04:00
Konstantin Käfer
305e688a3a clean up os x + ios request code
fixes #129
2014-04-14 11:47:57 -04:00
Konstantin Käfer
c45378a88c Merge branch 'master' of github.com:mapbox/llmr-native
Conflicts:
	src/map/tile_data.cpp
2014-04-11 10:51:41 -04:00
Konstantin Käfer
8faae8c137 be more verbose about source of tile errors 2014-04-10 14:29:41 -04:00
Justin R. Miller
27e33ef8b8 log failed tile for more info 2014-04-10 11:20:20 -07:00
Konstantin Käfer
06bcab9560 correctly update the map dimensions on rotate
refs #37
2014-04-10 14:07:36 -04:00
Konstantin Käfer
eb499e77c1 fix linejoin drawing on retina 2014-04-10 11:49:43 -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
482ac31fde re-enable raster mode toggling 2014-04-04 15:22:47 -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
f8e771b79e move to satellite raster 2014-04-02 15:12:52 -07:00
Justin R. Miller
d2491939e9 move to naming like on web 2014-04-02 15:12:42 -07:00
Justin R. Miller
00e910c147 bring back toggleRaster() by way of layer enable toggling 2014-04-02 15:01:05 -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
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
afe27ed74c only animate when we need to fade the text 2014-03-24 18:00:03 +01:00
Konstantin Käfer
5c613b5455 normalizedZoom() == zoom level of the visual appearance 2014-03-24 14:44:44 +01:00
Konstantin Käfer
67a8882457 use the correct glyphs 2014-03-24 11:13:20 +01:00
Konstantin Käfer
ea6b24d02d add text rendering code 2014-03-21 17:36:29 +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
Konstantin Käfer
0730ca640b get rid of float division 2014-03-21 13:32:03 +01:00
Konstantin Käfer
a4cda4ce20 fix Tile::parent() for negative x coords 2014-03-21 13:17:42 +01:00
Konstantin Käfer
4ee0cf1791 port remainder of the the placement algorithm 2014-03-19 18:58:50 +01:00