summaryrefslogtreecommitdiff
path: root/src/common/scratch_buffer.h
AgeCommit message (Collapse)Author
2025-01-14Revert incorrect copyright attribution for non-contributed filesZephyron
- In commit b3facaa6bb30cdc39f2b7d632fef1e3bfeee7785, the copyright header was updated to include "Citron Homebrew Project" across multiple files, regardless of whether any contributions were made. - This commit removes the incorrect attribution and reverts the copyright header to its previous state. - Copyright attribution should only be added when meaningful contributions have been made to the file. - This commit ensures proper compliance with copyright standards and maintains correct attribution to the respective contributors. - Special thanks to Tachi for pointing out the need for these corrections and ensuring that proper attribution practices are followed.
2024-12-31chore: update project references and add Citron copyrightZephyron
- Replaced all references to the old project name with Citron. - Added Citron copyright information alongside existing notices in all files.
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.