forked from libsdl-org/SDL
-
Notifications
You must be signed in to change notification settings - Fork 2
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
Merge SDL2 upstream #52
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
`ebreak` acts like int3 for x86, giving control of running process to debuggers. (cherry picked from commit 723bcd0)
Now, if the AudioContext starts in a "suspended" state, because the browser blocked it from playing by default, we we run the audio "thread" in a timer and throw away the generated audio. Once the AudioContext is allowed to resume, we clear this timer. The end result is that the app will continue to drain its audio queue instead of consuming more memory over time (and, if it relies on an audio callback to make progress, continue to run!), with the effect that the page is merely silent but otherwise functioning as intended. Once the user interacts with the page and the browser permits the the AudioContext to run for real, audio should still be in sync, instead of just starting to play audio that might now be at least several seconds behind. (cherry picked from commit fd75a4c)
Since the top-level table is getting undefined, all the things in it will be unreachable and eligible for garbage collection without explicitly nulling them out. (cherry picked from commit 5191b20)
Previously it was using setTimeout, not setInterval, so it would only fire once, which was obviously a mistake. (cherry picked from commit fb79211)
(This code changed in SDL3, no need to cherry-pick it to there.)
This is updated to meet the latest requirements for apps on the Google Play store
This allows TV remotes to navigate SDL applications (with source HDMI) Fixes #8137
(cherry picked from commit 69aec8c)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.