Re: Software fallback fixes and R300 driver work

2004-09-24 Thread Brian Paul
Nicolai Haehnle wrote: Hi, apparently I'm the first to use a full software fallback for glClear(), as I ran into a few problems that the attached patch should fix: - spantmp.h doesn't check for NULL masks - add a WriteMonoDepthSpan function to the swrast to driver interface - use this function to

Software fallback fixes and R300 driver work

2004-09-23 Thread Nicolai Haehnle
Hi, apparently I'm the first to use a full software fallback for glClear(), as I ran into a few problems that the attached patch should fix: - spantmp.h doesn't check for NULL masks - add a WriteMonoDepthSpan function to the swrast to driver interface - use this function to clear the depth

Re: Software fallback fixes and R300 driver work

2004-09-23 Thread Eric Anholt
On Thu, 2004-09-23 at 18:15, Nicolai Haehnle wrote: One thing I noticed in the process: r200Flush() unconditionally calls r200EmitState(). Is this really necessary? I was assuming that glFlush() could be a noop when it's not preceded by any rendering commands. While I suspect this would be

Re: Software fallback fixes and R300 driver work

2004-09-23 Thread Alex Deucher
On Fri, 24 Sep 2004 03:15:01 +0200, Nicolai Haehnle [EMAIL PROTECTED] wrote: Hi, apparently I'm the first to use a full software fallback for glClear(), as I ran into a few problems that the attached patch should fix: - spantmp.h doesn't check for NULL masks - add a WriteMonoDepthSpan