[Mesa-dev] [PATCHv2 06/13] glsl: add a generic thread pool data structure
Ian Romanick
idr at freedesktop.org
Wed Aug 13 13:01:13 PDT 2014
On 07/09/2014 07:42 AM, Brian Paul wrote:
> On 07/09/2014 01:47 AM, Chia-I Wu wrote:
>> It can be used to implement, for example, threaded glCompileShader and
>> glLinkProgram.
>>
>> v2: allow tasks to "complete" other tasks
>>
>> Signed-off-by: Chia-I Wu <olv at lunarg.com>
>> ---
>> src/glsl/Makefile.am | 12 +-
>> src/glsl/Makefile.sources | 3 +-
>> src/glsl/tests/threadpool_test.cpp | 137 +++++++++++
>> src/glsl/threadpool.c | 476
>> +++++++++++++++++++++++++++++++++++++
>> src/glsl/threadpool.h | 67 ++++++
>
> Does the threadpool code have anything GLSL-specific in it? If not,
> maybe these files should go in src/mesa/main/
Or src/util these days. :)
More information about the mesa-dev
mailing list