Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [core] SymbolBucket: use single map for paint properties data | Mikhail Pozdnyakov | 2019-01-14 | 4 | -27/+30 |
| | | | | Obviates unnecessary lookups, improves readability. | ||||
* | [core] return constexpr strings from functions to avoid ODR compile failures | Konstantin Käfer | 2019-01-11 | 4 | -43/+43 |
| | |||||
* | [core] Split layer type specific code in mbgl::Programs | Mikhail Pozdnyakov | 2019-01-11 | 23 | -91/+257 |
| | | | | | | | | | | | Progams code for a certain layer type is encapsulted within a dedicated `<layer type>Programs` class, inherited from the generic base `LayerTypePrograms` class. `mbgl::Programs::get<layer type>Programs()` lazily initializes the layer type-specific programs code using pointer to the base class, which allows LTO to remove this code from binaries (if the corresponding `get<layer type>Programs()` method can never be invoked). | ||||
* | [core] shader program must always match bucket in render symbol layer | Mikhail Pozdnyakov | 2019-01-11 | 8 | -53/+73 |
| | | | | | | | | | Before this change, `RenderSymbolLayer` with updated style was trying to render symbols using the previous bucket (with paint property binders that matched a previous program). Now, symbol bucket caches the latest corresponding paint properties (caching is happening on complete tiles only). As a result, `RenderSymbolLayer` always picks the shader program and its parameters in sync with the obtained bucket. | ||||
* | [build] generate header maps instead of -files.txt | Konstantin Käfer | 2019-01-09 | 1 | -0/+756 |
| | |||||
* | [core] Updated script detection for Unicode 11 | Minh Nguyễn | 2019-01-07 | 1 | -0/+11 |
| | | | | Updated script detection code to reflect changes in Unicode 11. | ||||
* | [core] fix deduping rings in querying, #11357 | Ansis Brammanis | 2019-01-04 | 1 | -1/+2 |
| | |||||
* | [core] Drop LayerType | Mikhail Pozdnyakov | 2019-01-04 | 21 | -101/+100 |
| | | | | | Drop LayerType and its remaining usages. The generic code should be layer type agnostic. | ||||
* | [core] Support for excluding ideographic glyphs from offline downloads. | Chris Loer | 2018-12-21 | 1 | -0/+2 |
| | |||||
* | [core] Remove fnv_hash.hpp | Mikhail Pozdnyakov | 2018-12-20 | 1 | -11/+0 |
| | |||||
* | [core] Use eternal::hash_map in style::Layers | Mikhail Pozdnyakov | 2018-12-19 | 10 | -1214/+311 |
| | |||||
* | [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. |