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

Marek Olšák maraeo at gmail.com
Fri Jan 27 11:00:45 UTC 2017


On Fri, Jan 27, 2017 at 10:05 AM, Nicolai Hähnle <nhaehnle at gmail.com> wrote:
> On 27.01.2017 00:51, Marek Olšák wrote:
>>
>> From: Marek Olšák <marek.olsak at amd.com>
>>
>> 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 how are you planning to deal with the bind
> flags? They are currently set differently for different upload mgrs. We
> should probably do away with them entirely anyway.

Drivers can set the bind flags they need. Some drivers will set all 3
bind flags. Other drivers don't have to set any.

Marek


More information about the mesa-dev mailing list