Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [core] Introduce Renderer::queryFeatureExtension API | Alexander Shalamov | 2018-12-12 | 6 | -0/+127 |
| | | | | | | New interface allows it's users to query additional information about feature that was provided by qRF interface. This is particularly useful for clustered features. | ||||
* | [core] Share GeoJSONData pointer as weak_ptr instead of raw ptr | Alexander Shalamov | 2018-12-12 | 4 | -15/+15 |
| | |||||
* | [core] Expose getChildren, getLeaves, getClusterExpansionZoom on ↵ | Alexander Shalamov | 2018-12-12 | 2 | -0/+35 |
| | | | | SuperclusterData | ||||
* | [core] Avoid divide-by-zero when transition duration is 0.. | Chris Loer | 2018-12-11 | 1 | -2/+5 |
| | | | | Fixes issue #13506 -- transition duration of 0 would cause symbol flickering. | ||||
* | [docs] EnterIdle -> BecomeIdle | Chris Loer | 2018-12-11 | 1 | -1/+1 |
| | |||||
* | [core, darwin, android] Add onDidEnterIdle to MapObserver. | Chris Loer | 2018-12-11 | 1 | -0/+2 |
| | | | | didEnterIdle fires whenever render completes and no repaint is scheduled. | ||||
* | [core]Disable RenderAnnotationSource when annotations are disabled | Mikhail Pozdnyakov | 2018-12-11 | 2 | -1/+11 |
| | | | | | | This patch disables creation of `RenderAnnotationSource` instances and thus saves extra 4Ki on Android when `LayerManager::annotationsEnabled` is `false`. | ||||
* | [core, android, darwin] Move layer factories to separate files | Mikhail Pozdnyakov | 2018-12-10 | 21 | -257/+287 |
| | |||||
* | [android] expose Formatted text-field setter | Łukasz Paczos | 2018-12-04 | 1 | -3/+57 |
| | |||||
* | [core] convert CompoundExpressionRegistry to constexpr hash map | Konstantin Käfer | 2018-12-04 | 3 | -110/+420 |
| | |||||
* | [core] use constexpr map using eternal for expression lookups | Konstantin Käfer | 2018-12-04 | 2 | -39/+44 |
| | |||||
* | Add basic shader minification (#13500) | Vladimir Agafonkin | 2018-12-04 | 27 | -1612/+944 |
| | | | | | | * add basic shader minification (same GL JS does) * don't remove line break at shader end | ||||
* | [core] layermanager folder | Mikhail Pozdnyakov | 2018-11-30 | 9 | -59/+86 |
| | | | | Move `LayerManager` and `LayerFactory` abstract classes to a dedicated folder. | ||||
* | [core] Do not consider X axis when constraining scale | Bruno de Oliveira Abinader | 2018-11-29 | 2 | -9/+5 |
| | |||||
* | [core] Support fill-extrusion-vertical-gradient | Bruno de Oliveira Abinader | 2018-11-29 | 16 | -1572/+1660 |
| | |||||
* | [core] LayerManager can disable annotations | Mikhail Pozdnyakov | 2018-11-28 | 5 | -18/+65 |
| | | | | | | | | | | | | | At the moment, the annotations implementation in the `mapbox-gl-native` core is creating concrete layer instances apart from `LayerManager/LayerFactory` code path. So, annotations must be disabled if the `LayerManager` implementation does not provide line, fill or symbol layers (those, used by the annotations). Note: in future, annotations implementation will be moved from the core to the platform SDK level(see https://github.com/mapbox/mapbox-plugins-android/tree/master/plugin-annotation) and `LayerManager` won't need to disable it. | ||||
* | [core] Cleanup Transform, use {jump,ease}To() instead | Bruno de Oliveira Abinader | 2018-11-27 | 4 | -203/+42 |
| | |||||
* | [core] Remove error-prone setlatLng overload | Bruno de Oliveira Abinader | 2018-11-27 | 3 | -17/+3 |
| | |||||
* | [core][Android][Darwin] LayerManager creates RenderLayer instances | Mikhail Pozdnyakov | 2018-11-27 | 50 | -272/+298 |
| | | | | | | | | `LayerManager` is now responsible for `RenderLayer` instances creation, so that there is a single entry point for creating of objects, which correspond to a certain layer type. The `LayerType type` field is dropped from `Layer::Impl`. | ||||
* | [core] Camera center and anchor points are mutually exclusive | Bruno de Oliveira Abinader | 2018-11-26 | 1 | -1/+3 |
| | |||||
* | [core] Fix VectorTileFeature::getValue() semantics after geometry@v1.0.0 | Bruno de Oliveira Abinader | 2018-11-26 | 1 | -1/+2 |
| | |||||
* | [core] Fixed {prefix} evaluation | Minh Nguyễn | 2018-11-21 | 1 | -4/+4 |
| | | | | This appears to have been an attempt to use the std::string fill constructor, but it ended up creating a one-character-long string and attempting to overwrite the null terminator. | ||||
* | [core] Let placement transitions use the transition duration, if set, and ↵ | Bruno de Oliveira Abinader | 2018-11-21 | 3 | -11/+19 |
| | | | | allow disabling them entirely | ||||
* | [core] Let property evaluation transitions use the transition duration, if set | Bruno de Oliveira Abinader | 2018-11-21 | 1 | -2/+6 |
| | |||||
* | Refactor util::fontStacks() | Mikhail Pozdnyakov | 2018-11-19 | 7 | -33/+38 |
| | | | | | | So that it does not downcast `Layer::Impl` instances. Also, an unneeded `std::vector` construction was removed from `Parser::fontStacks()`. | ||||
* | [core] Construct RenderItem objects in-place and remove unused headers | Alexander Shalamov | 2018-11-19 | 1 | -9/+5 |
| | |||||
* | [core] Remove RenderLayer's is<> as<> methods | Alexander Shalamov | 2018-11-19 | 11 | -65/+0 |
| | |||||
* | [core] Replace RenderSymbolLayer downcast with symbol interface | Alexander Shalamov | 2018-11-19 | 11 | -56/+108 |
| | |||||
* | [core] Remove casts in buckets | Alexander Shalamov | 2018-11-19 | 7 | -24/+18 |
| | |||||
* | [core] Add use LayerTypeInfo::Layout for the layers that require Layout | Alexander Shalamov | 2018-11-19 | 6 | -6/+10 |
| | |||||
* | [core] Remove casts where expected type is part of the contract | Alexander Shalamov | 2018-11-19 | 7 | -9/+21 |
| | |||||
* | [core] Remove casts for Custom and Background render layers | Alexander Shalamov | 2018-11-19 | 5 | -15/+26 |
| | |||||
* | [core] Move layer specific color ramp updates behind common update() method | Alexander Shalamov | 2018-11-19 | 7 | -12/+26 |
| | |||||
* | [core] Move RenderTile filtering / sorting logic to render layers | Alexander Shalamov | 2018-11-19 | 5 | -51/+71 |
| | |||||
* | [core] Move markContextDestroyed() to the RenderLayer | Alexander Shalamov | 2018-11-19 | 5 | -10/+15 |
| | |||||
* | [core] Remove downcasts for layers that require 3D render pass | Alexander Shalamov | 2018-11-19 | 1 | -7/+2 |
| | |||||
* | [core] Add static layer properties to mbgl::style::LayerTypeInfo | Alexander Shalamov | 2018-11-19 | 11 | -16/+114 |
| | |||||
* | [core] define number of concurrent downloads in online file source variable | Huyen Chau Nguyen | 2018-11-15 | 1 | -2/+0 |
| | |||||
* | [core][android] Introduce mbgl::style::LayerTypeInfo | Mikhail Pozdnyakov | 2018-11-15 | 24 | -188/+120 |
| | | | | | | | | | The `LayerTypeInfo` contains static meta data about certain layer type. Each layer module should have a single immutable `LayerTypeInfo` instance for the represented layer type. Both `LayerImpl` and `LayerFactory` from the module always refer to the same `LayerTypeInfo` instance, so address of this instance can be used as a layer module Id during the process life time. | ||||
* | [core] Add RendererState::{pixelForLatLng,latLngForPixel} | Bruno de Oliveira Abinader | 2018-11-14 | 1 | -4/+19 |
| | |||||
* | [build] Update to geometry v1.0.0 | Bruno de Oliveira Abinader | 2018-11-13 | 17 | -49/+50 |
| | |||||
* | noexcept specifier for layer factory methods | Mikhail Pozdnyakov | 2018-11-07 | 24 | -46/+46 |
| | |||||
* | Refer corresponding LayerFactory instance from the Layer::Impl | Mikhail Pozdnyakov | 2018-11-07 | 24 | -78/+230 |
| | |||||
* | [core] Change toLowerHex to produce lower hex sequences | Alexander Shalamov | 2018-11-07 | 1 | -1/+1 |
| | |||||
* | [build] Remove #pragma diagnostic for boost | Thiago Marcos P. Santos | 2018-11-01 | 3 | -38/+0 |
| | | | | | Boost is now included as a system header and the compiler should ignore it when issuing warnings. | ||||
* | Introduce the style::Layer factory classes | Mikhail Pozdnyakov | 2018-10-31 | 12 | -112/+281 |
| | | | | | | | | | This patch introduces the initial implementation of - A `LayerFactory` abstract class that creates `style::Layer` instances of a certain layer type (line, hillshade, round, ..) - A singleton `LayerManager` class, which is responsible for initializing the `LayerFactory` instances and forwarding the `create()` calls to the corresponding factory. | ||||
* | Remove style::Layer::is()/as() | Mikhail Pozdnyakov | 2018-10-31 | 3 | -7/+4 |
| | |||||
* | Consolidate `style::Layer` properties API | Mikhail Pozdnyakov | 2018-10-25 | 13 | -537/+97 |
| | | | | | | | | The `style::Layer` class now exposes all the properties contained at `style::LayerImpl`. This allowed to drop `style::Layer::accept()` method usage, avoid the repeated generated code and thus save some binary size. This patch is a part of the layers modularization effort. | ||||
* | [core] Added RendererState::has{Image,Layer,Source} | Bruno de Oliveira Abinader | 2018-10-25 | 1 | -0/+32 |
| | |||||
* | [core] add priorities to resources | Huyen Chau Nguyen | 2018-10-23 | 2 | -12/+21 |
| | | | | | - priorities can be low or regular - offline downloads should have low priority to not throttle "regular requests" |