HomeSolus
Diffusion sdl2 e1f242c8ab59

Update SDL2 to 2.0.10

Authored by Girtablulu on Aug 6 2019, 6:33 PM.
Tags
None
Subscribers
None
Tokens
"Burninate" token, awarded by chax."Party Time" token, awarded by JoshStrobl.

Description

Update SDL2 to 2.0.10

Summary:
Update SDL2 to 2.0.10
Resolves T8184

Changelog:

  • The SDL_RW* macros have been turned into functions that are available only in 2.0.10 and onward
  • Added SDL_SIMDGetAlignment(), SDL_SIMDAlloc(), and SDL_SIMDFree(), to allocate memory aligned for SIMD operations for the current CPU
  • Added SDL_RenderDrawPointF(), SDL_RenderDrawPointsF(), SDL_RenderDrawLineF(), SDL_RenderDrawLinesF(), SDL_RenderDrawRectF(), SDL_RenderDrawRectsF(), SDL_RenderFillRectF(), SDL_RenderFillRectsF(), SDL_RenderCopyF(), SDL_RenderCopyExF(), to allow floating point precision in the SDL rendering API.
  • Added SDL_GetTouchDeviceType() to get the type of a touch device, which can be a touch screen or a trackpad in relative or absolute coordinate mode.
  • The SDL rendering API now uses batched rendering by default, for improved performance
  • Added SDL_RenderFlush() to force batched render commands to execute, if you’re going to mix SDL rendering with native rendering
  • Added the hint SDL_HINT_RENDER_BATCHING to control whether batching should be used for the rendering API. This defaults to “1” if you don’t specify what rendering driver to use when creating the renderer.
  • Added the hint SDL_HINT_EVENT_LOGGING to enable logging of SDL events for debugging purposes
  • Added the hint SDL_HINT_GAMECONTROLLERCONFIG_FILE to specify a file that will be loaded at joystick initialization with game controller bindings
  • Added the hint SDL_HINT_MOUSE_TOUCH_EVENTS to control whether SDL will synthesize touch events from mouse events
  • Improved handling of malformed WAVE and BMP files, fixing potential security exploits
  • Removed the Mir video driver in favor of Wayland

Test Plan: Rebuild all rev deps, tested steam,wine,mrboom, python-sdl2 via m64py

Reviewers: Triage Team, JoshStrobl

Reviewed By: Triage Team, JoshStrobl

Subscribers: JoshStrobl

Maniphest Tasks: T8184

Differential Revision: https://dev.getsol.us/D6904

Details

Committed
GirtabluluAug 9 2019, 3:55 PM
Pushed
GirtabluluAug 9 2019, 3:55 PM
Reviewer
Triage Team
Differential Revision
D6904: Update SDL2 to 2.0.10
Parents
R2866:c939297079b7: sdl2: remove HIDAPI dependency as it's causing problems
Branches
Unknown
Tags
Unknown
References
tag: sdl2-2.0.10-18
Tasks
T8184: Meta: Update Task SDL2.0.10