diff options
author | Ivo van Dongen <info@ivovandongen.nl> | 2017-07-25 11:25:33 +0300 |
---|---|---|
committer | Ivo van Dongen <ivovandongen@users.noreply.github.com> | 2017-07-25 17:44:28 +0300 |
commit | 565dfc91833fbac4d40ac13293225720919a0773 (patch) | |
tree | f3b52d07f31799a0a02816bf88db4433f0622c5c /benchmark/api/query.benchmark.cpp | |
parent | d2a437d0486dc262f0615b7d14e35a5c4b168742 (diff) | |
download | qtlocation-mapboxgl-565dfc91833fbac4d40ac13293225720919a0773.tar.gz |
[benchmark] manage backendscope in renderer frontend
Diffstat (limited to 'benchmark/api/query.benchmark.cpp')
-rw-r--r-- | benchmark/api/query.benchmark.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmark/api/query.benchmark.cpp b/benchmark/api/query.benchmark.cpp index db8e597dd3..8b96d02163 100644 --- a/benchmark/api/query.benchmark.cpp +++ b/benchmark/api/query.benchmark.cpp @@ -40,7 +40,7 @@ public: OffscreenView view{ backend.getContext(), { 1000, 1000 } }; DefaultFileSource fileSource{ "benchmark/fixtures/api/cache.db", "." }; ThreadPool threadPool{ 4 }; - AsyncRendererFrontend rendererFrontend { std::make_unique<Renderer>(backend, 1, fileSource, threadPool), view }; + AsyncRendererFrontend rendererFrontend { std::make_unique<Renderer>(backend, 1, fileSource, threadPool), backend, view }; Map map { rendererFrontend, MapObserver::nullObserver(), view.getSize(), 1, fileSource, threadPool, MapMode::Still }; ScreenBox box{{ 0, 0 }, { 1000, 1000 }}; }; |