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

Migrate Lime on native platforms to use SDL3 #1848

Open
EliteMasterEric opened this issue Oct 5, 2024 · 1 comment
Open

Migrate Lime on native platforms to use SDL3 #1848

EliteMasterEric opened this issue Oct 5, 2024 · 1 comment

Comments

@EliteMasterEric
Copy link
Contributor

SDL just released version 3.1.3 stable API preview, which means that (while the library still has bugs and issues to resolve before the 3.2 stable release), no existing functions will be removed, making it stable enough for migration.

There is a very long list of useful features that migrating would enable (see the list at the link), and also a long list of issues that are resolved by updating (such as #1569), but this first requires migrating the existing places that SDL2 are used.

I originally attempted this myself by just editing the existing implementation last year, but this resulted in a bunch of graphical glitches, so updating would probably require someone more experienced with C++ and graphics APIs.

@EliteMasterEric
Copy link
Contributor Author

Some features we may find relevant (now or in the future) include:

  • Using nanoseconds for timestamps in various places
  • Using OS timestamps for input events (rather than the SDL timestamp, making it way more accurate)
  • Replacing TinyFileDialog with a more flexible and well-maintained implementation
  • Support for clipboard data of any mime type
  • Improved audio stream handling
  • New storage and file-system APIs that work across platforms
  • The new SDL Graphics API, providing access to cross-platform graphics and compute.

Plus any fixes from newer versions of SDL 2.x.

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

No branches or pull requests

1 participant