Re: [Mesa-dev] [PATCH 6/6] intel: Detile stencil buffer only if necessary

2011-11-16 Thread Chad Versace
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/15/2011 06:17 PM, Eric Anholt wrote: > On Tue, 15 Nov 2011 08:06:34 -0800, Chad Versace > wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> On 11/14/2011 04:03 PM, Eric Anholt wrote: >>> On Mon, 14 Nov 2011 14:29:51 -0800, Chad Ve

Re: [Mesa-dev] [PATCH 6/6] intel: Detile stencil buffer only if necessary

2011-11-16 Thread Chad Versace
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/15/2011 06:16 PM, Eric Anholt wrote: > On Sun, 13 Nov 2011 22:32:15 -0800, Chad Versace > wrote: >> In intel_map_renderbuffer_s8(), detile and copy the stencil buffer into >> the temporary buffer only if the renderbuffer is mapped in read mode.

Re: [Mesa-dev] [PATCH 6/6] intel: Detile stencil buffer only if necessary

2011-11-15 Thread Eric Anholt
On Sun, 13 Nov 2011 22:32:15 -0800, Chad Versace wrote: > In intel_map_renderbuffer_s8(), detile and copy the stencil buffer into > the temporary buffer only if the renderbuffer is mapped in read mode. If > the caller never going to read the bits but just clobber them, then it's > wasted effort t

[Mesa-dev] [PATCH 6/6] intel: Detile stencil buffer only if necessary

2011-11-13 Thread Chad Versace
In intel_map_renderbuffer_s8(), detile and copy the stencil buffer into the temporary buffer only if the renderbuffer is mapped in read mode. If the caller never going to read the bits but just clobber them, then it's wasted effort to detile the stencil buffer. CC: Eric Anholt Signed-off-by: Chad