mirror of https://github.com/libsdl-org/SDL
				
				
				
			
			You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			84 lines
		
	
	
		
			4.9 KiB
		
	
	
	
		
			Plaintext
		
	
			
		
		
	
	
			84 lines
		
	
	
		
			4.9 KiB
		
	
	
	
		
			Plaintext
		
	
| 
 | |
| This is a list of major changes in SDL's version history.
 | |
| 
 | |
| ---------------------------------------------------------------------------
 | |
| 3.4.0:
 | |
| ---------------------------------------------------------------------------
 | |
| 
 | |
| General:
 | |
| * Added SDL_CreateAnimatedCursor() to create animated color cursors
 | |
| * Added SDL_SetWindowProgressState(), SDL_SetWindowProgressValue(), SDL_GetWindowProgressState(), and SDL_GetWindowProgressValue() to show progress in the window's taskbar icon on Windows and Linux
 | |
| * Added SDL_GetGPUDeviceProperties() to get the properties of an SDL GPU device
 | |
| * Added SDL_GetPixelFormatFromGPUTextureFormat() and SDL_GetGPUTextureFormatFromPixelFormat()
 | |
| * Added SDL_CreateGPURenderer() and SDL_GetGPURendererDevice() to create a 2D renderer for use with GPU rendering.
 | |
| * Added SDL_CreateGPURenderState(), SDL_SetGPURenderStateFragmentUniforms(), SDL_SetGPURenderState(), and SDL_DestroyGPURenderState() to use fragment shaders with a GPU 2D renderer
 | |
| * Added support for YUV textures and HDR colorspaces to the GPU 2D renderer
 | |
| * Added support for textures with palettes, and SDL_GetTexturePalette() and SDL_SetTexturePalette() to interact with them
 | |
| * Added SDL_RenderTexture9GridTiled() to do tiled instead of stretched 9-grid texture rendering
 | |
| * Added SDL_GetDefaultTextureScaleMode() and SDL_SetDefaultTextureScaleMode() to set the texture scale mode for new textures
 | |
| * Added SDL_GetRenderTextureAddressMode() and SDL_SetRenderTextureAddressMode() to change the texture addressing mode
 | |
| * Added SDL_TEXTURE_ADDRESS_WRAP to allow wrapping of textures if the renderer has SDL_PROP_RENDERER_TEXTURE_WRAPPING_BOOLEAN set
 | |
| * Added SDL_LoadPNG(), SDL_LoadPNG_IO(), SDL_SavePNG(), and SDL_SavePNG_IO() to load and save PNG images
 | |
| * Added SDL_RotateSurface() to create a rotated copy of a surface
 | |
| * Added SDL_PutAudioStreamDataNoCopy() to do more efficient audio stream processing in some cases
 | |
| * Added SDL_PutAudioStreamPlanarData() to add planar audio data instead of interleaved data to an audio stream
 | |
| * 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.
 | |
| * Added enhanced support for 8BitDo controllers
 | |
| * Added enhanced support for FlyDigi controllers
 | |
| * Added enhanced support for Hand Held Legend SInput controllers
 | |
| * Added SDL_hid_get_properties() to associate SDL properties with HID devices
 | |
| * Added SDL_SetRelativeMouseTransform() to add custom mouse input transformation
 | |
| * Added SDL_GetPenDeviceType() to determine whether a pen is on the screen or on a separate touchpad
 | |
| * Added SDL_GetEventDescription() to get an English description of an event, suitable for logging
 | |
| * Added verbose log output when the DEBUG_INVOCATION environment variable is set to "1"
 | |
| * Added SDL_AddAtomicU32()
 | |
| * Added SDL_GetSystemPageSize() to get the system page size
 | |
| 
 | |
| Windows:
 | |
| * Added SDL_HINT_RENDER_DIRECT3D11_WARP to enable D3D11 software rasterization
 | |
| * SDL_HINT_AUDIO_DEVICE_STREAM_ROLE is used by the WASAPI audio driver to set the audio stream category
 | |
| * SDL_HINT_WINDOWS_GAMEINPUT is disabled by default
 | |
| 
 | |
| Linux:
 | |
| * Added atomic support for KMSDRM
 | |
| * Added SDL_HINT_KMSDRM_ATOMIC to control whether KMSDRM will use atomic functionality
 | |
| 
 | |
| Emscripten:
 | |
| * Added SDL_HINT_EMSCRIPTEN_FILL_DOCUMENT for applications that don't want to be fullscreen, but would like to fill the window
 | |
| 
 | |
| PlayStation 2:
 | |
| * 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
 | |
| 
 | |
| 
 | |
| ---------------------------------------------------------------------------
 | |
| 3.2.22:
 | |
| ---------------------------------------------------------------------------
 | |
| * SDL_HINT_JOYSTICK_WGI is disabled by default
 | |
| 
 | |
| ---------------------------------------------------------------------------
 | |
| 3.2.16:
 | |
| ---------------------------------------------------------------------------
 | |
| * SDL_HINT_JOYSTICK_RAWINPUT is disabled by default
 | |
| 
 | |
| ---------------------------------------------------------------------------
 | |
| 3.2.10:
 | |
| ---------------------------------------------------------------------------
 | |
| * Added SDL_HINT_VIDEO_X11_EXTERNAL_WINDOW_INPUT to control whether XSelectInput() should be called on external windows to enable input events.
 | |
| 
 | |
| ---------------------------------------------------------------------------
 | |
| 3.2.4:
 | |
| ---------------------------------------------------------------------------
 | |
| * Added SDL_StretchSurface()
 | |
| 
 | |
| ---------------------------------------------------------------------------
 | |
| 3.2.0:
 | |
| ---------------------------------------------------------------------------
 | |
| 
 | |
| Check out [migration guide](docs/README-migration.md) for details on API changes since SDL 2.0, and tips on transitioning your code from SDL2 code to SDL3.
 | |
| 
 | |
| There have been too many changes to list them all, but here are some of the highlights:
 | |
| 
 | |
| https://wiki.libsdl.org/SDL3/NewFeatures
 | |
| 
 | |
| Thank you to all the people who have contributed code and feedback to the SDL 3.0 release!
 |