Commit Graph

2475 Commits

Author SHA1 Message Date
Ryan C. Gordon
6b26d7ee68 Restored the older Quartz video target code.
The new code happened to (supposedly) work everywhere, but it is way slower
 on older Mac OS X releases that could get away with using the now
 deprecated/removed APIs, so now both implementations are available, and SDL
 should choose the right path based on compile options and OS version at
 runtime.

Fun stuff.

--HG--
branch : SDL-1.2
2011-09-13 20:30:48 -04:00
Ryan C. Gordon
c572dcb8a4 Fixed compiler warnings on Haiku.
--HG--
branch : SDL-1.2
2011-09-13 15:19:28 +00:00
Ryan C. Gordon
83545b9395 Turned off the rest of the MMX code in SDL_blit_A.c.
It also seems to blow up everywhere.

Fixes Bugzilla #1278.

--HG--
branch : SDL-1.2
2011-09-13 14:42:58 -04:00
Ryan C. Gordon
8ccce1fbf5 Removed executable bit from VisualC files.
--HG--
branch : SDL-1.2
2011-09-12 00:29:18 -04:00
Ryan C. Gordon
4b4ee808ff Maybe this will fix the Cygwin compile warning...argh.
--HG--
branch : SDL-1.2
2011-09-11 23:34:33 -04:00
Ryan C. Gordon
4eca3de99f Maybe THIS will fix the Cygwin warnings...
--HG--
branch : SDL-1.2
2011-09-11 23:01:03 -04:00
Ryan C. Gordon
84c071b444 Sigh, fixed typo.
--HG--
branch : SDL-1.2
2011-09-11 22:38:45 -04:00
Ryan C. Gordon
a122a400c5 More Cygwin compiler warnings...
--HG--
branch : SDL-1.2
2011-09-11 22:31:53 -04:00
Ryan C. Gordon
75a74696c4 Still fighting with calling conventions in Cygwin/MingW/VisualC...
--HG--
branch : SDL-1.2
2011-09-11 15:24:44 -04:00
Ryan C. Gordon
a88ed755d0 Unpacked Xcode.tar.gz.
--HG--
branch : SDL-1.2
2011-09-11 14:44:37 -04:00
Ryan C. Gordon
9f35990896 Unpacked VisualCE.zip.
--HG--
branch : SDL-1.2
2011-09-11 14:43:21 -04:00
Ryan C. Gordon
679a09473f Unpacked VisualC.zip.
--HG--
branch : SDL-1.2
2011-09-11 13:29:23 -04:00
Ryan C. Gordon
2132f9c034 Another shot at fixing the compiler warnings under Cygwin/MingW.
--HG--
branch : SDL-1.2
2011-09-11 13:23:36 -04:00
Ryan C. Gordon
2d2e1e9928 Patched to compile on Windows.
--HG--
branch : SDL-1.2
2011-09-11 10:48:36 -04:00
Ryan C. Gordon
01a7b1718b More work on Windows build issues.
--HG--
branch : SDL-1.2
2011-09-11 04:38:50 -04:00
Ryan C. Gordon
984c3ec317 Fixed some compiler warnings on Cygwin.
--HG--
branch : SDL-1.2
2011-09-11 01:35:57 -04:00
Ryan C. Gordon
a40358a859 Fixed another nasm warning, this one looking quite serious.
--HG--
branch : SDL-1.2
2011-09-11 00:40:21 -04:00
Ryan C. Gordon
7fa101a106 Fixed build warnings from nasm on some Hermes blitters.
--HG--
branch : SDL-1.2
2011-09-11 00:33:18 -04:00
Ryan C. Gordon
f9d5c96647 Disabled MMX blitters on GCC. They break the build on tons of machines now.
--HG--
branch : SDL-1.2
2011-09-10 23:21:19 -04:00
Ryan C. Gordon
012fc37618 Corrected datatype used for LoadLibrary() return value.
--HG--
branch : SDL-1.2
2011-09-10 19:37:20 -04:00
Ryan C. Gordon
3b10353c7f Removed WIN_GetKeyboardState().
It causes problems on modern Windows, when a player ALT-Tab's out of a window.
When they ALT-Tab back, the keystate gets confused.

Fixes Bugzilla #659.

--HG--
branch : SDL-1.2
2011-09-09 00:48:53 -04:00
Sam Lantinga
71b09f10cf Fixed bug 1278.
From http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50111:
Andrew Pinski 2011-08-18 02:25:15 UTC
I really doubt this is a bug in GCC but rather SDL's inline-asm.

 "=X" (mmx_trace)

'X'
    Any operand whatsoever is allowed.

They most likely want:
y
    Any MMX register.

