Commit Graph

38 Commits

Author SHA1 Message Date
Gabriel Jacobo
f5b7a7d7db Fixes bug #1506, Changing orientation on the Android device throws off touch scaling 2012-08-24 13:10:29 -03:00
Sam Lantinga
e6d37e6522 Fixed bug 1564 - SDL has no function to open a screen keyboard on Android.
Philipp Wiesemann implemented a general on-screen keyboard API for SDL, and I switched iOS code over to use it.
2012-08-11 10:15:59 -07:00
Gabriel Jacobo
1be4f2c07f Fixes #1422, restores GL context automatically under Android 2012-06-19 13:57:42 -03:00
Sam Lantinga
fac9ba080a Fixed setting the window visibility on iOS and Android 2012-01-22 22:19:08 -05:00
Sam Lantinga
e256711bb9 Happy New Year! 2011-12-31 09:28:07 -05:00
Sam Lantinga
6371c44a9e Lots of fixes importing SDL source wholesale into a new iOS project 2011-10-31 05:56:58 -04:00
Ryan C. Gordon
8f4ad957bf Implement GL_GetProcAddress() for Android.
Fixes Bugzilla #1290.

Thanks to Gabriel Jacobo for the patch!
2011-10-13 01:30:01 -04:00
Ryan C. Gordon
d37f894242 Added support for multitouch on Android.
Fixes Bugzilla #1294.

Thanks to Gabriel Jacobo for the patch!
2011-10-13 01:21:35 -04:00
Sam Lantinga
6196aa221e SDL 1.3 is now under the zlib license. 2011-04-08 13:03:26 -07:00
Sam Lantinga
a2cdcf5486 Happy 2011! :) 2011-02-11 22:37:15 -08:00
Sam Lantinga
3482e0aa2f Mostly fixed fullscreen mode on Mac OS X, and you can toggle it on and off.
There are still some problems with the ConvertNSRect() calculations when switching video modes, which causes wierd window positioning issues, and the fullscreen window is still minimized on exit.
2011-02-11 00:25:44 -08:00
Sam Lantinga
1f86c7c17d Try to create an OpenGL ES 2.0 context on Android and successfully fall back to OpenGL ES 1.1 if that fails. 2011-02-07 17:44:07 -08:00
Sam Lantinga
f1d38d9c1c Renamed SDL_Key to SDL_Keycode to clarify terminology. 2011-02-07 10:40:21 -08:00
Sam Lantinga
60016c514e Renamed SDLKey and SDLMod for consistency 2011-02-07 09:42:08 -08:00
Sam Lantinga
23370c8928 Sheena pointed out that "scancode" and "keysym" are single words and shouldn't be camel-cased. 2011-02-07 09:37:11 -08:00
Sam Lantinga
bbf99fa10b Fixed building on Android, added SDL_opengles2.h, removed unnecessary SDL_glesfuncs.h 2011-02-06 02:35:14 -08:00
Sam Lantinga
01fa14dc42 Include windows.h in a single point in the source, so we can be consistent about the definition of UNICODE and have core utility functions for Windows that all modules can share.
I think this also fixes the bug relating to non-latin characters in filenames, since UNICODE wasn't defined in SDL_rwops.c
2011-01-24 21:20:30 -08:00
krogoway
d35de7167f 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
4558d7576e Added "mouse" support for the Android touch screen 2011-01-13 18:31:15 -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
d83df90435 Implemented translation from Android keycodes to SDL scancodes 2011-01-12 21:21:21 -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
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
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
c096fd88d7 Fixed compiling on Android 2010-12-31 16:51:03 -08:00
Paul Hunkin
eb38d6aa71 - Cleaned up a bunch of code
- Added 'feature' enable/disable so we're not running accel/sound/whatever in Java when we don't need to be
- More work on the sound system. But it still crashes pretty horribly, not sure why yet.
2010-07-27 21:21:24 +02:00
Paul Hunkin
559937b746 Added resize hander stub and initial screen size setter 2010-07-27 10:49:11 +02:00
Paul Hunkin
1de95703a5 Added preliminary keyboard event support 2010-07-07 00:43:23 +12:00
Paul Hunkin
a9ac1e4410 - Restructured threads and application structure.
- Moved to SurfaceView instead of GLSurfaceView
- Moved to C++ for the android library
2010-06-29 00:40:12 +12:00
Paul Hunkin
217c4192df Last test version with GLSurface 2010-06-28 21:35:28 +12:00
Paul Hunkin
5ea5611051 Tweaks to the libsdl side 2010-06-18 01:29:14 +12:00
Paul Hunkin
3ea075ff59 Removed old video subsystem, along with (now-unncessary) egl files. 2010-06-18 00:03:09 +12:00
Paul Hunkin
82cf0563e5 Fixed #includes to fix naming conventions 2010-06-10 19:25:55 +12:00
Paul Hunkin
23ef6d2153 Renamed some files to fit naming conventions 2010-06-10 19:02:55 +12:00
Paul Hunkin
61ddab05c6 Added (partially implemented) android video backend and associated files needed to build 2010-06-10 18:54:23 +12:00