Home
last modified time | relevance | path

Searched refs:WorkerThreadPool (Results 1 – 17 of 17) sorted by relevance

/aosp_15_r20/external/angle/src/common/
H A DWorkerThread.cpp60 WorkerThreadPool::WorkerThreadPool() = default;
61 WorkerThreadPool::~WorkerThreadPool() = default;
63 class SingleThreadedWorkerPool final : public WorkerThreadPool
87 class AsyncWorkerPool final : public WorkerThreadPool
206 class DelegateWorkerPool final : public WorkerThreadPool
280 std::shared_ptr<WorkerThreadPool> WorkerThreadPool::Create(size_t numThreads, in Create()
284 std::shared_ptr<WorkerThreadPool> pool(nullptr); in Create()
290 pool = std::shared_ptr<WorkerThreadPool>(new DelegateWorkerPool(platform)); in Create()
296 pool = std::shared_ptr<WorkerThreadPool>(new AsyncWorkerPool( in Create()
302 return std::shared_ptr<WorkerThreadPool>(new SingleThreadedWorkerPool()); in Create()
H A DWorkerThread.h26 class WorkerThreadPool; variable
105 class WorkerThreadPool : angle::NonCopyable
108 WorkerThreadPool();
109 virtual ~WorkerThreadPool();
117 static std::shared_ptr<WorkerThreadPool> Create(size_t numThreads, PlatformMethods *platform);
H A DWorkerThread_unittest.cpp30 std::array<std::shared_ptr<WorkerThreadPool>, 2> pools = { in TEST()
31 {WorkerThreadPool::Create(1, ANGLEPlatformCurrent()), in TEST()
32 WorkerThreadPool::Create(0, ANGLEPlatformCurrent())}}; in TEST()
/aosp_15_r20/external/angle/src/tests/perf_tests/
H A DAstcDecompressorPerf.cpp22 using angle::WorkerThreadPool;
51 std::shared_ptr<WorkerThreadPool> mSingleThreadPool;
52 std::shared_ptr<WorkerThreadPool> mMultiThreadPool;
60 mSingleThreadPool(WorkerThreadPool::Create(1, ANGLEPlatformCurrent())), in AstcDecompressorPerfTest()
61 mMultiThreadPool(WorkerThreadPool::Create(0, ANGLEPlatformCurrent())) in AstcDecompressorPerfTest()
/aosp_15_r20/external/angle/src/image_util/
H A DAstcDecompressor.h17 class WorkerThreadPool; variable
49 virtual int32_t decompress(std::shared_ptr<WorkerThreadPool> singleThreadPool,
50 std::shared_ptr<WorkerThreadPool> multiThreadPool,
H A DAstcDecompressor.cpp187 int32_t decompress(std::shared_ptr<WorkerThreadPool> singleThreadPool, in decompress()
188 std::shared_ptr<WorkerThreadPool> multiThreadPool, in decompress()
215 std::shared_ptr<WorkerThreadPool> &threadPool = in decompress()
H A DAstcDecompressorNoOp.cpp22 int32_t decompress(std::shared_ptr<WorkerThreadPool> singleThreadPool, in decompress()
23 std::shared_ptr<WorkerThreadPool> multiThreadPool, in decompress()
H A DAstcDecompressor_unittest.cpp27 auto singleThreadedPool = WorkerThreadPool::Create(1, ANGLEPlatformCurrent()); in TEST()
28 auto multiThreadedPool = WorkerThreadPool::Create(0, ANGLEPlatformCurrent()); in TEST()
H A Dloadimage.h18 class WorkerThreadPool; variable
27 std::shared_ptr<WorkerThreadPool> singleThreadPool;
28 std::shared_ptr<WorkerThreadPool> multiThreadPool;
/aosp_15_r20/external/angle/src/libANGLE/
H A DCLPlatform.h79 const std::shared_ptr<angle::WorkerThreadPool> &getMultiThreadPool() const;
91 std::shared_ptr<angle::WorkerThreadPool> mMultiThreadPool;
150 inline const std::shared_ptr<angle::WorkerThreadPool> &Platform::getMultiThreadPool() const in getMultiThreadPool()
H A DDisplay.h92 std::shared_ptr<angle::WorkerThreadPool> singleThreadPool;
93 std::shared_ptr<angle::WorkerThreadPool> multiThreadPool;
316 std::shared_ptr<angle::WorkerThreadPool> getSingleThreadPool() const in getSingleThreadPool()
320 std::shared_ptr<angle::WorkerThreadPool> getMultiThreadPool() const in getMultiThreadPool()
H A DContext.h738 std::shared_ptr<angle::WorkerThreadPool> getShaderCompileThreadPool() const;
739 std::shared_ptr<angle::WorkerThreadPool> getLinkSubTaskThreadPool() const;
746 std::shared_ptr<angle::WorkerThreadPool> getSingleThreadPool() const;
749 std::shared_ptr<angle::WorkerThreadPool> getWorkerThreadPool() const;
H A DProgram.cpp99 void ScheduleSubTasks(const std::shared_ptr<angle::WorkerThreadPool> &workerThreadPool, in ScheduleSubTasks()
534 MainLinkLoadTask(const std::shared_ptr<angle::WorkerThreadPool> &subTaskWorkerPool, in MainLinkLoadTask()
591 std::shared_ptr<angle::WorkerThreadPool> mSubTaskWorkerPool;
607 MainLinkTask(const std::shared_ptr<angle::WorkerThreadPool> &subTaskWorkerPool, in MainLinkTask()
646 MainLoadTask(const std::shared_ptr<angle::WorkerThreadPool> &subTaskWorkerPool, in MainLoadTask()
H A DShader.h45 class WorkerThreadPool; variable
H A DCLPlatform.cpp284 mMultiThreadPool(mImpl ? angle::WorkerThreadPool::Create(0, ANGLEPlatformCurrent()) : nullptr)
H A DDisplay.cpp1151 mState.singleThreadPool = angle::WorkerThreadPool::Create(1, ANGLEPlatformCurrent()); in initialize()
1152 mState.multiThreadPool = angle::WorkerThreadPool::Create(0, ANGLEPlatformCurrent()); in initialize()
H A DContext.cpp9345 std::shared_ptr<angle::WorkerThreadPool> Context::getShaderCompileThreadPool() const in getShaderCompileThreadPool()
9354 std::shared_ptr<angle::WorkerThreadPool> Context::getLinkSubTaskThreadPool() const in getLinkSubTaskThreadPool()
9369 std::shared_ptr<angle::WorkerThreadPool> workerPool = in postCompileLinkTask()
9394 std::shared_ptr<angle::WorkerThreadPool> Context::getSingleThreadPool() const in getSingleThreadPool()
9399 std::shared_ptr<angle::WorkerThreadPool> Context::getWorkerThreadPool() const in getWorkerThreadPool()