Tue, 25 Sep 2018 20:08:51 -0700Fixed bug 4268 - Android_JNI_OpenAudioDevice function has error
Sam Lantinga <slouken@libsdl.org> [Tue, 25 Sep 2018 20:08:51 -0700] rev 12224
Fixed bug 4268 - Android_JNI_OpenAudioDevice function has error

alittle

where iscapture == 1

1.param set error

(*env)->CallStaticIntMethod(env, mAudioManagerClass, midCaptureOpen, sampleRate, audioBuffer16Bit, audioBufferStereo, desiredBufferFrames)

param:audioBuffer16Bit need change to captureBuffer16Bit

2.logic error

if (is16Bit) {
// ALITTLE Modify the source code
if (iscapture) {
audioBufferFrames = (*env)->GetArrayLength(env, (jshortArray)captureBuffer);
} else {
audioBufferPinned = (*env)->GetShortArrayElements(env, (jshortArray)audioBuffer, &isCopy);
audioBufferFrames = (*env)->GetArrayLength(env, (jshortArray)audioBuffer);
}
// if (!iscapture) {
// audioBufferPinned = (*env)->GetShortArrayElements(env, (jshortArray)audioBuffer, &isCopy);
// }
// audioBufferFrames = (*env)->GetArrayLength(env, (jshortArray)audioBuffer);
} else {
// ALITTLE Modify the source code
if (iscapture) {
audioBufferFrames = (*env)->GetArrayLength(env, (jbyteArray)captureBuffer);
} else {
audioBufferPinned = (*env)->GetByteArrayElements(env, (jbyteArray)audioBuffer, &isCopy);
audioBufferFrames = (*env)->GetArrayLength(env, (jbyteArray)audioBuffer);
}
// if (!iscapture) {
// audioBufferPinned = (*env)->GetByteArrayElements(env, (jbyteArray)audioBuffer, &isCopy);
// }
// audioBufferFrames = (*env)->GetArrayLength(env, (jbyteArray)audioBuffer);
}

Tue, 25 Sep 2018 19:53:16 -0700Removed redundant SDL_GetColorKey() call. (thanks Sylvain!)
Sam Lantinga <slouken@libsdl.org> [Tue, 25 Sep 2018 19:53:16 -0700] rev 12223
Removed redundant SDL_GetColorKey() call. (thanks Sylvain!)

Tue, 25 Sep 2018 01:45:12 -0400WinRT: Wait until audio device activation is complete and PrepDevice during OpenAudio
Ethan Lee <flibitijibibo@flibitijibibo.com> [Tue, 25 Sep 2018 01:45:12 -0400] rev 12222
WinRT: Wait until audio device activation is complete and PrepDevice during OpenAudio

Tue, 25 Sep 2018 19:41:33 -0700Added 8bitdo SF 30 PRO controller support for Linux / DInput mode (thanks Frank Hartung)
Sam Lantinga <slouken@libsdl.org> [Tue, 25 Sep 2018 19:41:33 -0700] rev 12221
Added 8bitdo SF 30 PRO controller support for Linux / DInput mode (thanks Frank Hartung)

Tue, 25 Sep 2018 08:23:57 -0700Fixed building with newer Android NDK
Sam Lantinga <slouken@libsdl.org> [Tue, 25 Sep 2018 08:23:57 -0700] rev 12220
Fixed building with newer Android NDK

Tue, 25 Sep 2018 10:41:25 -0400render: First shot at converting opengles renderer to new interfaces. SDL-ryan-batching-renderer
Ryan C. Gordon <icculus@icculus.org> [Tue, 25 Sep 2018 10:41:25 -0400] rev 12219
render: First shot at converting opengles renderer to new interfaces.

Mon, 24 Sep 2018 12:30:47 -0400render: get rid of the predeclared functions in the GL and Metal renderers. SDL-ryan-batching-renderer
Ryan C. Gordon <icculus@icculus.org> [Mon, 24 Sep 2018 12:30:47 -0400] rev 12218
render: get rid of the predeclared functions in the GL and Metal renderers.

(others to come as I continue to update render backends!)

Mon, 24 Sep 2018 02:08:34 -0400render: Make opengl backend take advantage of new high-level features. SDL-ryan-batching-renderer
Ryan C. Gordon <icculus@icculus.org> [Mon, 24 Sep 2018 02:08:34 -0400] rev 12217
render: Make opengl backend take advantage of new high-level features.

Mon, 24 Sep 2018 02:07:35 -0400render: Add command queue debug logging. SDL-ryan-batching-renderer
Ryan C. Gordon <icculus@icculus.org> [Mon, 24 Sep 2018 02:07:35 -0400] rev 12216
render: Add command queue debug logging.

Sun, 23 Sep 2018 23:22:56 -0400render: Update Metal and GL backends to use new high-level features, etc. SDL-ryan-batching-renderer
Ryan C. Gordon <icculus@icculus.org> [Sun, 23 Sep 2018 23:22:56 -0400] rev 12215
render: Update Metal and GL backends to use new high-level features, etc.

Now nothing is uploaded as dynamic data with Metal's setVertexBytes, etc; it's
all in the one big vertex buffer, now.