Re: [Mesa-dev] [PATCH] gallium/util: Upload manager optimizations

2011-03-11 Thread José Fonseca
On Fri, 2011-03-11 at 02:06 -0800, Thomas Hellstrom wrote: > On 03/10/2011 04:57 PM, José Fonseca wrote: > > On Thu, 2011-03-10 at 06:01 -0800, Thomas Hellstrom wrote: > > > >> Make sure that the upload manager doesn't upload data that's not > >> dirty. This speeds up the viewperf test proe-04/

Re: [Mesa-dev] [PATCH] gallium/util: Upload manager optimizations

2011-03-11 Thread Thomas Hellstrom
On 03/10/2011 04:57 PM, José Fonseca wrote: On Thu, 2011-03-10 at 06:01 -0800, Thomas Hellstrom wrote: Make sure that the upload manager doesn't upload data that's not dirty. This speeds up the viewperf test proe-04/1 a factor 5 or so on svga. Sweet! A few comments inline Also

Re: [Mesa-dev] [PATCH] gallium/util: Upload manager optimizations

2011-03-10 Thread José Fonseca
On Thu, 2011-03-10 at 06:01 -0800, Thomas Hellstrom wrote: > Make sure that the upload manager doesn't upload data that's not > dirty. This speeds up the viewperf test proe-04/1 a factor 5 or so on svga. Sweet! A few comments inline > Also introduce an u_upload_unmap() function that can be used

[Mesa-dev] [PATCH] gallium/util: Upload manager optimizations

2011-03-10 Thread Thomas Hellstrom
Make sure that the upload manager doesn't upload data that's not dirty. This speeds up the viewperf test proe-04/1 a factor 5 or so on svga. Also introduce an u_upload_unmap() function that can be used instead of u_upload_flush() so that we can pack even more data in upload buffers. With this we c