Commit graph

3763 commits

Author SHA1 Message Date
Sam Lantinga
25101525df Fill in the video mode with the correct screen format 2011-01-12 14:29:01 -08:00
Sam Lantinga
a410db1ae6 A bit of cleanup in the Android driver 2011-01-12 13:52:41 -08:00
Sam Lantinga
74b33811bd Added SDL errors to the Android log stream if DEBUG_ERROR is defined 2011-01-12 13:52:27 -08:00
Sam Lantinga
835dde1a18 You can't change the resolution on some devices 2011-01-12 13:46:37 -08:00
Sam Lantinga
9ec38356d0 Use a valid window when creating the default renderer 2011-01-12 13:38:10 -08:00
Sam Lantinga
60c77bdc43 Added information about starting a command shell on the device 2011-01-12 12:40:11 -08:00
Sam Lantinga
258951c86d Added information about doing a clean build 2011-01-12 12:35:46 -08:00
Sam Lantinga
4d3709cdf6 Added info for building your code without optimizations on 2011-01-12 12:34:23 -08:00
Sam Lantinga
c73fad44ec Added information about decoding native stack traces 2011-01-12 12:31:51 -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
baf0c99417 Include the Android Makefile in the distribution files 2011-01-10 12:15:16 -08:00
Sam Lantinga
3693a452e6 Need to include SDL_main.h ... eh, just include everything. :) 2011-01-10 11:22:07 -08:00
Sam Lantinga
21f3b33f9c Jcw87 to Sam
The project files for VS 2005 are still outdated/messed up. I have a patch that will bring the VS 2005 project files up to date with the VS 2008 project files, add the x64 platform to the VS 2005 project files, fix a few issues with x64 in VS 2008, and a few other misc changes that don't really change the output at all.
2011-01-09 08:35:18 -08:00
Sam Lantinga
6000ffe2ec Added some more information on how the port works 2011-01-07 15:18:17 -08:00
Sam Lantinga
ca871fdc4b Fixed return value 2011-01-07 09:53:08 -08:00
Sam Lantinga
b674add868 Added the Android project and lots of info to README.android 2011-01-06 17:12:31 -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
e92a0428c3 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
0d999f796c Backed down to NDK R4b 2011-01-04 21:05:42 -08:00
Sam Lantinga
6736ca0525 Android has OpenGL ES too... 2011-01-04 20:37:07 -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
fc43aba7be Don't continually print stub message for testgles 2011-01-04 20:30:54 -08:00
Sam Lantinga
0eba82ea93 We don't need these scripts anymore 2011-01-04 18:55:23 -08:00
Sam Lantinga
bad45fc2b2 Need to set something valid for argc/argv 2011-01-04 15:25:49 -08:00
Sam Lantinga
1218c81cec Fixed problem with trailing space 2011-01-04 12:49:48 -08:00
Sam Lantinga
ae53874bd2 Change from jlunder:
Minor configuration changes to smooth the build process, make it work on mac.
2011-01-04 12:46:49 -08:00
Sam Lantinga
3fe08d6eb5 Added the step to edit local properties 2011-01-04 12:39:10 -08:00
Sam Lantinga
7a9c29baf3 Fixed prototype for SDL_main()
FIXME: Still need to pass some arguments - can we get them from the Java class?
2011-01-04 11:39:52 -08:00
Sam Lantinga
82f0d82581 Android needs the SDL_main() redirect as well 2011-01-04 11:39:04 -08:00
Sam Lantinga
a2954c5cc6 Fixes the following warning:
uses variable-size enums yet the output is to use 32-bit enums
2011-01-04 11:22:43 -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
0398104662 Fixed crash on Windows XP 2011-01-03 14:39:41 -08:00
Sam Lantinga
794752a10c Fixed trying to create an XRender texture for YUV formats 2011-01-01 20:46:39 -08:00
Sam Lantinga
aac820df50 Missing math library for testgesture 2011-01-01 20:44:38 -08:00
Sam Lantinga
3927b4a33c Final touches on renaming SDL_eventtouch to SDL_x11touch 2011-01-01 20:04:50 -08:00
Sam Lantinga
124315bff4 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
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
34b38d2798 Allow META-Enter to toggle fullscreen mode 2011-01-01 19:38:56 -08:00
Sam Lantinga
e082a3f57c Updated for NDK R5 2011-01-01 19:38:23 -08:00
Sam Lantinga
b369f1945a Android has atan() and atan2() 2011-01-01 16:56:54 -08:00
Sam Lantinga
35a1f5fbe0 Fixed restoring the desktop resolution when toggling fullscreen mode 2011-01-01 16:41:29 -08:00
Sam Lantinga
2ccdb31cb2 Fixed compiling on Android 2010-12-31 16:51:03 -08:00
Sam Lantinga
56d603e6e1 Don't crash when resizing non-shaped windows 2010-12-31 08:50:06 -08:00
Sam Lantinga
b0b0c5e0e9 Don't overwrite SDL_revision.h with a bad revision if Mercurial isn't installed 2010-12-31 08:42:47 -08:00
Sam Lantinga
0db1eb5652 Return an error code if Mercurial isn't installed 2010-12-31 08:40:09 -08:00
Sam Lantinga
9854e3dd2d Fixed compiling X11 touch interface 2010-12-30 13:21:39 -08:00
Sam Lantinga
85637106eb Hopefully fix X11 compile error 2010-12-30 10:45:36 -08:00
Sam Lantinga
cd31bd4a56 Removed carriage returns 2010-12-29 15:23:54 -08:00