We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 1466

Summary: SDL should optionally(?) not use JNI to improve performance
Product: SDL Reporter: Ellie <etc0de>
Component: *don't know*Assignee: Ryan C. Gordon <icculus>
Status: RESOLVED DUPLICATE QA Contact: Sam Lantinga <slouken>
Severity: enhancement    
Priority: P2 CC: gabomdq
Version: HG 2.0   
Hardware: All   
OS: Android (All)   

Description Ellie 2012-04-08 15:56:51 UTC
As far as I understand it (feel free to close this bug if that is not correct, since it is the only motivation for this request) JNI causes a performance penalty.

Android 4 is here and Android 5 will arrive soon, and Android 2.3 is on the majority of devices. Some developers might want the additional performance SDL as a direct NDK-glued application instead of hassleful JNI-wrapped beast could give them.

Therefore, SDL should optionally not use JNI but operate as pure NDK app as possible since Android 2.3. (Personally, I'd also agree to dropping JNI completely, but I guess others might care more about old devices than me)
Comment 1 Gabriel Jacobo 2012-05-25 07:36:52 UTC

*** This bug has been marked as a duplicate of bug 1383 ***