Even if the singlesample_mt got reopened from DRI due to pageflipping/buffer swapping, our private miptree shouldn't need any changes.
Improves performance of a little swapbuffers-loving microbenchmark with MSAA forced on, by 1.2371% +/- 0.624802% (n=102)
dd4b226 i965: Skip reallocating the private MSAA miptree, unless it's resized.
src/mesa/drivers/dri/i965/intel_mipmap_tree.c | 45 +++++++++++++++----------
1 file changed, 28 insertions(+), 17 deletions(-)
Upstream: cgit.freedesktop.org