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
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
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
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
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
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
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
f60a46229d
refs #101 : first cut of basic hacky data sources
2014-04-02 11:07:22 -07: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
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
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
3c5bac0f6b
add debug window showing the glyph atlas
2014-03-14 12:43:42 +01:00
Konstantin Käfer
be44b6b31f
add glyph atlas to map
2014-03-14 11:36:10 +01:00
Konstantin Käfer
86e6e6bed8
use a custom struct for Tile IDs
2014-03-12 16:42:37 +01:00
Konstantin Käfer
91d42911fb
parse the json stylesheet
2014-03-12 11:23:01 +01:00
Konstantin Käfer
f04f42df8f
load new tile if it's marked as obsolete
2014-03-11 12:18:47 +01:00
Konstantin Käfer
420cb58a5d
fix pedantic warnings
2014-03-11 12:10:07 +01:00
Konstantin Käfer
69a5c0e15f
better support for gles2
2014-03-05 16:58:46 +01:00
Konstantin Käfer
1fbaa95b02
fix tile loading
2014-03-05 16:40:07 +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
Konstantin Käfer
ba5070bf52
Port scanline algorithm from _getCoveringTiles()
...
fixes #22
2014-03-04 14:50:17 +01:00
Konstantin Käfer
0a6dbc8064
Merge branch 'nostencil'
...
Conflicts:
macosx/main.mm
src/map/map.cpp
2014-03-03 16:02:13 +01:00
Konstantin Käfer
8d68bd73e7
draw a checkerboard stencil clipping mask initially
2014-02-26 12:24:17 +01:00
Justin R. Miller
78ab66b06c
rename tile state ready -> parsed
2014-02-25 15:26:12 -08:00
Konstantin Käfer
0306e77ff0
remove void* parameter from platform::restart()
2014-02-21 12:18:11 +01:00
Konstantin Käfer
1fb4451192
Merge pull request #68 from mapbox/poi-render
...
refs #60 : first cut of POI rendering
2014-02-21 12:07:46 +01:00
Konstantin Käfer
bd2d865fc4
trigger a bogus mouse move event to interrupt glfwWaitEvents()
...
see https://github.com/glfw/glfw/issues/218
2014-02-21 12:05:27 +01:00
Konstantin Käfer
d5c611d707
add timeouts for panning,scaling,rotating
2014-02-21 11:31:24 +01:00
Konstantin Käfer
9710fbef99
enable texture interpolation during rotating and scaling
2014-02-19 15:39:44 +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
Justin R. Miller
257ccd16bb
clean up settings mechanism ( fixes #9 & #62 )
...
* init, load, persist, sync, clear
* clean up frequent disk syncs which impacted iOS performance
* insert disk sync into various iOS/OS X lifecycle events
* implement clear
* implement save on iOS
* cleaner dictionary syntax
2014-02-13 12:21:35 -08:00
Justin R. Miller
0005ca4eef
fixes #57 : flesh out remainder of getters & setters plus animation
2014-02-12 11:20:21 -08:00