Konstantin Käfer
214f99673f
fix variable shadowing
2014-10-22 18:19:01 +02:00
Konstantin Käfer
087d04292a
Merge branch 'master' of github.com:mapbox/mapbox-gl-native
2014-10-22 15:18:30 +02: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
253bbd1c5b
New mason-based build system
2014-10-22 15:13:35 +02:00
Konstantin Käfer
5a87fb337d
first attempt at using mason to install packages
...
[skip ci]
2014-10-20 17:55:49 +02:00
John Firebaugh
4603ca037c
background-image support
2014-10-17 10:44:38 -07:00
Konstantin Käfer
97986f603f
we don't need a root_fbo function anymore
...
[skip ci]
2014-10-16 04:27:30 -07: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
d03b7aa31a
properly ref/unref the handle and run the loop again for shutdown purposes
2014-10-01 13:26:49 +02:00
Konstantin Käfer
8fcc74e253
fix headless tests
2014-09-30 17:29:10 +02:00
Konstantin Käfer
9e44c0eae8
add reachability
2014-09-29 14:02:42 +02:00
Mike Morris
3dec4933a9
Merge branch 'libuv010' into libuv-0.10-fix-context-shutdown
...
Conflicts:
common/headless_view.cpp
test/headless.cpp
2014-09-24 15:58:52 -04:00
Mike Morris
8a19896c3a
Merge branch 'master' into libuv010
2014-09-24 15:40:08 -04:00
Konstantin Käfer
19129cbd02
make SourceInfo object noncopyable and use a shared_pointer for it
2014-09-24 16:16:29 +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
John Firebaugh
896379daa5
Refactor tile cover to match JS
2014-09-22 13:39:43 -07: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
Leith Bade
c004c03696
Add View::make_inactive() to remove context from rendering thread
...
View::make_inactive() is called just before termination of the
rendering thread. The implementation must clear the thread's GL
context.
This ensures there is no context still bound to a thread during
GL shutdown. This is needed as GL will not actually delete a
context until it is not active on any thread.
Fixes mapbox/mapbox-gl-native#340
Conflicts:
common/glfw_view.hpp
include/llmr/map/view.hpp
test/headless.cpp
2014-09-10 18:21:03 -04:00
Mike Morris
c32bb85248
Merge branch 'master' into libuv010
2014-09-09 17:06:22 -04:00
John Firebaugh
eb4f53cbed
SDF icon support ( fixes #404 )
2014-09-08 15:12:32 -07:00
Mike Morris
050b00cb58
Merge branch 'master' into libuv010
...
Conflicts:
setup-libraries.sh
2014-08-26 16:55:08 -04:00
Konstantin Käfer
0f73a0192e
Merge pull request #439 from mapbox/clipping
...
Compute unique clip IDSs per tile
2014-08-26 17:42:53 +02:00
Mike Morris
7ae3b8e8ee
Merge branch 'master' into libuv010
2014-08-25 16:13:24 -04:00
Leo Lou
c6a947de12
Use float for pixelRatio
2014-08-22 09:31:30 -07:00
Lauren Budorick
0168612ed3
Load TileJSON; support inline TileJSON sources
...
Fixes #412
Refs https://github.com/mapbox/mapbox-gl-style-spec/pull/143
2014-08-21 16:12:27 -07:00
Konstantin Käfer
2c6e34a4fe
add != operator for certain stdlib implementations
2014-08-21 15:39:58 +02:00
Konstantin Käfer
863b4577e4
compute unique clip ids per tile, taking covering children into account
...
fixes #206
fixes #220
refs #229
2014-08-21 15:02:08 +02:00
Mike Morris
3466f36412
bump mapnik-packaging, conform to libuv 0.10 api
2014-08-20 19:43:29 -04:00
Konstantin Käfer
937f82fcda
use pimpl for collision in tile_parser
2014-08-15 15:18:29 +02: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
1bd704ced7
rebase fix
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
560cc112e1
rm rasterize_properties, should be close to working...doesn't work
2014-08-11 12:13:22 -07:00
Lauren Budorick
9e1156d660
take 2, 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