Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/angle2/src/libANGLE/
DWorkerThread.h24 class WorkerThreadPool; variable
46 void setWorkerThreadPool(std::shared_ptr<WorkerThreadPool> pool) { mPool = pool; } in setWorkerThreadPool()
59 std::shared_ptr<WorkerThreadPool> mPool;
72 class WorkerThreadPool : angle::NonCopyable
75 WorkerThreadPool();
76 virtual ~WorkerThreadPool();
78 static std::shared_ptr<WorkerThreadPool> Create(bool multithreaded);
79 static std::shared_ptr<WaitableEvent> PostWorkerTask(std::shared_ptr<WorkerThreadPool> pool,
DWorkerThread_unittest.cpp30 std::array<std::shared_ptr<WorkerThreadPool>, 2> pools = { in TEST()
31 {WorkerThreadPool::Create(false), WorkerThreadPool::Create(true)}}; in TEST()
38 {WorkerThreadPool::PostWorkerTask(pool, tasks[0]), in TEST()
39 WorkerThreadPool::PostWorkerTask(pool, tasks[1]), in TEST()
40 WorkerThreadPool::PostWorkerTask(pool, tasks[2]), in TEST()
41 WorkerThreadPool::PostWorkerTask(pool, tasks[3])}}; in TEST()
DWorkerThread.cpp36 WorkerThreadPool::WorkerThreadPool() = default;
37 WorkerThreadPool::~WorkerThreadPool() = default;
56 class SingleThreadedWorkerPool final : public WorkerThreadPool
131 class AsyncWorkerPool final : public WorkerThreadPool
256 class DelegateWorkerPool final : public WorkerThreadPool
318 std::shared_ptr<WorkerThreadPool> WorkerThreadPool::Create(bool multithreaded) in Create()
320 std::shared_ptr<WorkerThreadPool> pool(nullptr); in Create()
326 pool = std::shared_ptr<WorkerThreadPool>(new DelegateWorkerPool()); in Create()
332 pool = std::shared_ptr<WorkerThreadPool>( in Create()
338 return std::shared_ptr<WorkerThreadPool>(new SingleThreadedWorkerPool()); in Create()
[all …]
DShader.h41 class WorkerThreadPool; variable
DContext.h582 std::shared_ptr<angle::WorkerThreadPool> getWorkerThreadPool() const { return mThreadPool; } in getWorkerThreadPool()
791 std::shared_ptr<angle::WorkerThreadPool> mThreadPool;
DContext.cpp4063 mThreadPool = angle::WorkerThreadPool::Create( in updateCaps()
8945 mThreadPool = angle::WorkerThreadPool::Create(count > 0); in maxShaderCompilerThreads()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/
DShaderImpl.cpp97 angle::WorkerThreadPool::PostWorkerTask(workerThreadPool, translateTask), translateTask); in compileImpl()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/
DShaderMtl.mm98 this, angle::WorkerThreadPool::PostWorkerTask(workerThreadPool, translateTask),
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
DProgramD3D.cpp921 LoadBinaryLinkEvent(std::shared_ptr<WorkerThreadPool> workerPool, in LoadBinaryLinkEvent()
926 mWaitableEvent(angle::WorkerThreadPool::PostWorkerTask(workerPool, mTask)) in LoadBinaryLinkEvent()
1790 std::shared_ptr<WorkerThreadPool> workerPool, in GraphicsProgramLinkEvent()
1802 angle::WorkerThreadPool::PostWorkerTask(workerPool, mVertexTask)), in GraphicsProgramLinkEvent()
1804 angle::WorkerThreadPool::PostWorkerTask(workerPool, mPixelTask)), in GraphicsProgramLinkEvent()
1806 angle::WorkerThreadPool::PostWorkerTask(workerPool, mGeometryTask))}}), in GraphicsProgramLinkEvent()
1983 WorkerThreadPool::PostWorkerTask(context->getWorkerThreadPool(), computeTask); in compileComputeExecutable()
DShaderD3D.cpp375 angle::WorkerThreadPool::PostWorkerTask(workerThreadPool, translateTask), compilerInstance, in compile()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
DShaderGL.cpp421 angle::WorkerThreadPool::PostWorkerTask(workerThreadPool, translateTask), in compile()
DProgramGL.cpp197 LinkEventGL(std::shared_ptr<angle::WorkerThreadPool> workerPool, in LinkEventGL()
202 angle::WorkerThreadPool::PostWorkerTask(workerPool, mLinkTask))), in LinkEventGL()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DRendererVk.cpp3056 angle::WorkerThreadPool::PostWorkerTask(context->getWorkerThreadPool(), in syncPipelineCacheVk()