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

[GLX] Resize the platform render target to compositor-provided size #17779

Merged
merged 2 commits into from
Dec 16, 2024

Conversation

kekekeks
Copy link
Member

Otherwise the render target size could get out of sync with the scene size our compositor is trying to draw and cause glitches during resize.

We should be doing that for other platforms later as well, for e. g. CompositionDrawingSurface we get from WinRT.

We should be doing that for other platforms later as well, since only compositor knows what scene size it's planning to draw
@kekekeks kekekeks added enhancement area-rendering customer-priority Issue reported by a customer with a support agreement. backport-candidate-11.2.x Consider this PR for backporting to 11.2 branch labels Dec 16, 2024
@kekekeks kekekeks mentioned this pull request Dec 16, 2024
@kekekeks kekekeks enabled auto-merge December 16, 2024 06:36
@avaloniaui-bot
Copy link

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

@kekekeks kekekeks disabled auto-merge December 16, 2024 07:05
@kekekeks kekekeks merged commit eada7ba into master Dec 16, 2024
9 of 11 checks passed
@kekekeks kekekeks deleted the feature/render-target-resize-by-compositor branch December 16, 2024 07:05
maxkatz6 pushed a commit that referenced this pull request Dec 19, 2024
…17779)

We should be doing that for other platforms later as well, since only compositor knows what scene size it's planning to draw
@maxkatz6 maxkatz6 added backported-11.2.x and removed backport-candidate-11.2.x Consider this PR for backporting to 11.2 branch labels Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-rendering backported-11.2.x customer-priority Issue reported by a customer with a support agreement. enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants