> Am I reading this correctly, that now we free a slab [for a tiled
> texture] before allocating new one? The commit message seems rather
> cryptic.

Yeah, it's a super minor fix. Rather than allocating a new slab for the
texture and then freeing the old slab, we free then allocate.
Practically, it's identical (since there's no dependency, and they ought
to be the same size...), but it does avoid having to expand the pool if
we're right on the edge. Almost nitpick level, but hey, if it makes
memory use slightly lower and performance slightly more predictable :)
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to