Opened 2 months ago

Last modified 2 months ago

#20958 new enhancement

SDL-3.2.0 (Wait until someting needs this beyond SDL2)

Reported by: Bruce Dubbs Owned by: blfs-book
Priority: normal Milestone: 99-Waiting
Component: BOOK Version: git
Severity: normal Keywords:
Cc:

Description

New major version. It's unclear if it is API compatible with SDL2. I suspect not.

From the release:

Announcing the SDL 3 official release!

SDL 3.0 is finally here!

Here are some of the highlights of what's new in SDL 3.0:

  • Extremely good documentation: We've spent a ton of effort writing and revising the API reference.
  • Example programs to get you started, running in your web browser!
  • More consistent API naming conventions. Everything is named consistently across the API now, instead of different subsystems taking different approaches. Also, we've tended toward more descriptive names for things in SDL3.
  • Main Callbacks: optionally run your program from callbacks instead of main().
  • GPU API: access to modern 3D rendering and GPU compute in a cross-platform way.
  • Dialog API: access to system file dialogs (file and folder selection UI for opening/saving).
  • Filesystem API: simple directory management and globbing, access to topic-specific user folders.
  • Storage API: Abstract interface to platform-specific storage.
  • Camera API: access to webcams.
  • Pen API: access to pens (like Wacom tablets and Apple Pencil, etc).
  • Logical audio devices: different parts of an app can get their own unique audio device to use.
  • Audio streams: handle buffering, converting, resampling, mixing, channel mapping, pitch, and gain. Bind to an audio device and go!
  • Default audio devices: SDL3 will automatically manage migrating to new physical hardware as devices are plugged in, ripped out, or changed.
  • Properties API: fast, flexible dictionaries of name/value pairs.
  • Process API: Spawn child processes and communicate with them in various ways.
  • Colorspace support: Surfaces and the renderer, etc, can manage multiple colorspaces.
  • The Clipboard API can support any data type (SDL2 only handled text), and apps can provide data in multiple formats upon request in a provided callback.
  • Better keyboard input, for all your keypress needs.
  • Customizable virtual keyboards on iOS and Android.
  • High DPI support is dramatically improved over SDL2.
  • App metadata API for letting SDL report things about your app correctly (like in the About dialog on macOS, etc).
  • and much, much more.

Change History (3)

comment:1 by Xi Ruoyao, 2 months ago

See #19540.

comment:2 by Bruce Dubbs, 2 months ago

Milestone: 12.399-Waiting
Summary: SDL-3.2.0SDL-3.2.0 (Wait until someting needs this)

Looking at https://aur.archlinux.org/packages/sdl3-git, we do not have any packages that need this. Marking as Waiting. I will close #19540 in favor of this ticket.

comment:3 by Bruce Dubbs, 2 months ago

Summary: SDL-3.2.0 (Wait until someting needs this)SDL-3.2.0 (Wait until someting needs this beyond SDL2)
Note: See TracTickets for help on using tickets.