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

Implement DirectComposition support, as well as return Win8+ window transparency #13382

Merged
merged 5 commits into from
Oct 26, 2023

Conversation

maxkatz6
Copy link
Member

@maxkatz6 maxkatz6 commented Oct 25, 2023

What does the pull request do?

Add DirectComposition support + refactors support of different composition-like connections (dcomp, winui...).
Updates transparency levels support matrix:

OS Version Composition Mode None Transpanert Blur Acrylic Mica
Win7 + - - - -
Win8+ DXGI + - - - -
Win8+ None or Software Renderer + + - - -
Win8.1+ DComp -* + -** - -
Win10 15063+ WinUI -* + - + -
Win11 WinUI -* + - + +

* - DComp and WinUI windows are always transparent, but we still can render visuals to make it opaque.
** - It is possible to support Gaussian Blur with DComp, but not implemented in this PR.

Previously in 11.0 builds Transparent window was supported only with GPU and WinUI enabled.

Fixed issues

Fixes #13381
Closes #12285

@maxkatz6 maxkatz6 added this pull request to the merge queue Oct 25, 2023
Merged via the queue into master with commit da523ff Oct 26, 2023
5 checks passed
@maxkatz6 maxkatz6 deleted the direct-composition branch October 26, 2023 00:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Some versions of windows10 do not support WindowTransparencyLevel.Transparent
2 participants