summaryrefslogtreecommitdiff
path: root/src/mbgl/style/layers/background_layer_properties.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [core] Fix performance-move-const-argThiago Marcos P. Santos2019-09-251-1/+1
|
* [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] Introduce LayerProperties::constantsMask()Mikhail Pozdnyakov2019-07-021-0/+4
| | | | | | Constants mask for data-driven paint properties is a reliable criteria of whether the given updated properties can still be used with the existing bucket (and the gl program instance).
* [core] Introduce `style::LayerProperties` interface and its implementationsMikhail Pozdnyakov2019-04-171-0/+20
|
* [core] Convert style properties to a tuple-based approachJohn Firebaugh2016-11-171-16/+0
| | | | | | | | 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, node] Implement bindings for addLayerJohn Firebaugh2016-06-241-6/+0
|
* Color class (#5361)Young Hahn2016-06-151-1/+0
| | | | | | * Color class * Switch to list initialization
* [tidy] Check modernize-pass-by-valueBruno de Oliveira Abinader2016-06-131-0/+1
| | | | Ref: http://clang.llvm.org/extra/clang-tidy/checks/modernize-pass-by-value.html
* [core] Rationalize naming for style-related codeJohn Firebaugh2016-06-021-0/+31