summaryrefslogtreecommitdiff
path: root/src/mbgl/map/map_data.hpp
Commit message (Collapse)AuthorAgeFilesLines
* map/annotation.* ⇢ annotation/annotation_manager.*John Firebaugh2015-09-281-1/+1
|
* Get rid of MapData::{get,set}NeedsRepaintBruno de Oliveira Abinader2015-09-021-9/+0
|
* Map::nudgeTransitions no longer depends on client informationBruno de Oliveira Abinader2015-08-051-0/+9
| | | | | | | | Clients no longer need to provide data (eg. if gesturing or in a custom animation) to Map::nudgeTransitions(). Upon MapContext::renderSync(), a new atomic bool 'needsRepaint' in MapData allows thread-safe communication between Map and MapContext.
* Unify default transition values in MapDataBruno de Oliveira Abinader2015-07-141-3/+25
| | | | | | | | | | | Relevant changes: - Added 'defaultFadeDuration' and 'defaultTransitionDelay' to MapData; - Painter & StyleParser now receives a reference to MapData; - As previously seen on the code: 300ms is the default fade duration and 0ms is the default transition duration; - We no longer pass the current time point to Style, since it now uses MapData.animationTime, which gets updated in MapContext::update(). - Updated StyleParser check to use a mock MapData;
* Pass {Duration,TimePoint} by const ref if possibleBruno de Oliveira Abinader2015-07-141-2/+3
|
* Make pixelRatio constant across a Map object lifetimeKonstantin Käfer2015-07-081-2/+4
| | | | also moves framebuffer size out of TransformState into its own object
* External synchronization for AnnotationManagerJohn Firebaugh2015-07-021-1/+10
|
* Eliminate MapData::get/setFullyLoadedJohn Firebaugh2015-06-301-8/+0
|
* Move Transform from MapData to MapJohn Firebaugh2015-06-261-4/+1
| | | | | Pass current state to MapContext where needed. Remove mutex from Transform.
* Get rid of Environment et al.Thiago Marcos P. Santos2015-06-251-1/+0
| | | | | mbgl::Environment is not used anymore and can removed.
* Merge remote-tracking branch 'origin/master' into new-labellingAnsis Brammanis2015-05-281-10/+0
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/mbgl/map/source.cpp src/mbgl/map/source.hpp src/mbgl/map/tile_data.cpp src/mbgl/map/tile_parser.cpp src/mbgl/map/vector_tile_data.cpp src/mbgl/renderer/painter.cpp src/mbgl/renderer/symbol_bucket.cpp src/mbgl/text/glyph.hpp src/mbgl/text/glyph_store.cpp src/mbgl/text/placement.cpp test/suite
| * DefaultFileSource has responsibility for handling mapbox:// URLsJohn Firebaugh2015-05-261-10/+0
| |
* | make collision debug boxes toggleableAnsis Brammanis2015-05-281-0/+11
|/
* add Map::isFullyLoaded()Konstantin Käfer2015-05-051-0/+8
| | | | returns whether the Map is still loading/parsing any assets or whether everything is there and a render will likely be complete
* Move still image callback to MapContextJohn Firebaugh2015-04-281-5/+0
|
* Move style info to MapContextJohn Firebaugh2015-04-281-16/+0
|
* Remove Map::start/stopJohn Firebaugh2015-04-281-2/+2
| | | | | | Both Android and iOS now use pause/resume. The map thread is always running, and be able to receive messages. When paused, it will just refuse to render.
* Enforce that transformState belongs to Map threadJohn Firebaugh2015-04-281-11/+0
|
* WIP: Use Thread<MapContext>John Firebaugh2015-04-281-16/+3
|
* Privatize remaining MapContext membersJohn Firebaugh2015-04-281-1/+6
|
* Move run() to MapContextJohn Firebaugh2015-04-281-0/+20
|
* move rendering mode enum to MapData objectKonstantin Käfer2015-04-281-0/+2
|
* move Transform into MapData and make source unaware of the Map objectKonstantin Käfer2015-04-281-1/+7
|
* move TransformState to MapData objectKonstantin Käfer2015-04-281-0/+15
|
* Add typedefs for std::chrono::steady_clock typesJohn Firebaugh2015-04-021-12/+13
|
* move style classes to MapData object and make thread safeKonstantin Käfer2015-03-231-0/+20
|
* move accessToken to MapDataKonstantin Käfer2015-03-231-0/+10
|
* move defaultTransitionDuration to MapDataKonstantin Käfer2015-03-231-0/+9
|
* move animationTime to MapData storeKonstantin Käfer2015-03-231-4/+25
|
* make the debug flag atomic and move to MapDataKonstantin Käfer2015-03-231-0/+6
|
* make style updates a little more threadsafeKonstantin Käfer2015-03-231-0/+36
- we're now always loading and parsing styles in the map thread - adds an atomic enum that stores the actual updates we need to perform - adds a MapData object that mutexes access to variables used from both threads