|
1 | 1 |
|
2 | 2 | This is a list of major changes in SDL's version history. |
3 | 3 |
|
| 4 | +--------------------------------------------------------------------------- |
| 5 | +3.4.0: |
| 6 | +--------------------------------------------------------------------------- |
| 7 | + |
| 8 | +General: |
| 9 | +* Added SDL_CreateAnimatedCursor() to create animated color cursors |
| 10 | +* Added SDL_SetWindowProgressState(), SDL_SetWindowProgressValue(), SDL_GetWindowProgressState(), and SDL_GetWindowProgressValue() to show progress in the window's taskbar icon on Windows and Linux |
| 11 | +* Added SDL_GetGPUDeviceProperties() to get the properties of an SDL GPU device |
| 12 | +* Added SDL_GetPixelFormatFromGPUTextureFormat() and SDL_GetGPUTextureFormatFromPixelFormat() |
| 13 | +* Added SDL_CreateGPURenderer() and SDL_GetGPURendererDevice() to create a 2D renderer for use with GPU rendering. |
| 14 | +* Added SDL_CreateGPURenderState(), SDL_SetGPURenderStateFragmentUniforms(), SDL_SetGPURenderState(), and SDL_DestroyGPURenderState() to use fragment shaders with a GPU 2D renderer |
| 15 | +* Added support for YUV textures and HDR colorspaces to the GPU 2D renderer |
| 16 | +* Added support for textures with palettes, and SDL_GetTexturePalette() and SDL_SetTexturePalette() to interact with them |
| 17 | +* Added SDL_RenderTexture9GridTiled() to do tiled instead of stretched 9-grid texture rendering |
| 18 | +* Added SDL_GetDefaultTextureScaleMode() and SDL_SetDefaultTextureScaleMode() to set the texture scale mode for new textures |
| 19 | +* Added SDL_GetRenderTextureAddressMode() and SDL_SetRenderTextureAddressMode() to change the texture addressing mode |
| 20 | +* Added SDL_TEXTURE_ADDRESS_WRAP to allow wrapping of textures if the renderer has SDL_PROP_RENDERER_TEXTURE_WRAPPING_BOOLEAN set |
| 21 | +* Added SDL_LoadPNG(), SDL_LoadPNG_IO(), SDL_SavePNG(), and SDL_SavePNG_IO() to load and save PNG images |
| 22 | +* Added SDL_RotateSurface() to create a rotated copy of a surface |
| 23 | +* Added SDL_PutAudioStreamDataNoCopy() to do more efficient audio stream processing in some cases |
| 24 | +* Added SDL_PutAudioStreamPlanarData() to add planar audio data instead of interleaved data to an audio stream |
| 25 | +* Added SDL_HINT_AUDIO_DEVICE_RAW_STREAM to signal that the OS shouldn't do further audio processing, useful for applications that handle noise canceling, etc. |
| 26 | +* Added enhanced support for 8BitDo controllers |
| 27 | +* Added enhanced support for FlyDigi controllers |
| 28 | +* Added enhanced support for Hand Held Legend SInput controllers |
| 29 | +* Added SDL_hid_get_properties() to associate SDL properties with HID devices |
| 30 | +* Added SDL_SetRelativeMouseTransform() to add custom mouse input transformation |
| 31 | +* Added SDL_GetPenDeviceType() to determine whether a pen is on the screen or on a separate touchpad |
| 32 | +* Added SDL_GetEventDescription() to get an English description of an event, suitable for logging |
| 33 | +* Added verbose log output when the DEBUG_INVOCATION environment variable is set to "1" |
| 34 | +* Added SDL_AddAtomicU32() |
| 35 | +* Added SDL_GetSystemPageSize() to get the system page size |
| 36 | + |
| 37 | +Windows: |
| 38 | +* Added SDL_HINT_RENDER_DIRECT3D11_WARP to enable D3D11 software rasterization |
| 39 | +* SDL_HINT_AUDIO_DEVICE_STREAM_ROLE is used by the WASAPI audio driver to set the audio stream category |
| 40 | +* SDL_HINT_WINDOWS_GAMEINPUT is disabled by default |
| 41 | + |
| 42 | +Linux: |
| 43 | +* Added atomic support for KMSDRM |
| 44 | +* Added SDL_HINT_KMSDRM_ATOMIC to control whether KMSDRM will use atomic functionality |
| 45 | + |
| 46 | +Emscripten: |
| 47 | +* Added SDL_HINT_EMSCRIPTEN_FILL_DOCUMENT for applications that don't want to be fullscreen, but would like to fill the window |
| 48 | + |
| 49 | +PlayStation 2: |
| 50 | +* Added the following hints to control the display parameters: SDL_HINT_PS2_GS_WIDTH, SDL_HINT_PS2_GS_HEIGHT, SDL_HINT_PS2_GS_PROGRESSIVE, SDL_HINT_PS2_GS_MODE |
| 51 | + |
| 52 | + |
| 53 | +--------------------------------------------------------------------------- |
| 54 | +3.2.22: |
| 55 | +--------------------------------------------------------------------------- |
| 56 | +* SDL_HINT_JOYSTICK_WGI is disabled by default |
| 57 | + |
| 58 | +--------------------------------------------------------------------------- |
| 59 | +3.2.16: |
| 60 | +--------------------------------------------------------------------------- |
| 61 | +* SDL_HINT_JOYSTICK_RAWINPUT is disabled by default |
| 62 | + |
4 | 63 | --------------------------------------------------------------------------- |
5 | 64 | 3.2.10: |
6 | 65 | --------------------------------------------------------------------------- |
|
0 commit comments