3
0
Fork 0
forked from suyu/suyu
suyu/src/video_core/buffer_cache
ReinUsesLisp a2dcc642c1 map_interval: Add interval allocator and drop hack
Drop the std::list hack to allocate memory indefinitely.

Instead use a custom allocator that keeps references valid until
destruction. This allocates fixed chunks of memory and puts pointers in
a free list. When an allocation is no longer used put it back to the
free list, this doesn't heap allocate because std::vector doesn't change
the capacity. If the free list is empty, allocate a new chunk.
2020-05-21 16:44:00 -03:00
..
buffer_block.h Buffer Cache: Use vAddr instead of physical memory. 2020-04-06 09:23:06 -04:00
buffer_cache.h map_interval: Add interval allocator and drop hack 2020-05-21 16:44:00 -03:00
map_interval.cpp map_interval: Add interval allocator and drop hack 2020-05-21 16:44:00 -03:00
map_interval.h map_interval: Add interval allocator and drop hack 2020-05-21 16:44:00 -03:00