From: Michel <da...@de...> - 2001-11-30 09:05:38
|
On Fri, 2001-11-30 at 09:48, Derrik Pates wrote: > On 30 Nov 2001, Michel D=E4nzer wrote: >=20 > > 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. >=20 > 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 yo= u > 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. >=20 > I'm actually surprised it's not just standardized across all the drivers. If all drivers were supposed to use the same value, why would it have to be passed to the function at all? I assume it's hardware specific. I'll look it up in the docs. --=20 Earthling Michel D=E4nzer (MrCooper)/ Debian GNU/Linux (powerpc) developer XFree86 and DRI project member / CS student, Free Software enthusiast |