John Firebaugh
de098591c5
Remove Map::cleanup and Painter::cleanup
...
Both were noops.
2014-12-06 14:08:40 -08:00
John Firebaugh
ff640132de
Move setAccessToken to CachingHTTPFileSource
2014-12-04 17:03:23 -08:00
John Firebaugh
0a942b6f14
Change Map::stop to use std::function<void()>
...
Fixes #685
2014-12-04 15:58:04 -08:00
John Firebaugh
16fe8e64c4
Move setReachability to CachingHTTPFileSource
2014-12-04 15:14:40 -08:00
Konstantin Käfer
abafb52f37
make most headers private
2014-12-04 20:02:50 +01:00
John Firebaugh
57249ca32c
Prefer stdlib to libuv ( fixes #688 )
2014-12-03 17:38:10 -08:00
Mike Morris
dac76a0f92
break out FileSource as an abstract class
...
add CachingHTTPFileSource implementation
2014-12-03 12:25:11 -05:00
John Firebaugh
a6522d4a5a
Texturepool ⇢ TexturePool ( fixes #655 )
2014-12-02 12:24:25 -08:00
John Firebaugh
8fdf645e12
Adhere to naming conventions
2014-12-02 12:24:25 -08:00
John Firebaugh
7901706094
Use uv::async
2014-11-26 17:37:13 -08:00
John Firebaugh
84c3191044
Eliminate Map::getActiveSources()
2014-11-26 16:04:22 -08:00
John Firebaugh
01ecbaf51a
Make Map::updateTiles() private
2014-11-26 16:01:51 -08:00
John Firebaugh
4ce94170c1
Remove unused
2014-11-26 16:01:36 -08:00
John Firebaugh
80df07a5da
Remove redundant access specifiers
2014-11-26 15:13:14 -08:00
John Firebaugh
9af3b033bf
Eliminate Map::getStyle()
2014-11-26 15:13:13 -08:00
John Firebaugh
d3ba1071cb
Make Map::getSprite() private
2014-11-26 15:13:13 -08:00
John Firebaugh
576533b18c
Eliminate Map::getTexturepool()
2014-11-26 15:13:13 -08:00
John Firebaugh
3aa15306f6
Map Map::getWorker() private
2014-11-26 15:13:13 -08:00
John Firebaugh
8c3e39a516
Eliminate Map::getGlyphStore()
2014-11-26 15:13:13 -08:00
John Firebaugh
8e33076bf1
Eliminate Map::getSpriteAtlas()
2014-11-26 15:13:13 -08:00
John Firebaugh
a5fe8ec3dc
Eliminate Map::getGlyphAtlas()
2014-11-26 15:13:13 -08:00
John Firebaugh
c3940cf082
Eliminate Map::getFileSource
2014-11-21 14:25:12 -08: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
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