On Fri, 30 Nov 2001, Gareth Hughes wrote:

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

Well, how would an 800x600 display work on it then? The iBook's display is
800x600, and as it works now (the 64 X pScrn->bitsPerPixel value) the X
server always gets the wrong line pitch (832) because 800 is not a round
multiple of 64. With the existing code, the X server has to be forced into
doing the "right" thing. With my change, it does the right thing
completely by itself.

I don't have the Rage128 docs, I can only tell you what I'm seeing here -
and that's what I'm seeing. If the docs claim that the line pitch must be
a multiple of 64 pixels, maybe the docs are incorrect. (Would it be the
first time?)

Derrik Pates      |   Sysadmin, Douglas School   |    #linuxOS on EFnet
[EMAIL PROTECTED] |     District (dsdk12.net)    |    #linuxOS on OPN


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

Reply via email to