aboutsummaryrefslogtreecommitdiff
path: root/src/common/host_memory.cpp
diff options
context:
space:
mode:
authorTakoroka <137927095+Takoroka@users.noreply.github.com>2026-10-30 21:14:39 -0400
committerTakoroka <137927095+Takoroka@users.noreply.github.com>2026-10-30 21:14:39 -0400
commit1b7c637c615d01ab23673b7297a3d6d6e8174f2a (patch)
tree8a4b89945a39bbb5e47e3e84855325ecb280aebc /src/common/host_memory.cpp
parentb40ad217ab829226841cb71f6e4c5cb05977a225 (diff)
video_core: software 2D blits touch only the rows they cover
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.
Diffstat (limited to 'src/common/host_memory.cpp')
0 files changed, 0 insertions, 0 deletions