Sam Lantinga
7ee8dda270
Updated copyright to 2016
2016-01-02 10:10:34 -08:00
Sam Lantinga
e144065e28
Android has clock_gettime() - thanks Michael Labbe!
2015-06-19 23:40:23 -07:00
Sam Lantinga
b15e71afdc
Partial fix for bug 2758 - Android issues with NDK r10c and API-21
...
Sylvain
When using API 21 and running on an old device (android < 5.0 ?) some function are missing.
functions are (at least) : signal, sigemptyset, atof, stpcpy (strcat and strcpy), srand, rand.
Very few modifications on SDL to get this working :
on SDL
======
Undefine android configuration :
HAVE_SIGNAL
HAVE_SIGACTION
HAVE_ATOF
In "SDL_systrhead.c", comment out the few block of lines with "sigemptyset".
Android.mk:
remove the compilation of "test" directory because it contains a few rand/srand calls
Also, there are more discussions about this in internet :
https://groups.google.com/forum/#!topic/android-ndk/RjO9WmG9pfE
http://stackoverflow.com/questions/25475055/android-ndk-load-library-cannot-locate-srand
2015-06-17 00:07:45 -07:00
Sam Lantinga
56b58afdbe
Updated the copyright year to 2015
2015-05-26 06:27:46 -07:00
Sam Lantinga
b3e4782510
Removed SDL_round() because the license wasn't compatible with zlib
2014-08-17 13:11:55 -07:00
Sam Lantinga
5acb7c63d1
Added SDL_round(), contributed by Benoit Pierre - thanks!
2014-08-16 23:23:15 -07:00
Sam Lantinga
c1d6f15368
Implemented SDL_GetPrefPath() on Android - it returns the path used by SDL_AndroidGetInternalStoragePath()
2014-08-11 17:25:53 -07:00
Sam Lantinga
276b7efecd
Added SDL_sqrtf(), SDL_tan(), SDL_tanf()
2014-06-07 18:20:01 -07:00
Sam Lantinga
d7940a513e
Fixed bug 2374 - Update copyright for 2014...
...
Is it that time already??
2014-02-02 00:53:27 -08:00
Ryan C. Gordon
de59025dac
We don't need to check for snprintf() anymore, we don't use it.
...
SDL_snprintf() is built on vsnprintf() where available.
--HG--
extra : rebase_source : fef7988e29ab9293c7ae9ba3cff3f86c7e59e345
2013-11-24 23:36:15 -05:00
Ryan C. Gordon
3003efb88d
Added SDL_vsscanf().
...
--HG--
extra : rebase_source : 088d093790a7ed95d73c307523587e95c8356f4b
2013-11-24 23:35:38 -05:00
Gabriel Jacobo
fc92786842
[Android] Define SDL_VIDEO_OPENGL_ES2
2013-12-16 10:03:26 -03:00
Ryan C. Gordon
924207a299
Hook up SDL_acos and SDL_asin properly.
2013-12-09 15:17:20 -05:00
Ryan C. Gordon
2b9a2802b2
Added SDL_GetBasePath() and SDL_GetPrefPath() in new filesystem module.
...
--HG--
extra : rebase_source : c1fac232063443a2880e64f1abda85e0bdb2e710
2013-08-20 19:57:11 -04:00
Gabriel Jacobo
ef4a588d99
Fixes bug #2037 , common EGL code for Android and X11
2013-08-19 16:29:46 -03:00
Sam Lantinga
91452f6355
Fixed bug 1911 - enable HAVE_GCC_ATOMICS for android platform
2013-07-06 12:39:56 -07:00
Sam Lantinga
0cb6385637
File style cleanup for the SDL 2.0 release
2013-05-18 14:17:52 -07:00
Sam Lantinga
95dcfa4c28
Happy New Year!
2013-02-15 08:47:44 -08:00
Sam Lantinga
82b0ec31cd
Fixed bug 1606 - SDL does not implement SDL_GetPowerInfo() for Android.
...
Philipp Wiesemann 2012-09-22 05:26:11 PDT
currently SDL (HG) does not implement the power management functionality of
SDL_GetPowerInfo() for Android.
I attached a patch which tries to implement this functionality (JNI only, API
5). It supports plugged state and battery percent return values but not
remaining seconds (which are not available on Android).
2012-09-23 01:37:44 -07:00
Sam Lantinga
028e5dcdbd
Happy New Year!
2011-12-31 09:28:07 -05:00
Sam Lantinga
b0660ba5ff
SDL 1.3 is now under the zlib license.
2011-04-08 13:03:26 -07:00
Sam Lantinga
5c01c4797c
SDL 1.3 requires a 64-bit type for the platform.
2011-03-25 13:47:49 -07:00
Sam Lantinga
e5803d148c
Happy 2011! :)
2011-02-11 22:37:15 -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
08c975d3ab
Fixed permissions on the Android config header.
2011-02-05 01:02:24 -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
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
b369f1945a
Android has atan() and atan2()
2011-01-01 16:56:54 -08:00
Paul Hunkin
ef47472280
- 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
9aea3f99a7
Oops, I wasn't using pthreads. Fixed so we can have mutexes and stuff
2010-07-27 15:23:09 +02:00
Paul Hunkin
daaa0b0414
Updated test app to init the sound system
2010-07-27 11:35:06 +02:00
Paul Hunkin
dc9ee5ef88
Added (partially implemented) android video backend and associated files needed to build
2010-06-10 18:54:23 +12:00
Paul Hunkin
6251bfb6a1
Added some android build stuff
2010-05-23 15:18:16 +12:00