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

[fbdev] Added a mode that should not waste time in FBIO_WAITFORVSYNC #17124

Merged
merged 2 commits into from
Sep 30, 2024

Conversation

kekekeks
Copy link
Member

This is mostly relevant for single-core CPUs where it makes sense to use UI thread render timer. However when such timer is used, we are wasting time in vsync blocking call while the main thread could be doing something more sensible.

This PR adds a mode that offloads the vsync call and the blit to a background thread with high priority.

@avaloniaui-bot
Copy link

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

@kekekeks kekekeks added enhancement backport-candidate-11.1.x Consider this PR for backporting to 11.1 branch labels Sep 25, 2024
@avaloniaui-bot
Copy link

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

@MrJul MrJul added this pull request to the merge queue Sep 30, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Sep 30, 2024
@maxkatz6 maxkatz6 merged commit e296589 into master Sep 30, 2024
11 checks passed
@maxkatz6 maxkatz6 deleted the feature/fbdev-async-blit branch September 30, 2024 22:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-candidate-11.1.x Consider this PR for backporting to 11.1 branch enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants