On 5/5/05, Brian Paul <[EMAIL PROTECTED]> wrote:
Weird. Have you tried different pixel formats? Maybe one of the span routines is wrong (duplicating R or G or B across all components). Though I don't see anything wrong after a quick look.
fbFillInModes wasn't quite right. The wrong mode structure was causing the B/W fills. miniglxtest works now.
miniglxsample is still broken. It is double buffered. Drawing is going to back buffer but clears are going to front buffer. After swapbuffers I trap the first time state is set. I'm working on figuring out what is wrong.
In the new renderbuffer scheme, the span routines are passed a gl_renderbuffer pointer to indicate which buffer is to be drawn to. Previously, the driver's set_buffer() routine was called to indicate which buffer the span routines should operate on.
I don't think I'm calling the set_buffer() routine anymore inside _swrast_Clear(). I could try to fix that, but it would be temporary since the set_buffer() stuff is really obsolete now.
I'll check in code for the short-term fix, but we should really update the fbdri span code to respect the gl_renderbuffer parameter.
I think this'll solve your problem.
-Brian
------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 -- _______________________________________________ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel