summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* [core] Do not consider X axis when constraining scaleBruno de Oliveira Abinader2018-11-292-9/+5
|
* [core] Support fill-extrusion-vertical-gradientBruno de Oliveira Abinader2018-11-2916-1572/+1660
|
* [core] LayerManager can disable annotationsMikhail Pozdnyakov2018-11-285-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() insteadBruno de Oliveira Abinader2018-11-274-203/+42
|
* [core] Remove error-prone setlatLng overloadBruno de Oliveira Abinader2018-11-273-17/+3
|
* [core][Android][Darwin] LayerManager creates RenderLayer instancesMikhail Pozdnyakov2018-11-2750-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 exclusiveBruno de Oliveira Abinader2018-11-261-1/+3
|
* [core] Fix VectorTileFeature::getValue() semantics after geometry@v1.0.0Bruno de Oliveira Abinader2018-11-261-1/+2
|
* [core] Fixed {prefix} evaluationMinh Nguyễn2018-11-211-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 Abinader2018-11-213-11/+19
| | | | allow disabling them entirely
* [core] Let property evaluation transitions use the transition duration, if setBruno de Oliveira Abinader2018-11-211-2/+6
|
* Refactor util::fontStacks()Mikhail Pozdnyakov2018-11-197-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 headersAlexander Shalamov2018-11-191-9/+5
|
* [core] Remove RenderLayer's is<> as<> methodsAlexander Shalamov2018-11-1911-65/+0
|
* [core] Replace RenderSymbolLayer downcast with symbol interfaceAlexander Shalamov2018-11-1911-56/+108
|
* [core] Remove casts in bucketsAlexander Shalamov2018-11-197-24/+18
|
* [core] Add use LayerTypeInfo::Layout for the layers that require LayoutAlexander Shalamov2018-11-196-6/+10
|
* [core] Remove casts where expected type is part of the contractAlexander Shalamov2018-11-197-9/+21
|
* [core] Remove casts for Custom and Background render layersAlexander Shalamov2018-11-195-15/+26
|
* [core] Move layer specific color ramp updates behind common update() methodAlexander Shalamov2018-11-197-12/+26
|
* [core] Move RenderTile filtering / sorting logic to render layersAlexander Shalamov2018-11-195-51/+71
|
* [core] Move markContextDestroyed() to the RenderLayerAlexander Shalamov2018-11-195-10/+15
|
* [core] Remove downcasts for layers that require 3D render passAlexander Shalamov2018-11-191-7/+2
|
* [core] Add static layer properties to mbgl::style::LayerTypeInfoAlexander Shalamov2018-11-1911-16/+114
|
* [core] define number of concurrent downloads in online file source variableHuyen Chau Nguyen2018-11-151-2/+0
|
* [core][android] Introduce mbgl::style::LayerTypeInfoMikhail Pozdnyakov2018-11-1524-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 Abinader2018-11-141-4/+19
|
* [build] Update to geometry v1.0.0Bruno de Oliveira Abinader2018-11-1317-49/+50
|
* noexcept specifier for layer factory methodsMikhail Pozdnyakov2018-11-0724-46/+46
|
* Refer corresponding LayerFactory instance from the Layer::ImplMikhail Pozdnyakov2018-11-0724-78/+230
|
* [core] Change toLowerHex to produce lower hex sequencesAlexander Shalamov2018-11-071-1/+1
|
* [build] Remove #pragma diagnostic for boostThiago Marcos P. Santos2018-11-013-38/+0
| | | | | Boost is now included as a system header and the compiler should ignore it when issuing warnings.
* Introduce the style::Layer factory classesMikhail Pozdnyakov2018-10-3112-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 Pozdnyakov2018-10-313-7/+4
|
* Consolidate `style::Layer` properties APIMikhail Pozdnyakov2018-10-2513-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 Abinader2018-10-251-0/+32
|
* [core] add priorities to resourcesHuyen Chau Nguyen2018-10-232-12/+21
| | | | | - priorities can be low or regular - offline downloads should have low priority to not throttle "regular requests"
* [core] address nitsKonstantin Käfer2018-10-233-5/+5
|
* [core] refactor util::toString to use RapidJSON's stringificationKonstantin Käfer2018-10-231-7/+55
|
* [core] remove special case for WindowsKonstantin Käfer2018-10-231-16/+0
|
* [core] remove some uses of <iostream> and <sstream>Konstantin Käfer2018-10-2314-46/+22
|
* [core] don't use <boost/functional/hash.hpp> to avoid <locale> includeKonstantin Käfer2018-10-238-32/+56
|
* [core] unify UTF-8/16 conversion to <boost/locale/encoding_utf.hpp>Konstantin Käfer2018-10-233-6/+4
|
* [core] remove use of <boost/algorithm/string.hpp>Konstantin Käfer2018-10-234-6/+7
|
* [core] don't use <sstream> and <iomanip> for string constructionKonstantin Käfer2018-10-233-30/+35
|
* [core] add the ability to stringy numbers as hexKonstantin Käfer2018-10-231-0/+19
|
* [core] add ability to stringify doubles that are integer with and without ↵Konstantin Käfer2018-10-233-9/+10
| | | | trailing ".0"
* [core] deduplicate dtoa() from RapidJSON and add testsKonstantin Käfer2018-10-231-90/+7
|
* [core] Introduce mbgl::RendererStateBruno de Oliveira Abinader2018-10-192-0/+11
|
* [core] Add TransformState::getCameraOptions()Bruno de Oliveira Abinader2018-10-193-7/+24
|