[Mesa-dev] Mesa (master): dri: Remove all extension enabling utility functions

Ian Romanick idr at freedesktop.org
Sat Sep 10 00:21:28 PDT 2011



On Sep 9, 2011, at 3:07 PM, Brian Paul <brianp at vmware.com> wrote:

> On 09/09/2011 03:05 PM, Ian Romanick wrote:
>> Module: Mesa
>> Branch: master
>> Commit: 5a175127f38aa02d2b8169b1b6d08a2d4be3d36f
>> URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5a175127f38aa02d2b8169b1b6d08a2d4be3d36f
>>
>> Author: Ian Romanick<ian.d.romanick at intel.com>
>> Date:   Mon Aug 22 16:00:03 2011 -0700
>>
>> dri: Remove all extension enabling utility functions
>>
>> Reviewed-by: Kenneth Graunke<kenneth at whitecape.org>
>
> driInitExtensions() got removed, but it's still getting called from  
> some gallium code:
>
> $ grep driInitExtensions -r src/gallium/
> src/gallium/state_trackers/dri/common/dri_context.c:  
> driInitExtensions(st->ctx, NULL, GL_FALSE);
> src/gallium/state_trackers/dri/drm/dri_context.c: driInitExtensions 
> (st->ctx, NULL, GL_FALSE);
> src/gallium/state_trackers/dri/sw/dri_context.c: driInitExtensions 
> (st->ctx, NULL, GL_FALSE);
>
> I presume we can just remove those calls?
>
> -Brian

Oops! Yes. Those calls can just be removed. I didn't even think that  
anything outside src/mesa/drivers/dri would call that, so I only  
grepped in src/mesa.

(Sent from my phone.)


More information about the mesa-dev mailing list