summaryrefslogtreecommitdiff
path: root/src/common/scratch_buffer.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-07-04Fix ScratchBuffer movesGravatar Kelebek11-2/+15
2023-06-30scratch_buffer: Add member types to ScratchBufferGravatar Morph1-20/+26
Allows for implicit conversion to std::span<T>.
2023-06-22Remove memory allocations in some hot pathsGravatar Kelebek11-0/+9
2023-05-11Allow Fermi blit accelerate to add src/dst to the cache if they don't exist ↵Gravatar Kelebek11-0/+9
already. Use ScratchBuffers in the software blit path.
2023-02-22texture_cache: Add async texture decodingGravatar ameerj1-0/+1
2022-12-19scratch_buffer: Explicitly defing resize and resize_destructive functionsGravatar ameerj1-0/+17
resize keeps previous data intact when the buffer grows resize_destructive destroys the previous data when the buffer grows
2022-12-19tests: Add ScratchBuffer testsGravatar ameerj1-5/+9
2022-12-19common: Add ScratchBuffer classGravatar ameerj1-0/+74
This class creates a default initialized heap allocated buffer for cases where value initializing members during allocation or resize is redundant.