summaryrefslogtreecommitdiff
path: root/src/mbgl/style/layers
Commit message (Collapse)AuthorAgeFilesLines
* [core][android] Introduce mbgl::style::LayerTypeInfoupstream/mikhail_LayerTypeInfoMikhail Pozdnyakov2018-11-1522-187/+114
| | | | | | | | | 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-0722-43/+43
|
* Refer corresponding LayerFactory instance from the Layer::ImplMikhail Pozdnyakov2018-11-0722-20/+228
|
* Introduce the style::Layer factory classesMikhail Pozdnyakov2018-10-3110-0/+183
| | | | | | | | | 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-311-5/+0
|
* Consolidate `style::Layer` properties APIMikhail Pozdnyakov2018-10-2511-517/+44
| | | | | | | | 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] Initial implementation of 'format' expressionChris Loer2018-10-152-15/+20
|
* Port symbol-z-order symbol layout style-spec property to Nativeupstream/sort-by-yryanhamley2018-09-072-0/+41
|
* [core] Implement CrossFadedDataDrivenProperty to add support for feature ↵Molly Lloyd2018-08-318-6/+8
| | | | expressions in `*-pattern` properties
* [core] Add `line-gradient` propertyMikhail Pozdnyakov2018-08-232-1/+61
| | | | | | | | Porting of https://github.com/mapbox/mapbox-gl-js/pull/6303 See the link above for the description of the feature and its limitations). Based on patch from @lbud (Lauren Budorick).
* [core] make style/conversion.hpp implementation privateKonstantin Käfer2018-08-1910-10/+10
|
* [core] Factor out setVisibility conversionJohn Firebaugh2018-08-1310-130/+10
|
* [core] Optimize generated set{Paint,Layout}Property codeJohn Firebaugh2018-08-1312-1292/+2249
|
* [core] Eliminate setProperty & co.John Firebaugh2018-08-1311-4/+2309
|
* [core] Replace remaining dynamic_cast with static_castBruno de Oliveira Abinader2018-08-086-6/+6
|
* [core] Merge DataDrivenPropertyValue into PropertyValue (#12513)John Firebaugh2018-07-316-141/+141
|
* Rename `HeatmapColorPropertyValue` to `ColorRampPropertyValue`Mikhail Pozdnyakov2018-07-054-7/+12
| | | | | | | | Based on patch from @lbud (Lauren Budorick). Give `HeatmapColorPropertyValue` a more generic name, since the same value type will be used for both `heatmap-color` and `line-gradient` properties.
* [core] add raster-resampling property (#12176)upstream/rcleeMolly Lloyd2018-06-212-0/+32
| | | | | | | | | | * 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-1210-0/+20
| | | | | | * [android][core] update layer immediately when changing it's max/min zoom * [core] node bindings for layer zoom range
* Use a host interface for CustomLayer instead of function pointers (#11553)Asheem Mamoowala2018-04-023-34/+8
| | | | | | Use a host interface for CustomLayer instead of function pointers Co-authored-by: Julian Rex <julian.rex@mapbox.com>
* [core, ios, macos, android, node] Heatmap layer (#11046)Vladimir Agafonkin2018-02-157-0/+337
| | | | | Co-Authored-By: Konstantin Käfer <mail@kkaefer.com> Co-Authored-By: Anand Thakker <anandthakker@users.noreply.github.com> Co-Authored-By: Minh Nguyễn <1ec5@users.noreply.github.com>
* [core] add raster-dem source type and hillshade layer type (#10642)Molly Lloyd2018-01-236-1/+329
|
* [core, ios, macos, android] Add data-driven-styling support for `text-font`John Firebaugh2018-01-102-4/+4
|
* [core] custom layer - add contextLost callbackIvo van Dongen2017-09-223-1/+14
| | | | - optional callback method that can be used to do cleanup when the context has been lost before re-initialisation
* [core][ios][macos][android]DDS-ify `text-letter-spacing` and `text-max-width`Asheem Mamoowala2017-08-302-8/+8
|
* Implement icon-anchor propertyLauren Budorick2017-08-282-5/+27
|
* [core][android][macos][ios] Implement property functions for line-join, ↵Lauren Budorick2017-07-264-12/+12
| | | | text-justify, text-anchor (#9583)
* [core] Update shaders.Chris Loer2017-07-122-0/+22
| | | | | Implements 'icon-pitch-alignment' (issue #9345) Fixes issue #9456 (map-aligned point label regression)
* [core] Implement circle-pitch-alignment propertyChris Loer2017-07-062-0/+32
| | | | Closes issue #9349.
* [core] Refactor CustomLayer internalsJohn Firebaugh2017-06-222-34/+0
| | | | Move the responsibility for initialization/deinitialization/rendering to RenderCustomLayer. This eliminates special case code from Map and Style.
* [core] Enable property functions for line-width (#9250)Lauren Budorick2017-06-192-4/+4
|
* [core] add DataDrivenPaintProperty uniform template class to generation ↵Lauren Budorick2017-06-163-0/+3
| | | | script (#9297)
* [core] rename a_gap_width => a_gapwidth, u_gap_width => u_gapwidth to ↵Konstantin Käfer2017-06-141-1/+1
| | | | | | reflect naming in the shader not sure how this ever worked
* [core] add uniforms to DataDrivenPaintPropertysKonstantin Käfer2017-06-135-28/+33
|
* [core] Simplify LayerObserver APIJohn Firebaugh2017-06-059-233/+113
|
* [core] Refactor RenderSource updatesJohn Firebaugh2017-06-0516-0/+62
| | | | | | | * Eliminate updateBatch in favor of diffing layers and detecting changes to properties upon which layout depends. * Replace RenderSource::{update,remove,invalidate,reload}Tiles with a single update method * Replace TilePyramid::{update,remove,invalidate,reload}Tiles with a single update method * Remove Style& dependency TODO from GeometryTile and TileParameters
* [core] cleanup debug loggingIvo van Dongen2017-05-241-2/+0
|
* [core, node, darwin, qt] Remove support for paint classesJohn Firebaugh2017-05-158-531/+531
|
* [core] cascade ⇢ transition / cascading ⇢ transitionableJohn Firebaugh2017-05-1515-15/+15
|
* [core] Unify {Paint,Layout,Light}PropertiesJohn Firebaugh2017-05-1518-102/+102
|
* [core] *LayerImpl::cascading ⇢ paintJohn Firebaugh2017-05-1515-251/+251
|
* [core] Split style image collection from SpriteAtlasIvo van Dongen2017-05-121-1/+0
|
* [core] Replace createRender{Source,Layer} with Render{Source,Layer}::createJohn Firebaugh2017-05-1216-56/+0
| | | | | * Eliminates the need for EnableImmutableFromThis * Eliminates the dependency of {Source,Layer}::Impl on corresponding Render class (circular dependency)
* [core] Immutable ImplsJohn Firebaugh2017-05-1225-653/+1207
|
* [core] Render fill-extrusion layers (#8431)Lauren Budorick2017-04-271-2/+0
|
* [core] Tweak handling of annotation special case SpriteAtlasJohn Firebaugh2017-04-261-2/+0
| | | | | * Simplify SymbolLayout; it never needs to care about more than one SpriteAtlas. * Move the reference from SymbolLayer::Impl to SymbolBucket. This is a prerequisite for making layer Impls immutable.
* [core] split off render layersIvo van Dongen2017-04-2525-722/+312
|
* [core] account for property functions in query rendered featuresIvo van Dongen2017-04-196-53/+49
|
* [core] Add DDS support for {text,icon}-size (#8593)Anand Thakker2017-04-064-13/+9
| | | | | | | | | | | | | | | | | | | | | | | | * Update gl-js and generate style code * Factor out packUint8Pair() helper function * Draft implementation of DDS for {text,icon}-size Ports https://github.com/mapbox/mapbox-gl-js/pull/4455 * Fix text-size/composite-function-line-placement test * Refactor to PaintPropertyBinders-like strategy * Dedupe gl::Program construction * Use exponential function base for interpolation * Dedupe coveringZoomStops method * Fixup tests * Fix CI errors (hidden within #if block)
* [all] Make LatLng coordinates read-onlyJohn Firebaugh2017-04-061-2/+2
|