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

macos: Added SDL_macOSSetAnimationCallback. #10549

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

Conversation

icculus
Copy link
Collaborator

@icculus icculus commented Aug 16, 2024

This was originally @grimaldini's work, in #9720, but I've rebased it against the latest, added documentation, and cleaned up some small things.

I need to actually test this on a Mac still, so this is in a PR for now.

@icculus icculus added this to the 3.0 ABI milestone Aug 16, 2024
@icculus icculus self-assigned this Aug 16, 2024
@icculus icculus force-pushed the sdl3-macos-anim-callback branch 5 times, most recently from 9e9b5db to 91855fb Compare August 16, 2024 06:29
This was originally @grimaldini's work, in libsdl-org#9720, but I've rebased it against
the latest, added documentation, and cleaned up some small things.
@icculus
Copy link
Collaborator Author

icculus commented Aug 16, 2024

Ugh, okay, this is actually messier than I thought: CADisplayLink (the originally-iOS interface) is available in macOS 14.0+, which is why the original PR worked on the arm64 builder but not the Intel one...we'd have to use CVDisplayLink for older macOS releases, which is a totally different thing.

I'd still like to have this, but I'm going to bump it from the milestone; we can add it later if using the older interface is workable.

@icculus icculus modified the milestones: 3.0 ABI, 3.x Aug 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant