- 07 Jan, 2012 1 commit
-
-
Sam Lantinga authored
-
- 06 Jan, 2012 1 commit
-
-
Sam Lantinga authored
--HG-- rename : README.iphoneos => README.iOS rename : Xcode-iPhoneOS/Demos/Default.png => Xcode-iOS/Demos/Default.png rename : Xcode-iPhoneOS/Demos/DemosiPhoneOS.xcodeproj/project.pbxproj => Xcode-iOS/Demos/Demos.xcodeproj/project.pbxproj rename : Xcode-iPhoneOS/Demos/Icon.png => Xcode-iOS/Demos/Icon.png rename : Xcode-iPhoneOS/Demos/Info.plist => Xcode-iOS/Demos/Info.plist rename : Xcode-iPhoneOS/Demos/README => Xcode-iOS/Demos/README rename : Xcode-iPhoneOS/Demos/data/bitmapfont/kromasky_16x16.bmp => Xcode-iOS/Demos/data/bitmapfont/kromasky_16x16.bmp rename : Xcode-iPhoneOS/Demos/data/bitmapfont/license.txt => Xcode-iOS/Demos/data/bitmapfont/license.txt rename : Xcode-iPhoneOS/Demos/data/drums/ds_brush_snare.wav => Xcode-iOS/Demos/data/drums/ds_brush_snare.wav rename : Xcode-iPhoneOS/Demos/data/drums/ds_china.wav => Xcode-iOS/Demos/data/drums/ds_china.wav rename : Xcode-iPhoneOS/Demos/data/drums/ds_kick_big_amb.wav => Xcode-iOS/Demos/data/drums/ds_kick_big_amb.wav rename : Xcode-iPhoneOS/Demos/data/drums/ds_loose_skin_mute.wav => Xcode-iOS/Demos/data/drums/ds_loose_skin_mute.wav rename : Xcode-iPhoneOS/Demos/data/icon.bmp => Xcode-iOS/Demos/data/icon.bmp rename : Xcode-iPhoneOS/Demos/data/ship.bmp => Xcode-iOS/Demos/data/ship.bmp rename : Xcode-iPhoneOS/Demos/data/space.bmp => Xcode-iOS/Demos/data/space.bmp rename : Xcode-iPhoneOS/Demos/data/stroke.bmp => Xcode-iOS/Demos/data/stroke.bmp rename : Xcode-iPhoneOS/Demos/src/accelerometer.c => Xcode-iOS/Demos/src/accelerometer.c rename : Xcode-iPhoneOS/Demos/src/common.c => Xcode-iOS/Demos/src/common.c rename : Xcode-iPhoneOS/Demos/src/common.h => Xcode-iOS/Demos/src/common.h rename : Xcode-iPhoneOS/Demos/src/fireworks.c => Xcode-iOS/Demos/src/fireworks.c rename : Xcode-iPhoneOS/Demos/src/happy.c => Xcode-iOS/Demos/src/happy.c rename : Xcode-iPhoneOS/Demos/src/keyboard.c => Xcode-iOS/Demos/src/keyboard.c rename : Xcode-iPhoneOS/Demos/src/mixer.c => Xcode-iOS/Demos/src/mixer.c rename : Xcode-iPhoneOS/Demos/src/rectangles.c => Xcode-iOS/Demos/src/rectangles.c rename : Xcode-iPhoneOS/Demos/src/touch.c => Xcode-iOS/Demos/src/touch.c rename : Xcode-iPhoneOS/SDL/SDLiPhoneOS.xcodeproj/project.pbxproj => Xcode-iOS/SDL/SDL.xcodeproj/project.pbxproj rename : Xcode-iPhoneOS/SDL/testsdl-Info.plist => Xcode-iOS/SDL/testsdl-Info.plist rename : Xcode-iPhoneOS/Template/SDL iOS Application/Default.png => Xcode-iOS/Template/SDL iOS Application/Default.png rename : Xcode-iPhoneOS/Template/SDL iOS Application/Icon.png => Xcode-iOS/Template/SDL iOS Application/Icon.png rename : Xcode-iPhoneOS/Template/SDL iOS Application/Info.plist => Xcode-iOS/Template/SDL iOS Application/Info.plist rename : Xcode-iPhoneOS/Template/SDL iOS Application/___PROJECTNAME___.xcodeproj/TemplateIcon.icns => Xcode-iOS/Template/SDL iOS Application/___PROJECTNAME___.xcodeproj/TemplateIcon.icns rename : Xcode-iPhoneOS/Template/SDL iOS Application/___PROJECTNAME___.xcodeproj/TemplateInfo.plist => Xcode-iOS/Template/SDL iOS Application/___PROJECTNAME___.xcodeproj/TemplateInfo.plist rename : Xcode-iPhoneOS/Template/SDL iOS Application/___PROJECTNAME___.xcodeproj/project.pbxproj => Xcode-iOS/Template/SDL iOS Application/___PROJECTNAME___.xcodeproj/project.pbxproj rename : Xcode-iPhoneOS/Template/SDL iOS Application/main.c => Xcode-iOS/Template/SDL iOS Application/main.c rename : Xcode-iPhoneOS/Test/Info.plist => Xcode-iOS/Test/Info.plist rename : Xcode-iPhoneOS/Test/README => Xcode-iOS/Test/README rename : Xcode-iPhoneOS/Test/TestiPhoneOS.xcodeproj/project.pbxproj => Xcode-iOS/Test/TestiPhoneOS.xcodeproj/project.pbxproj
-
- 03 Jan, 2012 1 commit
-
-
Sam Lantinga authored
-
- 02 Jan, 2012 2 commits
-
-
Ryan C. Gordon authored
(Transplanted from hg changeset 331f27f01cdb to the 1.3 branch.)
-
Sam Lantinga authored
Removed extra build configurations
-
- 01 Jan, 2012 1 commit
-
-
Sam Lantinga authored
-
- 31 Dec, 2011 3 commits
-
-
Sam Lantinga authored
Upgraded SDL Xcode project for XCode 4.2, including switching Framework Version to "B", which is required by the Apple Store.
-
Sam Lantinga authored
-
Sam Lantinga authored
-
- 30 Dec, 2011 3 commits
-
-
Sam Lantinga authored
-
Sam Lantinga authored
The incoming pixels are contiguous for the update rectangle.
-
Sam Lantinga authored
Initialize timers first so the tick counter is valid by the time the audio and video systems initialize.
-
- 29 Dec, 2011 6 commits
-
-
Sam Lantinga authored
-
Sam Lantinga authored
-
Sam Lantinga authored
t.grundner@goto3d.de 2011-09-01 03:59:17 PDT I figured out what is going on. GCC 4.5.2 assumes the stack is 16 byte aligned by default. Therefore there are no AND alignment corrections necessary if we wish to align a stack variable to a 16 byte boundary. That is bad if your OS ABI is not 16 byte aligned. Windows 32 bit stacks are 4 byte aligned. This results in the above mentioned SIGSEGV. This is also no problem if I compile both SDL.dll and my app with MingW because MinGW/GCC inserts a andl $-16, %esp instruction right in the beginning of the main function. So at least the stack of the thread calling the main function is 16 byte aligned. But as soon as I start to use the SDL.dll from an application not compiled by MinGW there is no ANDL safing my app. However there is a GCC option that can change the default stack alignment: -mpreferred-stack-boundary=num Setting num=2 assumes a the stack is aligned to a 4 byte boundary. This results in GCC inserting the necessary andl $-16, %esp into SDL_FillRect. Rebuilding SDL with ./configure "CFLAGS=-mpreferred-stack-boundary=2 -g -O3" solved the problem. IMHO this should also be a problem on Solaris. The following links contain further information: http://gcc.gnu.org/onlinedocs/gcc-4.5.2/gcc/i386-and-x86_002d64-Options.html#i386-and-x86_002d64-Options http://www.agner.org/optimize/calling_conventions.pdf
-
Sam Lantinga authored
Fixed bug 1338 - Direct3D renderer should set D3DCREATE_FPU_PRESERVE for not behaving vastly different on doubles (causes 3rd party lib crashes!) Jonas Thiem 2011-11-29 12:28:02 PST Direct3D renderer should set D3DCREATE_FPU_PRESERVE for not behaving vastly different to OpenGL/software rendering on doubles and break some libraries really badly. Most notable affected example: Lua, which does the most unpredictable things which are really almost impossible to debug/find out for beginners who never heard this culprit exists. Since I believe all renderers should behave the same on that doubles simply work as expected in a program, this should really be changed! (also this wasted a few days of my life wondering why everything in my program was so broken)
-
Sam Lantinga authored
Gueniffey 2011-11-23 04:11:31 PST The attached simple patch adds a timestamp to all SDL events. It is useful to dismiss old events and add UI responsiveness (my application does some extensive tasks that creates a delay in the event queue handling. With this patch, I can deal only with the most recent events.
-
Sam Lantinga authored
Gueniffey 2011-11-23 04:06:31 PST The attached patch adds native support for SDL_PIXELFORMAT_ARGB8888, SDL_PIXELFORMAT_RGB888, SDL_PIXELFORMAT_BGR888
-
- 09 Dec, 2011 1 commit
-
-
Ryan C. Gordon authored
Thanks to Dimiter 'malkia' Stanev for the fix!
-
- 08 Dec, 2011 1 commit
-
-
Sam Lantinga authored
-
- 07 Dec, 2011 1 commit
-
-
Ryan C. Gordon authored
Fixes build.
-
- 05 Dec, 2011 6 commits
-
-
Ryan C. Gordon authored
-
Ryan C. Gordon authored
-
Ryan C. Gordon authored
-
Ryan C. Gordon authored
-
Andreas Schiffler authored
-
Andreas Schiffler authored
-
- 29 Nov, 2011 5 commits
-
-
Sam Lantinga authored
-
Sam Lantinga authored
Better fix, iterate backwards over the array so we don't care whether the close code shuffles things down.
-
Sam Lantinga authored
-
Sam Lantinga authored
-
Sam Lantinga authored
-
- 28 Nov, 2011 1 commit
-
-
Ryan C. Gordon authored
Thanks to Vittorio Giovara for the patch!
-
- 23 Nov, 2011 1 commit
-
-
Sam Lantinga authored
-
- 21 Nov, 2011 1 commit
-
-
Sam Lantinga authored
First pass at a simple drag and drop API, allowing you to accept files dropped into your application.
-
- 20 Nov, 2011 3 commits
-
-
Ryan C. Gordon authored
This way subclasses can use it without a lot of casting. Thanks to Vittorio Giovara for the patch!
-
Ryan C. Gordon authored
Thanks to Vittorio Giovara for the patch!
-
Ryan C. Gordon authored
Thanks to Vittorio Giovara for the patch!
-
- 17 Nov, 2011 2 commits
-
-
Sam Lantinga authored
This isn't strictly needed by SDL, but it's a good example for other projects.
-
Sam Lantinga authored
Fixed where we set the content scale - it's used by the renderbufferStorage:GL_RENDERBUFFER_OES call.
-