Repository navigation
Add WinUI 3 composition hosting and shared CharacterLab sample - #47
Merged
Merged
Conversation
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 an optional WinUI 3 viewport over the shared fenced frame renderer, allowing ordinary XAML controls to overlay Direct3D 12 content. CharacterLab.WinUI shares the existing scene, skinning, precompiled shaders and camera with the WinForms/native/WPF samples.
Core creates composition swap chains from direct command queues, queries owned interface versions explicitly, and reapplies inverse composition scale after resize. The adapter handles physical pixels, keyboard/pointer focus, window activation isolation, suspension, unload/reload, render failure, restart and drained panel detachment. The application provides XAML type metadata and keeps its dispatcher alive until post-close checks and GPU cleanup finish.
Windows App SDK WinUI 2.7.0 stays confined to the optional package. The unpackaged x64 sample bundles its Windows App SDK runtime. Isolated package qualification disables reusable build/compiler processes so temporary SDK task assemblies can be released before deleting the private package cache.
Validation: all six qualification jobs passed in run 45097490653. Windows Debug/Release build and execute all 16 samples against fresh .NET 10/11 packages outside the checkout; source WinUI lifecycle checks and Windows/Linux COM JIT/NativeAOT gates also pass. The release candidate manifest contains nine package IDs (18 package/symbol archives). No packages are published by this PR.
The adapter qualification target is Windows x64 JIT. Physical monitor transitions, hardware pacing and WinUI NativeAOT require separate qualification.