Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add missing cast for unsigned long to int conversion | Gali Nelle | 2020-04-20 | 1 | -2/+2 |
| | |||||
* | Introduce a mean to add render features in layers with no sources | Gali Nelle | 2020-04-17 | 4 | -10/+55 |
| | | | | | | This change also uses the support in the LocationIndicator layer, to return a point feature when queried in correspondence of the location indicator. | ||||
* | Use unique_ptr for RenderLocationIndicatorImpl | Gali Nelle | 2020-04-17 | 2 | -2/+2 |
| | |||||
* | [core] Fix performance-noexcept-move-constructor in header files | Thiago Marcos P. Santos | 2020-04-17 | 1 | -1/+1 |
| | | | | As reported by clang-tidy-8. | ||||
* | [core] Fix performance-unnecessary-value-param errors in header files | Thiago Marcos P. Santos | 2020-04-17 | 3 | -4/+4 |
| | | | | As reported by clang-tidy-8. | ||||
* | [core] Fix google-default-arguments errors in header files | Thiago Marcos P. Santos | 2020-04-17 | 2 | -3/+4 |
| | | | | As reported by clang-tidy-8. | ||||
* | [core] Fix modernize-use-override errors in header files | Thiago Marcos P. Santos | 2020-04-17 | 1 | -1/+1 |
| | | | | As reported by clang-tidy-8. | ||||
* | [core] Fix performance-type-promotion-in-math-fn errors in header files | Thiago Marcos P. Santos | 2020-04-17 | 2 | -8/+13 |
| | | | | As reported by clang-tidy-8. | ||||
* | [core] Fix modernize-pass-by-value errors in header files | Thiago Marcos P. Santos | 2020-04-17 | 1 | -8/+7 |
| | | | | As reported by clang-tidy-8. | ||||
* | [core] Fix bugprone-forward-declaration-namespace errors in header files | Thiago Marcos P. Santos | 2020-04-17 | 1 | -4/+0 |
| | | | | As reported by clang-tidy-8. | ||||
* | [core] Fix readability-redundant-member-init errors in header files | Thiago Marcos P. Santos | 2020-04-17 | 1 | -1/+1 |
| | | | | As reported by clang-tidy-8. | ||||
* | [core] Fix readability-avoid-const-params-in-decls errors in header files | Thiago Marcos P. Santos | 2020-04-17 | 11 | -24/+48 |
| | | | | As reported by clang-tidy-8. | ||||
* | Fix LocationIndicator not updating image sizes when image manager content ↵ | Gali Nelle | 2020-04-16 | 1 | -19/+27 |
| | | | | changes | ||||
* | [core] RenderCircleLayer fixes | Mikhail Pozdnyakov | 2020-04-14 | 1 | -68/+52 |
| | |||||
* | Enable 'circle-sort-key' layout property | Andrew Hay Kurtz | 2020-04-14 | 3 | -89/+80 |
| | |||||
* | Fix LocationIndicator Layer | Gali Nelle | 2020-04-10 | 1 | -30/+44 |
| | | | | | | | | | This changes image size properties to be scales instead of pixel sizes. The commit also adds fixes for handling image updates with the same ID, adds tests for expressions in paint properties, as well as tests for using images with pixel ratio greater than 1. Finally it moves image-tilt-displacement and perspective-compensation properties from layout to paint properties, and includes other minor cleanups. | ||||
* | Make location indicator bearing a paint property | Gali Nelle | 2020-04-08 | 1 | -2/+1 |
| | | | | | | This change introduces a new property type, Rotation, that uses a custom interpolator, and that is currently applied to all style properties named "bearing", with a period attribute. | ||||
* | Add LocationIndicatorLayer | Gali Nelle | 2020-04-08 | 2 | -0/+816 |
| | | | | | New key is "G" in mbgl-glfw, cycling between no puck, centered in the viewport and positioned in Tokyo. | ||||
* | [build] Fix undefined behavour sanitizer (#16375) | zmiao | 2020-04-07 | 2 | -5/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [build] Fix integer overflow runtime error for core part Temporarily remove circle ci UBSAN build precondition * [build] Enable all of the ubsans [build] Check runtime error [build] Update UBSAN_OPTION * [build] Add UBSAN blacklist [build] Ignore system libraries [build] Ignore vendor library * [build] Fix implicit conversion runtime error in core * [build] Fix division by zero runtime error * [build] Add unfixed error to ubsan blacklist * [build] Make UBSAN halt on error Revert "Temporary remove build precondition" * [build] Fix division by zero error * [build] Make UBSAN officially work without FIXME prefix * [build] Fix implicit conversion from int64_t to uint64_t * [build] Rename style test json file name * Address review findings | ||||
* | Refactor tileCover to support lod tiles | Mikko Pulkki | 2020-04-06 | 2 | -15/+9 |
| | |||||
* | [core] Introduce API to collect placed symbols data | Mikhail Pozdnyakov | 2020-04-02 | 3 | -0/+21 |
| | | | | | | | | | | The following methods are added to the `Renderer` class: - `collectPlacedSymbolData()` enables or disables collecting of the placed symbols data - `getPlacedSymbolsData()` if collecting of the placed symbols data is enabled, returns the reference to the `PlacedSymbolData` vector holding the collected data. | ||||
* | [core] Add setMaxOverscaleFactorForParentTiles | Alexander Shalamov | 2020-04-01 | 7 | -12/+32 |
| | |||||
* | Hillshade bucket fix https://github.com/mapbox/mapbox-gl-native-ios/issues/240 | Aleksandar Stojiljkovic | 2020-04-01 | 1 | -2/+4 |
| | | | | Fixes: https://github.com/mapbox/mapbox-gl-native-ios/issues/240 | ||||
* | [core] Fix misc-* errors | Thiago Marcos P. Santos | 2020-03-30 | 1 | -2/+2 |
| | | | | As reported by clang-tidy-8. | ||||
* | [core] Fix readability-* errors | Thiago Marcos P. Santos | 2020-03-30 | 16 | -202/+172 |
| | | | | As reported by clang-tidy-8. | ||||
* | [core] Fix bugprone-move-forwarding-reference errors | Thiago Marcos P. Santos | 2020-03-30 | 3 | -57/+49 |
| | | | | As reported by clang-tidy-8. | ||||
* | [core] Fix bugprone-too-small-loop-variable errors | Thiago Marcos P. Santos | 2020-03-30 | 3 | -5/+5 |
| | | | | As reported by clang-tidy-8. | ||||
* | [core] Fix google-readability-casting errors | Thiago Marcos P. Santos | 2020-03-30 | 2 | -6/+6 |
| | | | | As reported by clang-tidy-8. | ||||
* | [core] Introduce map mode specific Placement implementations | Mikhail Pozdnyakov | 2020-03-25 | 1 | -3/+2 |
| | |||||
* | [core] Introduce Placement::placeLayers() | Mikhail Pozdnyakov | 2020-03-25 | 3 | -25/+19 |
| | |||||
* | [core] Fix modernize-pass-by-value errors | Thiago Marcos P. Santos | 2020-03-23 | 4 | -6/+9 |
| | | | | As reported by clang-tidy-8. | ||||
* | Bump mapbox-base to 1.2.0 | Alexander Shalamov | 2020-03-23 | 2 | -2/+2 |
| | |||||
* | [core] Fix performance-unnecessary-value-param errors | Thiago Marcos P. Santos | 2020-03-23 | 14 | -27/+21 |
| | | | | As reported by clang-tidy-8. | ||||
* | [core] Fix performance-type-promotion-in-math-fn errors | Thiago Marcos P. Santos | 2020-03-23 | 2 | -3/+3 |
| | | | | As reported by clang-tidy-8. | ||||
* | [core] Fix performance-inefficient-vector-operation errors | Thiago Marcos P. Santos | 2020-03-23 | 1 | -0/+1 |
| | | | | As reported by clang-tidy-8. | ||||
* | [core] Fix performance-for-range-copy errors | Thiago Marcos P. Santos | 2020-03-23 | 1 | -1/+1 |
| | | | | As reported by clang-tidy-8. | ||||
* | [core] Render::clearData clears fonts | Mikhail Pozdnyakov | 2020-03-20 | 1 | -0/+1 |
| | |||||
* | [core] Introduce Renderer::clearData() instead of keepRenderData map options | Mikhail Pozdnyakov | 2020-03-20 | 4 | -10/+6 |
| | | | | | | | | | | `Renderer::clearData()` is a better API than the removed `MapOptions::keepRenderData()`: - gives more flexibility to the client - similar to the existing `Renderer::reduceMemoryUse()` - the `MapOptions::keepRenderData()` API implementation could not handle the raise condition, which happened if the new still image request had come before all tiles from the previous requests were loaded. Co-authored-by: Dane Springmeyer <dane@mapbox.com> | ||||
* | [core] Add ImageManager::clear() | Mikhail Pozdnyakov | 2020-03-18 | 3 | -0/+16 |
| | |||||
* | [core] Add RenderOrchestrator::clearData() | Mikhail Pozdnyakov | 2020-03-18 | 3 | -5/+17 |
| | |||||
* | [core][tile|static mode] Introduce MapOptions::keepRenderData() flag | Mikhail Pozdnyakov | 2020-03-18 | 3 | -2/+13 |
| | | | | Render orchestrator stores the render data between render frames if this flag is set. | ||||
* | [core] Do not squeeze placement period if the view is tilted | Mikhail Pozdnyakov | 2020-03-12 | 1 | -7/+14 |
| | | | | | | If the view is not tilted, we want the new symbols to show up faster, so we squeeze the placement period. On contrary, with the tilted view it's more important to make placement rarely for performance reasons and as the new symbols are normally "far away" and the user is not that interested to see them ASAP. | ||||
* | [core] Adjust mapbox-gl-native for the updated debug shader semantics | Mikhail Pozdnyakov | 2020-03-11 | 5 | -10/+26 |
| | |||||
* | [core] Use weak annotation manager | Alexander Shalamov | 2020-03-05 | 3 | -3/+10 |
| | | | | | | | Map and renderer / orchestrator should be able to run on a separate threads, however, legacy AnnotationManager is shared between Map and Renderer, therefore is not a thread safe. Until AnnotationManager is deprecated and removed from a code-base, use it only via weak pointers. | ||||
* | [core] Drop BucketPlacementParameters | Mikhail Pozdnyakov | 2020-03-03 | 5 | -7/+9 |
| | |||||
* | [core] Split LayerPlacementData and BucketPlacementData | Mikhail Pozdnyakov | 2020-03-03 | 2 | -4/+6 |
| | |||||
* | [core] Get rid of LayerPlacementData::firstInBucket | Mikhail Pozdnyakov | 2020-03-03 | 2 | -5/+3 |
| | |||||
* | [core] Encapsulate placement code handling symbols sort ranges | Mikhail Pozdnyakov | 2020-03-03 | 4 | -30/+41 |
| | |||||
* | Disable depth in heatmap offscreen rendering. | Aleksandar Stojiljkovic | 2020-03-02 | 1 | -15/+13 |
| | | | | It triggers Metal depth stencil validation error since depth test is enabled with no depth attachment. | ||||
* | [core] Store SegmentVectors in ephemeral render objects | Konstantin Käfer | 2020-02-14 | 20 | -262/+250 |
| | | | | | | | We used some shared SegmentVectors, e.g. for drawing raster or background tiles. In longer running maps, this lead to resource accumulation. By storing the SegmentVectors and the contained gfx::DrawScope objects, we ensure that resources get released when the associated render objects vanish. |