release-2.0.8
版本发布时间: 2022-05-24 06:20:21
libsdl-org/SDL最新发布版本:release-2.30.10(2024-12-07 10:42:25)
In addition to lots of bug fixes and build improvements, here are the major changes in this release:
General:
- Added SDL_fmod() and SDL_log10()
- Each of the SDL math functions now has the corresponding float version
- Added SDL_SetYUVConversionMode() and SDL_GetYUVConversionMode() to control the formula used when converting to and from YUV colorspace. The options are JPEG, BT.601, and BT.709
Windows:
- Implemented WASAPI support on Windows UWP and removed the deprecated XAudio2 implementation
- Added resampling support on WASAPI on Windows 7 and above
Windows UWP:
- Added SDL_WinRTGetDeviceFamily() to find out what type of device your application is running on
Mac OS X:
- Added support for the Vulkan SDK for Mac: https://www.lunarg.com/lunarg-releases-vulkan-sdk-1-0-69-0-for-mac/
- Added support for OpenGL ES using ANGLE when it's available
Mac OS X / iOS / tvOS:
- Added a Metal 2D render implementation
- Added SDL_RenderGetMetalLayer() and SDL_RenderGetMetalCommandEncoder() to insert your own drawing into SDL rendering when using the Metal implementation
iOS:
- Added the hint SDL_HINT_IOS_HIDE_HOME_INDICATOR to control whether the home indicator bar on iPhone X should be hidden. This defaults to dimming the indicator for fullscreen applications and showing the indicator for windowed applications.
iOS / Android:
- Added the hint SDL_HINT_RETURN_KEY_HIDES_IME to control whether the return key on the software keyboard should hide the keyboard or send a key event (the default)
Android:
- SDL now supports building with Android Studio and Gradle by default, and the old Ant project is available in android-project-ant
- SDL now requires the API 19 SDK to build, but can still target devices down to API 14 (Android 4.0.1)
- Added SDL_IsAndroidTV() to tell whether the application is running on Android TV
Android / tvOS:
- Added the hint SDL_HINT_TV_REMOTE_AS_JOYSTICK to control whether TV remotes should be listed as joystick devices (the default) or send keyboard events.
Linux:
- Added the hint SDL_HINT_VIDEO_X11_NET_WM_BYPASS_COMPOSITOR to control whether the X server should skip the compositor for the SDL application. This defaults to "1"
- Added the hint SDL_HINT_VIDEO_DOUBLE_BUFFER to control whether the Raspberry Pi and KMSDRM video drivers should use double or triple buffering (the default)
1、 SDL2-2.0.18.zip.sig 95B
2、 SDL2-2.0.8-win32-x64.zip 497.97KB
3、 SDL2-2.0.8-win32-x86.zip 408.45KB
4、 SDL2-2.0.8.dmg 1.38MB
5、 SDL2-2.0.8.tar.gz 4.68MB
6、 SDL2-2.0.8.tar.gz.sig 95B
7、 SDL2-2.0.8.zip 5.64MB
8、 SDL2-2.0.8.zip.sig 95B
9、 SDL2-devel-2.0.8-mingw.tar.gz 7.63MB
10、 SDL2-devel-2.0.8-VC.zip 1.79MB