summaryrefslogtreecommitdiff
path: root/src/mbgl/style/layers/raster_layer.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [core] LayerProperty -> StylePropertyupstream/mikhail_universal_style_getterMikhail Pozdnyakov2019-09-251-18/+18
|
* [core] Fix clang format errorsMikhail Pozdnyakov2019-09-251-43/+47
|
* [core] Introduce Layer::getPaintProperty() generic getterMikhail Pozdnyakov2019-09-251-40/+86
|
* [build] Disable clang-format on generated codeThiago Marcos P. Santos2019-09-251-0/+4
| | | | Nice to have, but would make maintain the templates a lot harder.
* [core] Fix formattingMikhail Pozdnyakov2019-09-181-9/+7
|
* [core] Add LayerTypeInfo::TileKindMikhail Pozdnyakov2019-09-181-1/+2
|
* [core] Use mbgl::underlying_type in style propertiesBruno de Oliveira Abinader2019-09-111-17/+18
|
* [core] Remove RenderLayerSymbolInterfaceMikhail Pozdnyakov2019-05-191-1/+2
|
* [core] Remove clipping option from RenderTile and style::LayerMikhail Pozdnyakov2019-05-081-1/+0
|
* [build] change style code generator to sort properties alphabeticallyKonstantin Käfer2019-05-021-122/+122
| | | | JSON keys in our style specification don't have a defined order. This change sorts them alphabetically so that we can rely on the order remaining them same across code generation runs.
* [core] Add `FadingTiles` layer type propertyMikhail Pozdnyakov2019-04-171-1/+2
|
* [core] clang-tidy fixesKonstantin Käfer2019-04-051-17/+17
|
* [core] Use eternal::hash_map in style::LayersMikhail Pozdnyakov2018-12-191-104/+26
|
* [core, android, darwin] Move layer factories to separate filesMikhail Pozdnyakov2018-12-101-22/+0
|
* [core][Android][Darwin] LayerManager creates RenderLayer instancesMikhail Pozdnyakov2018-11-271-16/+20
| | | | | | | | `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] Add static layer properties to mbgl::style::LayerTypeInfoAlexander Shalamov2018-11-191-1/+7
|
* [core][android] Introduce mbgl::style::LayerTypeInfoMikhail Pozdnyakov2018-11-151-16/+9
| | | | | | | | | 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.
* noexcept specifier for layer factory methodsMikhail Pozdnyakov2018-11-071-3/+3
|
* Refer corresponding LayerFactory instance from the Layer::ImplMikhail Pozdnyakov2018-11-071-2/+19
|
* Introduce the style::Layer factory classesMikhail Pozdnyakov2018-10-311-0/+16
| | | | | | | | | 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.
* Consolidate `style::Layer` properties APIMikhail Pozdnyakov2018-10-251-34/+4
| | | | | | | | 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] make style/conversion.hpp implementation privateKonstantin Käfer2018-08-191-1/+1
|
* [core] Factor out setVisibility conversionJohn Firebaugh2018-08-131-13/+1
|
* [core] Optimize generated set{Paint,Layout}Property codeJohn Firebaugh2018-08-131-124/+184
|
* [core] Eliminate setProperty & co.John Firebaugh2018-08-131-0/+202
|
* [core] add raster-resampling property (#12176)upstream/rcleeMolly Lloyd2018-06-211-0/+27
| | | | | | | | | | * update style-code for raster-resampling * implement user-defined raster-resampling * invert filter condition * raster-resampling -> raster-resampling-mode for darwin language conventions
* Update layer immediately when changing its max/min zoom level (#11399)Łukasz Paczos2018-04-121-0/+2
| | | | | | * [android][core] update layer immediately when changing it's max/min zoom * [core] node bindings for layer zoom range
* [core] Simplify LayerObserver APIJohn Firebaugh2017-06-051-8/+8
|
* [core, node, darwin, qt] Remove support for paint classesJohn Firebaugh2017-05-151-63/+63
|
* [core] cascade ⇢ transition / cascading ⇢ transitionableJohn Firebaugh2017-05-151-1/+1
|
* [core] Unify {Paint,Layout,Light}PropertiesJohn Firebaugh2017-05-151-1/+0
|
* [core] *LayerImpl::cascading ⇢ paintJohn Firebaugh2017-05-151-29/+29
|
* [core] Immutable ImplsJohn Firebaugh2017-05-121-50/+104
|
* [core] split off render layersIvo van Dongen2017-04-251-31/+31
|
* Per-attribute transition properties on MGLStyleLayer (#8225)Fabian Guerra Soto2017-03-101-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [ios, macos] new struct MGLTransition * [ios] MGLTransition struct moved to MGLTypes.h * [ios] MGLTransition implemented for style layer properties * [ios, macos] added support for getting property transitions * [ios, macos] updated to MGLDurationFromTimeInterval and MGLTimeIntervalFromDuration * [ios, macos] added transition properties test * [ios, macos] modified key strings imp * [ios, macos] The impl for transition properties were changed to public methods * [ios, macos] Changelog update * [ios] Fixed layer space formatting * [core] The name space was fixed for getters that returned TransitionOptions * [ios, macos] Added rawLayer transition property tests * [ios] Added a factory method for MGLTransition and transition-related methods to NSValue(MGLAdditions) * [ios, macos] Copyedited changelog blurbs about transition properties
* [core] Restore support for *-transition propertiesJohn Firebaugh2017-02-091-0/+28
|
* [core] Get rid of user-specified refsJohn Firebaugh2017-01-041-1/+4
|
* [core] Convert style properties to a tuple-based approachJohn Firebaugh2016-11-171-14/+14
| | | | | | | | This converts the style property classes (CirclePaintProperties and so on) to the same tuple-based approach as gl::Attribute and gl::Uniform. The approach is outlined in https://github.com/mapbox/cpp/blob/master/C%2B%2B%20Structural%20Metaprogramming.md. The main advantage of this approach is it allows writing algorithms that work on sets of style properties, without resorting to code generation or manually repetitive code. This lets us iterate on approaches to data-driven properties more easily. Another advantage is that the cascading, unevaluated, and evaluated states of a set of properties exist as independent structures, instead of individual properties holding their own state. This is a more functional approach that makes data flow clearer and reduces state.
* [core, ios, android, qt] Observe style layer mutations rather than requiring ↵John Firebaugh2016-09-061-0/+21
| | | | | | SDKs to use Map::update This paves the way for updates to filter and layout properties to trigger a source reload, without each SDK having to participate in the implementation.
* [core] Add missing classed paint property getterJohn Firebaugh2016-09-061-14/+14
|
* [core] Add static getters for property default values (#6124)John Firebaugh2016-08-231-0/+28
|
* [core, node] Implement bindings for addLayerJohn Firebaugh2016-06-241-14/+22
|
* [core] Adjust layer source properties to better reflect realityJohn Firebaugh2016-06-241-5/+3
| | | | | | | | * Layer source ID is immutable; must be provided to the constructor * Layer source layer is mutable * Layers with GeoJSON sources do not have a source layer While here, make Layer::copy impl-private.
* [core] Rationalize naming for style-related codeJohn Firebaugh2016-06-021-0/+98