1
0
Fork 0
forked from suyu/suyu
suyu/src/video_core/buffer_cache
ReinUsesLisp 090fd3fefa buffer_cache: Return handles instead of pointer to handles
The original idea of returning pointers is that handles can be moved.
The problem is that the implementation didn't take that in mind and made
everything harder to work with. This commit drops pointer to handles and
returns the handles themselves. While it is still true that handles can
be invalidated, this way we get an old handle instead of a dangling
pointer.

This problem can be solved in the future with sparse buffers.
2020-04-16 02:33:34 -03:00
..
buffer_block.h Buffer Cache: Use vAddr instead of physical memory. 2020-04-06 09:23:06 -04:00
buffer_cache.h buffer_cache: Return handles instead of pointer to handles 2020-04-16 02:33:34 -03:00
map_interval.h Buffer Cache: Use vAddr instead of physical memory. 2020-04-06 09:23:06 -04:00