Commit Graph

31 Commits

Author SHA1 Message Date
mittorn
bd5309b018 platform/android_nosdl: fix forgotten static 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
892c735c86 Replace harmless single-line pair assigns by multi-line, need more newlines! 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
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
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
bb9775048b platform/android_nosdl: fix build (ndk10, host clang15) 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
ef663a8790 engine: partially remove legacy Android port, in preparation of new port merge 2023-06-05 20:30:18 +03:00
Andrey Akhmichin
6486533355 engine: platform: android: replace va function calls. 2023-03-11 16:29:55 +03:00
Gleb Mazovetskiy
5e0a0765ce Trim all trailing whitespace
The `.editorconfig` file in this repo is configured to trim all trailing
whitespace regardless of whether the line is modified.

Trims all trailing whitespace in the repository to make the codebase easier
to work with in editors that respect `.editorconfig`.

`git blame` becomes less useful on these lines but it already isn't very useful.

Commands:

```
find . -type f -name '*.h' -exec sed --in-place 's/[[:space:]]\+$//' {} \+
find . -type f -name '*.c' -exec sed --in-place 's/[[:space:]]\+$//' {} \+
```
2021-01-04 20:55:10 +03:00
mittorn
f0c9aa1585 vid_android: workaround small output buffer 2020-07-10 09:51:00 +07:00
mittorn
4515d3e3cb platform/android: implement native software blitter, fix lost context on resize, fix safegl 2020-07-08 08:48:46 +07:00
mittorn
98ffbaf87a android: fix fallbacks 2020-07-07 00:22:01 +07:00
Alibek Omarov
8399107826 engine: platform: android: remake video backend to use EGL through Java code 2019-12-02 01:01:39 +03:00
mittorn
1365020302 ref: add enum for screen rotation 2019-11-04 20:27:46 +07:00
mittorn
7f6395fa7d ref: display transformation API 2019-10-31 01:36:07 +07:00
Alibek Omarov
8be58bcd21 engine: android: fix EGL context create error condition 2019-10-11 17:36:56 +03:00
Alibek Omarov
06e38b45c8 engine: android: don't throw host error when initializing software renderer on Android 2019-10-11 11:53:52 +03:00
Alibek Omarov
fa622168a0 engine: fix style, disable XASH_USE_SELECT 2019-10-11 08:51:30 +03:00
Alibek Omarov
4049c54511 engine: android: fix video backend not compiled 2019-09-19 18:17:56 +03:00
Alibek Omarov
07aa9595c0 engine: android: allow building dedicated on Android 2019-09-19 17:09:18 +03:00
Alibek Omarov
2f8fec6b70 Remove trailing spaces, convert mistakenly put spaces to tabs. The most useful commit ever. 2019-07-19 20:23:08 +03:00
Alibek Omarov
d596f4ea52 engine: android: vid: fix building with NDK r19c 2019-05-28 03:55:54 +03:00
Alibek Omarov
2e953bd1a9 ref_api: remove GL_OnContextCreated, remove return value of GL_RenderFrame 2019-05-12 18:02:59 +03:00
Alibek Omarov
85c2126775 engine: android: implement egl context management 2019-05-12 03:06:55 +03:00
Alibek Omarov
3fef353291 android: initial port 2019-05-02 18:07:03 +03:00