On Thu, Nov 28, 2002 at 12:57:52PM +0000, Keith Whitwell wrote:
> Ian Romanick wrote:
> > CVSROOT:    /cvsroot/dri
> > Module name:        xc
> > Repository: xc/xc/lib/GL/mesa/src/drv/r128/
> > Changes by: idr@sc8-pr-cvs1.        02/11/27 12:47:44
> > 
> > Log message:
> >   Initial pass at adding texmem support to Rage128 driver.  These
> >   changes have not yet been tested as I don't have access to Rage128
> >   hardware.  I will post to dri-devel to beg for help.
> 
> 
> I fixed one trivial problem with turning on extensions (is that *strictly* a 
> texmem change, Ian?)
> 
> Now I've got this:
> 
> Program received signal SIGSEGV, Segmentation fault.
> 0x4047258c in driInitTextureObjects (ctx=0x8056b18, swapped=0x8054e00,
>      targets=3) at texmem.c:802
> 802              move_to_tail( swapped, (driTextureObject *) texObj->DriverData );
> (gdb) print swapped
> $1 = (driTextureObject *) 0x8054e00
> (gdb) print *swapped
> $2 = {next = 0x8054e00, prev = 0x8054e00, heap = 0x0, tObj = 0x0,
>    memBlock = 0x0, bound = 0, totalSize = 0, dirty_images = {0, 0, 0, 0, 0, 0}}
> (gdb) print texObj->DriverData
> $3 = (void *) 0x0

I seem to recall having a similar issue when I added texmem support to the
MGA driver.  There was some subtle difference in the handling of the
DriverData pointer between the pre-radeon drivers and the post-radeon
drivers.  This is at the top of my queue today...

-- 
Smile!  http://antwrp.gsfc.nasa.gov/apod/ap990315.html


-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T 
handheld. Power & Color in a compact size! 
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to