diff options
author | Nicolai Hähnle <[email protected]> | 2016-09-06 14:43:00 +0200 |
---|---|---|
committer | Nicolai Hähnle <[email protected]> | 2016-09-27 16:44:42 +0200 |
commit | 84f156c0cbf0deb0f51163dc3fd6b09a62270c50 (patch) | |
tree | d3473348930a8d87361aaf86d25931086881bb29 /src/gallium/drivers/r300 | |
parent | b3ebc229dcd5d1cc882443f9b851890b00cd9dbc (diff) |
gallium/pipebuffer: add pb_slab utility
This is a simple framework for slab allocation from buffers that fits into
the buffer management scheme of the radeon and amdgpu winsyses where bufmgrs
aren't used.
The utility knows about different sized allocations and explicitly manages
reclaim of allocations that have pending fences. It manages all the free lists
but does not actually touch buffer objects directly, relying on callbacks for
that.
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r300')
0 files changed, 0 insertions, 0 deletions