Leith Bade
bc7e97f37e
Merge branch 'master' of github.com:mapbox/mapbox-gl-native into android-mason
...
Conflicts:
src/map/source.cpp
2014-11-23 09:45:17 +11:00
Leith Bade
78a667762a
Swtitch to stdlib mutex and cond vars
2014-11-22 13:14:22 +11:00
John Firebaugh
c3940cf082
Eliminate Map::getFileSource
2014-11-21 14:25:12 -08:00
Leith Bade
5b718d7fc9
Merge branch 'master' of github.com:mapbox/mapbox-gl-native into android-mason
...
Conflicts:
ios/mapbox-gl-cocoa
2014-11-21 20:36:55 +11:00
John Firebaugh
aaa1e3a6f1
Remove rotation constraints
...
This should be an iOS SDK option, not hard coded into
low-level renderering.
Fixes #458
2014-11-20 15:13:23 -08:00
Jordan Hollinger
4e3ae54062
Add functionality to get default transition duration from native code. Use it to save and restore state. #617
2014-11-19 17:24:49 -08:00
Jordan Hollinger
a888e9b7f3
Add temporary applied classes list in map, in case they are set before style is loaded. #620
2014-11-19 15:17:38 -08:00
Leith Bade
1e55c332cd
Wait for pause
...
Tidy up
Remove red fill
2014-11-09 23:52:34 +11:00
Leith Bade
3696e05193
Add async asserts
2014-11-09 22:54:05 +11:00
Leith Bade
28d66bb6f8
Add Map::pause/resume
...
Fixed bug after switching apps
2014-11-09 22:36:37 +11:00
artemp
aaa8927169
remove unused and unimplemented method
2014-10-30 11:04:10 -04:00
artemp
9ff0d00912
store uv::loop as unique_ptr
2014-10-29 18:12:11 -04:00
artemp
2607a755af
store spriteAtlas by value + make TileParser noncopyable
2014-10-29 14:09:06 -04:00
artemp
3b5b15a4e4
store glyphAtlas by value in Map object, pass by ref
...
change hasData signiture to expect ```StyleLayer const&```
2014-10-29 13:44:26 -04:00
John Firebaugh
da8aa391d0
Render map with a copy of TransformState
2014-10-29 09:58:56 -04:00
Konstantin Käfer
f50d8bbf3a
fix build with libuv 0.11
2014-10-27 12:17:52 -04:00
Konstantin Käfer
905c4294be
Merge branch 'libuv-0.10-headless-display' into mason
...
Conflicts:
common/http_request_baton_curl.cpp
include/mbgl/map/map.hpp
include/mbgl/util/uv_detail.hpp
scripts/travis_before_install.sh
setup-libraries.sh
src/map/map.cpp
src/storage/file_request_baton.cpp
src/storage/http_request.cpp
src/util/uv-messenger.c
2014-10-22 15:14:21 +02:00
Konstantin Käfer
5a87fb337d
first attempt at using mason to install packages
...
[skip ci]
2014-10-20 17:55:49 +02:00
Mike Morris
2d1219fa51
Merge branch 'master' into libuv-0.10-headless-display
...
Conflicts:
common/curl_request.cpp
common/glfw_view.cpp
common/glfw_view.hpp
include/mbgl/platform/request.hpp
ios/mapbox-gl-cocoa
setup-libraries.sh
src/map/map.cpp
src/platform/request.cpp
test/fixtures/fixture_request.cpp
2014-10-10 12:24:45 -04:00
Konstantin Käfer
9e44c0eae8
add reachability
2014-09-29 14:02:42 +02:00
Konstantin Käfer
111fccb76c
option to pass data parameter, and add more explanation
2014-09-24 16:14:10 +02:00
Konstantin Käfer
ba18c08524
add a callback to stop() to allow running the current thread's event loop
2014-09-24 16:14:10 +02:00
Konstantin Käfer
fd2b2e2082
use separate workers for tile parsing to avoid blocking the threadpool for other libuv actions
2014-09-24 16:14:09 +02:00
Konstantin Käfer
f26bb724dc
use util::ptr as a wrapper around std::shared_ptr that asserts nonemptiness
2014-09-24 16:14:09 +02:00
Konstantin Käfer
6c526e5637
make sure all of our async handles are stopped before stopping the map thread
2014-09-24 16:14:09 +02:00
Konstantin Käfer
d9fc7708a2
do 304 requests and cache them in sqlite
2014-09-24 16:14:09 +02:00
Mike Morris
15564b81a3
Merge branch 'fix-context-shutdown-merge' into libuv-0.10-fix-context-shutdown
...
Conflicts:
src/map/map.cpp
2014-09-10 18:53:20 -04:00
Leith Bade
71549e7b93
Adds the function Map::terminate() to allow all GL resources held
...
by the map to be released immediately.
Map::terminate() will call any GL functions on the current thread
without blocking or defering to the rendering thread.
This function allows a GL context to be destroyed and recreated
safely without having to delete the Map object.
Fixes mapbox/mapbox-gl-native#341
Conflicts:
include/llmr/renderer/painter.hpp
test/headless.cpp
2014-09-10 18:31:20 -04:00
Mike Morris
3466f36412
bump mapnik-packaging, conform to libuv 0.10 api
2014-08-20 19:43:29 -04:00
Konstantin Käfer
22e179aa37
remove trailing whitespace
...
[skip ci]
2014-08-12 16:30:27 +02:00
Konstantin Käfer
18b1469e9e
use unified RenderPass type
2014-08-12 15:24:02 +02:00
Konstantin Käfer
213b6ad4dc
Merge branch 'master' into rasterize
...
[skip ci]
2014-08-12 15:12:31 +02:00
Konstantin Käfer
6f80264291
remove uv.h dependency from header files
2014-08-12 11:45:30 +02:00
Lauren Budorick
0263a9ffb7
minor access changes etc
2014-08-11 15:42:09 -07:00
Lauren Budorick
1ad2f26b9d
VICTORY
2014-08-11 12:13:23 -07:00
Lauren Budorick
510aaef07f
render single tile in source.cpp
2014-08-11 12:13:23 -07:00
Lauren Budorick
4083b534d7
committing so as to be revertable when i accidentally destroy the painter fns
2014-08-11 12:13:23 -07:00
Lauren Budorick
fb5c3a888d
textures binding to map, just the wrong textures -- but so much closer
2014-08-11 12:13:23 -07:00
Lauren Budorick
54ed547f90
need to figure out how to use modified matrix in drawing prerendered textures
2014-08-11 12:13:22 -07:00
Lauren Budorick
ec7f7de5c4
still not working
2014-08-11 12:13:22 -07:00
Lauren Budorick
df925fe0e5
nonworking prerendering attempts
2014-08-11 12:12:43 -07:00
Konstantin Käfer
4657e6e023
use a file source object to abstract loading of resources
2014-08-08 18:25:45 +02:00
Konstantin Käfer
a045d9c9d4
use filesource object for loading all http stuff
2014-08-08 15:08:41 +02:00
Konstantin Käfer
75c079adb1
move sprite to a use future loading
2014-07-31 18:14:26 +02:00
Konstantin Käfer
04bab1af76
more include what you use
2014-07-23 13:18:03 +02:00
Konstantin Käfer
d175d146fb
include what you use
2014-07-23 12:53:21 +02:00
John Firebaugh
86336ed838
Flip name and units and sign of rotation API
...
Angle -> Bearing
Radians -> Degrees
Clockwise -> Counterclockwise
2014-07-21 11:30:51 -07:00
Konstantin Käfer
4ea281c750
rename llmr => mbgl
2014-07-16 18:53:56 -07:00