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

Implement priority hints for EGL #1700

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

valaphee
Copy link

@valaphee valaphee commented Sep 15, 2024

Fixes #1645
Fixes #1694

This PR adds a way to specify the priority for contexts. I mostly used the term hint, as its not guaranteed for various reasons that the context actually gets the priority.

Don't know if it makes sense to guarantee the priority. In Chromium it's also only used as a hint.

I also probably should extend the extension check as it is not correctly reported on Android.
https://github.com/chromium/chromium/blob/main/ui/gl/gl_display.cc#L814

Theoretically the extension also exists for GLX but Mesa for example doesn't support it.

  • Tested on all platforms changed
  • Added an entry to CHANGELOG.md if knowledge of this change could be valuable to users
  • Updated documentation to reflect any user-facing changes, including notes of platform-specific behavior
  • Created or updated an example program if it would help users understand this functionality

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

egl: NV_context_priority_realtime support Context priority
1 participant