Replace uv_messenger with AsyncQueue; rewrite remaining uv_* in C++

This commit is contained in:
John Firebaugh
2015-04-09 11:51:57 -07:00
parent 0b779eaa8b
commit 0c087603e6
18 changed files with 178 additions and 602 deletions

View File

@@ -215,7 +215,7 @@ TileData::State Source::hasTile(const TileID& id) {
return TileData::State::invalid;
}
TileData::State Source::addTile(Map &map, uv::worker &worker,
TileData::State Source::addTile(Map &map, Worker &worker,
util::ptr<Style> style, GlyphAtlas &glyphAtlas,
GlyphStore &glyphStore, SpriteAtlas &spriteAtlas,
util::ptr<Sprite> sprite, TexturePool &texturePool,
@@ -349,7 +349,7 @@ bool Source::findLoadedParent(const TileID& id, int32_t minCoveringZoom, std::fo
}
void Source::update(Map &map,
uv::worker &worker,
Worker &worker,
util::ptr<Style> style,
GlyphAtlas &glyphAtlas,
GlyphStore &glyphStore,