Re: [Mesa3d-dev] dri-extension branch - clean up advertising extensions in Gallium

2010-03-08 Thread Roland Scheidegger
Well I guess another solution would be to just call it directly from the place the dri_extennsion code initially was, i.e. in dri_create_context. Roland On 08.03.2010 17:21, Jakob Bornecrantz wrote: > Calling dri code from src/mesa/state_tracker is not allowed since it > supposed to be independ

Re: [Mesa3d-dev] dri-extension branch - clean up advertising extensions in Gallium

2010-03-08 Thread Jakob Bornecrantz
Calling dri code from src/mesa/state_tracker is not allowed since it supposed to be independent of windowing systems. That said from what I can see both driInitExtensions and driInitSignleExtension could be folded into mesa core, I can't see anything "dri special" about them. Cheers Jakob.

Re: [Mesa3d-dev] dri-extension branch - clean up advertising extensions in Gallium

2010-03-08 Thread Roland Scheidegger
Otherwise, looks good to me, but I'd prefer if someone more familiar with the extension handling code could give it a look. Roland On 08.03.2010 17:03, Marek Olšák wrote: > Alright, I will add driInitExtensions(ctx, NULL, TRUE) at the end of > st_init_extensions. Anything else I missed or is it O

Re: [Mesa3d-dev] dri-extension branch - clean up advertising extensions in Gallium

2010-03-08 Thread Marek Olšák
Alright, I will add driInitExtensions(ctx, NULL, TRUE) at the end of st_init_extensions. Anything else I missed or is it OK? -Marek On Mon, Mar 8, 2010 at 4:25 PM, Roland Scheidegger wrote: > On 08.03.2010 14:22, Joakim Sindholt wrote: > > On Mon, 2010-03-08 at 13:16 +0100, Roland Scheidegger wr

Re: [Mesa3d-dev] dri-extension branch - clean up advertising extensions in Gallium

2010-03-08 Thread Roland Scheidegger
On 08.03.2010 14:22, Joakim Sindholt wrote: > On Mon, 2010-03-08 at 13:16 +0100, Roland Scheidegger wrote: >> On 07.03.2010 20:26, Marek Olšák wrote: >>> This branch is aimed to address the following issues: >>> * Extensions are advertised in both st/mesa and st/dri, doing the same >>> thing in tw

Re: [Mesa3d-dev] dri-extension branch - clean up advertising extensions in Gallium

2010-03-08 Thread Joakim Sindholt
On Mon, 2010-03-08 at 13:16 +0100, Roland Scheidegger wrote: > On 07.03.2010 20:26, Marek Olšák wrote: > > This branch is aimed to address the following issues: > > * Extensions are advertised in both st/mesa and st/dri, doing the same > > thing in two places. > > * The inability to disable extens

Re: [Mesa3d-dev] dri-extension branch - clean up advertising extensions in Gallium

2010-03-08 Thread Roland Scheidegger
On 07.03.2010 20:26, Marek Olšák wrote: > This branch is aimed to address the following issues: > * Extensions are advertised in both st/mesa and st/dri, doing the same > thing in two places. > * The inability to disable extensions in pipe_screen::get_param because > st/dri overrides the decisions

[Mesa3d-dev] dri-extension branch - clean up advertising extensions in Gallium

2010-03-07 Thread Marek Olšák
This branch is aimed to address the following issues: * Extensions are advertised in both st/mesa and st/dri, doing the same thing in two places. * The inability to disable extensions in pipe_screen::get_param because st/dri overrides the decisions of st/mesa. Here's the branch: http://cgit.freede