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

Added Compositor.CreateCompositionVisualSnapshot API #16599

Merged
merged 4 commits into from
Aug 5, 2024

Conversation

kekekeks
Copy link
Member

@kekekeks kekekeks commented Aug 5, 2024

The API allows to take a snapshot of a visual attached to a window including GPU interop objects.

The changes will be later used for new RTB and for compositor-side visual brushes.

@kekekeks kekekeks added area-rendering backport-candidate-11.1.x Consider this PR for backporting to 11.1 branch labels Aug 5, 2024
@maxkatz6 maxkatz6 added customer-priority Issue reported by a customer with a support agreement. feature labels Aug 5, 2024
@maxkatz6 maxkatz6 enabled auto-merge August 5, 2024 19:07
@avaloniaui-bot
Copy link

You can test this PR using the following package version. 11.2.999-cibuild0051000-alpha. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]

@avaloniaui-bot
Copy link

You can test this PR using the following package version. 11.2.999-cibuild0051010-alpha. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]

@maxkatz6 maxkatz6 disabled auto-merge August 5, 2024 22:25
@maxkatz6 maxkatz6 merged commit 5b382ae into master Aug 5, 2024
8 of 11 checks passed
@maxkatz6 maxkatz6 deleted the feature/composition-rtb branch August 5, 2024 22:25
maxkatz6 pushed a commit that referenced this pull request Aug 12, 2024
* Added Compositor.CreateCompositionVisualSnapshot API

* Hurr durr api compat in [Unstable] interface

---------

Co-authored-by: Max Katz <maxkatz6@outlook.com>
#Conflicts:
#	api/Avalonia.Skia.nupkg.xml
#	samples/ControlCatalog/Pages/OpenGlPage.xaml
#	samples/ControlCatalog/Pages/OpenGlPage.xaml.cs
@maxkatz6 maxkatz6 added backported-11.1.x and removed backport-candidate-11.1.x Consider this PR for backporting to 11.1 branch labels Aug 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-rendering backported-11.1.x customer-priority Issue reported by a customer with a support agreement. feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants