Skip to content

Commit b31c4b7

Browse files
committed
Updated version and documentation for 3.3.2 preview release
1 parent a55002b commit b31c4b7

File tree

11 files changed

+79
-18
lines changed

11 files changed

+79
-18
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ if(NOT DEFINED CMAKE_BUILD_TYPE)
55
endif()
66

77
# See docs/release_checklist.md
8-
project(SDL3 LANGUAGES C VERSION "3.3.0")
8+
project(SDL3 LANGUAGES C VERSION "3.3.2")
99

1010
if(CMAKE_SOURCE_DIR STREQUAL PROJECT_SOURCE_DIR)
1111
set(SDL3_MAINPROJECT ON)

WhatsNew.txt

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,65 @@
11

22
This is a list of major changes in SDL's version history.
33

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+
463
---------------------------------------------------------------------------
564
3.2.10:
665
---------------------------------------------------------------------------

Xcode/SDL/Info-Framework.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@
1919
<key>CFBundlePackageType</key>
2020
<string>FMWK</string>
2121
<key>CFBundleShortVersionString</key>
22-
<string>3.3.0</string>
22+
<string>3.3.2</string>
2323
<key>CFBundleSignature</key>
2424
<string>SDLX</string>
2525
<key>CFBundleVersion</key>
26-
<string>3.3.0</string>
26+
<string>3.3.2</string>
2727
</dict>
2828
</plist>

Xcode/SDL/SDL.xcodeproj/project.pbxproj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3141,8 +3141,8 @@
31413141
CLANG_ENABLE_MODULES = YES;
31423142
CLANG_ENABLE_OBJC_ARC = YES;
31433143
DEPLOYMENT_POSTPROCESSING = YES;
3144-
DYLIB_COMPATIBILITY_VERSION = 301.0.0;
3145-
DYLIB_CURRENT_VERSION = 301.0.0;
3144+
DYLIB_COMPATIBILITY_VERSION = 303.0.0;
3145+
DYLIB_CURRENT_VERSION = 303.0.0;
31463146
DYLIB_INSTALL_NAME_BASE = "@rpath";
31473147
ENABLE_STRICT_OBJC_MSGSEND = YES;
31483148
GCC_ALTIVEC_EXTENSIONS = YES;
@@ -3177,7 +3177,7 @@
31773177
"@loader_path/Frameworks",
31783178
);
31793179
MACOSX_DEPLOYMENT_TARGET = 10.13;
3180-
MARKETING_VERSION = 3.3.0;
3180+
MARKETING_VERSION = 3.3.2;
31813181
OTHER_LDFLAGS = "$(CONFIG_FRAMEWORK_LDFLAGS)";
31823182
PRODUCT_BUNDLE_IDENTIFIER = org.libsdl.SDL3;
31833183
PRODUCT_NAME = SDL3;
@@ -3207,8 +3207,8 @@
32073207
ALLOW_TARGET_PLATFORM_SPECIALIZATION = YES;
32083208
CLANG_ENABLE_MODULES = YES;
32093209
CLANG_ENABLE_OBJC_ARC = YES;
3210-
DYLIB_COMPATIBILITY_VERSION = 301.0.0;
3211-
DYLIB_CURRENT_VERSION = 301.0.0;
3210+
DYLIB_COMPATIBILITY_VERSION = 303.0.0;
3211+
DYLIB_CURRENT_VERSION = 303.0.0;
32123212
DYLIB_INSTALL_NAME_BASE = "@rpath";
32133213
ENABLE_STRICT_OBJC_MSGSEND = YES;
32143214
ENABLE_TESTABILITY = YES;
@@ -3240,7 +3240,7 @@
32403240
"@loader_path/Frameworks",
32413241
);
32423242
MACOSX_DEPLOYMENT_TARGET = 10.13;
3243-
MARKETING_VERSION = 3.3.0;
3243+
MARKETING_VERSION = 3.3.2;
32443244
ONLY_ACTIVE_ARCH = YES;
32453245
OTHER_LDFLAGS = "$(CONFIG_FRAMEWORK_LDFLAGS)";
32463246
PRODUCT_BUNDLE_IDENTIFIER = org.libsdl.SDL3;

Xcode/SDL/pkg-support/SDL.info

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Title SDL 3.3.0
1+
Title SDL 3.3.2
22
Version 1
33
Description SDL Library for macOS (http://www.libsdl.org)
44
DefaultLocation /Library/Frameworks

android-project/app/src/main/java/org/libsdl/app/SDLActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public class SDLActivity extends Activity implements View.OnSystemUiVisibilityCh
6161
private static final String TAG = "SDL";
6262
private static final int SDL_MAJOR_VERSION = 3;
6363
private static final int SDL_MINOR_VERSION = 3;
64-
private static final int SDL_MICRO_VERSION = 0;
64+
private static final int SDL_MICRO_VERSION = 2;
6565
/*
6666
// Display InputType.SOURCE/CLASS of events and devices
6767
//

include/SDL3/SDL.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
*/
2121

2222
/**
23-
* Main include header for the SDL library, version 3.3.0
23+
* Main include header for the SDL library, version 3.3.2
2424
*
2525
* It is almost always best to include just this one header instead of
2626
* picking out individual headers included here. There are exceptions to

include/SDL3/SDL_events.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1604,7 +1604,7 @@ extern SDL_DECLSPEC Uint32 SDLCALL SDL_RegisterEvents(int numevents);
16041604
extern SDL_DECLSPEC SDL_Window * SDLCALL SDL_GetWindowFromEvent(const SDL_Event *event);
16051605

16061606
/**
1607-
* Generate a human-readable description of an event.
1607+
* Generate an English description of an event.
16081608
*
16091609
* This will fill `buf` with a null-terminated string that might look
16101610
* something like this:

include/SDL3/SDL_render.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2390,6 +2390,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_RenderTextureTiled(SDL_Renderer *renderer,
23902390
* \since This function is available since SDL 3.2.0.
23912391
*
23922392
* \sa SDL_RenderTexture
2393+
* \sa SDL_RenderTexture9GridTiled
23932394
*/
23942395
extern SDL_DECLSPEC bool SDLCALL SDL_RenderTexture9Grid(SDL_Renderer *renderer, SDL_Texture *texture, const SDL_FRect *srcrect, float left_width, float right_width, float top_height, float bottom_height, float scale, const SDL_FRect *dstrect);
23952396

@@ -2427,6 +2428,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_RenderTexture9Grid(SDL_Renderer *renderer,
24272428
* \since This function is available since SDL 3.4.0.
24282429
*
24292430
* \sa SDL_RenderTexture
2431+
* \sa SDL_RenderTexture9Grid
24302432
*/
24312433
extern SDL_DECLSPEC bool SDLCALL SDL_RenderTexture9GridTiled(SDL_Renderer *renderer, SDL_Texture *texture, const SDL_FRect *srcrect, float left_width, float right_width, float top_height, float bottom_height, float scale, const SDL_FRect *dstrect, float tileScale);
24322434

include/SDL3/SDL_version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ extern "C" {
6262
*
6363
* \since This macro is available since SDL 3.2.0.
6464
*/
65-
#define SDL_MICRO_VERSION 0
65+
#define SDL_MICRO_VERSION 2
6666

6767
/**
6868
* This macro turns the version numbers into a numeric value.

0 commit comments

Comments
 (0)