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 XR_EXT_performance_settings OpenXR extension #101597

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

Conversation

devloglogan
Copy link
Contributor

Provides an API for developers to set CPU/GPU performance levels via the XR_EXT_performance_settings OpenXR extension.

I've also created some signals that should fire when an XrEventDataPerfSettingsEXT event is triggered by the runtime, which developers could use to be notified on the status of performance / device temperature. I've not been able to get one of these events polled on my Quest 3 or Quest Pro yet, but it should work in theory!

Copy link
Contributor

@dsnopek dsnopek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

The code looks good to me.

I also did a quick test on the Meta Quest 3, trying the set_cpu_level() and set_gpu_level() methods, and (based on the messages in adb logcat) it seems to be working.

@akien-mga akien-mga changed the title Implement XR_EXT_performance_settings OpenXR extension Implement XR_EXT_performance_settings OpenXR extension Jan 16, 2025
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.

2 participants