Commit graph

71 commits

Author SHA1 Message Date
Kees Bakker
315893bf28 Split off SDL_uikitviewcontroller in its own module
--HG--
extra : rebase_source : 9f436d0751280968fb49307fb522b0d6c72d4409
2011-08-17 23:26:58 +02:00
Ryan C. Gordon
b2540abd8e Merged Mac OS X and iOS audio targets.
--HG--
rename : src/audio/macosx/SDL_coreaudio.c => src/audio/coreaudio/SDL_coreaudio.c
rename : src/audio/macosx/SDL_coreaudio.h => src/audio/coreaudio/SDL_coreaudio.h
2011-08-04 00:45:09 -04:00
Tim Angus
2f0bec3220 * SDL_IOS_IDLE_TIMER_DISABLED hint 2011-06-10 14:23:36 +01:00
Sam Lantinga
605263ee5f Removed buggy and LGPL MMX mixing routines. 2011-04-08 13:16:33 -07:00
Sam Lantinga
5c77470fb0 Fixed bug 1177 (testsdl ios crash)
Vittorio Giovara      2011-04-05 13:18:07 PDT

The test application called "testsdl" inside the iOS project file crashes at
launch time.
The fix is trivial, removing the reference to MainWindow (as there are no Nibs
included) from the Info.plist file.
2011-04-05 17:57:08 -07:00
Ryan C. Gordon
15b112e3a6 Make the iOS test projects target iPhone and iPad instead of just the phone. 2011-03-28 15:18:01 -04:00
Sam Lantinga
da1479c45f Fixed typos in example code 2011-03-25 13:19:48 -07:00
Sam Lantinga
fb417a9de4 Don't be clever, just call it testthread
--HG--
rename : test/testhread.c => test/testthread.c
2011-03-25 11:09:57 -07:00
Sam Lantinga
95c839f471 Fixed bug 1163 (SDL_TEXTINPUT not being received on iPhoneOS) 2011-03-09 17:38:12 -08:00
Sam Lantinga
f33af0d17b Added gesture test program 2011-03-07 09:57:59 -08:00
Sam Lantinga
43bb47452e Removed associated source files 2011-03-07 09:35:53 -08:00
Sam Lantinga
b1a4969b91 Removed associated resources 2011-03-07 09:35:26 -08:00
Sam Lantinga
e5f6375640 Removed old test 2011-03-07 09:35:01 -08:00
Sam Lantinga
05b0c40ffa Fixed setting draw color for clear 2011-02-28 09:26:35 -08:00
Sam Lantinga
7aadbd91ac Updated the template code 2011-02-20 19:15:00 -08:00
Sam Lantinga
1c631c853c Fixed the fireworks demo 2011-02-20 14:59:36 -08:00
Sam Lantinga
9ed73976a5 Fixed bug 1137, updated the keyboard demo with latest rendering API changes. 2011-02-20 14:22:27 -08:00
Sam Lantinga
3c73e33be7 Linker and deployment target fixes for the test programs. 2011-02-19 23:39:04 -08:00
Sam Lantinga
8c64c50659 SDL works on older iPod Touch and first generation iPhones running iOS 3.1.3. 2011-02-19 21:51:03 -08:00
Sam Lantinga
464cfffab9 Fixed linking the demos 2011-02-19 21:35:35 -08:00
Sam Lantinga
765c7da302 Updated deployment target to iPhone/iPad 3.2, and added dependencies on SDL for the demos. 2011-02-16 20:19:02 -08:00
Sam Lantinga
d4acca7166 Renamed SDL_keysym.h to SDL_keycode.h to avoid confusion.
--HG--
rename : include/SDL_keysym.h => include/SDL_keycode.h
2011-02-16 15:46:12 -08:00
Sam Lantinga
0a5c049c24 The scripts to generate header files are no longer necessary. 2011-02-16 12:15:04 -08:00
Sam Lantinga
5fe61f6aaa Needed to pass the renderer in. 2011-02-13 00:18:05 -08:00
Eric Wing
38437fce7f Changed output directory of Universal libSDL.a for iOS to respect build configurations. Template generator was updated to reflect these changes as well. 2011-02-12 21:52:30 -08:00
Eric Wing
9a464ae798 merged 2011-02-12 19:16:09 -08:00
Sam Lantinga
5a0ad0fca0 Removed unused leak detection code. 2011-02-11 14:23:22 -08:00
Sam Lantinga
bff537f964 Fixed compile in Xcode 2011-02-11 10:18:34 -08:00
Sam Lantinga
f582f9e58e Added a simple log message API 2011-02-07 16:45:40 -08:00
Sam Lantinga
9b289f0b8d Removed obsolete file 2011-02-07 00:36:42 -08:00
Eric Wing
fb08cecb1d removed sail.bmp from Xcode project 2011-02-06 23:48:31 -08:00
Eric Wing
6a6fb1c639 merged 2011-02-06 21:23:32 -08:00
Sam Lantinga
87ca0acb3f You don't need to copy the pixels into the streaming texture's pixel data. This behavior is defined specifically to optimize the UpdateTexture path. 2011-02-06 20:56:21 -08:00
Sam Lantinga
1c8816f6fe OpenGL ES 2.0 rendering LIVES! 2011-02-06 19:12:55 -08:00
Sam Lantinga
ccdb593a0b Updated the iPhone demos for the new API 2011-02-06 09:02:10 -08:00
Sam Lantinga
58e9ea986f Fixed building on Android, added SDL_opengles2.h, removed unnecessary SDL_glesfuncs.h
--HG--
rename : src/video/SDL_glfuncs.h => src/render/opengl/SDL_glfuncs.h
2011-02-06 02:35:14 -08:00
Sam Lantinga
f2c40726b6 Added an OpenGL ES 2.0 renderer, contributed by itsnotabigtruck
This compiles, but it untested.
2011-02-06 00:00:13 -08:00
Sam Lantinga
d1f0fa4288 Updated Mac OS X and iOS projects 2011-02-05 16:02:30 -08:00
Sam Lantinga
052351dbe2 Added a way to get a framebuffer interface for a window, and also a way to create a software renderer for an arbitrary surface.
The software renderer has been re-routed to use the framebuffer interface, which makes it possible to have software rendering available even on simple ports.
2011-02-03 15:49:37 -08:00
Sam Lantinga
d2b54f7d24 Made it possible to create a texture of any format, even if not supported by the renderer.
This allows me to reduce the set of formats supported by the renderers to the most optimal set, for a nice speed boost.

