Repository navigation
Add optional WPF viewport and shared CharacterLab host - #46
Merged
Merged
Conversation
Add dispatcher-owned D3D12 HWND hosting with physical pixel sizing, fenced retirement, focus/capture handling, restart and failure reporting. Share CharacterScene across WinForms, native Win32 and WPF, and qualify WPF lifecycle and isolated package consumption on both runtimes. Align package validation and release publishing with the candidate manifest.
Keep the shared candidate manifest in dependency order now that NuGet availability checks and publishing both consume it.
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.
Add
DXSharp.Framework.Wpfwith a dispatcher-ownedD3D12Viewportover the existing fenced frame renderer. The child HWND supplies physical pixel dimensions; the control handles focus/capture, suspension, unload/reload, stop/drain, restart and render-failure reporting.CharacterLab.Wpfshares the animation/rendering and camera sources with the WinForms and native samples, and adds WPF playback controls and a separate text editor. Core/Framework remain independent of WPF. The adapter occupies the existing Libraries solution group and the sample joins Samples.Qualification adds bounded WPF presentation and a host scenario covering resize/current-DPI sizing, text focus and tab navigation, minimize/restore, visibility, unload/reload, intentional render failure, restart, close from presentation and HWND teardown. Both runtimes also build and run it from isolated fresh packages in Debug/Release. WPF/BAML NativeAOT and physical multi-monitor DPI transitions are not claimed.
Package checks include WPF-only framework references and guard against desktop-framework dependencies leaking into the base SDK. Release staging, availability checks and publishing use the same candidate package list, including WPF and the DXC build tool. This remains Preview 4 development; no versioned release note or publication is requested.
Validation: all six fresh qualification jobs passed on head
bc581470b4fc1d1444e441691f44dc3b81016525; the tested source tree isd3ff1dcfa73738ab128a9181bca33b98120230cd.