Commit Graph

3494 Commits

Author SHA1 Message Date
mittorn 38a3154de0 ref/gl: refactor gl extension checking again 2024-02-27 05:01:13 +03:00
mittorn 0442af7920 platform/android_nosdl/dlsym-weak: move includes/defines to the beginning 2024-02-27 05:01:13 +03:00
mittorn 42958bc746 platform/android_nosdl: use FS_GetDiskPath for icon path 2024-02-27 05:01:13 +03:00
mittorn bd5309b018 platform/android_nosdl: fix forgotten static 2024-02-27 05:01:13 +03:00
mittorn 26cbb1d6bf platform/android_nosdl: use ARRAYSIZE 2024-02-27 05:01:13 +03:00
mittorn d6cfc65ac0 platform/android_nosdl: remove dynamic cvars 2024-02-27 05:01:13 +03:00
mittorn be9dda2a56 platform/android_nosdl: remove NULL native object case 2024-02-27 05:01:13 +03:00
mittorn dbc54fb522 platform/android_nosdl: reduce unneeded logging 2024-02-27 05:01:13 +03:00
mittorn ec92d05930 Fix wrong function name and macro on ARM target 2024-02-27 05:01:13 +03:00
mittorn 892c735c86 Replace harmless single-line pair assigns by multi-line, need more newlines! 2024-02-27 05:01:13 +03:00
mittorn 93e5faa26b Remove unused macro and spaces restored by revert 2024-02-27 05:01:13 +03:00
mittorn 4953656ee0 platform/android/dlsym-weak: do not call LoadLibrary to find server library instance 2024-02-27 05:01:13 +03:00
mittorn 96c367973a platform/android/dlsym-weak: fix code style 2024-02-27 05:01:13 +03:00
mittorn ffe1ff326a waifulib/xcompile: make clang work with original stlport 2024-02-27 05:01:13 +03:00
mittorn 9c097976df wscript: only enable SINGLE_BINARY and XASH_SDLMAIN on android when SDL2 enabled 2024-02-27 05:01:13 +03:00
mittorn 6fec0398b6 wscript: re-enable xash-extras on android 2024-02-27 05:01:13 +03:00
mittorn abeb267420 scripts/waifulib: save zip task to make it output reuseable 2024-02-27 05:01:13 +03:00
mittorn 9484effd4c wscript: fix options in external projects 2024-02-27 05:01:13 +03:00
mittorn a5f3fce665 platform/android-nosdl: add workarounds for yama bullshit 2024-02-27 05:01:13 +03:00
mittorn 91d9ca7810 platform/android-nosdl: restore SIGTRAP handler 2024-02-27 05:01:13 +03:00
mittorn 0901fd94e2 platform/android-nosdl: optionally wait gdb in nativeInit, enable dumpable flag early as possible 2024-02-27 05:01:13 +03:00
mittorn 0d18753adb platform/android-nosdl: add Platform_Shutdown for preShutdown callback 2024-02-27 05:01:13 +03:00
mittorn 7841382fef platform/android-nosdl: fix declaration style (werror) 2024-02-27 05:01:13 +03:00
mittorn e21d8df1fe platform/android-nosdl: Move all bindings to XashBindings class, workaround broken messageBox from crashhandler 2024-02-27 05:01:13 +03:00
mittorn 16aa2e919f vid/android: Remove pixelFormat selection code, it only used to set desktop bits per pixel 2024-02-27 05:01:13 +03:00
mittorn 88f76c6e1e ref_gl: workaround using fake arb functions on GLES (Mali400 has stub glBindBufferARB somehow\!) 2024-02-27 05:01:13 +03:00
mittorn 1b9af8c515 waifulib/xcompile: add objcopy tool to android configuration, allow switching to ndk binutils with host clang 2024-02-27 05:01:13 +03:00
mittorn 55943ad1ce waifulib/xcompile: disable stpcpy on host-clang 2024-02-27 05:01:13 +03:00
mittorn 313f2a86b0 waifulib/xcompile: add android-from-none for new host-clang versions, support hardfloat abi in host-clang 2024-02-27 05:01:13 +03:00
mittorn 16eeaef35c wscript: check if extra-projects was set in configuration 2024-02-27 05:01:13 +03:00
mittorn 46c82e89e1 waifu: set external waifulibs for extra-projects 2024-02-27 05:01:13 +03:00
mittorn bb55de5963 platform/android: prevent rendering without context, fix android_sleep using surfaceless mode or dummy surface if possible 2024-02-27 05:01:13 +03:00
mittorn d423c437ed waf/xcompile: fix ld path for host clang 2024-02-27 05:01:13 +03:00
mittorn 44b1a8e863 platform/android: implement dumb dladdr fallback (only searches in server library) 2024-02-27 05:01:13 +03:00
mittorn 06c6371e69 platform/eglutil: prevent rendering while no surface 2024-02-27 05:01:13 +03:00
mittorn 7b4fd3bcad platform/android: debug surface enabling/disabling, add notification for event_set_pause, fix wrong host.status, prevent rendering while no surface 2024-02-27 05:01:13 +03:00
mittorn ea35863c26 platform/android: disable swbuffer resize hack, wrong buffer size really is an error that should be fixed on Activity side, not here 2024-02-27 05:01:13 +03:00
mittorn c2e14eb3a3 platform/android: rewrite egl part to separate not android-specific file 2024-02-27 05:01:13 +03:00
mittorn 34aab39f9b waifulib/xcompile: fix host clang16 2024-02-27 05:01:13 +03:00
mittorn 30c69d3ac8 wscript: add external projects support (updated waf required) 2024-02-27 05:01:13 +03:00
mittorn bb9775048b platform/android_nosdl: fix build (ndk10, host clang15) 2024-02-27 05:01:13 +03:00
mittorn eed13cf9f2 waifulib/xcompile: host clang experiments (ndk ld) 2024-02-27 05:01:13 +03:00
mittorn fbb91e547d Revert "engine: partially remove legacy Android port, in preparation of new port merge"
This reverts commit ef663a8790.
2024-02-27 05:01:13 +03:00
Alibek Omarov 43bd73f37b engine: platform: that's why commit --amend and/or rebase --interactive your fixes in your patches before proposing them 2024-02-27 04:59:54 +03:00
mittorn bb2753cbfc engine/system: add asm-based raise implementation for arm and aarch64, making Sys_DebugBreak more relevant, use tgkill instead of kill 2024-02-27 04:54:55 +03:00
mittorn 5568eccc8a ref/r_sprite: move dframetype to inner block 2024-02-27 04:17:21 +03:00
mittorn c3b2cc4423 waifulib/compiler_optimizations: disable no-semantic-interposition for gcc4 in release builds too 2024-02-27 04:16:14 +03:00
mittorn d84130219f crashhandler: set host.crashed before messagebox to allow platform code handle crashed state in different way 2024-02-27 04:14:37 +03:00
mittorn d97d4d6c42 filesystem: add XASH_ANDROID_ASSETS macro for aassets switch 2024-02-27 04:04:54 +03:00
mittorn 15798aaf52 ref/r_sprite: move dframetype to inner block 2024-02-27 04:04:54 +03:00