summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/nouveau/nouveau_swtnl_t.c
diff options
context:
space:
mode:
authorXavier Chantry <chantry.xavier@gmail.com>2010-03-13 19:28:07 +0100
committerFrancisco Jerez <currojerez@riseup.net>2010-03-18 15:02:34 +0100
commit50be9bc6ce8582b3d3cd4fa47976cbeac28b8c26 (patch)
treef428f467b77522af3fb9e27237c6f98a5dc13470 /src/mesa/drivers/dri/nouveau/nouveau_swtnl_t.c
parent9d48a621d2a0e55a76a2cfd0aea3b773e907ed50 (diff)
dri/nouveau: only reallocate texture when needed
nouveau reallocated the mipmap tree on every MIN_FILTER call to account for mipmap change. We only need to do this if the texture does not fit in the existing mipmap tree. This gives a big performance boost for a game like bzflag which changes MIN_FILTER all the time for its font rendering. Signed-off-by: Xavier Chantry <chantry.xavier@gmail.com> Signed-off-by: Francisco Jerez <currojerez@riseup.net>
Diffstat (limited to 'src/mesa/drivers/dri/nouveau/nouveau_swtnl_t.c')
0 files changed, 0 insertions, 0 deletions