aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/engines/sw_blitter/blitter.cpp
Commit message (Collapse)AuthorAgeFilesLines
* sw_blitter: keep scratch buffers of up to 2 MiB between blitsTakoroka3 days1-3/+4
| | | | | | | | With 16 MiB, title 1's boot-time mip blits (64/16/4/1 MiB levels) left 16 buffers of 16 MiB, 256 MiB, in its 2D engines for the session. Larger buffers are now freed after the blit. (cherry picked from commit 0aba89fbb4337d1f3f915a19a9e279596c6c67f1)
* video_core: free software blit buffers grown for huge surfacesTakoroka4 days1-14/+35
| | | | | | The blitter's scratch buffers kept the size of the largest surface it ever handled (three 64 MiB buffers in Mario Kart World) for the whole session. Free those over 16 MiB after the blit; the usual sizes stay.
* video_core: software 2D blits touch only the rows they coverTakoroka4 days1-10/+58
| | | | | | | | | A blit read the whole destination surface and wrote all of it back, so copying a tile into one layer of a large texture moved the full layer (64-256 MiB) both ways. Read and write back only the rows of blocks (block linear) or the lines (pitch) between the blit's first and last line. On Switch 2 the full write-back also gave every block of a sparse layer memory.
* SwBlitter: Fix Pitch linear reading/writtingFernando Sahmkow2024-01-311-18/+19
|
* Core: Clang format and other small issues.Fernando Sahmkow2024-01-181-1/+1
|
* SMMU: Initial adaptation to video_core.Fernando Sahmkow2024-01-181-2/+3
|
* Fix typos in video_coreViktor Szépe2024-01-071-4/+4
|
* Use spans over guest memory where possible instead of copying data.Kelebek12023-07-021-16/+13
|
* Allow Fermi blit accelerate to add src/dst to the cache if they don't exist ↵Kelebek12023-05-111-11/+14
| | | | already. Use ScratchBuffers in the software blit path.
* general: fix spelling mistakesLiam2023-03-121-1/+1
|
* Fermi2D: Cleanup and address feedback.Fernando Sahmkow2022-11-241-8/+8
|
* Fermi2D: Implement Bilinear software filtering and address feedback.Fernando Sahmkow2022-11-241-36/+61
|
* Fermi2D: Rework blit engine and add a software blitter.Fernando Sahmkow2022-11-241-0/+213