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

Don't merge RenderOptions during update and only push them to drawing context if actually needed #15111

Merged
merged 2 commits into from
Mar 28, 2024

Conversation

kekekeks
Copy link
Member

@kekekeks kekekeks commented Mar 24, 2024

Also removed direct RenderOptions setter from IDrawingContextImpl, since we are supposed to use Push/Pop.

Yet another nit I've discovered during profiling

@avaloniaui-bot
Copy link

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

@kekekeks kekekeks force-pushed the feature/perf-2024-03-0004 branch from 426128d to 1cfbddc Compare March 28, 2024 10:08
@kekekeks kekekeks marked this pull request as ready for review March 28, 2024 10:10
@kekekeks kekekeks enabled auto-merge March 28, 2024 10:10
@avaloniaui-bot
Copy link

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

@kekekeks kekekeks added this pull request to the merge queue Mar 28, 2024
Merged via the queue into master with commit cffb4b8 Mar 28, 2024
11 checks passed
@kekekeks kekekeks deleted the feature/perf-2024-03-0004 branch March 28, 2024 12:03
@maxkatz6 maxkatz6 added the backport-candidate-11.1.x Consider this PR for backporting to 11.1 branch label Apr 23, 2024
maxkatz6 pushed a commit that referenced this pull request Apr 24, 2024
… context if actually needed (#15111)

* Don't merge RenderOptions during update and only push them to drawing context if actually needed

* Removed RenderOptions property from IDrawingContextImpl
#Conflicts:
#	src/Skia/Avalonia.Skia/DrawingContextImpl.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 Apr 24, 2024
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.

3 participants