Commit Graph

13172 Commits

Author SHA1 Message Date
Chris Loer
72f6b73590 [core] Limit symbol re-placement on changed tile distance to pitch > 25. 2017-07-11 09:10:24 -07:00
Chris Loer
7c7564d72e [core] Re-generate shaders. 2017-07-11 09:10:24 -07:00
Chris Loer
8c23f14a9f [core] Use fade texture in collision debug boxes so that they agree more closely with symbol shaders. 2017-07-11 09:10:23 -07:00
Chris Loer
f8402e2042 [core] Set "max_camera_distance" to 1.5 for viewport-aligned road labels.
Viewport-aligned curved labels start to look very strange in the distance. Until we have a better system for projecting them, just prevent them from showing.
2017-07-11 09:10:23 -07:00
Chris Loer
2ee59796fb [core] Enable tile clipping for collision boxes.
Necessary because collision boxes now change shape based on while tile they're part of.
2017-07-11 09:10:23 -07:00
Chris Loer
7b29b90e7f [core] Extend collision feature boxes to accommodate potential pitch-scaling. 2017-07-11 09:10:23 -07:00
Chris Loer
8f5e0b66ab [core] Pass pitch-scaling vertex attributes and uniforms to shaders. 2017-07-11 09:10:23 -07:00
Chris Loer
59df3a90f4 [core] Improved label pitch-scaling: approximate collision box shapes based on tile distance from camera. 2017-07-11 09:10:22 -07:00
Konstantin Käfer
e364f24570 [build] Don't fail hard for unknown warning groups 2017-07-11 16:23:19 +02:00
Konstantin Käfer
d03fd0dce2 [build] Don't use maybe-uninitialized and misleading-indentation in Clang, since they're not implemented there 2017-07-11 16:23:19 +02:00
Konstantin Käfer
3f1c6dabf1 [build] add -fvisibility=hidden for all macOS targets to avoid linker warnings 2017-07-11 13:40:11 +02:00
Thiago Marcos P. Santos
5e2305fa5b [benchmark] Fix build on GCC 5
For some mysterious reason GCC 5 was complaining about
the implicit default value. Passing it explicitly fixes it.
2017-07-11 14:37:13 +03:00
Jason Wray
90c61c1956 [darwin] Include polylabel via cmake 2017-07-11 01:37:09 -04:00
Antonio Zugaldia
7d59e3f8b3 [android] fix javadoc comment for public setOfflineMapboxTileCountLimit method (#9454) 2017-07-09 11:16:18 -04:00
Tobrun
b87816a7ab [android] - build SNAPSHOT from master (#9452) 2017-07-07 19:22:58 +02:00
Ivo van Dongen
ba32831260 [benchmark] add render benchmarks 2017-07-07 18:16:20 +03:00
Thiago Marcos P. Santos
35b90618b7 [Qt] Make qt.cmake Windows-friendly
- Do not build headless view.
- Add no-op thread implementation.
2017-07-07 18:10:06 +03:00
Thiago Marcos P. Santos
65118296eb [Qt] Add a no-op thread helper for other platforms 2017-07-07 18:10:06 +03:00
Thiago Marcos P. Santos
a24d89d9f8 [Qt] Use QThreadStorage for thread local
Portable.
2017-07-07 18:10:06 +03:00
Thiago Marcos P. Santos
7c117281bc [core] Isolate pthread-based tls implementation 2017-07-07 18:10:06 +03:00
Ivo van Dongen
6b5f8fd6ef [benchmark] update cache db and style 2017-07-07 17:18:30 +03:00
Thiago Marcos P. Santos
f734126416 [core] Fix conditional unitialized jump on RenderGeoJSONSource
```
==24942== Conditional jump or move depends on uninitialised value(s)
==24942==    at 0x7D943D: mbgl::RenderGeoJSONSource::update(mbgl::Immutable<mbgl::style::Source::Impl>, std::vector<mbgl::Immutable<mbgl::style::Layer::Impl>, std::allocator<mbgl::Immutable<mbgl::style::Layer::Impl> > > const&, bool, bool, mbgl::TileParameters const&) (in /home/tmpsantos/Projects/mapbox-gl-native/build/linux-x86_64/Release/mbgl-test)
==24942==    by 0x796445: mbgl::RenderStyle::update(mbgl::UpdateParameters const&) (in /home/tmpsantos/Projects/mapbox-gl-native/build/linux-x86_64/Release/mbgl-test)
==24942==    by 0x77E29D: mbgl::Map::Impl::render(mbgl::View&) (in /home/tmpsantos/Projects/mapbox-gl-native/build/linux-x86_64/Release/mbgl-test)
==24942==    by 0x77E559: mbgl::Map::Impl::renderStill() (in /home/tmpsantos/Projects/mapbox-gl-native/build/linux-x86_64/Release/mbgl-test)
==24942==    by 0xA39772: uv__async_event (async.c:98)
==24942==    by 0xA398F8: uv__async_io (async.c:138)
==24942==    by 0xA4375F: uv__io_poll (linux-core.c:380)
==24942==    by 0xA3A1F2: uv_run (core.c:354)
==24942==    by 0x61BADC: API_ZoomHistory_Test::TestBody() (in /home/tmpsantos/Projects/mapbox-gl-native/build/linux-x86_64/Release/mbgl-test)
==24942==    by 0x89FDE9: void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) (in /home/tmpsantos/Projects/mapbox-gl-native/build/linux-x86_64/Release/mbgl-test)
==24942==    by 0x885450: testing::Test::Run() (in /home/tmpsantos/Projects/mapbox-gl-native/build/linux-x86_64/Release/mbgl-test)
==24942==    by 0x88642F: testing::TestInfo::Run() (in /home/tmpsantos/Projects/mapbox-gl-native/build/linux-x86_64/Release/mbgl-test)
==24942==
```
2017-07-07 17:05:34 +03:00
Thiago Marcos P. Santos
e962b79b0f [core] Fix sorting order for render tiles
Sort by z order, so lower res tiles don't get rendered
over high res tiles.
2017-07-07 14:28:52 +03:00
Thiago Marcos P. Santos
69c8f602de [tests] Add unit test for tile prefetching 2017-07-07 14:28:52 +03:00
Thiago Marcos P. Santos
407fbc70b1 [core] Prefetch low resolution tiles 2017-07-07 14:28:52 +03:00
Tobrun
2876db72f2 Hit test Marker and MarkerViews (#9424)
* [android] - hit test Marker and MarkerViews

* fixup
2017-07-07 12:28:19 +02:00
Tobrun
950ab7eb8a [android] - add Map change & visibility test activities (#9425) 2017-07-07 10:36:46 +02:00
Łukasz Paczos
721557bba2 [android] - map's visible region fix #9427 (#9428) 2017-07-06 21:05:04 +02:00
Tobrun
957829e8c4 [android] - validate if platform implementation doesn't return a null motion event (#9434) 2017-07-06 21:04:30 +02:00
Minh Nguyễn
2fe3dd64c0 [core] Updated script detection for Unicode 10
Updated script detection code to reflect changes in Unicode 10 and UTR 50 revision 17.
2017-07-06 11:50:03 -07:00
Ivo van Dongen
9ba3dc9249 [build] add node-benchmark target and xcode scheme 2017-07-06 21:27:40 +03:00
Chris Loer
d5fbcb242a [core] Implement circle-pitch-alignment property
Closes issue #9349.
2017-07-06 09:39:26 -07:00
Chris Loer
3800edb133 [core] Bump mapbox-gl-js to get updated circle shader. 2017-07-06 09:39:26 -07:00
Bruno de Oliveira Abinader
06a0c4ad15 [test] Added bucket feature insertion tests 2017-07-06 16:17:58 +03:00
Bruno de Oliveira Abinader
0395271b9d [test] Reuse StubGeometryTileFeature in MergeLines 2017-07-06 16:17:58 +03:00
Bruno de Oliveira Abinader
a1ed9f8794 [core] Don't upload empty buckets 2017-07-06 16:17:58 +03:00
John Firebaugh
754d2f377a [core] make{Glyph,Image}Atlas only once for any number of symbol layers 2017-07-06 05:28:37 -07:00
Konstantin Käfer
af22fcd181 [core] point status badges to Circle CI 2017-07-06 13:17:10 +02:00
Konstantin Käfer
e5e9e0cf21 [build] remove .travis.yml to avoid triggering builds that we don't use 2017-07-06 13:17:10 +02:00
Konstantin Käfer
64a827c325 [core] rename getStencils() to getClipIDs() to better reflect what it actually does 2017-07-06 12:32:54 +02:00
Konstantin Käfer
107622a72b [core] don't use unordered_* collections for things we need to sort anyway 2017-07-06 12:32:54 +02:00
Konstantin Käfer
6d526c7b1d [core] refactor ClipID generation 2017-07-06 12:32:54 +02:00
Konstantin Käfer
fc48ca1801 [build] use CMake to generate Xcode schemes 2017-07-06 11:45:09 +02:00
Pablo Guardiola
adbce36fe6 [android] Fix my location drawable getting tinted (#9410)
* fix my location drawable tinted when setting mapbox_myLocationTintColor in xml issue (linking my location foreground drawables with my location foreground tint color and adding the possibility of setting an undefined my location foreground tint color)

* link my location background drawable with my location background tint color and add the possibility of setting an undefined my location background tint color
2017-07-06 11:26:03 +02:00
Minh Nguyễn
74bcca380d Merge remote-tracking branch 'origin/tvn-merge-release' 2017-07-05 18:06:51 -07:00
Tobrun
6ca8cd7e24 [macos] - add Styles header to CHANGELOG.md 2017-07-05 21:21:04 +02:00
Tobrun
79d849dc44 [darwin] - re-add swift documentation 2017-07-05 21:15:54 +02:00
Łukasz Paczos
9ab04a2965 [android] - invible marker views performance fix #9419 (#9420) 2017-07-05 20:15:37 +02:00
John Firebaugh
87081b8391 [core] Fix iterator invalidation in erase_if
vector::erase invalidates iterators. It's not safe for erase_if to cache the end iterator nor increment, then erase.
2017-07-05 20:15:17 +02:00
Łukasz Paczos
eb7926d205 [android] - invible marker views performance fix #9419 (#9420) 2017-07-05 17:32:23 +02:00