John Firebaugh
fbbc8f2d7a
[tests] Local ignores.json file for ignored integration tests
2017-07-12 14:33:38 -07:00
Chris Loer
7abbe32325
[test] Pull in re-enabled tests from mapbox-gl-js.
2017-07-12 14:14:09 -07:00
Chris Loer
e8657becc5
[core] Update shaders.
...
Implements 'icon-pitch-alignment' (issue #9345 )
Fixes issue #9456 (map-aligned point label regression)
2017-07-12 14:14:09 -07:00
Chris Loer
af10e2d3be
[test] Re-enable keep-upright test for pitched views.
2017-07-12 13:32:44 -07:00
Chris Loer
8ef9fcdf3e
[core] Base label "keep-upright" orientation on start and end of label
...
Fixes issue #9457 .
2017-07-12 13:32:44 -07:00
Bruno de Oliveira Abinader
e99e167848
[Qt] Do not return a valid mbgl::Annotation if conversion fails
2017-07-12 20:42:29 +03:00
Bruno de Oliveira Abinader
4014aa6721
[core] GCC 4.9 bracket initialization issues
2017-07-12 20:42:29 +03:00
Bruno de Oliveira Abinader
2fae373fc9
[core] GCC 4.9 is unable to deduce ctors when using bracket init
2017-07-12 20:42:29 +03:00
Bruno de Oliveira Abinader
21031b624f
[core] Added missing header includes
2017-07-12 20:42:29 +03:00
Bruno de Oliveira Abinader
6282b28b6f
[core] Added MBGL_CONSTEXPR to satisfy GCC 4.9
2017-07-12 20:42:29 +03:00
Bruno de Oliveira Abinader
d918f8d7c2
[core] GCC 4.9 does not provide <codecvt>
2017-07-12 20:42:29 +03:00
Bruno de Oliveira Abinader
3afbfa2de7
[core] GCC 4.9 shadow member warnings
2017-07-12 20:42:29 +03:00
Bruno de Oliveira Abinader
f1ac757bd2
[core] GCC 4.9 does not fully support custom variable templates
2017-07-12 20:42:29 +03:00
Bruno de Oliveira Abinader
1aacc88f35
[core] GCC 4.9 does not allow using another member in a constexpr ctor
2017-07-12 20:42:29 +03:00
Bruno de Oliveira Abinader
8af593f89c
[build] Reuse precomputed WITH_CXX11ABI definition in Qt builds
2017-07-12 20:42:29 +03:00
Bruno de Oliveira Abinader
2954a2a40d
[build] OSX build fix for GCC 4.9
2017-07-12 20:42:29 +03:00
Bruno de Oliveira Abinader
c163402f64
[build] Added Linux GCC 4.9 CI bot
2017-07-12 20:42:29 +03:00
Konstantin Käfer
3aa807e1dc
[core] add LLDB summaries for types we use commonly
2017-07-12 17:19:03 +02:00
Thiago Marcos P. Santos
32bef80eec
[test] Add utest to assert our dtoa implementation precision
2017-07-12 15:13:33 +03:00
Thiago Marcos P. Santos
06719ae42f
[benchmark] Add a benchmark for our dtoa implementation
...
Make sure it is faster than std::to_value(). And it is, by ~30% for
the normal use case, and much faster when close to the double limits.
util::dtoa also offers a much better precision.
2017-07-12 15:13:33 +03:00
Thiago Marcos P. Santos
40d66a84b3
[core] Do not use S_ISDIR
...
Seems like Windows can do `stat()` but not S_ISDIR.
2017-07-12 15:13:33 +03:00
Thiago Marcos P. Santos
70e557a6f8
[core] Use gmtime_s on Windows
...
gmtime_r is POSIX
2017-07-12 15:13:33 +03:00
Thiago Marcos P. Santos
0d7d3d8959
[core] Use std::to_string on Windows
...
Clang on Window's can't parse rapidjson's dtoa.
2017-07-12 15:13:33 +03:00
Thiago Marcos P. Santos
3b49ec3a0b
[core] Prefer std:: functions over POSIX
...
s/unlink/std::remove
2017-07-12 15:13:33 +03:00
Tobrun
d8cad639c6
[android] - run style instrumentation tests on CI ( #9353 )
2017-07-12 11:20:57 +02:00
Chris Loer
4f63a39b7c
[test] Bump mapbox-gl-js version to re-enable pitched tests
2017-07-11 09:10:25 -07:00
Ansis Brammanis
eac297185d
[core] add static asserts for more gl constants
...
and rename BufferUsageType to BufferUsage
2017-07-11 09:10:25 -07:00
Ansis Brammanis
d661b4ba61
[core] port pitch-label collision hack
...
81363951ed
2017-07-11 09:10:25 -07:00
Ansis Brammanis
e514138b69
[core] improve legibility of labels that follow lines
...
port https://github.com/mapbox/mapbox-gl-js/pull/4781
This improves legibility of labels that follow lines in pitched views.
The previous approach used the limited information in the shader to
calculate put the glyph in approximatelyright place. The new approach
does this more accurately by doing it on the cpu where we have access to
the entire line geometry.
2017-07-11 09:10:24 -07:00
Ansis Brammanis
77734cfe1b
[core] fix transformMat4
...
It used to overwrite values in the middle of the calculation which would
cause problems when `out` and `a` were a reference to the same vector.
2017-07-11 09:10:24 -07:00
Chris Loer
a0e37fe35b
[core] Hold on to tile yStretch value for rendering old symbolBuckets while waiting for new ones.
2017-07-11 09:10:24 -07:00
Chris Loer
a432a289a3
[core] Change OverscaledTileID to also include a "wrap" value.
...
This prevents TilePyramid from sharing wrapped copies of tiles.
This is necessary because two wrapped tiles no longer share the same CollisionTile.
2017-07-11 09:10:24 -07:00
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