[Mesa-dev] [PATCHv2 08/13] mesa: add infrastructure for threaded shader compilation
Ian Romanick
idr at freedesktop.org
Wed Aug 13 13:41:27 PDT 2014
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.
> };
>
>
More information about the mesa-dev
mailing list