[Mesa-dev] [PATCH 2/2] mesa: remove the ctx->Driver.IsTextureResident() hook

Brian Paul brianp at vmware.com
Tue Dec 6 07:41:02 PST 2011


On 12/05/2011 11:34 AM, Ian Romanick wrote:
> On 12/03/2011 09:07 AM, Brian Paul wrote:
>> No driver implemented this and we always returned "True" for residence
>> queries.
>
> Most useless query evar.
>
> Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
>
> Is there's some similar infrastructure for querying residence of ARB
> vertex shaders? I think that can also die.

The ctx->Driver.IsProgramNative() hook is used by the 
gl_GetProgramivARB(GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB) query.

I'll look at removing that someday too.

-Brian


More information about the mesa-dev mailing list