[Mesa-dev] [PATCHv2 08/13] mesa: add infrastructure for threaded shader compilation

Chia-I Wu olvaffe at gmail.com
Tue Aug 19 00:33:41 PDT 2014


On Thu, Aug 14, 2014 at 4:41 AM, Ian Romanick <idr at freedesktop.org> wrote:
> On 07/09/2014 12:47 AM, Chia-I Wu wrote:
>> @@ -3489,6 +3508,18 @@ struct gl_constants
>>     GLfloat MaxFragmentInterpolationOffset;
>>
>>     GLboolean FakeSWMSAA;
>> +
>> +   /*
>> +    * Defer certain operations to a thread pool.
>> +    *
>> +    * When DeferLinkProgram is set, these functions must be thread-safe
>> +    *
>> +    *   ctx->Driver.NewShader
>> +    *   ctx->Driver.DeleteShader
>> +    *   ctx->Driver.LinkShader
>> +    */
>> +   GLboolean DeferCompileShader;
>> +   GLboolean DeferLinkProgram;
>
> We're trying to make non-API facing things use bool instead.
Will do.
>
>>  };
>>
>>
>



-- 
olv at LunarG.com


More information about the mesa-dev mailing list