Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Win2D sample to use WinAppSDK's 'AppWindow' and new APIs #845

Merged
merged 4 commits into from
Aug 29, 2024

Conversation

Sergio0694
Copy link
Owner

Description

This PR uses the new Win2D APIs from microsoft/Win2D#924 to greatly simplify the Win2D sample app. In particular, it replaces all manual Win32 interop with just AppWindow, and uses the new CreateForWindowId API to create the CanvasSwapChain instance.

@Sergio0694 Sergio0694 added the samples 📚 A change or improvement related to the samples label Aug 29, 2024
@Sergio0694 Sergio0694 merged commit bae2ff1 into main Aug 29, 2024
24 checks passed
@Sergio0694 Sergio0694 deleted the dev/windowid-swapchain branch August 29, 2024 05:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
samples 📚 A change or improvement related to the samples
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant