summaryrefslogtreecommitdiff
path: root/src/mbgl/renderer/style_diff.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [core] Named members for diff before/afterJohn Firebaugh2017-06-051-2/+2
|
* [core] Collection-level immutabilityJohn Firebaugh2017-06-051-15/+21
| | | | 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/+10
| | | | | | | * 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-9/+17
|
* [core] Immutable ImplsJohn Firebaugh2017-05-121-0/+56