diff options
author | Michel Dänzer <michel@tungstengraphics.com> | 2008-04-21 10:45:11 +0200 |
---|---|---|
committer | Michel Dänzer <michel@tungstengraphics.com> | 2008-04-21 10:45:11 +0200 |
commit | 6c95fae1e9d6b0eb64bc78eced05a6e9f5faf02e (patch) | |
tree | f416d1c8382e0281653b6ca0dcc0f08885210b54 /hw/xfree86/common/xf86AutoConfig.c | |
parent | 40c6be1408a1f0b236fdb28af27ae18aea0d578f (diff) |
EXA: Offscreen memory eviction improvements.
* Make sure available areas are considered to have no eviction cost. This seems
to help for https://bugs.freedesktop.org/show_bug.cgi?id=15513 but I'm afraid
that may just be coincidence.
* Only calculate eviction cost of each area once for each eviction pass.
Safeguard against potential (though unlikely) division by zero.
* Cosmetic enhancements: Name eviction cost related variables 'cost' instead of
'score' to emphasize that smaller values are better, update Doxygen file
comment to the way eviction works now.
Diffstat (limited to 'hw/xfree86/common/xf86AutoConfig.c')
0 files changed, 0 insertions, 0 deletions