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

Support for "Composition swap chain" API (presentation*.h) #345

Open
rickbrew opened this issue Mar 27, 2023 · 0 comments
Open

Support for "Composition swap chain" API (presentation*.h) #345

rickbrew opened this issue Mar 27, 2023 · 0 comments
Labels
proposal An issue that represents a proposed feature or change to the repo. untriaged An issue that has not been triaged by the repo maintainers.

Comments

@rickbrew
Copy link
Contributor

Looks like a new API in Windows 11 build 22000:

https://learn.microsoft.com/en-us/windows/win32/comp_swapchain/comp-swapchain-portal

This API is the initial public release of the composition swapchain API. It allows applications using Composition APIs (such as Windows.UI.Composition and DirectComposition) to host content that can be independently rendered and presented to. In many ways, this type of presented content is conceptually similar to a DXGI swapchain. Both offer the ability to render to a buffer, and then present that buffer to the screen. However, the composition swapchain API offers the ability for presents to target a specific time to appear (the PresentAt time), whereas DXGI doesn't, and the composition swapchain API offers more freedom than DXGI around the ordering of buffers available to be presented.

I think it's just a regular COM-based API.

@rickbrew rickbrew added proposal An issue that represents a proposed feature or change to the repo. untriaged An issue that has not been triaged by the repo maintainers. labels Mar 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
proposal An issue that represents a proposed feature or change to the repo. untriaged An issue that has not been triaged by the repo maintainers.
Projects
None yet
Development

No branches or pull requests

1 participant