summaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* [core] Add MapOptions to define properties of MapSudarsana Babu Nagineni2019-03-082-4/+141
| | | | | | To simplify the Map constructor, introduce MapOptions interface to define the properties that can be set on a Map.
* [core] consolidate Axonometric rendering APISudarsana Babu Nagineni2019-03-082-7/+38
| | | | | | | Instead of having individual APIs for setting axonometric and skew options, create ProjectionMode struct that holds all the relevant options for Axonometric rendering and introduce setter/getter on the Map for those options.
* [core] util::wrap(): std::fmod is not losslessBruno de Oliveira Abinader2019-03-061-2/+9
|
* [core] Organize Map::{move,pitch,scale,rotate}ByBruno de Oliveira Abinader2019-03-041-12/+4
|
* [core] Remove map coordinate setters/gettersBruno de Oliveira Abinader2019-03-041-4/+0
|
* [core] Transform{State}: s/angle/bearing/Bruno de Oliveira Abinader2019-03-041-3/+3
|
* [core] Remove map bearing setters/gettersBruno de Oliveira Abinader2019-03-041-6/+0
|
* [core] Remove map pitch setters/gettersBruno de Oliveira Abinader2019-03-041-5/+0
|
* [core] Remove map zoom setters/gettersBruno de Oliveira Abinader2019-03-041-12/+5
|
* [core] Added Map::pitchBy()Bruno de Oliveira Abinader2019-03-041-0/+3
|
* [core] Added Map::scaleBy()Bruno de Oliveira Abinader2019-03-041-0/+1
|
* [core] peer must not wrap itselfMikhail Pozdnyakov2019-02-281-1/+3
|
* [core] Simplify util::peerMikhail Pozdnyakov2019-02-281-88/+9
| | | | Remove custom vtable, base implementation on `std::unique_ptr`.
* [core] Move Map::Impl to its own def/impl filesBruno de Oliveira Abinader2019-02-271-0/+1
|
* [core] Use unwrapped longitude for bounds checkBruno de Oliveira Abinader2019-02-261-9/+4
|
* [core] Layer manager is responsible for buckets and layouts creationMikhail Pozdnyakov2019-02-258-5/+36
| | | | This is a step to stop using of render layers in tile worker thread.
* [build] Use the correct define on WindowsThiago Marcos P. Santos2019-02-191-1/+1
| | | | https://blog.kowalczyk.info/article/j/guide-to-predefined-macros-in-c-compilers-gcc-clang-msvc-etc..html
* [core] Abstract the OpenGL implementationThiago Marcos P. Santos2019-02-121-0/+337
| | | | | | | | | | | The platform will be responsible to load the OpenGL implementation and give the function pointers to Mapbox GL Core. The platform might load OpenGL by linking against some OpenGL implementation, load it dynamically, etc. It doesn't matter as long as it is a valid implementation. Also adds the `::platform` namespace where all the missing symbols and interfaces expected to be implemented by the platforms will live.
* [core] Simplify mbgl::ImmutableMikhail Pozdnyakov2019-01-151-15/+5
|
* [core] Drop LayerTypeMikhail Pozdnyakov2019-01-042-21/+0
| | | | | Drop LayerType and its remaining usages. The generic code should be layer type agnostic.
* [core] Support for excluding ideographic glyphs from offline downloads.Chris Loer2018-12-211-2/+4
|
* [core] Introduce Renderer::queryFeatureExtension APIAlexander Shalamov2018-12-122-1/+10
| | | | | | 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.
* [docs] EnterIdle -> BecomeIdleChris Loer2018-12-111-1/+1
|
* [core, darwin, android] Add onDidEnterIdle to MapObserver.Chris Loer2018-12-111-0/+1
| | | | didEnterIdle fires whenever render completes and no repaint is scheduled.
* [core, android, darwin] Move layer factories to separate filesMikhail Pozdnyakov2018-12-1021-99/+143
|
* [core] convert CompoundExpressionRegistry to constexpr hash mapKonstantin Käfer2018-12-042-11/+3
|
* [core] use constexpr map using eternal for expression lookupsKonstantin Käfer2018-12-041-2/+1
|
* [core] OverscaledTileID::isChildOf should check wrap values.Chris Loer2018-11-301-1/+2
| | | | Fixes issue #13478
* [core] layermanager folderMikhail Pozdnyakov2018-11-3014-80/+96
| | | | Move `LayerManager` and `LayerFactory` abstract classes to a dedicated folder.
* [core] Support fill-extrusion-vertical-gradientBruno de Oliveira Abinader2018-11-291-0/+6
|
* [core] LayerManager can disable annotationsMikhail Pozdnyakov2018-11-281-0/+22
| | | | | | | | | | | | | 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-271-0/+7
|
* [core] Remove error-prone setlatLng overloadBruno de Oliveira Abinader2018-11-271-1/+0
|
* [core][Android][Darwin] LayerManager creates RenderLayer instancesMikhail Pozdnyakov2018-11-2712-98/+84
| | | | | | | | `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/+4
|
* [core] Let placement transitions use the transition duration, if set, and ↵Bruno de Oliveira Abinader2018-11-211-3/+7
| | | | allow disabling them entirely
* [core] Add static layer properties to mbgl::style::LayerTypeInfoAlexander Shalamov2018-11-191-3/+22
|
* [core] define number of concurrent downloads in online file source variableHuyen Chau Nguyen2018-11-151-1/+3
|
* [core][android] Introduce mbgl::style::LayerTypeInfoMikhail Pozdnyakov2018-11-1512-78/+53
| | | | | | | | | 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/+10
|
* [build] Update to geometry v1.0.0Bruno de Oliveira Abinader2018-11-133-7/+10
|
* noexcept specifier for layer factory methodsMikhail Pozdnyakov2018-11-0712-27/+27
|
* Refer corresponding LayerFactory instance from the Layer::ImplMikhail Pozdnyakov2018-11-0712-35/+110
|
* [build] Remove #pragma diagnostic for boostThiago Marcos P. Santos2018-11-011-3/+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-3111-2/+119
| | | | | | | | | 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-3111-75/+0
|
* Consolidate `style::Layer` properties APIMikhail Pozdnyakov2018-10-2513-196/+61
| | | | | | | | 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-1/+9
|
* [core] Avoid wrapping longitude values of exactly 180 and 360 (#12797) (#13006)Ryan Hamley2018-10-241-1/+1
|
* [core] add tests for handling requests with different prioritiesHuyen Chau Nguyen2018-10-231-0/+1
| | | | | | - ensure that low priority requests are handled last - add option to set the number of maximum concurrent requests for tests - some style fixups