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

Control: Change internal interfaces to batch-process input axis updates #18029

Merged
merged 1 commit into from Aug 31, 2023

Conversation

hrydgard
Copy link
Owner

These naturally come in bunches on many platforms like Android, so lay some groundwork to also handle them in bunches to minimize locking and JNI calls in the future (needs to actually add a batched JNI function too). I don't know if this will ever have a noticeable impact, but figure that less locking will be better.

@hrydgard hrydgard added Input/Controller Input and controller issues Code Cleanup Cleanup to make future work easier. Needs to be done sometimes. labels Aug 31, 2023
@hrydgard hrydgard added this to the v1.16.0 milestone Aug 31, 2023
These naturally come in bunches on many platforms like Android, so lay
some groundwork to also handle them in bunches to minimize locking in
the future.

Linux buildfix
@hrydgard hrydgard merged commit 0fb1ea3 into master Aug 31, 2023
18 checks passed
@hrydgard hrydgard deleted the input-batch-axis-update branch August 31, 2023 11:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code Cleanup Cleanup to make future work easier. Needs to be done sometimes. Input/Controller Input and controller issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant