[Mesa-dev] [PATCH] gallium/radeon: always unmap textures on 32-bit
Marek Olšák
maraeo at gmail.com
Mon Feb 1 10:39:20 PST 2016
On Mon, Feb 1, 2016 at 6:59 PM, Axel Davy <axel.davy at ens.fr> wrote:
> Hi,
>
> This path is used for vertex buffers as well, right ?
No. It's only used by textures.
>
> Most d3d9 games are 32 bits, I guess your change would slow down a lot of
> d3d9 games.
>
> I suggest rather to really unmap, except if the resource was already
> mapped/unmapped, ... say 5 times.
>
> That way if the resource is frequently mapped, you get the optimization,
> else for most resources, which get mapped once or two times, you don't keep
> the additionnal memory storage.
The storage is always released, but it can be kept in the winsys's
reusable pool for a while.
Marek
More information about the mesa-dev
mailing list