Home
last modified time | relevance | path

Searched refs:maxThreads (Results 1 – 4 of 4) sorted by relevance

/external/angle/src/libANGLE/
DWorkerThread.cpp60 void setMaxThreads(size_t maxThreads) override;
72 void SingleThreadedWorkerPool::setMaxThreads(size_t maxThreads) {} in setMaxThreads() argument
134 AsyncWorkerPool(size_t maxThreads) : mMaxThreads(maxThreads), mRunningThreads(0) {} in AsyncWorkerPool() argument
138 void setMaxThreads(size_t maxThreads) override;
167 void AsyncWorkerPool::setMaxThreads(size_t maxThreads) in setMaxThreads() argument
171 mMaxThreads = (maxThreads == 0xFFFFFFFF ? std::thread::hardware_concurrency() : maxThreads); in setMaxThreads()
264 void setMaxThreads(size_t maxThreads) override;
309 void DelegateWorkerPool::setMaxThreads(size_t maxThreads) {} in setMaxThreads() argument
DWorkerThread.h82 virtual void setMaxThreads(size_t maxThreads) = 0;
/external/mesa3d/src/mesa/swrast/
Ds_context.c720 const GLuint maxThreads = omp_get_max_threads(); in _swrast_CreateContext() local
722 const GLuint maxThreads = 1; in _swrast_CreateContext() local
773 swrast->SpanArrays = malloc(maxThreads * sizeof(SWspanarrays)); in _swrast_CreateContext()
778 for(i = 0; i < maxThreads; i++) { in _swrast_CreateContext()
Ds_texcombine.c595 const GLint maxThreads = omp_get_max_threads(); in _swrast_texture_span() local
605 const GLint maxThreads = 1; in _swrast_texture_span()
613 malloc(ctx->Const.Program[MESA_SHADER_FRAGMENT].MaxTextureImageUnits * maxThreads * in _swrast_texture_span()