Commit Graph

74 Commits

Author SHA1 Message Date
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
Mis012
dbe04599b0 src/libandroid/configuration.c: add more stubs 2022-11-08 21:13:22 +01:00
Mis012
7ad1ce86f2 call onStart when starting an activity; uncomment handler for onWindowFocusChanged in NativeActivity 2022-11-08 21:12:41 +01:00
Mis012
107b436528 README.md: add a brief usage note about NativeActivity 2022-11-04 19:49:11 +01:00
Mis012
7d3cefafef api-impl: add initial support for NativeAcivity 2022-11-04 19:28:46 +01:00
Mis012
a2981b7b51 src/libandroid/input.c: add initial stubs 2022-11-04 19:26:46 +01:00
Mis012
2865d34a32 src/api-impl: add misc stubs, fix indentation 2022-11-04 19:21:45 +01:00
Mis012
debe8c9843 src/libandroid: Add actual implementations for the stubbed ALooper functions
this was actually surprisingly easy, since it turns out these
are just C ABI wrappers around the C++ class android::Looper
from AOSP libutils.so, which is a dependency for art that we
therefore compile and distribute alongside it
2022-11-04 19:20:45 +01:00
Mis012
18d0b11fcf src/api-impl/meson.build: fix indentation, sort source files 2022-11-02 18:41:39 +01:00
Mis012
c0e136cdfe src/api-impl-jni/widgets/android_opengl_GLSurfaceView.c: handle missing glEGLImageTargetTexture2DOES export on some builds of Mesa 2022-11-02 16:28:08 +01:00
Mis012
165f0fd4fe src/api-impl/android/opengl/GLSurfaceView.java: add onResume stub 2022-11-02 16:27:20 +01:00
Nikita Travkin
c7fcb0f84e Stub some stuff 2022-11-02 15:25:14 +01:00
Mis012
6a1d2f4ed4 replace use of glfw for SurfaceView with use of wayland subsurface positioned over a Gtk widget 2022-11-02 14:37:34 +01:00
Nikita Travkin
e88709cf9d define DEFFILEMODE when system headers don't 2022-11-02 14:34:45 +01:00