summaryrefslogtreecommitdiff
path: root/src/common/scratch_buffer.h
AgeCommit message (Collapse)Author
2023-07-04Fix ScratchBuffer movesKelebek1
2023-06-30scratch_buffer: Add member types to ScratchBufferMorph
Allows for implicit conversion to std::span<T>.
2023-06-22Remove memory allocations in some hot pathsKelebek1
2023-05-11Allow Fermi blit accelerate to add src/dst to the cache if they don't exist ↵Kelebek1
already. Use ScratchBuffers in the software blit path.
2023-02-22texture_cache: Add async texture decodingameerj
2022-12-19scratch_buffer: Explicitly defing resize and resize_destructive functionsameerj
resize keeps previous data intact when the buffer grows resize_destructive destroys the previous data when the buffer grows
2022-12-19tests: Add ScratchBuffer testsameerj
2022-12-19common: Add ScratchBuffer classameerj
This class creates a default initialized heap allocated buffer for cases where value initializing members during allocation or resize is redundant.