Add TaggedScheduler, couple lifetime of tasks and orchestrator (#2398)
This commit is contained in:
@@ -59,7 +59,7 @@ RendererObserver& nullObserver() {
|
||||
Renderer::Impl::Impl(gfx::RendererBackend& backend_,
|
||||
float pixelRatio_,
|
||||
const std::optional<std::string>& localFontFamily_)
|
||||
: orchestrator(!backend_.contextIsShared(), localFontFamily_),
|
||||
: orchestrator(!backend_.contextIsShared(), backend_.getThreadPool(), localFontFamily_),
|
||||
backend(backend_),
|
||||
observer(&nullObserver()),
|
||||
pixelRatio(pixelRatio_) {}
|
||||
|
||||
Reference in New Issue
Block a user