Release of SDL 2.28.0 multimedia library. Switching to SDL 3.0 development

After seven months of development, the release of the SDL 2.28.0 (Simple DirectMedia Layer) library, aimed at simplifying the writing of games and multimedia applications, has been published. The SDL library provides facilities such as hardware-accelerated 2D and 3D graphics output, input processing, audio playback, 3D output via OpenGL/OpenGL ES/Vulkan, and many other related operations. The library is written in C language and distributed under the Zlib license. To use SDL capabilities in projects in various programming languages, the necessary bindings are provided.

The SDL 2.28.0 release mainly offers bug fixes, among the innovations are the addition of the SDL_HasWindowSurface() and SDL_DestroyWindowSurface() functions for switching between the SDL_Rederer and SDL_Surface APIs, a new SDL_DISPLAYEVENT_MOVED event generated when the main monitor changes or the relative position of screens changes in multi-monitor configurations, and the SDL_HINT_ENABLE_SCREEN_KEYBOARD flag to control the display of the on-screen keyboard.

At the same time, it was announced that the SDL 2.x branch was moved to the maintenance stage, which implies only bug fixes and troubleshooting. No new functionality will be added to the SDL 2.x branch, and development will focus on preparing for the release of SDL 3.0. Work is also underway on the sdl2-compat compatibility layer, which provides an API that is compatible with SDL 2.x binary and source but runs on top of SDL 3. for SDL 2 using the capabilities of the SDL 2 branch.

Of the changes in the SDL 3 branch, the processing of some subsystems, changes in the API that violate compatibility, and a large cleaning of obsolete features that have lost their relevance in modern realities stand out. For example, SDL 3 expects a complete overhaul of the code for working with sound, the use of Wayland and PipeWire by default, the termination of support for OpenGL ES 1.0 and DirectFB, the removal of code to work on legacy platforms such as QNX, Pandora, WinRT and OS / 2.

Source: opennet.ru

Add a comment