[Openchrome-users] Max Texture Size

Jon Nettleton jon.nettleton
Sat Sep 16 13:35:44 PDT 2006


On Sat, 2006-09-16 at 15:39 -0400, Jon Nettleton wrote:
> On Fri, 2006-09-15 at 21:46 -0400, Jon Nettleton wrote:
> > On Thu, 2006-09-14 at 23:52 +0200, Benno Schulenberg wrote:
> > > Thomas Hellstr?m wrote:
> > > > Boris Du?ek wrote:
> > > > > I have completed a patch, all getenv's have their
> > > > > driQueryOptionb counterparts now.
> > > >
> > > > First try to use a unified diff format, diff -u or cvs diff -u.
> > > 
> > > Attached a unified patch, including the changes that Thomas 
> > > proposed: renaming the textures option, moving the pageflip option 
> > > to the performance section, and removal of the throttling option.
> > > 
> > > The thing doesn't compile, though, but I don't understand what is 
> > > going wrong:
> > > 
> > > via_screen.c:70: error: syntax error before "DRI_CONF_PAGEFLIP"
> > 
> > I moved the definition fore DRI_CONF_PAGEFLIP from t_options.h back into
> > via_screen.c and removed the call to gettext on "Enable page flipping"
> > and it compiled.  I have absolutely no idea why that configuration
> > worked and others didn't.  Maybe someone who knows the ins and outs of
> > gcc better than me can use that as a jumping off point to figure out the
> > real problem.
> 
> Never mind tracked down the problem.  t_options.h is not actually used
> but used to generate options.h in xmlpool that merges t_options.h with
> the translations available.  xgettext and a script called gen_xmlpool.py
> are used to generate a new options.h.  I can generate a patch for anyone
> interested in trying it out.

One more quick find.

if (driQueryOptioni(&vmesa->optionCache, "excess_mipmap"))

in via_context.c needs to be changed to

if (driQueryOptionb(&vmesa->optionCache, "excess_mipmap"))


Jon





More information about the Openchrome-users mailing list