Skip to content

fix(dx12): stabilize swap-chain resize handling#258

Open
soarqin wants to merge 1 commit into
veeenu:mainfrom
soarqin:fix/dx12-hook
Open

fix(dx12): stabilize swap-chain resize handling#258
soarqin wants to merge 1 commit into
veeenu:mainfrom
soarqin:fix/dx12-hook

Conversation

@soarqin

@soarqin soarqin commented Jul 2, 2026

Copy link
Copy Markdown
Contributor
  • Capture DX12 command queues from swap-chain creation and ResizeBuffers1 paths, validate active swap-chain/device/queue identity, and rebuild the overlay pipeline safely after resize, format, buffer-count, or device changes.
  • Thread RTV format and NodeMask through the DX12 renderer, wait for overlay fences before resize, fix texture upload fence ordering, and extend the DX12 harness to exercise real ResizeBuffers.

This PR should also fix the issue noted in #257.

It is ported from recent changes for my EROverlay project which are inspired by RadialMenu to support MSHybrid GPU switching mechanism and resizing of rendering context.

* Capture DX12 command queues from swap-chain creation and ResizeBuffers1 paths, validate active swap-chain/device/queue identity, and rebuild the overlay pipeline safely after resize, format, buffer-count, or device changes.
* Thread RTV format and NodeMask through the DX12 renderer, wait for overlay fences before resize, fix texture upload fence ordering, and extend the DX12 harness to exercise real ResizeBuffers.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant