summaryrefslogtreecommitdiff
path: root/src/mbgl/style/property_expression.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [core] Fix modernize-return-braced-init-list errorsThiago Marcos P. Santos2020-03-231-6/+3
| | | | As reported by clang-tidy-8.
* [core] Add getSharedExpression to property expressionAlexander Shalamov2020-02-031-0/+4
| | | | | New method can be used for aggregating property expressions from multiple properties(layers) into single match / case expression.
* [core] Implement image expression (#15877)Alexander Shalamov2019-11-111-13/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [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] Add possibility of overriding paint properties inside format ↵Alexander Shalamov2019-03-131-0/+68
expression #14062 * [core] Add format override expression and formatted section to evaluation context * [core] Add textColor to TaggedString's formatted section * [core] Add FormatSectionOverrides and introduce overridable properties * [core] Populate symbol layer paint properties for text sections * [core] Add benchmark for style that uses text-color override * [core] Add unit test for FormatOverrideExpression * [core] Add unit test for FormatSectionOverrides