texture_cache: Add async texture decoding

This commit is contained in:
ameerj 2023-02-22 00:26:07 -05:00
parent 8f3e2a1b48
commit 090bc588e5
4 changed files with 89 additions and 0 deletions

View file

@ -23,6 +23,7 @@ public:
buffer{Common::make_unique_for_overwrite<T[]>(initial_capacity)} {}
~ScratchBuffer() = default;
ScratchBuffer(ScratchBuffer&&) = default;
/// This will only grow the buffer's capacity if size is greater than the current capacity.
/// The previously held data will remain intact.