Commit Graph

14486 Commits

Author SHA1 Message Date
Mikhail Pozdnyakov
737665bc07 [core] Refactor tile pyramid
Tile pyramid is no longer operating with `RenderTiles` and does not perform
rendering operations (upload, finish render).

Render tiles belong to rendering, and tile pyramid belongs to orchestration.
2019-06-10 19:36:47 +03:00
Mikhail Pozdnyakov
f5631d8ef5 [core] Make tile id unwrapTo() const 2019-06-10 19:36:47 +03:00
Mikhail Pozdnyakov
ad53132e5d [core] Inherit RenderAnnotationSource from RenderTileSource 2019-06-10 19:36:47 +03:00
Thiago Marcos P. Santos
50e239a937 [core] Renamed to avoid collision with libcurl
Rename curlx_sltosi to mbgl_curlx_sltosi to avoid collision
when liking with libcurl statically.
2019-06-10 15:34:38 +03:00
Michael Muesch
774d32038f Fix namespace issue with OSMesa
HeadlessBackend seems to be part of the mbgl::gl namespace. Since OSMesaBackendImpl is only in the mbgl namespace this code does not compile.

Since this file is in the mbgl/gl folder I think it makes sense to just put the whole thing in the mbgl::gl namespace.
2019-06-10 15:13:38 +03:00
Jason Wray
fc802daa62 [core] Ignore more flaky node render tests 2019-06-07 12:39:48 -07:00
Andrew Harvey
1a3b865eee improve offline cli help page
The GeoJSON file can't be a FeatureCollection, it must be a single Feature GeoJSON, with simple geometry
2019-06-07 10:23:06 -07:00
Mikhail Pozdnyakov
434b0f54ea [android] Fix compilation warning with updated clang
`mbgl::android::Value` move assignment operator is implicitly deleted.
2019-06-07 10:46:54 +03:00
Langston Smith
8d77deaddd [android] updated changelog for 8.1.0-alpha.2 (#14855) 2019-06-06 16:55:58 -07:00
Langston Smith
0e1c095e3d [android] bumped android telemetry to 4.5.1 (#14874) 2019-06-06 16:18:37 -07:00
Fabian Guerra
75659e26b8 [ios] Bump podspec to v5.1.0-alpha.2 2019-06-06 14:59:45 -07:00
Alf Watt
9ebd831e32 [ios] Integrate Mapbox Mobile Events 0.9.4 (#14868)
* [ios] Mapbox Events 0.9.4

* Run `scripts/generate-file-lists.js`

* Explicitly use the shared manager instead of init

* There can be only one `Scripts`
2019-06-06 13:43:23 -07:00
Aleksandar Stojiljkovic
0bab9127d7 [core] Use unique ID in hillshade and hillshade_prepare draw. 2019-06-06 11:21:37 +03:00
Tobrun
198ed888e3 [android] - increase timeout of image missing test, use GeoJsonSource above CustomGeometrySource 2019-06-06 09:03:51 +02:00
Jason Wray
bd3d19f5bd [ios] Update libmbxaccounts for navigation SDK override (#14802)
* Use a stringy selector... yerg.
* Bump to libmbxaccounts 1.0.0
2019-06-05 23:13:34 -07:00
tobrun
36361192b1 [android] - rename style component URL api to URI 2019-06-05 09:38:20 +02:00
Alexander Shalamov
a5f7f73dfe [ios] Update changelog for #14810 2019-06-05 00:03:13 -07:00
Alexander Shalamov
a71ccae141 [ios] Add integtation test that verifies MGLMapViewImpl size 2019-06-05 00:03:13 -07:00
Alexander Shalamov
0ba0b8c040 [ios] Calculate size of a MGLMapViewOpenGLImpl renderable from MGLMapView bounds
Fixes: #14807
2019-06-05 00:03:13 -07:00
Jason Wray
012e3931bf [core] Ignore flaky fill-pattern render tests 2019-06-04 10:43:44 -07:00
Łukasz Paczos
7b5d6c15ac [android] copy features array before passing them to core 2019-06-04 17:49:08 +02:00
tobrun
fd33e066a4 [android] - add external links to javadoc generation, fix warnings and errors, add package-info to loader module package 2019-06-04 16:59:56 +02:00
Łukasz Paczos
409ead63da [android] reset the native renderer only when the GL thread exits 2019-06-04 15:47:39 +02:00
Juha Alanen
f9796d2a28 [core] Fix symbol rendering under opaque fill layers 2019-06-04 16:35:53 +03:00
Mikhail Pozdnyakov
76d8fd0a79 [core] Update comments for pattern atlas 2019-06-04 15:28:00 +03:00
Mikhail Pozdnyakov
a9abc43510 [core] Introduce PatternAtlas 2019-06-04 15:28:00 +03:00
Mikhail Pozdnyakov
c0e5632001 [core] Remove ImageManager from upload parameters 2019-06-04 15:28:00 +03:00
Konstantin Käfer
892699a39a [core] fix warnings with Xcode 11's updated Clang version 2019-06-04 10:07:19 +02:00
m-stephen
6742017a9a [macos]Added an MGLMapView.prefetchesTiles property to configure lo… (#14816)
* [macos]Added an `MGLMapView.prefetchesTiles` property to configure lower-resolution tile prefetching behavior

* [macos]Update changelog
2019-06-04 11:05:24 +08:00
Jason Wray
015a64b2a2 [ios] Fix undeclared selector warning in MGLAnnotationView
`setCoordinate:` isn't available to regular MGLAnnotation, only MGLPointAnnotation.
2019-06-03 16:49:42 -07:00
Langston Smith
d2badb56cd [android] update changelog for 8.1.0-alpha.1 (#14825) 2019-06-03 10:35:03 -07:00
Fabian Guerra Soto
402645109f [ios] Fix content insets with custom edge padding. (#14813)
* [ios] Fix content insets with custom edge padding.

* [ios, macos] Consolidated edge insets math

* [macos] Add content insets to edge padding when setting camera

* [ios, macos] Updated changelogs

* [ios, macos] Clarify setCamera:withDuration:animationTimingFunction:edgePadding method documentation.
2019-06-03 07:32:20 -07:00
Mikhail Pozdnyakov
b242883587 [core] Use fresh transform state for bucket vertices update in placement
The transform state cached in placement might get stale and cannot be used for bucket vertices updates.
2019-06-03 17:03:57 +03:00
Mikhail Pozdnyakov
a44b7f1e5d [core] Avoid unneeded update of symbol dynamic vertex buffer 2019-06-03 17:03:57 +03:00
Łukasz Paczos
1fa8e763d9 [android] do not try to package duplicate files in the publication 2019-06-03 14:49:41 +02:00
Aleksandar Stojiljkovic
1637a4b694 [ios] Content insets border case fix and comment.
Allows changing camera when user duplicates content insets.

Related to previous patch and comment:
https://github.com/mapbox/mapbox-gl-native/pull/14664#pullrequestreview-243004376
Thanks @1ec5
2019-06-03 08:55:39 +03:00
Aleksandar Stojiljkovic
62f6338d5b [core] Fix: fill-extrusion-vertical-gradient was ignored. #14784
fill-extrusion-vertical-gradient "property-type": "data-constant" and it shouldn't be computed through property binders.

Fixes: #14784
2019-05-31 18:40:27 +03:00
Pablo Guardiola
0181ef8f63 [android] add support for external sdk clients to be able to manage the tokens on their side (#14631) 2019-05-30 11:24:24 -04:00
Fabian Guerra Soto
316584fabc [ios] Bump podspec to v5.1.0-alpha.1 (#14800)
* [ios] Podspec bump to v5.1.0-alpha.1

* [ios] Update changelog.
2019-05-29 14:29:11 -07:00
Langston Smith
5b94c6b43f [android] updated changelog for 8.1.0-alpha.1 (#14798) 2019-05-29 09:58:23 -07:00
Konstantin Käfer
9eb43a587b [ios,macos] refactor MGLMapViewImpl 2019-05-29 18:27:42 +02:00
tobrun
05e194614f [android] - consolidate native build setup into one gradle configuration file 2019-05-29 11:51:39 +02:00
tobrun
ff980010d7 [android] - move example custom layer compilation to testapp 2019-05-29 11:51:39 +02:00
Mikhail Pozdnyakov
b50aa497cc [core] Introduce RenderTileSource
RenderTileSource is a base class for the render sources that provide render tiles.

* Removes repeated code
* Simplifies render source code refactoring and improves readability
2019-05-29 12:04:26 +03:00
Łukasz Paczos
5bb0a49dc9 [android] option to change the zoom rate 2019-05-29 10:16:01 +02:00
Łukasz Paczos
e493cf4662 [android] decrease zoom rate by 35% 2019-05-29 10:16:01 +02:00
Jason Wray
0a7919ee7e [ios] Update Raster Tiles API name and link
Also update another link to avoid a redirect.
2019-05-28 11:02:01 -07:00
Jason Wray
ad744d6e65 [build, node] Bump macos CI job to Node 8 & Xcode 10.2.1 2019-05-28 09:44:25 -07:00
Konstantin Käfer
81667ae4e9 [core] end the RenderPass/CommandEncoder before sending events 2019-05-28 16:11:05 +02:00
Konstantin Käfer
18c0590ddd [test] add new OffscreenTexture test 2019-05-28 16:11:05 +02:00