summaryrefslogtreecommitdiff
path: root/include/mbgl/util/immutable.hpp
Commit message (Collapse)AuthorAgeFilesLines
* [core] Collection-level immutabilityJohn Firebaugh2017-06-051-0/+15
| | | | Introduce a second level of immutability, over each of the collections held by a style: sources, images, and layers. Tracking immutability at this level allows us to short-circuit significant portions of the RenderStyle update logic via a simple equality check, greatly improving performance.
* [core] Replace createRender{Source,Layer} with Render{Source,Layer}::createJohn Firebaugh2017-05-121-9/+0
| | | | | * Eliminates the need for EnableImmutableFromThis * Eliminates the dependency of {Source,Layer}::Impl on corresponding Render class (circular dependency)
* [core] Immutable ImplsJohn Firebaugh2017-05-121-0/+127