Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [core] Convert BucketParameters#layer to a separate parameter | John Firebaugh | 2016-12-21 | 1 | -1/+1 |
| | | | | This parameter varies between Buckets, while the others are constant. It makes more sense as an individual parameter. | ||||
* | [core] Convert style properties to a tuple-based approach | John Firebaugh | 2016-11-17 | 1 | -1/+1 |
| | | | | | | | | 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] Return source and layer ownership (#7014) | Jesse Bounds | 2016-11-11 | 1 | -0/+1 |
| | | | | | | | | When a source or layer is removed transfer ownership back to the caller so it can (optionally) take it. Preserve the behavior that removing a CustomLayer triggers deinitialization. Deinitialize all custom layers when a style is destroyed in case those layers are not explicitly removed. | ||||
* | [core, node] Implement bindings for addLayer | John Firebaugh | 2016-06-24 | 1 | -3/+1 |
| | |||||
* | [core] Rationalize naming for style-related code | John Firebaugh | 2016-06-02 | 1 | -0/+44 |