diff options
author | Eric Anholt <eric@anholt.net> | 2009-02-12 03:54:58 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2009-09-30 11:27:27 -0700 |
commit | 49fbdd18ed738feaf73b7faba4d3577cd9cc3e59 (patch) | |
tree | 65a5cca320d3f4ad3baadefe975a3628982587e4 /src/mesa/math/m_translate.c | |
parent | b77469871a57240b33b61f12cde0da078470237b (diff) |
i965: Fix massive memory allocation for streaming texture usage.
Once we've freed a miptree, we won't see any more state cache requests
that would hit the things that pointed at it until we've let the miptree
get released back into the BO cache to be reused. By leaving those
surface state and binding table pointers that pointed at it around, we
would end up with up to (500 * texture size) in memory uselessly consumed
by the state cache.
Bug #20057
Bug #23530
Diffstat (limited to 'src/mesa/math/m_translate.c')
0 files changed, 0 insertions, 0 deletions