Add TaggedScheduler, couple lifetime of tasks and orchestrator (#2398)
This commit is contained in:
@@ -11,8 +11,8 @@ namespace mbgl {
|
||||
using namespace style;
|
||||
|
||||
RenderAnnotationSource::RenderAnnotationSource(Immutable<AnnotationSource::Impl> impl_,
|
||||
std::shared_ptr<Scheduler> threadPool_)
|
||||
: RenderTileSource(std::move(impl_), std::move(threadPool_)) {
|
||||
const TaggedScheduler& threadPool_)
|
||||
: RenderTileSource(std::move(impl_), threadPool_) {
|
||||
assert(LayerManager::annotationsEnabled);
|
||||
tilePyramid.setObserver(this);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user