Fri, 11 Jan 2019 15:33:02 +0100Android: Audio thread is already setup for the JVM
Sylvain Becker <sylvain.becker@gmail.com> [Fri, 11 Jan 2019 15:33:02 +0100] rev 12527
Android: Audio thread is already setup for the JVM
In 'src/thread/pthread/SDL_systhread.c' RunThread() calls first 'Android_JNI_SetupThread()'

Fri, 11 Jan 2019 15:27:53 +0100Android: use pthread_once for creating thread key 'mThreadKey'
Sylvain Becker <sylvain.becker@gmail.com> [Fri, 11 Jan 2019 15:27:53 +0100] rev 12526
Android: use pthread_once for creating thread key 'mThreadKey'

Fri, 11 Jan 2019 14:50:43 +0100Android: don't call Android_JNI_ThreadDestroyed() for Java SDLThread
Sylvain Becker <sylvain.becker@gmail.com> [Fri, 11 Jan 2019 14:50:43 +0100] rev 12525
Android: don't call Android_JNI_ThreadDestroyed() for Java SDLThread

SDLThread is a Java Thread, it's not needed to call 'Detach' from the JVM.
Clear mThreadKey, so that the pthread_create destructor is not called for this
thread.

Fri, 11 Jan 2019 14:25:32 +0100Android: fix bad merge from previous commit
Sylvain Becker <sylvain.becker@gmail.com> [Fri, 11 Jan 2019 14:25:32 +0100] rev 12524
Android: fix bad merge from previous commit

Thu, 10 Jan 2019 21:49:00 +0100Android: fix prototype of Android_JNI_InitTouch
Sylvain Becker <sylvain.becker@gmail.com> [Thu, 10 Jan 2019 21:49:00 +0100] rev 12523
Android: fix prototype of Android_JNI_InitTouch

Thu, 10 Jan 2019 21:40:57 +0100Android: add name for Touch devices and simplification, from bug 3958
Sylvain Becker <sylvain.becker@gmail.com> [Thu, 10 Jan 2019 21:40:57 +0100] rev 12522
Android: add name for Touch devices and simplification, from bug 3958

Thu, 10 Jan 2019 18:05:56 +0100Fixed bug 3930 - Android, set thread priorities and names
Sylvain Becker <sylvain.becker@gmail.com> [Thu, 10 Jan 2019 18:05:56 +0100] rev 12521
Fixed bug 3930 - Android, set thread priorities and names

SDLActivity thread priority is unchanged, by default -10 (THREAD_PRIORITY_VIDEO).

SDLAudio thread priority was -4 (SDL_SetThreadPriority was ignored) and is now -16 (THREAD_PRIORITY_AUDIO).

SDLThread thread priority was 0 (THREAD_PRIORITY_DEFAULT) and is -4 (THREAD_PRIORITY_DISPLAY).

Thu, 10 Jan 2019 16:04:52 +0100Android: remove deprecated PixelFormat in surfaceChanged()
Sylvain Becker <sylvain.becker@gmail.com> [Thu, 10 Jan 2019 16:04:52 +0100] rev 12520
Android: remove deprecated PixelFormat in surfaceChanged()

Can be check by adding in build.grable:

gradle.projectsEvaluated {
tasks.withType(JavaCompile) {
options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
}
}

SDLActivity.java:1691: warning: [deprecation] A_8 in PixelFormat has been deprecated
case PixelFormat.A_8:
SDLActivity.java:1694: warning: [deprecation] LA_88 in PixelFormat has been deprecated
SDLActivity.java:1697: warning: [deprecation] L_8 in PixelFormat has been deprecated
SDLActivity.java:1700: warning: [deprecation] RGBA_4444 in PixelFormat has been deprecated
SDLActivity.java:1704: warning: [deprecation] RGBA_5551 in PixelFormat has been deprecated
SDLActivity.java:1716: warning: [deprecation] RGB_332 in PixelFormat has been deprecated

Thu, 10 Jan 2019 15:48:43 +0100Android: some simplification, don't need mExitCalledFromJava
Sylvain Becker <sylvain.becker@gmail.com> [Thu, 10 Jan 2019 15:48:43 +0100] rev 12519
Android: some simplification, don't need mExitCalledFromJava

Thu, 10 Jan 2019 15:43:07 +0100Android: nativeQuit for SDLActivity thread
Sylvain Becker <sylvain.becker@gmail.com> [Thu, 10 Jan 2019 15:43:07 +0100] rev 12518
Android: nativeQuit for SDLActivity thread

- destroy Android_ActivityMutex
- display any SDL error message that may have occured in this thread,
since SDL_GetError() is thread specific, and user has no access to it.