d3d12: reuse readback buffers and skip publications that change nothing #392
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/392"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from brcly/TuxBox. Originally posted by NickStallman on 2026-11-28T09:32:11Z.
Summary
A batch that writes placed textures records a copy of each into a new readback buffer. Creating that buffer, with its allocator and list, is most of the "placement readback" time on the submitting thread.
ExecuteCommandListsshowed up to 72 ms for this step in a single batch.Changes:
TUXBOX_LOG. About every 5 s it logs:The GPU copies, and when publication lands in title memory, are unchanged.
Tested
New tests:
The existing texture-readback, texture-publication, cross-queue and copy-memory Lanes self-tests, and the
d3d12-placementsuites, pass on both cards.GPU, driver and backend:
Commands run and their results:
🤖 Generated with Claude Code