summaryrefslogtreecommitdiff
path: root/src/mbgl/renderer
Commit message (Collapse)AuthorAgeFilesLines
* [core] Fix raster map jittering during panning (#16478)Kevin Li2020-05-251-2/+2
|
* [core] Fix rest of 'brace initialization' errorsAlexander Shalamov2020-04-301-1/+1
|
* [core][tile mode] Make sure only a single tile is usedMikhail Pozdnyakov2020-04-241-0/+8
| | | | | | | | | | | In tile mode, we're supposed to have only one tile, which is achieved with provided camera options. However, if camera options are not accurate enough more tile could be used, which could cause: * various symbol placement problems like, symbol duplications or cut-offs * memory/cpu overhead Now, if `mbgl::tileCover()` returns several tiles, only the first one is used (given that tiles are sorted by the distance to the map center)
* [core] Source::setVolatile enables Resource::StoragePolicy::Volatile for tilesMikhail Pozdnyakov2020-04-221-1/+2
|
* [core] Add TileUpdateParameters and use itMikhail Pozdnyakov2020-04-221-1/+1
|
* [core] Tile pyramid passes minimum update interval to tilesMikhail Pozdnyakov2020-04-201-7/+6
|
* [core] TilePyramid::update accepts source implMikhail Pozdnyakov2020-04-207-63/+51
|
* Add missing cast for unsigned long to int conversionGali Nelle2020-04-201-2/+2
|
* Introduce a mean to add render features in layers with no sourcesGali Nelle2020-04-174-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 RenderLocationIndicatorImplGali Nelle2020-04-172-2/+2
|
* [core] Fix performance-noexcept-move-constructor in header filesThiago Marcos P. Santos2020-04-171-1/+1
| | | | As reported by clang-tidy-8.
* [core] Fix performance-unnecessary-value-param errors in header filesThiago Marcos P. Santos2020-04-173-4/+4
| | | | As reported by clang-tidy-8.
* [core] Fix google-default-arguments errors in header filesThiago Marcos P. Santos2020-04-172-3/+4
| | | | As reported by clang-tidy-8.
* [core] Fix modernize-use-override errors in header filesThiago Marcos P. Santos2020-04-171-1/+1
| | | | As reported by clang-tidy-8.
* [core] Fix performance-type-promotion-in-math-fn errors in header filesThiago Marcos P. Santos2020-04-172-8/+13
| | | | As reported by clang-tidy-8.
* [core] Fix modernize-pass-by-value errors in header filesThiago Marcos P. Santos2020-04-171-8/+7
| | | | As reported by clang-tidy-8.
* [core] Fix bugprone-forward-declaration-namespace errors in header filesThiago Marcos P. Santos2020-04-171-4/+0
| | | | As reported by clang-tidy-8.
* [core] Fix readability-redundant-member-init errors in header filesThiago Marcos P. Santos2020-04-171-1/+1
| | | | As reported by clang-tidy-8.
* [core] Fix readability-avoid-const-params-in-decls errors in header filesThiago Marcos P. Santos2020-04-1711-24/+48
| | | | As reported by clang-tidy-8.
* Fix LocationIndicator not updating image sizes when image manager content ↵Gali Nelle2020-04-161-19/+27
| | | | changes
* [core] RenderCircleLayer fixesMikhail Pozdnyakov2020-04-141-68/+52
|
* Enable 'circle-sort-key' layout propertyAndrew Hay Kurtz2020-04-143-89/+80
|
* Fix LocationIndicator LayerGali Nelle2020-04-101-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 propertyGali Nelle2020-04-081-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 LocationIndicatorLayerGali Nelle2020-04-082-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)zmiao2020-04-072-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 tilesMikko Pulkki2020-04-062-15/+9
|
* [core] Introduce API to collect placed symbols dataMikhail Pozdnyakov2020-04-023-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 setMaxOverscaleFactorForParentTilesAlexander Shalamov2020-04-017-12/+32
|
* Hillshade bucket fix https://github.com/mapbox/mapbox-gl-native-ios/issues/240Aleksandar Stojiljkovic2020-04-011-2/+4
| | | | Fixes: https://github.com/mapbox/mapbox-gl-native-ios/issues/240
* [core] Fix misc-* errorsThiago Marcos P. Santos2020-03-301-2/+2
| | | | As reported by clang-tidy-8.
* [core] Fix readability-* errorsThiago Marcos P. Santos2020-03-3016-202/+172
| | | | As reported by clang-tidy-8.
* [core] Fix bugprone-move-forwarding-reference errorsThiago Marcos P. Santos2020-03-303-57/+49
| | | | As reported by clang-tidy-8.
* [core] Fix bugprone-too-small-loop-variable errorsThiago Marcos P. Santos2020-03-303-5/+5
| | | | As reported by clang-tidy-8.
* [core] Fix google-readability-casting errorsThiago Marcos P. Santos2020-03-302-6/+6
| | | | As reported by clang-tidy-8.
* [core] Introduce map mode specific Placement implementationsMikhail Pozdnyakov2020-03-251-3/+2
|
* [core] Introduce Placement::placeLayers()Mikhail Pozdnyakov2020-03-253-25/+19
|
* [core] Fix modernize-pass-by-value errorsThiago Marcos P. Santos2020-03-234-6/+9
| | | | As reported by clang-tidy-8.
* Bump mapbox-base to 1.2.0Alexander Shalamov2020-03-232-2/+2
|
* [core] Fix performance-unnecessary-value-param errorsThiago Marcos P. Santos2020-03-2314-27/+21
| | | | As reported by clang-tidy-8.
* [core] Fix performance-type-promotion-in-math-fn errorsThiago Marcos P. Santos2020-03-232-3/+3
| | | | As reported by clang-tidy-8.
* [core] Fix performance-inefficient-vector-operation errorsThiago Marcos P. Santos2020-03-231-0/+1
| | | | As reported by clang-tidy-8.
* [core] Fix performance-for-range-copy errorsThiago Marcos P. Santos2020-03-231-1/+1
| | | | As reported by clang-tidy-8.
* [core] Render::clearData clears fontsMikhail Pozdnyakov2020-03-201-0/+1
|
* [core] Introduce Renderer::clearData() instead of keepRenderData map optionsMikhail Pozdnyakov2020-03-204-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 Pozdnyakov2020-03-183-0/+16
|
* [core] Add RenderOrchestrator::clearData()Mikhail Pozdnyakov2020-03-183-5/+17
|
* [core][tile|static mode] Introduce MapOptions::keepRenderData() flagMikhail Pozdnyakov2020-03-183-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 tiltedMikhail Pozdnyakov2020-03-121-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 semanticsMikhail Pozdnyakov2020-03-115-10/+26
|