Release of the multimedia library SDL 3

The release of the SDL 3.2.0 (Simple DirectMedia Layer) library has been introduced, marked as the first official stable release of the SDL 3 branch. The library aims to simplify the development of games and multimedia applications, providing capabilities such as hardware-accelerated output of 2D and 3D graphics, input handling, sound playback, and 3D output through OpenGL, OpenGL ES, Metal, Direct3D, or Vulkan. The code is written in C and is distributed under the Zlib license. Wrappers are provided for using SDL in projects across various programming languages.

Huvudsakliga nyheter:

  • Significantly improved support for the Wayland protocol, which is now enabled by default in environments providing simultaneous support for Wayland and X11, and supporting the fifo-v1 and commit-timing-v1 protocol extensions.
  • Multimedia is enabled by default server PipeWire, which is marked as more prioritized than PulseAudio.
  • Support for video capture from webcams has been added (when using PipeWire).
  • Support for graphic tablets and digital pens has been added.
  • Significantly improved support for high pixel density displays (High DPI).
  • Support for color spaces and the ability to manage multiple color spaces have been added. Initial support for HDR has been implemented.
  • The code for audio handling has been completely rewritten. Support for logical audio devices has been added (different parts of the program can work with their separate audio device). Tools for working with audio streams, stream conversions, sample rate changes, mixing, buffering control, pitch and volume adjustments have been added. Automatic handling of the connection or disconnection of audio devices, as well as changing the default audio device, has been implemented.
  • A backend for drawing through the Vulkan API has been added to the 2D rendering API. Functions for working with surfaces through the Vulkan API have been added.
  • A major cleanup of outdated capabilities that have lost relevance in modern realities has been carried out. For example, support for OpenGL ES 1.0 and DirectFB has been discontinued, and code for outdated platforms such as QNX, Pandora, WinRT, and OS/2 has been removed.
  • Möjlighet har givits att organisera programmet med hjälp av callback-anrop och definiera händelsebearbetningscykeln i funktionen main().
  • Ändringar har gjorts i API:t som bryter bakåtkompatibiliteten. Namnkonventionerna för API:t har enhetligats – anrop i olika delsystem namnges nu med en gemensam schema.
  • Nya API:er har lagts till:
    • GPU API – plattformsoberoende åtkomst till GPU och 3D-renderingsmöjligheter.
    • Dialog API – användning av dialoger för att välja/öppna/spara filer och kataloger.
    • Filesystem API – operationer med filsystemet, hantering av kataloger och sökning av filer.
    • Storage API – abstrakt programmeringsgränssnitt för att få åtkomst till olika datalagringssystem.
    • Camera API – åtkomst till webbkamera.
    • Pen API – arbete med grafiska tabletter och digitala pennor, som Wacom och Apple Pencil.

    • Källa: opennet.ru
Köp pålitlig webbhotell med DDoS-skydd, VPS VDS-servrar 🔥 Köp pålitlig webbhotell med DDoS-skydd, VPS VDS-servrar | ProHoster