--HG--
rename : src/video/SDL_yuv_mmx.c => src/render/SDL_yuv_mmx.c
rename : src/video/SDL_yuv_sw.c => src/render/SDL_yuv_sw.c
rename : src/video/SDL_yuv_sw_c.h => src/render/SDL_yuv_sw_c.h
rename : src/video/mmx.h => src/render/mmx.h
2011-02-03 00:19:40 -08:00
Sam Lantinga
5897ef7d95 Moved the rendering code out to a separate directory in the hope that it can someday be completely decoupled from the rest of the library and be expanded to an awesome 2D on 3D library.
--HG--
rename : src/video/windows/SDL_d3drender.c => src/render/direct3d/SDL_d3drender.c
rename : src/video/SDL_renderer_gl.c => src/render/opengl/SDL_renderer_gl.c
rename : src/video/SDL_renderer_gles.c => src/render/opengles/SDL_renderer_gles.c
rename : src/video/SDL_renderer_sw.c => src/render/software/SDL_renderer_sw.c
2011-02-02 14:34:54 -08:00
Eric Wing
1840f4d0bc merged: might need to check main.c in the iOS template to make sure no changes were abandoned. 2011-02-01 00:37:02 -08:00
Eric Wing
d89219fa93 iOS Xcode project template fixes/changes.
- Embedded headers
- Embedded Universal Device/Simulator libSDL.a
- Changed search paths.
- Removed cruft from copy resources.
2011-01-31 07:36:12 -08:00
Eric Wing
dab1918039 New iOS Xcode target to build libSDL.a and lipo Simulator & Device binaries together.
New iOS Xcode target to prepare an Xcode template using the Universal libSDL.a.
2011-01-31 00:37:38 -08:00
Sam Lantinga
48e11c3665 Updated main.c for API changes
Kees Bakker to sdl

The main.c for the template is still targeting SDL1.2. Here
is the patch to make it work for SDL1.3 (I'm hoping
the mailing lists accepts attachments.)

In this patch I have also changed the shell script that
assembles the Template. Since there is now only one lib
target (same name for "device" and "simulator" version)
I copy the simulator library to the destination with
the name libSDLSimulator.a. This is not a satisfactory
solution, because both libraries are included in the project
while only one is needed (depending on the selected
environment). However, I'm not fluent with Xcode to
say what a better solution would be.

Kind regards,
Kees Bakker
2011-01-28 10:37:36 -08:00
krogoway
a2f2302255 Renamed SDL_keysym to SDL_KeySym
Renamed SDL_scancode to SDL_ScanCode
Added #defines to SDL_compat.h
2011-01-24 13:47:35 -06:00
Sam Lantinga
67334dadbb Fixed building with the latest iOS SDK (4.2) 2011-01-18 17:23:44 -08:00
Sam Lantinga
dd33ce32e7 Fixed building with the latest iOS SDK (4.2) 2011-01-18 16:55:03 -08:00
Sam Lantinga
c4fe663b76 Fixed building with the latest iOS SDK (4.2) 2011-01-18 15:02:59 -08:00
Sam Lantinga
7083935583 Fixed building with the latest iOS SDK (4.2) 2011-01-18 15:00:56 -08:00