Commit Graph

812 Commits

Author SHA1 Message Date
Mis012
2a7345e44e src/libandroid/native_window.c: the part that should go in libEGL_bio: intercept eglGetProcAddress so we can stub extensions 2023-01-05 19:00:27 +01:00
Mis012
eb9b2cb53e src/libandroid/native_window.c: implement wrappers around some OpenXR stuff so we can run OpenXR apps 2022-12-31 17:17:10 +01:00
Mis012
43aa1cf455 src/libandroid: implement more stuff 2022-12-31 17:17:10 +01:00
Mis012
2e4590c4d8 src/api-impl: misc stubbing 2022-12-31 17:17:10 +01:00
Mis012
696fa5a192 make some Handler callback magic synchronous to avoid having to implement it properly 2022-12-31 17:17:10 +01:00
Mis012
9ec3bf58c2 src/api-impl/android/app/Activity.java: don't return null intent, apparently some apps tolerating that was an exception 2022-12-27 17:15:56 +01:00
Mis012
1c94d56a11 src/api-impl-jni/util.c: add caching for SurfaceHolder; add gdb helper functions 2022-12-27 17:14:30 +01:00
Mis012
63d7427d0e GLSurfaceView: call SurfaceHolderCallback.surfaceCreated in case the app expects that; compensate for mismatch between touch input and the rendering area 2022-12-27 17:11:59 +01:00
Mis012
8d4c22e2a3 README.md: fix executable name in example invocations 2022-12-01 14:44:19 +01:00
Nikita Travkin
d419d6d324 fixme-desc: add some stubs 2022-12-01 14:44:19 +01:00
Mis012
638667efbb src/arsc_parser: avoid some NULL dereferences (TODO: should these ever happen or are we doing something wrong?) 2022-12-01 14:44:19 +01:00
Mis012
52ba443401 misc stubbing 2022-12-01 14:44:16 +01:00
Mis012
9db07691fe fix native activity input handling to work in the general case 2022-12-01 14:44:16 +01:00
Mis012
3616a41353 src/libandroid/native_window.c: check for NULL in bionic_eglCreateWindowSurface 2022-12-01 14:44:16 +01:00
Mis012
12fffb0724 src/libandroid/looper.c: fix for aarch64 (TODO: just implement these as extern C straight in libutils?) 2022-12-01 14:44:16 +01:00
Mis012
d8315cd3a3 meson.build: make libtranslationlayer_main.so depend on libandroid.so to avoid confusing errors 2022-11-24 16:13:49 +01:00
Mis012
894f7b99c3 inform Java about apk path; allow specifying port for jdwp debugging with JDWP_LISTEN env; hackily work around onWindowFocusChanged being called at a time where it causes some apps to crash 2022-11-24 16:13:41 +01:00
Mis012
75187b01d5 implement/stub some stuff to make SmashHit launch 2022-11-24 16:05:38 +01:00
Mis012
b0d6045254 src/api-impl/android/content/pm: fix up some stubs, remove some ugly make-this-compile out-of-place class definitions in favor of importing implementations we have created since 2022-11-24 15:56:40 +01:00
Mis012
53d2086074 SQM: src/api-impl/android/content/IntentSender.java: make SendIntentException subclass Exception 2022-11-24 15:51:29 +01:00
Mis012
bf0cd46647 SQM: src/api-impl-jni/widgets/android_view_SurfaceView.c: fix typo 2022-11-24 15:49:55 +01:00
Mis012
85b2a60fb0 src/api-impl-jni/android_app_NativeActivity.c: strdup datadir paths before freeing them 2022-11-24 15:46:43 +01:00
Mis012
33b4515cb9 add support for the boneheaded method of receiving input events that is used by NativeActivity apps
currently, our "not-actually-a-queue" implementation is quite ugly,
hopefully it might be possible to make it look somewhat sane while
not needing to make it as much of a queue as it is on android
2022-11-11 19:18:21 +01:00
Mis012
231ac88dbd make touch input work with apps using SurfaceView 2022-11-09 15:03:13 +01:00
Mis012
e5a8b4c7eb src/api-impl/android/view/MotionEvent.java: fix copied indentation 2022-11-09 14:50:54 +01:00