--HG--
branch : SDL-1.2
2011-09-06 22:45:58 -04:00
Patrice Mandin
4d790c6a1c Remove unused variables
--HG--
branch : SDL-1.2
2011-09-03 09:52:45 +02:00
Ryan C. Gordon
ab75db897d Fixed another Apple typedef in SDL_opengl.h.
--HG--
branch : SDL-1.2
2011-09-02 13:55:31 -04:00
Patrice Mandin
4c1bf583b9 audio/mint/dma8: Use XBIOS Supexec instead of GEMDOS Super
--HG--
branch : SDL-1.2
2011-09-01 23:52:09 +02:00
Ryan C. Gordon
c8ac5be7a2 Removed unused variable.
--HG--
branch : SDL-1.2
2011-09-01 04:31:58 -04:00
Ryan C. Gordon
34a8c82346 Backport from 1.3 branch: clean up opened joysticks in SDL_JoystickQuit().
--HG--
branch : SDL-1.2
2011-09-01 04:31:01 -04:00
Patrice Mandin
7f5ef116ed video/xbios: remove __attribute__((packed))
--HG--
branch : SDL-1.2
2011-08-31 19:03:02 +02:00
Patrice Mandin
daae314546 audio/mint: remove __attribute__((packed))
--HG--
branch : SDL-1.2
2011-08-30 23:53:53 +02:00
Patrice Mandin
7596089e6c Use proper m68k defines from gcc
--HG--
branch : SDL-1.2
2011-08-28 19:51:27 +02:00
Patrice Mandin
c826ab14ae Remove more values now defined in mintlib
--HG--
branch : SDL-1.2
2011-08-28 19:33:40 +02:00
Patrice Mandin
e811c5f4b1 Remove more values now defined in mintlibsrc/video/xbios/SDL_xbios_centscreen.h
--HG--
branch : SDL-1.2
2011-08-28 19:28:24 +02:00
Patrice Mandin
89a16918bb Remove more values now defined in mintlib
--HG--
branch : SDL-1.2
2011-08-28 19:19:03 +02:00
Patrice Mandin
505816c963 Fix more compilation warnings
--HG--
branch : SDL-1.2
2011-08-28 17:20:12 +02:00
Patrice Mandin
d11b29e176 Fix more compilation warnings
--HG--
branch : SDL-1.2
2011-08-28 17:19:32 +02:00
Patrice Mandin
036414b619 Update for latest mintlib, and remove duplicated defines
--HG--
branch : SDL-1.2
2011-08-26 19:56:08 +02:00
Patrice Mandin
a4c42a39b9 Fix various warnings for uninitialized or unused variables and functions
--HG--
branch : SDL-1.2
2011-08-26 14:37:39 +02:00
Ryan C. Gordon
e7cebcdb3e Fixed the Apple SDL_opengl.h conflict in the 1.2 branch.
--HG--
branch : SDL-1.2
2011-08-26 03:39:54 -04:00
Ryan C. Gordon
a4c0223c9e Remove use of MAC_OS_X_VERSION_10_x macro.
If you look for MAC_OS_X_VERSION_10_6 in the 10.4 SDK (for example), it'll
 fail to do the right thing in the preprocessor.

--HG--
branch : SDL-1.2
2011-08-25 03:04:24 -04:00
Ryan C. Gordon
84177ee03d Cleaned up Snow Leopard display mode rework.
--HG--
branch : SDL-1.2
2011-08-23 06:04:54 -04:00
Ryan C. Gordon
0f3a5366d1 Fixed some printf() compiler warnings in test/testplatform.c
--HG--
branch : SDL-1.2
2011-08-23 02:57:36 -04:00
Ryan C. Gordon
0862e6401c Added GLX_EXT_swap_control support for 1.2 x11 video target.
--HG--
branch : SDL-1.2
2011-08-22 02:11:56 -04:00
Ryan C. Gordon
601ad28efa Cleaned out all the deprecated stuff in Mac OS X 10.6 SDK.
--HG--
branch : SDL-1.2
2011-08-21 23:38:35 -04:00
Ryan C. Gordon
9b633e09e5 Fixed compiler warning that happens on some platforms (x86 Mac OS X, etc).
--HG--
branch : SDL-1.2
2011-08-21 21:29:12 -04:00
Ryan C. Gordon
a360581a35 Apple uses a void* for GLhandleARB, not an unsigned int.
(transplanted from 68eb59d8baedbcfa99294f833611581860c37258)

--HG--
branch : SDL-1.2
2011-08-04 00:46:27 -04:00
Ryan C. Gordon
c046151e70 Fix SDL_GL_ACCELERATED_VISUAL on Windows in the 1.2 branch.
Fixes Bugzilla #1254.

Thanks to Thilo Schulz for the patch!

--HG--
branch : SDL-1.2
2011-08-21 12:21:01 -04:00
Ryan C. Gordon
804f8e784c Set a minimum sample count in ALSA target.
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
2011-08-21 11:42:47 -04:00
Ryan C. Gordon
a5329adc36 Ignore old ConfigureNotify events during X11 window resize.
Fixes Bugzilla #1049.

Thanks to Andrew Church for the patch!

--HG--
branch : SDL-1.2
2011-08-21 11:27:37 -04:00
Ryan C. Gordon
30bfa18146 Don't allocate a new NSGraphicsContext on every call to QZ_UpdateRects().
--HG--
branch : SDL-1.2
2011-08-21 10:10:42 -04:00
Ryan C. Gordon
230a95fb5f Remove src/joystick/darwin/10.3.9-FIX dir.
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
2011-08-21 09:47:43 -04:00