SDL 2.0.12 multimedia library release

Tədbir baş tutdu kitabxananın buraxılışı SDL 2.0.12 (Simple DirectMedia Layer), aimed at simplifying the development of games and multimedia applications. The SDL library provides tools like hardware-accelerated output of 2D and 3D graphics, input handling, sound playback, 3D rendering through OpenGL/OpenGL ES, and many other related operations. The library is written in C and is distributed under the zlib license. Bindings are provided for using SDL features in projects using various programming languages.

Yeni buraxılışda:

  • Support for Nintendo GameCube game controllers has been added to the HIDAPI driver along with the SDL_HINT_JOYSTICK_HIDAPI_GAMECUBE hint to indicate their usage. The support for Xbox 360 and Xbox One controllers has also been improved in HIDAPI.
  • Support for game controllers added:
    • 8BitDo FC30 Pro
    • 8BitDo M30 GamePad
    • BDA PS4 Fightpad
    • HORI Fighting Commander
    • Hyperkin Duke
    • Hyperkin X91
    • MOGA XP5-A Plus
    • NACON GC-400ES
    • NVIDIA Controller v01.04
    • PDP Versus Fighting Pad
    • Razer Raion Fightpad for PS4
    • Razer Serval
    • Stadia Controller
    • SteelSeries Stratus Duo
    • Victrix Pro Fight Stick for PS4
    • Xbox One Elite Series 2
  • Added functions SDL_GetTextureScaleMode() and SDL_SetTextureScaleMode() for retrieving and setting the scaling mode applied to textures;
  • Added the SDL_LockTextureToSurface() function, similar to SDL_LockTexture(), but treats the locked area as an SDL Surface;
  • A new blending mode SDL_BLENDMODE_MUL has been added;
  • The SDL_GameControllerTypeForIndex() function has been enhanced to output the game controller type (Xbox 360, Xbox One, PS3, PS4, Nintendo Switch Pro);
  • Functions SDL_JoystickFromPlayerIndex(), SDL_JoystickSetPlayerIndex(), SDL_GameControllerSetPlayerIndex(), and SDL_GameControllerFromPlayerIndex() have been added to determine and set the device associated with the player index;
  • Added the SDL_zeroa() macro for zeroing an array of elements;
  • Added the SDL_HasARMSIMD() function for determining ARM SIMD instruction support in ARMv6+ CPUs;
  • For Linux systems, the SDL_HINT_VIDEO_X11_WINDOW_VISUALID (to determine the output identifier for new X11 windows) and SDL_HINT_VIDEO_X11_FORCE_EGL (to select whether to use GLX or EGL for X11) hints have been implemented;
  • For Android, the ability to capture sound via OpenSL-ES has been added, and support for using Bluetooth Steam Controller as a game controller has been realized.

Mənbə: opennet.ru

DDoS qoruması olan saytlara etibarlı hosting satın alın, VPS VDS serverlər 🔥 DDoS qoruması olan saytlara etibarlı hosting satın alın, VPS VDS serverlər | ProHoster