The NetBSD Project

CVS log for pkgsrc/devel/SDL2/patches/patch-src_video_wayland_SDL__waylandevents.c

[BACK] Up to [] / pkgsrc / devel / SDL2 / patches

Request diff between arbitrary revisions

Default branch: MAIN

Revision 1.5 / (download) - annotate - [select for diffs], Sun Apr 5 16:22:42 2020 UTC (8 weeks, 3 days ago) by nia
Branch: MAIN
Changes since 1.4: +35 -1 lines
Diff to previous 1.4 (colored)

SDL2: Update with the latest round of patches sent to bugzilla

- Drop patches that are no longer relevant.
- Add support for 32-bit LPCM audio on NetBSD.
- Fix a wayland protocol handling issue.

Revision 1.4 / (download) - annotate - [select for diffs], Tue Mar 17 12:49:29 2020 UTC (2 months, 2 weeks ago) by nia
Branch: MAIN
CVS Tags: pkgsrc-2020Q1-base, pkgsrc-2020Q1
Changes since 1.3: +2 -17 lines
Diff to previous 1.3 (colored)

SDL2: Update to 2.0.12

In addition to lots of bug fixes, here are the major changes in this release:


     * Added SDL_GetTextureScaleMode() and SDL_SetTextureScaleMode() to get
       and set the scaling mode used for a texture
     * Added SDL_LockTextureToSurface(), similar to SDL_LockTexture() but the
       locked area is exposed as a SDL surface.
     * Added new blend mode, SDL_BLENDMODE_MUL, which does a modulate and
       blend operation
     * Added the hint SDL_HINT_DISPLAY_USABLE_BOUNDS to override the results
       of SDL_GetDisplayUsableBounds() for display index 0.
     * Added the window underneath the finger to the SDL_TouchFingerEvent
     * Added SDL_GameControllerTypeForIndex(), SDL_GameControllerGetType() to
       return the type of a game controller (Xbox 360, Xbox One, PS3, PS4, or
       Nintendo Switch Pro)
     * Added the hint SDL_HINT_GAMECONTROLLERTYPE to override the automatic
       game controller type detection
     * Added SDL_JoystickFromPlayerIndex() and
       SDL_GameControllerFromPlayerIndex() to get the device associated with
       a player index
     * Added SDL_JoystickSetPlayerIndex() and
       SDL_GameControllerSetPlayerIndex() to set the player index associated
       with a device
     * Added the hint SDL_HINT_GAMECONTROLLER_USE_BUTTON_LABELS to specify
       whether Nintendo Switch Pro controllers should use the buttons as
       labeled or swapped to match positional layout. The default is to use
       the buttons as labeled.
     * Added support for Nintendo GameCube controllers to the HIDAPI driver,
       and a hint SDL_HINT_JOYSTICK_HIDAPI_GAMECUBE to control whether this
       is used.
     * Improved support for Xbox 360 and Xbox One controllers when using the
       HIDAPI driver
     * Added support for many game controllers, including:
          * 8BitDo FC30 Pro
          * 8BitDo M30 GamePad
          * BDA PS4 Fightpad
          * HORI Fighting Commander
          * Hyperkin Duke
          * Hyperkin X91
          * MOGA XP5-A Plus
          * NACON GC-400ES
          * NVIDIA Controller v01.04
          * PDP Versus Fighting Pad
          * Razer Raion Fightpad for PS4
          * Razer Serval
          * Stadia Controller
          * SteelSeries Stratus Duo
          * Victrix Pro Fight Stick for PS4
          * Xbox One Elite Series 2
     * Fixed blocking game controller rumble calls when using the HIDAPI
     * Added SDL_zeroa() macro to zero an array of elements
     * Added SDL_HasARMSIMD() which returns true if the CPU has ARM SIMD
       (ARMv6+) features


     * Fixed crash when using the release SDL DLL with applications built
       with gcc
     * Fixed performance regression in event handling introduced in 2.0.10
     * Added support for SDL_SetThreadPriority() for UWP applications


     * Added the hint SDL_HINT_VIDEO_X11_WINDOW_VISUALID to specify the
       visual chosen for new X11 windows
     * Added the hint SDL_HINT_VIDEO_X11_FORCE_EGL to specify whether X11
       should use GLX or EGL by default

   iOS / tvOS / macOS:

     * Added SDL_Metal_CreateView() and SDL_Metal_DestroyView() to create
       CAMetalLayer-backed NSView/UIView and attach it to the specified

   iOS/ tvOS:

     * Added support for Bluetooth Steam Controllers as game controllers


     * Fixed support for surround sound on Apple TV


     * Added SDL_GetAndroidSDKVersion() to return the API level of the
       current device
     * Added support for audio capture using OpenSL-ES
     * Added support for Bluetooth Steam Controllers as game controllers
     * Fixed rare crashes when the app goes into the background or terminates

Revision 1.3 / (download) - annotate - [select for diffs], Mon Feb 24 11:55:36 2020 UTC (3 months, 1 week ago) by nia
Branch: MAIN
Changes since 1.2: +16 -1 lines
Diff to previous 1.2 (colored)

SDL2: Apply upstream patch for wayland protocol error

Revision 1.2 / (download) - annotate - [select for diffs], Tue Oct 29 22:46:39 2019 UTC (7 months ago) by nia
Branch: MAIN
CVS Tags: pkgsrc-2019Q4-base, pkgsrc-2019Q4
Changes since 1.1: +7 -7 lines
Diff to previous 1.1 (colored)

*: fix manual definition of evdev mouse button ids

Revision 1.1 / (download) - annotate - [select for diffs], Sun Aug 18 16:16:25 2019 UTC (9 months, 2 weeks ago) by nia
Branch: MAIN
CVS Tags: pkgsrc-2019Q3-base, pkgsrc-2019Q3

SDL2: Add support for Wayland in

While here, resolve some pkglint problems.

Builds on NetBSD with Wayland support...

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

CVSweb <>