/aosp_15_r20/external/angle/src/common/ |
H A D | WorkerThread.cpp | 60 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 D | WorkerThread.h | 26 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 D | WorkerThread_unittest.cpp | 30 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 D | AstcDecompressorPerf.cpp | 22 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 D | AstcDecompressor.h | 17 class WorkerThreadPool; variable 49 virtual int32_t decompress(std::shared_ptr<WorkerThreadPool> singleThreadPool, 50 std::shared_ptr<WorkerThreadPool> multiThreadPool,
|
H A D | AstcDecompressor.cpp | 187 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 D | AstcDecompressorNoOp.cpp | 22 int32_t decompress(std::shared_ptr<WorkerThreadPool> singleThreadPool, in decompress() 23 std::shared_ptr<WorkerThreadPool> multiThreadPool, in decompress()
|
H A D | AstcDecompressor_unittest.cpp | 27 auto singleThreadedPool = WorkerThreadPool::Create(1, ANGLEPlatformCurrent()); in TEST() 28 auto multiThreadedPool = WorkerThreadPool::Create(0, ANGLEPlatformCurrent()); in TEST()
|
H A D | loadimage.h | 18 class WorkerThreadPool; variable 27 std::shared_ptr<WorkerThreadPool> singleThreadPool; 28 std::shared_ptr<WorkerThreadPool> multiThreadPool;
|
/aosp_15_r20/external/angle/src/libANGLE/ |
H A D | CLPlatform.h | 79 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 D | Display.h | 92 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 D | Context.h | 738 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 D | Program.cpp | 99 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 D | Shader.h | 45 class WorkerThreadPool; variable
|
H A D | CLPlatform.cpp | 284 mMultiThreadPool(mImpl ? angle::WorkerThreadPool::Create(0, ANGLEPlatformCurrent()) : nullptr)
|
H A D | Display.cpp | 1151 mState.singleThreadPool = angle::WorkerThreadPool::Create(1, ANGLEPlatformCurrent()); in initialize() 1152 mState.multiThreadPool = angle::WorkerThreadPool::Create(0, ANGLEPlatformCurrent()); in initialize()
|
H A D | Context.cpp | 9345 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()
|