Re: [Mesa-dev] [PATCH 05/18] i965: Reuse our VBO for streaming fast-clear vertices

2015-07-08 Thread Martin Peres
On 08/07/15 12:01, Chris Wilson wrote: On Tue, Jul 07, 2015 at 01:42:47PM +0300, Martin Peres wrote: On 06/07/15 19:43, Kenneth Graunke wrote: On Monday, July 06, 2015 11:33:10 AM Chris Wilson wrote: Rather than allocating a fresh page every time we clear a buffer, keep that page around betwee

Re: [Mesa-dev] [PATCH 05/18] i965: Reuse our VBO for streaming fast-clear vertices

2015-07-08 Thread Chris Wilson
On Tue, Jul 07, 2015 at 01:42:47PM +0300, Martin Peres wrote: > On 06/07/15 19:43, Kenneth Graunke wrote: > >On Monday, July 06, 2015 11:33:10 AM Chris Wilson wrote: > >>Rather than allocating a fresh page every time we clear a buffer, keep > >>that page around between invocations by tracking the l

Re: [Mesa-dev] [PATCH 05/18] i965: Reuse our VBO for streaming fast-clear vertices

2015-07-07 Thread Martin Peres
On 06/07/15 19:43, Kenneth Graunke wrote: On Monday, July 06, 2015 11:33:10 AM Chris Wilson wrote: Rather than allocating a fresh page every time we clear a buffer, keep that page around between invocations by tracking the last used offset and only allocating a fresh page when we wrap. Signed-o

Re: [Mesa-dev] [PATCH 05/18] i965: Reuse our VBO for streaming fast-clear vertices

2015-07-06 Thread Kenneth Graunke
On Monday, July 06, 2015 11:33:10 AM Chris Wilson wrote: > Rather than allocating a fresh page every time we clear a buffer, keep > that page around between invocations by tracking the last used offset > and only allocating a fresh page when we wrap. > > Signed-off-by: Chris Wilson > --- > src/m

Re: [Mesa-dev] [PATCH 05/18] i965: Reuse our VBO for streaming fast-clear vertices

2015-07-06 Thread Martin Peres
On 06/07/15 13:33, Chris Wilson wrote: Rather than allocating a fresh page every time we clear a buffer, keep that page around between invocations by tracking the last used offset and only allocating a fresh page when we wrap. Signed-off-by: Chris Wilson Reviewed-by: Martin Peres --- src

[Mesa-dev] [PATCH 05/18] i965: Reuse our VBO for streaming fast-clear vertices

2015-07-06 Thread Chris Wilson
Rather than allocating a fresh page every time we clear a buffer, keep that page around between invocations by tracking the last used offset and only allocating a fresh page when we wrap. Signed-off-by: Chris Wilson --- src/mesa/drivers/dri/i965/brw_meta_fast_clear.c | 17 ++--- 1 fi