On Mon, 15 Apr 2002, Leif Delgass wrote:

> On Tue, 16 Apr 2002, Jos� Fonseca wrote:
> 
> > On 2002.04.16 00:39 Felix K�hling wrote:
> > > Sorry, I forgot to redirect standard error to my world.log :(. In fact 
> > > the build of mach64_screen.o failed here, too with the same error 
> > > messages.
> > > 
> > >> These kind of problems happen when there some deep changes in headers 
> > >> (such as the branch as suffered lately) and you're building on a 
> > >> previous built tree. In these cases is better to remove completely the 
> > >> 'build' and 'lndir' it again. If you do 'make World' from the top dir 
> > >> almost everything is rebuilt anyway so there isn't much difference of 
> > >> time, in fact this is how the snapshots are made.
> > > 
> > > Ok, I tried it again with a new build tree. And it still doesn't work. 
> > > Maybe I should try a fresh checkout?
> > > 
> > 
> > No. I have the problem too. It's a new structure member that I added to 
> > the 2D driver, which compiles fine. I didn't noticed before the effect in 
> > the 3D driver as well. The R128 has this same structure member (which was 
> > from where I took it), so it's really a matter of a missing include 
> > somewhere.
> > 
> 
> BTW, I have this in my tree, but since you're working on this...  We
> should add IsPCI and AGPMode fields to ATIDRIRec in mach64_dri.h and
> initialize them in ATIDRIFinishScreenInit (atidri.c) from the
> ATIDRIServerInfoPtr values.  These will be needed for the Mesa driver
> (AGPMode is just for informational output in the renderer string).  I
> started adding some of the code to the Mesa driver to support AGP
> textures, and it needs these fields which will also need to be added to
> mach64_screen.h in the Mesa driver.  After this, we'll need to add some
> additional structure fields here and there for the AGP texture region, but
> this would be a good start, if you'd like to do the DDX side.
> 

The problem may be this: r128_dri.h uses int for IsPCI, but r128.h uses
Bool.  Also, the ATIDRIRec for mach64 is different from r128 as it's 
really part of the DDX driver structure, but it's pulled out into 
mach64_dri.h.

-- 
Leif Delgass 
http://www.retinalburn.net


_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to