Sam Lantinga
5b8cfdabf7
Normalized line endings
2011-01-19 13:44:55 -08:00
Sam Lantinga
de31f7c2e6
Raw input is no longer used. Yay!
2011-01-19 13:44:44 -08:00
Sam Lantinga
13ed617751
Added XFlush() so changes happen immediately instead of waiting for the next event loop.
2011-01-19 10:14:11 -08:00
Sam Lantinga
9a91680ace
Whoops, good catch from Greg Jandl
2011-01-18 22:10:37 -08:00
Sam Lantinga
e89ef55e05
Fixed build against 10.4 SDK
2011-01-18 14:57:39 -08:00
Sam Lantinga
5716390ec1
Fixed compiler error with the latest Xcode package
2011-01-18 14:26:30 -08:00
Sam Lantinga
b8df61a201
Use compiler intrinsics on Windows
2011-01-17 14:05:43 -08:00
Sam Lantinga
aea7e124a9
Fixed compiler warning about symbol redefinition
2011-01-16 17:47:52 -08:00
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
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
4558d7576e
Added "mouse" support for the Android touch screen
2011-01-13 18:31:15 -08:00
Sam Lantinga
a80a7c1347
Cleaned up internal accelerometer interface
2011-01-13 18:03:56 -08:00
Sam Lantinga
686f35737f
Make sure we shut down the app if SDL_main() returns instead of exiting.
2011-01-13 17:13:00 -08:00
Sam Lantinga
271a5e7540
The window is changed to reflect the actual screen dimensions, for now.
...
Implemented SDL_SetWindowTitle(), which turned out to be fairly complex
2011-01-13 15:10:17 -08:00
Sam Lantinga
edcfdea827
Removed code from GetPrimtiveArrayCritical() experiment
2011-01-13 12:36:59 -08:00
Sam Lantinga
9a23f9d63a
Fixed audio buffer lifecycle and implemented audio shutdown
2011-01-13 12:32:55 -08:00
Sam Lantinga
46004aa2fe
Working audio implementation contributed by Joseph Lunderville
2011-01-13 11:14:20 -08:00
Sam Lantinga
6887872f27
Added missing header
2011-01-13 09:15:51 -08:00
Sam Lantinga
d83df90435
Implemented translation from Android keycodes to SDL scancodes
2011-01-12 21:21:21 -08:00
Sam Lantinga
03bc98ed24
Added an extra line for consistency
2011-01-12 21:21:08 -08:00
Sam Lantinga
0b56f35597
Improved error message for unsupported texture format
2011-01-12 19:33:04 -08:00
Sam Lantinga
9590d26387
More Android cleanup:
...
* Formalized the interface with Java methods in SDL_android.h
* We don't need the feature system, at least right now
* Fixed waiting for the SDLMain thread
2011-01-12 17:53:06 -08:00
Sam Lantinga
c938e5b4b2
Set blend mode for textures that were created from surfaces with a colorkey
2011-01-12 15:58:53 -08:00
Sam Lantinga
8e971128c3
Renderer didn't advertise texture format SDL_PIXELFORMAT_ABGR8888
2011-01-12 15:42:26 -08:00
Sam Lantinga
115cc245d0
Fixed blue-red channel swap in OpenGL ES 16-bit texture formats
2011-01-12 15:23:19 -08:00
Sam Lantinga
1dc9824e3d
Support the new 16-bit pixel formats in SDL_CreateTextureFromSurface()
2011-01-12 15:22:29 -08:00
Sam Lantinga
3e6f2fc27a
Support the new 16-bit formats in SDL_MasksToPixelFormatEnum()
2011-01-12 15:21:12 -08:00
Sam Lantinga
be09e4e9a0
Added some missing pixel formats and SDL_GetPixelFormatName()
2011-01-12 14:53:23 -08:00
Sam Lantinga
307c1da714
Fill in the video mode with the correct screen format
2011-01-12 14:29:01 -08:00
Sam Lantinga
4bb49ad70f
A bit of cleanup in the Android driver
2011-01-12 13:52:41 -08:00
Sam Lantinga
bac790d9b0
Added SDL errors to the Android log stream if DEBUG_ERROR is defined
2011-01-12 13:52:27 -08:00
Sam Lantinga
9c4a36d79e
You can't change the resolution on some devices
2011-01-12 13:46:37 -08:00
Sam Lantinga
0e378c9dd3
Use a valid window when creating the default renderer
2011-01-12 13:38:10 -08:00
Sam Lantinga
bd19fe97f7
Fixed return value
2011-01-07 09:53:08 -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
c71d6c570a
Fixed screen texture format on Android
...
I think this also fixes some of the red/blue channel swap bugs reported on iPhone.
2011-01-05 00:09:19 -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
860a7d3309
Don't continually print stub message for testgles
2011-01-04 20:30:54 -08:00
Sam Lantinga
cead9cf66b
The source rectangle isn't modified in SDL_UpperBlit
2011-01-04 10:19:24 -08:00
Sam Lantinga
5071d8ac2a
Fixed crash on Windows XP
2011-01-03 14:39:41 -08:00
Sam Lantinga
288c15a3ee
Fixed trying to create an XRender texture for YUV formats
2011-01-01 20:46:39 -08:00
Sam Lantinga
d44793d5c3
Final touches on renaming SDL_eventtouch to SDL_x11touch
2011-01-01 20:04:50 -08:00
Sam Lantinga
20e521a87a
I am using SDL 1.3 on FreeBSD. I found two problems.
...
(1) SDL_atomic dummy version in SDL 1.3 is not used.
Because src/atomic/dummy/*.c are not used.
(2) Typo in src/joystick/bsd/SDL_sysjoystick.c.
Thanks,
IWATSUKI Hiroyuki
2011-01-01 19:50:50 -08:00
Sam Lantinga
3e250a4d82
Fixed restoring the desktop resolution when toggling fullscreen mode
2011-01-01 16:41:29 -08:00
Sam Lantinga
c096fd88d7
Fixed compiling on Android
2010-12-31 16:51:03 -08:00
Sam Lantinga
0ff5b782f8
Don't crash when resizing non-shaped windows
2010-12-31 08:50:06 -08:00
Sam Lantinga
1c8ea18dab
Fixed compiling X11 touch interface
2010-12-30 13:21:39 -08:00
Sam Lantinga
f05ae15a46
Hopefully fix X11 compile error
2010-12-30 10:45:36 -08:00
Sam Lantinga
791c2402da
Removed carriage returns
2010-12-29 15:23:54 -08:00