diff options
| author | Jan Trencansky <jan.trencansky@protonmail.com> | 2026-11-28 01:08:13 -0500 |
|---|---|---|
| committer | Jan Trencansky <jan.trencansky@protonmail.com> | 2026-11-28 01:08:13 -0500 |
| commit | f6d3f30c4e7e0f5fa0892e40f7748925c4a11056 (patch) | |
| tree | f0f8aeddda61b8b48a53ad2d3011b17ef1602416 /runtime/test/shadow_keep_test.cpp | |
| parent | 0577e45ee52b071bfa8a7dc68c0efc71fc750bc6 (diff) | |
runtime: batched mirror texture checks, GPU-fallback mirror_hash skip, and batched tile arming
Eliminates false CPU-staged re-uploads, per-texture page_mirror.mutex churn, and unbatched tile re-arming:
- d3d12_vulkan_device.cpp: replaces per-texture page_mirror_texture_chunk/page_mirror_tiles_unchanged with a single-lock page_mirror_check_batch() snapshotting pending xmem remaps under shared feed_lock (rejecting only overlapping textures) and running one batched parallel TitleMirror::upload(); adds TitleJob::previous_mirror_hash check in hash_title_job() so GPU-uploaded textures falling back to CPU skip unchanged re-uploads; separates lock_wait_ns from collect_ns.
- title_texture_watch.h / title_texture_refresh.h: adds examine_batch() + TitleTextureCells::arm_batch() coalescing pins and contiguous VirtualProtect runs, uses direct Tile*/Texture* pointers in watch indices, and merges write/map ranges before iteration.
AI-assisted: Antigravity (Gemini 4 Neon).
Diffstat (limited to 'runtime/test/shadow_keep_test.cpp')
0 files changed, 0 insertions, 0 deletions