Sam Lantinga
b04eaeedc5
Fixed compiler warnings using Windows intrinsics
2011-01-17 14:07:15 -08:00
Sam Lantinga
6654cd07b3
Fixed compiler error
2011-01-17 14:05:14 -08:00
Sam Lantinga
2216518b9a
Use compiler intrinsics, where available
2011-01-17 13:53:31 -08:00
Sam Lantinga
68afae139d
Use the portable intrinsic
2011-01-17 13:52:40 -08:00
Sam Lantinga
24cfae7d89
Minor documentation consistency cleanup
2011-01-17 09:09:15 -08:00
Sam Lantinga
d428d9d5a1
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
57d90f79d3
Don't hose code that isn't expecting a windows include
2011-01-16 15:31:09 -08:00
Sam Lantinga
b0e0f61c7e
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
1bc8fe69ce
Updated the atomic API for better use cases
2011-01-15 12:41:59 -08:00
Sam Lantinga
4084438113
Added some missing config for the iPhone
2011-01-15 12:34:43 -08:00
Sam Lantinga
fdea37a756
Added some missing pixel formats and SDL_GetPixelFormatName()
2011-01-12 14:53:23 -08:00
Sam Lantinga
5152fac7f8
Fixed spacing in comments
2011-01-12 11:55:02 -08:00
Sam Lantinga
a8c8dc3e09
Updated headers to match wiki documentation
2011-01-12 09:47:33 -08:00
Sam Lantinga
606b0cda7f
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
63925f3c8f
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
82f0d82581
Android needs the SDL_main() redirect as well
2011-01-04 11:39:04 -08:00
Sam Lantinga
53eaef45fd
Added the Android config include to the default config.h
2011-01-04 11:07:27 -08:00
Sam Lantinga
c7c6cb464a
The source rectangle isn't modified in SDL_UpperBlit
2011-01-04 10:19:24 -08:00
Sam Lantinga
18f2ccec34
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
b369f1945a
Android has atan() and atan2()
2011-01-01 16:56:54 -08:00
Sam Lantinga
35cc558917
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
091cd521e3
Removed support for 10.3.9
...
Fixed building on Mac OS X 10.5
2010-12-01 12:23:16 -08:00
Sam Lantinga
14d78bb03f
Don't conflict with glext.h if it's already been included
2010-12-01 12:02:52 -08:00
Andreas Schiffler
d1159d9a1b
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
fdbac7e0ce
Documentation clarification
2010-09-29 21:24:50 -07:00
Sam Lantinga
3189c43f85
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
45e68f6c5c
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
8e2a972b50
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
b6d190a459
Fixed documentation typo
2010-09-25 17:06:41 -07:00
Sam Lantinga
200c3c74ab
Fixed grammar, thanks to Sheena's suggestion.
2010-09-18 17:12:19 -07:00
Sam Lantinga
458c6eda30
Fixed documentation
2010-09-14 21:57:29 -07:00
Sam Lantinga
b7c57f809f
Documentation consistency
2010-08-29 22:34:50 -07:00
Sam Lantinga
5ba14426fa
Documentation consistency
2010-08-29 22:28:38 -07:00
Sam Lantinga
2ef894f75e
Fixed typo in header
2010-08-29 22:22:27 -07:00
Sam Lantinga
1877442eb2
Documentation clarification
2010-08-29 22:12:59 -07:00
Sam Lantinga
f56e6b9244
Suspending the screensaver defaults off.
2010-08-29 21:41:11 -07:00
Sam Lantinga
515a3e58ab
Compiling in atan()/atan2() implementation on Visual Studio 2008.
2010-08-29 16:55:58 -07:00
Sam Lantinga
d8303d3f7a
Added atan implementation from uClibc
2010-08-29 16:51:48 -07:00
Sam Lantinga
21e184b0bb
Added atan2 implementation from uClibc
2010-08-29 16:05:34 -07:00
Sam Lantinga
fa8d01e8ab
Documentation clarification
2010-08-29 15:26:12 -07:00
Sam Lantinga
adc9598f1a
While you can actually write to the error buffer, conceptually it's read-only.
2010-08-29 12:00:09 -07:00
Sam Lantinga
09ad8038b8
Added a typedef for the thread function to simplify documentation
2010-08-28 22:56:52 -07:00
Sam Lantinga
9412167e50
Fixed documentation typo
2010-08-22 17:19:10 -07:00
Sam Lantinga
81d43b4e7f
Fixed obsolete documentation
2010-08-22 15:34:28 -07:00
Sam Lantinga
7c463932c2
Merged Eli's Google Summer of Code work from SDL-gsoc2010-shaped_windows
...
--HG--
rename : VisualC/SDL.sln => VisualC/SDL_VS2005.sln
2010-08-22 13:45:56 -07:00
Sam Lantinga
1f8dacabd7
Merged Daniel's Google Summer of Code work from SDL-gsoc2010_IME
2010-08-22 12:39:27 -07:00
Sam Lantinga
7d245d0532
Removed spurious carriage returns
2010-08-22 12:34:31 -07:00
Sam Lantinga
a64fc29cfb
Merged Paul's Google Summer of Code work from SDL-gsoc2010_android
2010-08-22 12:23:55 -07:00
Sam Lantinga
238acbd53d
Merged Jim's Google Summer of Code work from SDL-gsoc2010_gesture
2010-08-22 12:07:55 -07:00
Jim Grandpre
794c5cb3ee
Added README.touch and README.gesture. Moved touchtest/gestureSDLTest to test/testgesture
2010-08-15 00:36:28 -04:00