Commit Graph

15 Commits

Author SHA1 Message Date
Konstantin Käfer
8fa078c086 [core] cache raster tiles 2016-11-22 08:32:02 -08:00
Bruno de Oliveira Abinader
b7818f2019 [core] Fix render tile ordering when querying sources 2016-11-13 16:10:36 -08:00
John Firebaugh
870d432f34 [core] Separate pathway for notifying workers of new images/glyphs 2016-11-13 15:32:00 -08:00
Bruno de Oliveira Abinader
36b3ba56b6 [core] Improve Source::Impl readability 2016-10-11 19:36:21 +03:00
Bruno de Oliveira Abinader
7b907b6d1c [core] Use TilePoint in Source::Impl::queryRenderedFeatures 2016-10-11 19:36:21 +03:00
John Firebaugh
41bbd4e4f7 [core] Use an actor model for tile worker concurrency 2016-09-16 12:01:06 -07:00
Konstantin Käfer
426242fe41 [core] change bool to enum class bool TileLoadState 2016-09-07 17:56:38 +02:00
John Firebaugh
3635b9f147 [core] Prepare style observer interfaces for source reloading
* Renamed {Source,Tile}Observer::onNeedsRepaint to onTileUpdated. Messages should be in terms of what happened to the observed object, not in terms of what the observer needs to do. This also removes a confusing overlap of virtual methods on StyleObserver.
* Added style::Observer::onUpdate(Update). This is also a violation of the above rule, but I'm hopeful that it will disappear when update batching is implemented.
2016-09-06 12:52:14 -07:00
John Firebaugh
5b4f6335e3 [core] Add Source::Impl::reload 2016-09-06 12:52:14 -07:00
Konstantin Käfer
4eb54270d7 [core] remove unused TimePoint during Source update 2016-09-05 19:04:34 +02:00
Konstantin Käfer
46b73b8a2c [core] Source::update => Source::{load,parse}Tiles, Source::load => Source::loadDescription 2016-09-05 19:03:27 +02:00
John Firebaugh
a79d2afe1b [core] Rename data ⇢ tile; use Resource::Necessity 2016-08-26 10:30:55 -07:00
John Firebaugh
8ac03f3870 [core] Inline Source::Impl::getTile 2016-08-26 10:30:55 -07:00
Bruno de Oliveira Abinader
427773d31a [core] Micro-optimizations in geometry code 2016-07-26 16:35:29 +03:00
John Firebaugh
900568cfb0 [core] Runtime source API: private impls 2016-06-16 13:27:15 -07:00