summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* [core] refactor program object creationKonstantin Käfer2019-05-2867-178/+216
|
* [core] Remove priority from the constructorThiago Marcos P. Santos2019-05-285-37/+27
| | | | Make the constructor less verbose and set good defaults.
* [core] Introduce usage tag for resourcesThiago Marcos P. Santos2019-05-284-9/+39
| | | | | | | Make the distinction if a resource is being requested for offline usage or if it will be used immediately. Fixes #14746
* [core] RenderTile returns textures by const referenceMikhail Pozdnyakov2019-05-286-17/+19
|
* [core] Placement::placeLayerBucket() -> placeBucket()Mikhail Pozdnyakov2019-05-283-3/+3
|
* [core] Encapsulate symbol bucket placement code in Placement::placeLayerBucket()Mikhail Pozdnyakov2019-05-287-91/+71
|
* [core] RenderTile does not expose TileMikhail Pozdnyakov2019-05-2834-92/+189
| | | | | | RenderTile and Tile will be split when ochestration movces to a separate thread. This PR improves encapsulation of Tiles management: now performed within TilePyramid.
* Asymmetric viewport changelog entryAleksandar Stojiljkovic2019-05-285-11/+28
| | | | Check edge insets difference, in addition to isEqualToMapCamera in all the places in MGLMapView before map.easeTo/map.flyTo.
* [core] Offset viewport center when edge insets are specifiedAleksandar Stojiljkovic2019-05-2815-101/+311
| | | | | | | | | | | | | | | | | | | | | The change is implemented in TransformState::getProjMatrix, the rest of the code is making sure that existing API contracts stay and there are tests verifyingrendering and render query processing only items within screen and given tolerance around screen edges. MapView: don't bake edge insets into relalculated camera center. Keep edge insets as property of camera in TransformState (similar to pitch, zoom, bearing) independent from specified camera center. Interpolate edge insets in animation. iOS Demo app: "Turn On/Off Content Insets" pitch the camera and navigate to convenient location in Denver, where streets are parallel to cardinal directions, to illustrate viewport center offset when edge insets are set. Tests: ViewFrustumCulling: although Annotations are deprecated, queryRenderedFeatures related tests in Annotations would need to get ported and decided to add the edge insets related query tests next to them. Verify frustum culling (render+queryRenderedFeatures) With different camera and edge insets setups. TODO: port Annotations tests. Transform.Padding: Verify that coordinates take proper place on screen after applying edge insets. LocalGlyphRasterizer: verify text rendering when applying padding. Related to #11882: both use projection matrix elements [8] and [9]. Alternative approach to this was to increase and offset map origin so that the screen would be a sub-rectangle in larger map viewport. This approach has a drawback of unecessary processing the items that are outside screen area. Fixes #12107, #12728, navigation-sdks/issues/120
* [android] - update maven publishing script to enable aar packaging vs pom ↵tobrun2019-05-283-5/+4
| | | | packaging, update gradle tools and wrapper
* [android] - add javadoc URI supported protocolstobrun2019-05-275-23/+335
|
* [android] - use URI instead of URL to enable asset loadingtobrun2019-05-279-61/+204
|
* [ios, build] Specify Mapbox development team for project iOS appsJason Wray2019-05-242-3/+17
|
* FillBucket::triangles could be empty: skip creating buffer and draw. (#14761)Aleksandar Stojiljkovic2019-05-242-12/+14
|
* [android] resume file source and wait for result to complete resources cache ↵Łukasz Paczos2019-05-245-30/+141
| | | | path change
* [core] invoke optional resource path change completion listenerŁukasz Paczos2019-05-243-4/+22
|
* [core] Add unit test for zero width space line breakingAlexander Shalamov2019-05-242-0/+96
|
* [core] Prefer breaking lines at zero width space (ZWSP)Alexander Shalamov2019-05-242-11/+26
|
* [core] limit thread's scope to release the Object before detaching the threadŁukasz Paczos2019-05-241-11/+15
|
* [android] break location camera tracking when a developer invoked animation ↵Łukasz Paczos2019-05-249-119/+319
| | | | starts
* [core] SymbolBucket updates complete at placement stageMikhail Pozdnyakov2019-05-2411-194/+143
| | | | | | | | `RenderSymbolLayer` does not have to update dynamic vertices of its buckets, this logic is moved to placement (which is already updates opacity vertices). * fixes clustering of labels when text variable placement enabled - as assignes `usesVariablePlacement` per bucket * simplifies the code in `RenderSymbolLayer` (the `RenderSymbolLayer::upload()` is now omitted). * symbol buckets are not modified after orchestration finishes
* [android] deprecate MapboxMapOptions empty constructorŁukasz Paczos2019-05-2311-23/+27
|
* [tests] Removed passing tests from the ignore listThiago Marcos P. Santos2019-05-231-5/+0
|
* [build] Bump Mapbox GL JS submoduleThiago Marcos P. Santos2019-05-231-0/+0
| | | | master @ cf577993c04a2590185322a0a4e2eaec04ba1b41
* macos-v0.14.0Minh Nguyễn2019-05-223-3/+3
|
* [ios] Add missing tick to Podspec specification (#14729)Nadia Barbosa2019-05-222-2/+2
| | | | | | * [ios] Add missing tick to Podspec specification * [ios] Remove unnecessary parenthesis from link in changelog
* [android] - update changelog for nectar final releasetobrun2019-05-221-0/+2
|
* [core] round color string's alpha to 2 decimal placesŁukasz Paczos2019-05-221-1/+1
|
* [android] return color string values in the [0-255] rangeŁukasz Paczos2019-05-2215-79/+68
|
* [android] document that elevation(0) turns off the location shadowKa-Ping Yee2019-05-221-1/+2
|
* [android] attach/detach core thread pool's threads to JVMŁukasz Paczos2019-05-223-9/+12
|
* [core] option to perform platform specific operations when ↵Łukasz Paczos2019-05-228-0/+48
| | | | creating/destroying core threads
* [core] RenderLayer::render(PaintParameters, RenderSource*) -> ↵Mikhail Pozdnyakov2019-05-2226-72/+92
| | | | render(PaintParameters)
* [core] RenderLayer::setRenderTiles(RenderTiles) -> ↵Mikhail Pozdnyakov2019-05-225-10/+18
| | | | | | | prepare(LayerPrepareParameters) RenderLayer::prepare() is responsible for the complete initialization of a render layer, so that it can render.
* [core] Prepare render sources before render layers are initializedMikhail Pozdnyakov2019-05-2223-58/+84
|
* [ios] Podspec & changelog updates for v5.0.0 (#14717)Nadia Barbosa2019-05-214-7/+14
| | | | | | * [ios] Podspec bumps for v5.0.0 * [ios] Update changelog for 5.0.0
* [android] Add unit test for onRemoveUnusedStyleImages APIAlexander Shalamov2019-05-211-0/+162
|
* [android] Add bindings for onRemoveUnusedStyleImages APIAlexander Shalamov2019-05-216-0/+107
|
* [core] Update ImageManager's unit test for onRemoveUnusedStyleImages APIAlexander Shalamov2019-05-211-13/+58
|
* [core] Forward ImageManagerObserver::onRemoveUnusedStyleImages to ↵Alexander Shalamov2019-05-216-0/+18
| | | | MapObserver interface
* [core] Add onRemoveUnusedStyleImages observer APIAlexander Shalamov2019-05-214-47/+76
|
* [core] Define max cache size for ImageManagerAlexander Shalamov2019-05-211-0/+4
|
* [core] Remove binary shader supportThiago Marcos P. Santos2019-05-2115-480/+0
| | | | | | | | | | | | | | | | | | | | | | The implementation is buggy and not worth maintaining anymore because performance benefits are not substantial or sometimes worse. Also, removing it saves about 150 ~ 180 KB in binary size. Below timings are averages of minimum 5 runs. ``` Device Init launch Average relaunch s10 1129.8 ms 700 ms s10 - binary 1346.75 ms 694 ms Pixel 1692 ms 723 ms Pixel - binary 1883 ms 1039 ms Kazam 17948 ms 1339 ms Kazam - binary 19157 ms 1564 ms Wiko 2060 ms 1278 ms Wiko - binary 3876 ms 1136 ms ``` Fixes #14294
* [core] Don't use optional unique_ptr in function coversion codeAnder Conselvan de Oliveira2019-05-213-29/+32
| | | | | Since unique_ptr is already nullable there is no need to wrap it in an optional<>.
* [core] Forward args in style::expression::dsl::compound()Ander Conselvan de Oliveira2019-05-211-2/+2
|
* [core] Pass legacy/categorical/*-default expression testsAnder Conselvan de Oliveira2019-05-212-20/+26
| | | | | Handle categorical function default value properly in conversion to expreexpression so related tests pass.
* [core] Fix legacy/{interval,exponential}/*-default expression testsAnder Conselvan de Oliveira2019-05-212-28/+63
| | | | | Consider the function default value in interval and exponential functions conversion.
* [core] Expose dsl::compound() internallyAnder Conselvan de Oliveira2019-05-213-6/+24
| | | | | This will be used in a follow up patch by the function to expression conversion code.
* [core] Fix some of the legacy interval function expression testsAnder Conselvan de Oliveira2019-05-212-7/+12
| | | | | The tests for conversion of legacy interval functions to expressions expects that the first stop in the "step" expression be omitted.
* [core] Fix most identity function with default legacy expression testsAnder Conselvan de Oliveira2019-05-215-33/+63
| | | | | Add handling of default value to the conversion of legacy identity functions. The color and enum tests still don't pass though.