This should reduce unnecessary hardware interrupts. Apparently improves the
ALSA target on some systems.
Fixes Bugzilla #1170.
Thanks to Paul Cercueil for the patch!
--HG--
branch : SDL-1.2
The license on IOHIDLib.h says we have to distribute a copy of the APSL with
every copy of SDL, and include a "prominent notice" in the documentation, and
that's annoying for something that's only there because Apple forgot to copy
a file in an ancient SDK.
--HG--
branch : SDL-1.2
The new behavior is triggered by setting the environment variable
SDL_FBCON_DONT_CLEAR.
This is useful in certain circumstances (specifically: a game launcher on an
embedded device can leave a "now loading!" screen on the framebuffer while
another process is starting up).
Fixes Bugzilla #1251.
Thanks to Paul Cercueil for the patch!
--HG--
branch : SDL-1.2
I'm not sure if there was a way to make CGLSetFullScreen() work, but the
Cocoa path works fine on all Intel Macs.
Please note that the "official" way to do fullscreen in 10.7 is just to make
a window the size of the display mode, and OS X is now smart enough to
recognize this as "fullscreen", but this helps earlier versions of the OS in
any case.
--HG--
branch : SDL-1.2
"Centering" is a little off-center, vertically. Apparently in non-fullscreen
apps, this is more aestetically pleasing or something.
Fixes positioning on fullscreen video modes on Mac OS X.
--HG--
branch : SDL-1.2
Mac OS X Lion (10.7) always returns NULL from CGDisplayBaseAddress(), so all
the direct framebuffer access code has been replaced with something a little
higher level. This also necessitated taking out the scary SDL_DOUBLEBUF
codepath that was trying to time out vsync by hand. :)
--HG--
branch : SDL-1.2
Newer kernels seem to report bogus axes in the higher ranges, for example
with a standard PlayStation 3 controller plugged in via USB.
--HG--
branch : SDL-1.2
Apparently these pointers can change if the user has multiple displays and
moves a window between them, and probably other similar cases.
Thanks to Kirk Baker for the patch!
--HG--
branch : SDL-1.2
Gleb Natapov to sdl
If application installs SIGINT/SIGTERM signal handler with
sigaction(SA_SIGINFO) syscall before initializing SDL, after
initialization
of SDL signal handler will be reinstalled without SA_SIGINFO flag which
brings havoc when the signal handler is called. The breakage is done by
SDL_QuitInit()/SDL_QuitQuit() function. They use signal() to detect that
signal handler is already installed even in sigaction() is available.
--HG--
branch : SDL-1.2
Stephen Anthony to SDL
Using SDL_VIDEO_CENTERED in Linux OpenGL mode issue an unwanted
ConfigureNotify event *after* the SDL screen has already been resized.
When going from a smaller to a larger screen, this event causes the mouse
tracking to be clamped at the *smaller* screen size, even though that
screen no longer exists.
The fix is to not issue a ConfigureNotify when the window is moved because
of the SDL_VIDEO_CENTERED environment variable. The included patch fixes
this bug. It seems the hints must be set before the window is moved.
--HG--
branch : SDL-1.2
nasm-2.09 makes `elf' alias to `elf32', thus __OUTPUT_FORMAT__ macro
becomes `elf32' instead of `elf' (on x86). Unmatched macro value causes
omitting .note.GNU-stack marker and creates ELFs with executable stack.
This is unneeded and attracts security policies like SELinux.
--HG--
branch : SDL-1.2
Chusslove Illich 2011-02-13 04:30:28 PST
Currently SDL_JOYSTICK_DEVICE environment variable can be used to add
exactly one topmost device. I think it would be nice if one could also set
several devices (e.g. a stick and a throttle) in this way, as a colon-
separated list. The attached patch implements this
--HG--
branch : SDL-1.2