Re: R100 readpixels acceleration

2004-12-01 Thread Brian Paul
Stephane Marchesin wrote: Ok, here is a new patch. Looks OK. Someone with a Radeon card should test this with the Mesa/progs/demos/readpix.c demo. Drag the readpix window off the left/right/bottom/top edges of the screen and make sure things look OK. Be sure to test both the front and back

Re: R100 readpixels acceleration

2004-12-01 Thread Dieter Ntzel
Am Sonntag, 28. November 2004 16:47 schrieb Stephane Marchesin: Dieter Nützel wrote: I've tested with r200 + r200_pntparam_1.diff (Roland's 'r200 large point sizes, ARB_point_parameters') patch. Get texture bug in 'gloss'. But only with 'cylinder' NOT with 'teapot'. Ok, here is a

Re: R100 readpixels acceleration

2004-12-01 Thread Dieter Nützel
Am Mittwoch, 1. Dezember 2004 16:55 schrieb Brian Paul: Stephane Marchesin wrote: Ok, here is a new patch. Looks OK. Someone with a Radeon card should test this with the Mesa/progs/demos/readpix.c demo. Drag the readpix window off the left/right/bottom/top edges of the screen and make

Re: R100 readpixels acceleration

2004-11-28 Thread Stephane Marchesin
Ok, here is a new patch. Stephane diff -x CVS -Naur ../../../../../Mesa.orig/src/mesa/drivers/dri/common/clip.h ./common/clip.h --- ../../../../../Mesa.orig/src/mesa/drivers/dri/common/clip.h 1970-01-01 01:00:00.0 +0100 +++ ./common/clip.h 2004-11-16 01:01:55.0 +0100 @@ -0,0

Re: R100 readpixels acceleration

2004-11-15 Thread Brian Paul
Stephane Marchesin wrote: Brian Paul wrote: I guess I'd like to see the clipping issues resolved before checking in the patch. Ok, I'm not sure I understood what you expect, but here is what I did : I used the mesa window space clipping routines and then added a dri/common/clip.h file that does

Re: R100 readpixels acceleration

2004-11-11 Thread Stephane Marchesin
Brian Paul wrote: I guess I'd like to see the clipping issues resolved before checking in the patch. Ok, I'm not sure I understood what you expect, but here is what I did : I used the mesa window space clipping routines and then added a dri/common/clip.h file that does the screen clipping.

Re: R100 readpixels acceleration

2004-11-11 Thread Stephane Marchesin
Brian Paul wrote: I guess I'd like to see the clipping issues resolved before checking in the patch. Ok, I'm not sure I understood what you expect, but here is what I did : I used the mesa window space clipping routines and then added a dri/common/clip.h file that does the screen clipping.

Re: R100 readpixels acceleration

2004-11-10 Thread Brian Paul
Stephane Marchesin wrote: Brian Paul wrote: I'll be checking in a fix for this soon. I've replaced the _swrast_clip_pixelrect() functions with two new functions: _mesa_clip_readpixels() and _mesa_clip_drawpixels(). The main difference is the later one obeys the scissor rectangle. The DRI

Re: R100 readpixels acceleration

2004-11-09 Thread Stephane Marchesin
Brian Paul wrote: I'll be checking in a fix for this soon. I've replaced the _swrast_clip_pixelrect() functions with two new functions: _mesa_clip_readpixels() and _mesa_clip_drawpixels(). The main difference is the later one obeys the scissor rectangle. The DRI drivers might use

R100 readpixels acceleration

2004-11-08 Thread Stephane Marchesin
Hi, The attached patch adds readpixel acceleration to the r100 based on what's done for the r200. This speeds-up readpix by a factor of 2 on x86, and much more on non-x86 systems which don't benefit from Ian's patch (like 8 times on itanium 2). Stephane diff -Naur radeon.old/Makefile

Re: R100 readpixels acceleration

2004-11-08 Thread Brian Paul
Brian Paul wrote: Stephane Marchesin wrote: Hi, The attached patch adds readpixel acceleration to the r100 based on what's done for the r200. This speeds-up readpix by a factor of 2 on x86, and much more on non-x86 systems which don't benefit from Ian's patch (like 8 times on itanium 2). I

Re: R100 readpixels acceleration

2004-11-08 Thread Brian Paul
Stephane Marchesin wrote: Hi, The attached patch adds readpixel acceleration to the r100 based on what's done for the r200. This speeds-up readpix by a factor of 2 on x86, and much more on non-x86 systems which don't benefit from Ian's patch (like 8 times on itanium 2). I only glanced over the