diff options
author | Tim Rowley <[email protected]> | 2016-03-30 19:24:32 -0600 |
---|---|---|
committer | Tim Rowley <[email protected]> | 2016-04-12 11:52:05 -0500 |
commit | 06c59dc417661cda41b50aa57656a848434acbb4 (patch) | |
tree | 5f6176257a8764e99fb0b568123cbcc5b37d3410 /src/gallium/drivers/swr/swr_context.h | |
parent | b990483de21cd99a94a098bb0eb397ba86b7b2a6 (diff) |
swr: [rasterizer] Put in rudimentary garbage collection for the global arena allocator
- Check for unused blocks every few frames or every 64K draws
- Delete data unused since the last check if total unused data is > 20MB
Doesn't seem to cause a perf degridation
Acked-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/drivers/swr/swr_context.h')
0 files changed, 0 insertions, 0 deletions