On Fri, Nov 30, 2001 at 01:48:16AM -0700, Derrik Pates wrote: > On 30 Nov 2001, Michel Dänzer wrote: > > > I'll see to it that it gets fixed, but I'd like to check the docs for > > what the value should really be. I hope I'll get around to it this > > weekend. > > Well, the tdfx driver uses 16 * pScrn->bitsPerPixel, and that's the value > I've been using. 64 * pScrn->bitsPerPixel obviously can't be right, > it's why the X server wants a row with of 832 on this iBook, requiring you > to jump through weird hoops to force it into doing the right thing. 32 * > pScrn->bitsPerPixel should also work, unless I'm just not thinking of any > "unusual" dimension modes that would require 16-pixel resolution to get > the right line width. > > I'm actually surprised it's not just standardized across all the drivers.
If I remember correctly, the hardware requires pitches to be multiples of 64 (that's pixels, not bytes). It's been a while, but we don't do that sort of thing for nothing... -- Gareth _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel