summaryrefslogtreecommitdiff
path: root/src/mbgl/layermanager
Commit message (Collapse)AuthorAgeFilesLines
* Enable 'circle-sort-key' layout propertyAndrew Hay Kurtz2020-04-141-2/+6
|
* Add LocationIndicatorLayerGali Nelle2020-04-082-3/+31
| | | | | New key is "G" in mbgl-glfw, cycling between no puck, centered in the viewport and positioned in Tokyo.
* [core] Ability to set source-layer setProperty methodMikhail Pozdnyakov2020-03-247-44/+6
|
* [core] conversion::Layer uses setProperty API to set max/min zoom & filterMikhail Pozdnyakov2020-03-241-11/+0
|
* [build] Adding a build flag to build without GL if needed (#16120)Thomas Moenicke2020-02-031-22/+0
| | | | | | * [build] Adding a build flag to build without GL if needed * [build] Moving custom layer to mbgl/gl
* [core] Enable 'line-sort-key' and 'fill-sort-key' layout properties (#15839)Andrew Hay Kurtz2019-12-172-4/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Generate style code for 'line-sort-key' and 'symbol-sort-key' - Add new layout properties to FillLayer::Impl, FillBucket, and FillLayerFactory - Fix consistency of paint and layout properties type alias usage in FillBucket, LineBucket - Add optional feature sorting to fill and line Layout creation - Enable node render tests for fill-sort-key and line-sort-key - Fix FillBucket test construction - Prefer emplace_back to push_back for PatternFeature container - Fix buggy static_cast for PatternFeature indices - Maintain sort of features as they are created - Switch pattern layout features container to list from vector for better insert performance - Fix formatting expected by sanity check - Use subclass PatternLayoutSorted to work around lack of template functions - Fix to retain source order for features with equivalent sort keys during sorting - [core] Fix clang-format - [core] Address review comments - [core] Pass inserting strategy class at compile time - [core] Use sorted strategy only if sort key is defined in layout - [core] Update style generator - [core] Merge PatternLayout and PatternLayoutSorted classes - Use static methods for inserter strategies - Merge PatternLayout and PatternLayoutSorted classes
* [core] Implement image expression (#15877)Alexander Shalamov2019-11-114-8/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [core] Bump gl-js version * [core] Implement image expression * [core] Use new image expression * [core] Coerce image expression to / from string * [core] Serialize evaluated image * [core] Pass available images to layout * [core] Pass images to evaluation context * [core] Set available flag value based on image availability * [core] Allow image coercion to boolean to indicate image availability * [core] Coalesce image expression * [core] Add image expression to next build system * [core] Align serialization format and evaluated type with gl-js * [core] Add images to expression evaluation method * [core] Add support for Image expression to expression test runner * [core] Unskip image expression tests * [core] Update unit tests * [core] Use image expression in annotation manager * [core] Add string to ImageExpression conversion * [core] Add image expression to expression dsl * [core] Convert tokens for implicitly created Image literal * [core] Fix clang format * [core] Split generated style code lines that are over 120 characters * [core] Add unit test for image expression equality * [core] Add image property expression evaluation unit test * [core] Unskip image expression render test * [core] Skip 'in' expression tests * [core] Ignore fill-pattern/update-feature-state render test * [core] Rename Image::serialize to Image::toValue
* [core] Fix performance-move-const-argThiago Marcos P. Santos2019-09-2510-10/+10
|
* [core] Introduce `LayerRenderData`. Source::update() accepts layer properties.Mikhail Pozdnyakov2019-04-173-3/+3
|
* [core] Use `style::LayerProperties` in render layers, buckets and layouts.Mikhail Pozdnyakov2019-04-178-13/+22
|
* [core] Layer manager is responsible for buckets and layouts creationMikhail Pozdnyakov2019-02-258-0/+78
| | | | This is a step to stop using of render layers in tile worker thread.
* [core, android, darwin] Move layer factories to separate filesMikhail Pozdnyakov2018-12-1010-0/+287
|
* [core] layermanager folderMikhail Pozdnyakov2018-11-302-0/+78
Move `LayerManager` and `LayerFactory` abstract classes to a dedicated folder.