mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-28 16:58:44 +00:00
Allow Android embedders to use SDL without the full video/audio Java layer by gating subsystem-specific code behind SDL_VIDEO_DISABLED and SDL_AUDIO_DISABLED preprocessor flags. This enables applications that only need joystick/gamepad support (e.g. Qt-based apps like QGroundControl) to build SDL without shipping stub Java classes for unused subsystems. Changes: - Split SDLActivity JNI method table into core (lifecycle, hints, permissions) and video (surface, input, clipboard, orientation) - Gate SDLAudioManager and SDLInputConnection JNI registration - Make checkJNIReady() subsystem-aware: no longer requires mAudioManagerClass when SDL_AUDIO_DISABLED - Group method ID resolution by subsystem in nativeSetupJNI() - Guard all video/audio function implementations and declarations - Keep display orientation accessors always available (needed by camera) - Add subsystem-selective SDL.setupJNI(int)/initialize(int) to SDL.java with backwards-compatible zero-arg overloads - Guard SDL_VIDEO_DRIVER_ANDROID and related defines in SDL_build_config_android.h |
||
|---|---|---|
| .. | ||
| pkg-support | ||
| add-source-to-projects.pl | ||
| androidbuildlibs.sh | ||
| build-release.py | ||
| build-web-examples.pl | ||
| casefolding.txt | ||
| check_android_jni.py | ||
| check_elf_alignment.sh | ||
| check_stdlib_usage.py | ||
| clang-format-src.sh | ||
| cmake-toolchain-mingw64-i686.cmake | ||
| cmake-toolchain-mingw64-x86_64.cmake | ||
| cmake-toolchain-qnx-aarch64le.cmake | ||
| cmake-toolchain-qnx-x86_64.cmake | ||
| codechecker-buildbot.sh | ||
| create-android-project.py | ||
| create-release.py | ||
| create_tbds.py | ||
| djgpp-platform-overrides.cmake | ||
| download-gameinput-sdk.py | ||
| fnsince.pl | ||
| gen_audio_channel_conversion.c | ||
| git-pre-push-hook.pl | ||
| i586-pc-msdosdjgpp.cmake | ||
| makecasefoldhashtable.pl | ||
| release-info.json | ||
| rename_api.py | ||
| rename_headers.py | ||
| rename_macros.py | ||
| rename_symbols.py | ||
| rename_types.py | ||
| SDL_migration.cocci | ||
| setup-gdk-desktop.py | ||
| showrev.sh | ||
| test-versioning.sh | ||
| update-copyright.sh | ||
| update-version.sh | ||
| updaterev.sh | ||
| wikiheaders.pl | ||