summaryrefslogtreecommitdiff
path: root/include/mbgl/style/image.hpp
Commit message (Collapse)AuthorAgeFilesLines
* [core] Collection-level immutabilityJohn Firebaugh2017-06-051-1/+1
| | | | 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] Don't use a separate SpriteAtlas for annotation imagesJohn Firebaugh2017-05-261-0/+1
| | | | Instead, just add them to the Style as needed. Includes changes from #8905 and takes care to avoid regressing #3817.
* [core] Remove ambiguous get{Width,Height} accessors from style::ImageJohn Firebaugh2017-05-171-3/+0
|
* [core, node, darwin, android, qt] Make image ID part of ImageJohn Firebaugh2017-05-161-1/+5
| | | | More like Source and Layer.
* [core] Immutable<Impl> for ImageJohn Firebaugh2017-05-151-6/+3
|
* [core] Split style image collection from SpriteAtlasIvo van Dongen2017-05-121-5/+12
|
* [all] Rationalize style::ImageJohn Firebaugh2017-04-241-0/+25
A style has a collection of images, just as it has collections of sources and layers. * Name things appropriately * Use std::unique_ptr