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
Well, there's nothing in r128BindTexture that tries to allocate tObj->DriverData, so I'm either going to just put a guard in front of each of those move_to_tail's, or perhaps not call the init function at all, since it looks like a noop overall.

Keith




-------------------------------------------------------
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