[Mesa-dev] [PATCH] gallium/st: Use driver name to access driconf

Maxim Levitsky maximlevitsky at gmail.com
Wed Aug 15 02:29:19 PDT 2012


On Wed, 2012-08-15 at 10:48 +0200, Michel Dänzer wrote: 
> On Mit, 2012-08-15 at 03:45 +0300, Maxim Levitsky wrote: 
> > This fixes fetching driconf options from the gallium drivers.
> > 
> > Patch written by, Carl-Philip Haensch
> > (http://lists.freedesktop.org/archives/mesa-dev/2011-May/007743.html)
> 
> This should be reflected in the Git authorship directly.
Don't know how to do this. 
> 
> 
> > @@ -103,8 +104,8 @@ dri_create_context(gl_api api, const struct gl_config * visual,
> >     ctx->cPriv = cPriv;
> >     ctx->sPriv = sPriv;
> >  
> > -   driParseConfigFiles(&ctx->optionCache,
> > -		       &screen->optionCache, sPriv->myNum, "dri");
> > +   driParseConfigFiles(&ctx->optionCache, &screen->optionCache,
> > +                        sPriv->myNum, driver_descriptor.name);
> 
> Unfortunately, this breaks the src/gallium/targets/dri-swrast build:
And stupid me tried to compile swrast today, and I wonder why it didn't
compile......
I see what I could do.

Best regards,
Maxim Levitsky



More information about the mesa-dev mailing list