summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* [core] Immutable/Mutable pattern for PlacementMikhail Pozdnyakov2019-09-194-80/+109
|
* [core] Update buckets in RendererMikhail Pozdnyakov2019-09-196-18/+35
|
* [core] Fix Placement constnessMikhail Pozdnyakov2019-09-197-16/+20
| | | | Update buckets methods do not mutate placement, placement methods do not mutate buckets.
* [core] Fix formattingMikhail Pozdnyakov2019-09-1812-99/+81
|
* [core] Use LayerInfo::tileKind in sourcesMikhail Pozdnyakov2019-09-186-12/+12
|
* [core] Add LayerTypeInfo::TileKindMikhail Pozdnyakov2019-09-1812-18/+47
|
* [core] Check layer compatibility with sourceMikhail Pozdnyakov2019-09-189-43/+94
|
* [build] Fix clang format and tidy checksJuha Alanen2019-09-1845-491/+348
|
* [core] Add removeFeatureState APIJuha Alanen2019-09-188-0/+91
|
* [core] Feature state support to RenderLayer classesJuha Alanen2019-09-1812-20/+31
|
* [core] Add feature state support to queryRenderedFeatures APIJuha Alanen2019-09-1810-17/+43
|
* [core] Add support for set/getFeatureState APIsJuha Alanen2019-09-186-0/+73
|
* [core] Add SourceFeatureState class to handle feature statesJuha Alanen2019-09-183-0/+97
|
* [core] Add setFeatureState API to Tile classesJuha Alanen2019-09-185-1/+35
|
* [core] Add feature state support to bucket classesJuha Alanen2019-09-1816-42/+208
|
* [core] Add feature-state compound expressionJuha Alanen2019-09-181-0/+15
|
* [core] Add feature state support to isFeatureConstant expressionJuha Alanen2019-09-181-1/+2
|
* [core] Add feature state support to expressionJuha Alanen2019-09-182-0/+27
|
* [Core] Fix wrong `maxzoom` setting of tileSet when using URL source (#15581)zmiao2019-09-172-6/+30
| | | | | | | | | | | | * [core] Take max/min zoom option from style if they are set * [core] std::move input value * [Core] Add changelogs * [Core] Fix clang-format reported error * [Core] fix clang-tidy reported error
* [build] Make the default styles part of GL NativeThiago Marcos P. Santos2019-09-171-0/+1
| | | | | The reason is applications using it, like GLFW, don't need to depend on code inside platform/default.
* [core] Fix for FormatSectionOverrides::hasOverrideAlexander Shalamov2019-09-171-11/+4
|
* [core] Coalesce buckets updates from several tilesMikhail Pozdnyakov2019-09-133-6/+24
|
* [core] Initiate new placement only when a new bucket appearesMikhail Pozdnyakov2019-09-133-14/+23
|
* [core] Bitmask operations for enumsMikhail Pozdnyakov2019-09-135-49/+5
|
* [core] Fix placement for updated bucketsMikhail Pozdnyakov2019-09-132-16/+10
| | | | | Buckets update initiates new placement, so that newly added symbols are placed and shown immediately.
* [core] Fix compilation failure caused by compilation warning for gcc 8Ming Li2019-09-121-2/+7
| | | | | | | When compiling with gcc 8.3 under linux, I've got compiler error caused by the following warning: ../src/mbgl/util/chrono.cpp:26:26: error: ‘__builtin___snprintf_chk’ output may be truncated before the last format character [-Werror=format-truncation=] I need to slightly increase the buffer size to get rid of the warning.
* [core] Update MapObserver::onDidFinishRenderingFrame() APIMikhail Pozdnyakov2019-09-121-1/+1
|
* [core] Set fading tiles flag at TilePyramid::updateFadingTiles()Mikhail Pozdnyakov2019-09-121-3/+3
|
* [core] Use mbgl::underlying_type in style propertiesBruno de Oliveira Abinader2019-09-1112-216/+228
|
* [core] Expose mbgl::style::Light::setPropertyBruno de Oliveira Abinader2019-09-112-0/+196
| | | | Works the same way as mbgl::style::set{Paint,Layout}Property functions.
* [core] Use mapbox::base::TypeWrapper instead of utils::peerMikhail Pozdnyakov2019-09-101-1/+0
|
* [core, ios, macos] SDK objects should hold weak pointers to the core style ↵Mikhail Pozdnyakov2019-09-091-1/+6
| | | | objects (#15539)
* [core] Fix Integer overflow when converting tileCoordinates to LatLon (#15560)zmiao2019-09-051-2/+2
| | | | | | * [core] fix integer overflow * [core] Add change log
* [core, ios] Call transitionFinishFn for jumpTo. (#15473)Julian Rex2019-09-051-0/+9
|
* Always call onSourceLoaded observers (#15548)Konstantin Käfer2019-09-034-3/+6
| | | | | | | | * [core] add sources to source collection before triggering load * [test] add testcase for #15514 * [core] also call onSourceLoaded observers when no network request was necessary
* [core] Enable `text-offset` with variable label placementMikhail Pozdnyakov2019-09-038-47/+110
| | | | Port of https://github.com/mapbox/mapbox-gl-js/pull/8642
* [core] DEMData: do decode on GPU (port mapbox/mapbox-gl-js#8694)Aleksandar Stojiljkovic2019-08-3015-519/+521
| | | | | | | | | | | This is first part of work on porting mapbox/mapbox-gl-js#8694 - in follow up patch(es) it is required to remove CPU side copy using 2d canvas support on all supported platforms, similar to approach taken in gl.js https://github.com/mapbox/mapbox-gl-js/pull/8694/files#diff-34dbe5f7de34dc4b9a8745dcde9bdc37R48 Decoding on CPU removed. Padding is still done in DEMData() but, instead od doing it wwhile decoding, it is using memcpy to pad original values. Rebase to latest mapbox-gl-js master and re-generate shaders. Partly fixes: #15503
* [core] fix collisionBox alignment when Icon/text translation is enabled (#15467)zmiao2019-08-305-142/+195
| | | | | | | | | | | | | | | | | | * add initial fix * fix bug for collision circle * refind code structure * fix indentation * update test * refind code structure * Add changelog * Add comment for boolean
* [core] make padding optional when camera position is requested.Łukasz Paczos2019-08-295-6/+6
| | | | When padding is not provided, the current one that's cached in the TransformState is going to be returned.
* [core] Remove programCacheDir parameter from ProgramParametersAnder Conselvan de Oliveira2019-08-277-35/+9
| | | | | | Binary shader support has been removed in commit c2f974f2a573 ([core] Remove binary shader support). This left-over parameter is not used anywhere anymore.
* [core] fix mixed sdf + non-sdf icon rendering in one layer (#15456)zmiao2019-08-269-105/+186
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [core] fix icon symbol rendring when sdf and non-sdf icon in the same symbol layer * fix build error * fix typo * revert renderableSegment change * simplify codes * fix build error * refine sdf icon flag * [core] fix mixed sdf + non-sdf icon rendering in one layer * remove iconstatus getter in stymbol bucket * fix review findings * provide bitwise operator for SymbolContent enum * use MBGL_MBGL_CONSTEXPR * add one missing update for sdfIcon * make renderer symbol type as enum
* [core] Fix tileCover / TileCoordinate fromScreenCoordinate(#15442)Aleksandar Stojiljkovic2019-08-235-16/+27
| | | | | | | Remove unecessary tile coordinate unproject -> project step. Unproject+project isn't always a noop and this was the issue leading to wrong cover calculation in high pitch values. Fixes: https://github.com/mapbox/mapbox-gl-native/issues/15442
* [core] Export symbol placement update status from MapObserverMikhail Pozdnyakov2019-08-235-9/+11
|
* [core] Fill layer pattern change must cause re-layoutMikhail Pozdnyakov2019-08-221-0/+1
| | | | | | Otherwise, pattern properties update is not taken in action. This caused the following render tests failure: `build/mbgl-render-test runtime-styling/layer-add-fill regressions/mapbox-gl-js#3107 --recycle-map`
* [core] Fix GeoJSON tiles updateMikhail Pozdnyakov2019-08-227-9/+10
| | | | | | | | | | | | | Before this change, GeoJSON tiles data were updated before the corresponding layers were applied, therefore `GeometryTileWorker` parsed new data with the outdated layers. It caused the following render test failure: `mbgl-render-test text-max-width/unlimited regressions/mapbox-gl-native#9976 --recycle-map` Now a GeoJSON tile, which needs relayout, is not parsed until the valid layers are set.
* [core] Don't overwrite locally renderable glyphs with remote glyphsAsheem Mamoowala2019-08-211-2/+4
|
* speed up fading when zooming even moreAnsis Brammanis2019-08-201-1/+1
| | | | And a linear adjustment seems to make more sense.
* [core] make symbols fade out faster while zooming outAnsis Brammanis2019-08-203-13/+24
| | | | | | | | | | | Zooming outcan make symbols overlap quickly. The area previously covered by the viewport is covered by a lot of colliding labels while the surrounding area has no labels. This difference produces an unwanted effect. This reduces that effect by: - reducing the fade duration while zooming out - doing placement more frequently while zooming out
* [core] Fix combination of icon-text-fit with text-variable-anchors and ↵Alexander Shalamov2019-08-2013-112/+254
| | | | text-writing-mode
* [core] also remove version info in ImageManager when removing an image (#15397)Konstantin Käfer2019-08-191-0/+1
|