summaryrefslogtreecommitdiff
path: root/src/mbgl/renderer/style_diff.hpp
Commit message (Collapse)AuthorAgeFilesLines
* [core] Named members for diff before/afterJohn Firebaugh2017-06-051-1/+8
|
* [core] Collection-level immutabilityJohn Firebaugh2017-06-051-6/+6
| | | | 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] Refactor RenderSource updatesJohn Firebaugh2017-06-051-1/+5
| | | | | | | * Eliminate updateBatch in favor of diffing layers and detecting changes to properties upon which layout depends. * Replace RenderSource::{update,remove,invalidate,reload}Tiles with a single update method * Replace TilePyramid::{update,remove,invalidate,reload}Tiles with a single update method * Remove Style& dependency TODO from GeometryTile and TileParameters
* [core] Replace inline SpriteAtlas updates with diffingJohn Firebaugh2017-05-301-0/+7
|
* [core] Immutable ImplsJohn Firebaugh2017-05-121-0/+30