- Update to version 2.0.10
* 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
- Refreshed sdl2-symvers.patch
OBS-URL: https://build.opensuse.org/request/show/718761
OBS-URL: https://build.opensuse.org/package/show/games/SDL2?expand=0&rev=88
- Update to version 2.0.9
* Added a new sensor API, initialized by passing
SDL_INIT_SENSOR to SDL_Init(), and defined in SDL_sensor.h
* Added an event SDL_SENSORUPDATE which is sent when a sensor
is updated
* Added SDL_GetDisplayOrientation() to return the current
display orientation
* Added an event SDL_DISPLAYEVENT which is sent when the
display orientation changes
* Added HIDAPI joystick drivers for more consistent support
for Xbox, PS4 and Nintendo Switch Pro controller support
across platforms. (Thanks to Valve for contributing the PS4
and Nintendo Switch Pro controller support)
* Added support for many other popular game controllers
* Added SDL_JoystickGetDevicePlayerIndex(),
SDL_JoystickGetPlayerIndex(), and
SDL_GameControllerGetPlayerIndex() to get the player index for
a controller. For XInput controllers this returns the XInput
index for the controller.
* Added SDL_GameControllerRumble() and SDL_JoystickRumble()
which allow simple rumble without using the haptics API
* Added SDL_GameControllerMappingForDeviceIndex() to get the
mapping for a controller before it's opened
* Added the hint SDL_HINT_MOUSE_DOUBLE_CLICK_TIME to control
the mouse double-click time
* Added the hint SDL_HINT_MOUSE_DOUBLE_CLICK_RADIUS to control
the mouse double-click radius, in pixels
* Added SDL_HasColorKey() to return whether a surface has a
colorkey active
* Added SDL_HasAVX512F() to return whether the CPU has
AVX-512F features
* Added SDL_IsTablet() to return whether the application is
running on a tablet
* Added SDL_THREAD_PRIORITY_TIME_CRITICAL for threads that
must run at the highest priority
* Added SDL_LinuxSetThreadPriority() to allow adjusting the
thread priority of native threads using RealtimeKit if
available.
- Dropped 7babfecee045.patch (merged upstream)
OBS-URL: https://build.opensuse.org/request/show/646259
OBS-URL: https://build.opensuse.org/package/show/games/SDL2?expand=0&rev=84
- update to 2.0.7
* Added audio stream conversion functions.
* Added functions to query and set the SDL memory allocation
functions.
* Added locking functions for multi-threaded access to
the joystick and game controller APIs.
* Some functions are now thread-safe.
- removed patches, merged upstream
* dbus.diff
* SDL2-ppc64-declaration-after-statement.patch
* SDL-bnc1062784-check-overflow-xcf-props.patch
OBS-URL: https://build.opensuse.org/request/show/537357
OBS-URL: https://build.opensuse.org/package/show/games/SDL2?expand=0&rev=69