On Mon, Feb 1, 2016 at 6:59 PM, Axel Davy <axel.d...@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 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev