Commit Graph

8 Commits (f5fe8a072346c1792d4f86ad0f72708c6a55f11b)

Author SHA1 Message Date
Kelebek1 f1cfd9c219 Fix ScratchBuffer moves 2 years ago
Morph b8c906f9d1 scratch_buffer: Add member types to ScratchBuffer
Allows for implicit conversion to std::span<T>.
2 years ago
Kelebek1 5da70f7197 Remove memory allocations in some hot paths 2 years ago
Kelebek1 bf08bc3c0f Allow Fermi blit accelerate to add src/dst to the cache if they don't exist already. Use ScratchBuffers in the software blit path. 2 years ago
ameerj 090bc588e5 texture_cache: Add async texture decoding 3 years ago
ameerj c6590ad07b scratch_buffer: Explicitly defing resize and resize_destructive functions
resize keeps previous data intact when the buffer grows
resize_destructive destroys the previous data when the buffer grows
3 years ago
ameerj 64869807e2 tests: Add ScratchBuffer tests 3 years ago
ameerj cfc34dd41d common: Add ScratchBuffer class
This class creates a default initialized heap allocated buffer for cases where value initializing members during allocation or resize
is redundant.
3 years ago