microsoft / WindowsCompositionSamples

The Windows Composition Samples have moved here: https://github.com/microsoft/WindowsAppSDK-Samples/tree/main/Samples/SceneGraph
https://github.com/microsoft/WindowsAppSDK-Samples/tree/main/Samples/SceneGraph
MIT License
1.12k stars 287 forks source link

Official DirectComposition Interop #360

Closed ds84182 closed 3 months ago

ds84182 commented 1 year ago

There are non-public APIs for hosting DirectComposition visuals inside of a Windows.UI.Composition visual. In the Windows Flutter embedder I'd like to offer both DirectComposition and UI.Composition as part of the PlatformViews API. This is because we support Windows 8 and newer, so plugins can choose to produce Composition Visuals on Windows 10+ or DComp Visuals on Windows 8+.

Since this capability already exists, I'm wondering if it could be added as official documentation. It's a good capability to have for backwards compatibility.

Issue Type

[ ] Bug Report
[ ] Feature Request
[ ] Sample request
[x] Documentation issue or request
[ ] Other – Please describe: