Sam Lantinga
c94b5b6866
Include windows.h in SDL_atomic.h by default, but don't include the atomic API in SDL.h
...
This allows all SDL code to take advantage of the atomic intrinsics on Windows, but doesn't cause applications just including SDL.h to pull in windows.h
2011-01-16 17:45:42 -08:00
Sam Lantinga
4c5bf24ecb
Don't hose code that isn't expecting a windows include
2011-01-16 15:31:09 -08:00
Sam Lantinga
89d48a0f83
Added native atomic operations for Windows, Mac OS X, and gcc compiler intrinsics.
...
Changed the CAS return value to bool, so it's efficient with OSAtomicCompareAndSwap32Barrier()
Added an atomic test adapted from code by Michael Davidsaver
2011-01-16 15:16:39 -08:00
Sam Lantinga
38e31e4598
Updated the atomic API for better use cases
2011-01-15 12:41:59 -08:00
Sam Lantinga
890680f51e
Added some missing config for the iPhone
2011-01-15 12:34:43 -08:00
Sam Lantinga
be09e4e9a0
Added some missing pixel formats and SDL_GetPixelFormatName()
2011-01-12 14:53:23 -08:00
Sam Lantinga
036154b8c0
Fixed spacing in comments
2011-01-12 11:55:02 -08:00
Sam Lantinga
15e43076a4
Updated headers to match wiki documentation
2011-01-12 09:47:33 -08:00
Sam Lantinga
6da7a17174
Build the SDL library as a shared object on Android, so it will work correctly with SDL_image and SDL_ttf.
2011-01-06 16:11:21 -08:00
Sam Lantinga
49a4522f6f
Fixed 2D video on Android
...
There was a dummy renderer left in there which was overriding the OpenGL ES renderer.
2011-01-04 20:36:39 -08:00
Sam Lantinga
6c961a2344
Android needs the SDL_main() redirect as well
2011-01-04 11:39:04 -08:00
Sam Lantinga
c4f1a0abd3
Added the Android config include to the default config.h
2011-01-04 11:07:27 -08:00
Sam Lantinga
cead9cf66b
The source rectangle isn't modified in SDL_UpperBlit
2011-01-04 10:19:24 -08:00
Sam Lantinga
1fb3692730
Use a typedef instead of a #define, to handle syntax like: SDL_TextureID a, b
2011-01-01 19:46:36 -08:00
Sam Lantinga
80b28b58d8
Android has atan() and atan2()
2011-01-01 16:56:54 -08:00
Sam Lantinga
d6eac2c481
Use the enumerated type for blend and scale mode instead of int
...
Renamed SDL_TextureScaleMode to SDL_ScaleMode
2010-12-12 15:19:05 -08:00
Sam Lantinga
191d2b4366
Removed support for 10.3.9
...
Fixed building on Mac OS X 10.5
2010-12-01 12:23:16 -08:00
Sam Lantinga
fb97826021
Don't conflict with glext.h if it's already been included
2010-12-01 12:02:52 -08:00
Andreas Schiffler
b9e9c91a70
Fix incorrect shape include and add HAVE_ATAN and HAVE_ATAN2 for OSX builds.
...
--
user: Andreas Schiffler <aschiffler@ferzkopp.net>
branch 'default'
changed include/SDL_config_macosx.h
changed src/video/cocoa/SDL_cocoashape.m
2010-11-16 07:03:26 -08:00
Sam Lantinga
0fe9b68cc0
Documentation clarification
2010-09-29 21:24:50 -07:00
Sam Lantinga
276bfeac6c
Make the union nameless to reduce the complexity of the API.
...
(Are there any compilers still in use that don't support this?)
2010-09-29 21:13:52 -07:00
Sam Lantinga
bf43df8ba5
Merged the Windows custom window system hooks into the union used by X11.
...
Added Cocoa custom window system hooks
2010-09-27 01:24:05 -07:00
Sam Lantinga
5426a79715
attached is a patch to support DirectFB in include/SDL_syswm.h. It
...
defines SDL_SYSWM_DIRECTFB as a subsystem.
This allows developers to e.g. access DirectFB's video and picture
providers.
Kind regards,
André
2010-09-27 00:50:46 -07:00
Sam Lantinga
84cee89a18
Fixed documentation typo
2010-09-25 17:06:41 -07:00
Sam Lantinga
864edec6b4
Fixed grammar, thanks to Sheena's suggestion.
2010-09-18 17:12:19 -07:00
Sam Lantinga
823c38786d
Fixed documentation
2010-09-14 21:57:29 -07:00
Sam Lantinga
f5f5c845ae
Documentation consistency
2010-08-29 22:34:50 -07:00
Sam Lantinga
c9ac1fe3e5
Documentation consistency
2010-08-29 22:28:38 -07:00
Sam Lantinga
4913c48bba
Fixed typo in header
2010-08-29 22:22:27 -07:00
Sam Lantinga
a14a177d5f
Documentation clarification
2010-08-29 22:12:59 -07:00
Sam Lantinga
e7789ad75b
Suspending the screensaver defaults off.
2010-08-29 21:41:11 -07:00
Sam Lantinga
256b2c3990
Compiling in atan()/atan2() implementation on Visual Studio 2008.
2010-08-29 16:55:58 -07:00
Sam Lantinga
7a7d43524f
Added atan implementation from uClibc
2010-08-29 16:51:48 -07:00
Sam Lantinga
317cd0515f
Added atan2 implementation from uClibc
2010-08-29 16:05:34 -07:00
Sam Lantinga
b66ae96de5
Documentation clarification
2010-08-29 15:26:12 -07:00
Sam Lantinga
39db467ca6
While you can actually write to the error buffer, conceptually it's read-only.
2010-08-29 12:00:09 -07:00
Sam Lantinga
f0480c0501
Added a typedef for the thread function to simplify documentation
2010-08-28 22:56:52 -07:00
Sam Lantinga
3c0f319cce
Fixed documentation typo
2010-08-22 17:19:10 -07:00
Sam Lantinga
993db1a6aa
Fixed obsolete documentation
2010-08-22 15:34:28 -07:00
Sam Lantinga
b7c5d88e6a
Merged Eli's Google Summer of Code work from SDL-gsoc2010-shaped_windows
2010-08-22 13:45:56 -07:00
Sam Lantinga
d4d88abae0
Merged Daniel's Google Summer of Code work from SDL-gsoc2010_IME
2010-08-22 12:39:27 -07:00
Sam Lantinga
4df9989dd4
Removed spurious carriage returns
2010-08-22 12:34:31 -07:00
Sam Lantinga
ac80a80f6a
Merged Paul's Google Summer of Code work from SDL-gsoc2010_android
2010-08-22 12:23:55 -07:00
Sam Lantinga
7f6ad8e572
Merged Jim's Google Summer of Code work from SDL-gsoc2010_gesture
2010-08-22 12:07:55 -07:00
Jim Grandpre
e9d12a479a
Added README.touch and README.gesture. Moved touchtest/gestureSDLTest to test/testgesture
2010-08-15 00:36:28 -04:00
egottlieb
1dac65bd3a
Finally got the Win32 API code for shaping to work! Just need to fix SDL_CalculateShapeTree() now!
2010-08-14 16:14:36 -04:00
Sam Lantinga
0f67a475f9
Fixed documentation error
2010-08-14 12:28:43 -07:00
Sam Lantinga
8ed311fcbf
Updated with the latest version of glext.h
2010-08-14 12:22:06 -07:00
Eli Gottlieb
12b0fa8c5e
Fixed a bug in X11 shaping that refused to use color-key mode.
2010-08-10 16:10:26 -04:00
Jim Grandpre
db352f3b39
Fixed gestureMulti. Disabled dollar gesture temporarily.
2010-08-04 23:17:30 -04:00