mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-28 23:09:32 -05:00
Re-add and revert back to old ThreadPool. See ticket #128
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
****************************************************************************************/
|
||||
|
||||
#include <modules/globebrowsing/tile/tileproviderfactory.h>
|
||||
#include <modules/globebrowsing/other/threadpool.h>
|
||||
|
||||
#include <modules/globebrowsing/tile/tileprovider/singleimageprovider.h>
|
||||
#include <modules/globebrowsing/tile/tileprovider/cachingtileprovider.h>
|
||||
@@ -89,7 +90,7 @@ namespace openspace {
|
||||
config.minimumTilePixelSize = initData.minimumPixelSize;
|
||||
|
||||
auto tileDataset = std::make_shared<TileDataset>(desc, config);
|
||||
auto threadPool = std::make_shared<ghoul::ThreadPool>(1);
|
||||
auto threadPool = std::make_shared<ThreadPool>(1);
|
||||
auto tileReader = std::make_shared<AsyncTileDataProvider>(tileDataset, threadPool);
|
||||
auto tileCache = std::make_shared<TileCache>(initData.cacheSize);
|
||||
auto tileProvider = std::make_shared<CachingTileProvider>(tileReader, tileCache, initData.framesUntilRequestQueueFlush);
|
||||
|
||||
Reference in New Issue
Block a user