Repository navigation
Introduce generated COM graphics, DXC and DirectML foundation - #3
Closed
atcarter714 wants to merge 6 commits into
Closed
atcarter714 wants to merge 6 commits into
atcarter714 wants to merge 6 commits into
Conversation
This was referenced Nov 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a modern SDK path beside the proof-of-concept API: source-generated COM behind sealed C# owners, explicit graphics commands, DXC compilation and a separate DirectML component. The new samples depend only on this path. Stacked on #2; base:
migration/net10-build-baseline.Validation: all four jobs passed for implementation commit
222112ad1f968dbad12693f6a7e1a1972bcd1ca5.The fixture exercises real C++ vtables, inherited slots and structure returns; QI/projection failures and cleanup; clones, borrows, disposal/finalization and GC; native-held callbacks; the generated DXC include/blob callbacks and HRESULT failure path; and DirectML descriptor layouts. The Windows gates caught and fixed a platform-dependent output-path assumption and stale thread-local COM error information from
Marshal.GetHRForException.Local Linux Debug/Release builds, packing, isolated consumer build/publish and JIT/AOT checks also passed. Local AOT required an external ILLink task-host workaround; CI passed without that workaround. No workaround or warning suppression is committed.
Desktop resize follow-up: The reported SEH exception occurred in
IDXGISwapChain4.ResizeBuffers. The previous fence was queued beforePresent.WaitIdlenow signals and waits on a fresh queue fence. The sample resets its recording and releases its back-buffer owners before resizing. The WinForms timer pauses during rendering and stops on window close, and empty client rectangles are skipped.CI passed at
151d941. The WARP test presented after both resizes (1024×720 → 1088×768 → 1024×720), rendered four frames, and exited successfully. The first fence-only attempt reproduced a laterResizeBuffersfailure withE_ACCESSDENIED. The latest test covers the fence and window-loop changes together.Remaining gates: interactive presentation, resize, and longer rendering soak runs on physical hardware. The original BasicSample CLR crash remains undiagnosed. See the architecture, ownership contract, coverage matrix and commands for the remaining port.
Consolidated by the preview 1 release in #9 and retained in
mainthrough #31. Verification: this PR head is an ancestor ofrelease/automationat1ba30ff4a36b6c4a7f8a31f342599026178c2cd0, whose tree1c2649258445a6a22abeaa58cbc139c9384d0c5fexactly matches released main commit0dcb5e3fbb984c23a1f313c87ec72ea0cbfe5fc4. Follow-up SDK work is tracked in #32–#35.