Re: [Mesa-dev] [RFC PATCH] gallium: add a common uploader to pipe_context

2017-02-06 Thread Marek Olšák
On Mon, Feb 6, 2017 at 9:58 PM, Brian Paul wrote: > On 02/06/2017 12:11 PM, Marek Olšák wrote: >> >> On Mon, Feb 6, 2017 at 5:15 PM, Brian Paul wrote: >>> >>> On 02/03/2017 02:41 PM, Marek Olšák wrote: On Fri, Feb 3, 2017 at 9:45 PM, Brian Paul wrote: > > > On 02/01/20

Re: [Mesa-dev] [RFC PATCH] gallium: add a common uploader to pipe_context

2017-02-06 Thread Brian Paul
On 02/06/2017 12:11 PM, Marek Olšák wrote: On Mon, Feb 6, 2017 at 5:15 PM, Brian Paul wrote: On 02/03/2017 02:41 PM, Marek Olšák wrote: On Fri, Feb 3, 2017 at 9:45 PM, Brian Paul wrote: On 02/01/2017 02:23 PM, Brian Paul wrote: On 01/27/2017 04:00 AM, Marek Olšák wrote: On Fri, Jan 2

Re: [Mesa-dev] [RFC PATCH] gallium: add a common uploader to pipe_context

2017-02-06 Thread Marek Olšák
On Mon, Feb 6, 2017 at 5:15 PM, Brian Paul wrote: > On 02/03/2017 02:41 PM, Marek Olšák wrote: >> >> On Fri, Feb 3, 2017 at 9:45 PM, Brian Paul wrote: >>> >>> On 02/01/2017 02:23 PM, Brian Paul wrote: On 01/27/2017 04:00 AM, Marek Olšák wrote: > > > On Fri, Jan 27, 2017

Re: [Mesa-dev] [RFC PATCH] gallium: add a common uploader to pipe_context

2017-02-06 Thread Brian Paul
On 02/03/2017 02:41 PM, Marek Olšák wrote: On Fri, Feb 3, 2017 at 9:45 PM, Brian Paul wrote: On 02/01/2017 02:23 PM, Brian Paul wrote: On 01/27/2017 04:00 AM, Marek Olšák wrote: On Fri, Jan 27, 2017 at 10:05 AM, Nicolai Hähnle wrote: On 27.01.2017 00:51, Marek Olšák wrote: From: Marek

Re: [Mesa-dev] [RFC PATCH] gallium: add a common uploader to pipe_context

2017-02-03 Thread Marek Olšák
On Fri, Feb 3, 2017 at 9:45 PM, Brian Paul wrote: > On 02/01/2017 02:23 PM, Brian Paul wrote: >> >> On 01/27/2017 04:00 AM, Marek Olšák wrote: >>> >>> On Fri, Jan 27, 2017 at 10:05 AM, Nicolai Hähnle >>> wrote: On 27.01.2017 00:51, Marek Olšák wrote: > > > From: Marek Olšák

Re: [Mesa-dev] [RFC PATCH] gallium: add a common uploader to pipe_context

2017-02-03 Thread Brian Paul
On 02/01/2017 02:23 PM, Brian Paul wrote: On 01/27/2017 04:00 AM, Marek Olšák wrote: On Fri, Jan 27, 2017 at 10:05 AM, Nicolai Hähnle wrote: On 27.01.2017 00:51, Marek Olšák wrote: From: Marek Olšák For lower memory usage and more efficient updates of the buffer residency list. (e.g. if dr

Re: [Mesa-dev] [RFC PATCH] gallium: add a common uploader to pipe_context

2017-02-01 Thread Brian Paul
On 01/27/2017 04:00 AM, Marek Olšák wrote: On Fri, Jan 27, 2017 at 10:05 AM, Nicolai Hähnle wrote: On 27.01.2017 00:51, Marek Olšák wrote: From: Marek Olšák For lower memory usage and more efficient updates of the buffer residency list. (e.g. if drivers keep seeing the same buffer for many

Re: [Mesa-dev] [RFC PATCH] gallium: add a common uploader to pipe_context

2017-01-27 Thread Marek Olšák
On Fri, Jan 27, 2017 at 10:05 AM, Nicolai Hähnle wrote: > On 27.01.2017 00:51, Marek Olšák wrote: >> >> From: Marek Olšák >> >> For lower memory usage and more efficient updates of the buffer residency >> list. (e.g. if drivers keep seeing the same buffer for many consecutive >> "add" calls, the

Re: [Mesa-dev] [RFC PATCH] gallium: add a common uploader to pipe_context

2017-01-27 Thread Nicolai Hähnle
On 27.01.2017 00:51, Marek Olšák wrote: From: Marek Olšák For lower memory usage and more efficient updates of the buffer residency list. (e.g. if drivers keep seeing the same buffer for many consecutive "add" calls, the calls can be turned into no-ops trivially) This makes sense to me, but h

[Mesa-dev] [RFC PATCH] gallium: add a common uploader to pipe_context

2017-01-26 Thread Marek Olšák
From: Marek Olšák For lower memory usage and more efficient updates of the buffer residency list. (e.g. if drivers keep seeing the same buffer for many consecutive "add" calls, the calls can be turned into no-ops trivially) --- src/gallium/include/pipe/p_context.h | 7 +++ 1 file changed, 7