Commit graph

882 commits

Author SHA1 Message Date
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
Mis012
f2be3ef820 libandroid: remove android_set_abort_message, it belongs in libc.so 2022-11-02 14:21:44 +01:00
Mis012
b801f0fb3c implement some stuff to make exaple SDL app run
NOTE: the main addition in this commit is WIP support for apps which
render on an EGL surface obtained using ANativeWindow_fromSurface

currently, this EGL surface is obtained by creating a 700x700 pixel
window with GLFW (the 700x700 size is hardcoded in several places)
and only Wayland is supported

ideally, we'd want to use a wayland subsurface to position the EGL
surface above the Surface widget it's associated with (and do
whatever for X11)
2022-10-26 18:39:04 +02:00
Mis012
3627f35bd5 fix wrong indentation of interfaces/stubs copied from AOSP 2022-10-18 18:35:29 +02:00
Mis012
8b049385c3 change gles include from GLES to GLES3, since either works for us and the latter is much more commonly packaged 2022-10-12 17:54:21 +02:00
Mis012
49961186a2 get rid of launcher script requirement; fix app data dir being hardcoded; update documentation; remove prebuilt dalvik (NOTE - purged from history at this point, so is not part of the diff) 2022-10-12 17:30:07 +02:00
Mis012
31cf1a521b main-executable: when ANDROID_ROOT is not set, load art core libs from @libdir@/java/dex/art 2022-10-09 23:08:28 +02:00
Mis012
449090143e refactor source tree organization, switch to meson 2022-10-09 22:59:16 +02:00
Mis012
2f785e2a59 add back support for loading libraries linked against bionic 2022-09-20 15:32:37 +02:00
Mis012
d0962b9974 clarify a note in README 2022-09-12 13:22:45 +02:00
Mis012
cee4bb4e73 switch from dalvik to art; NOTE: bionic translation linker not used yet 2022-09-12 13:16:11 +02:00
Mis012
456d5eb3d9 fix up / update README 2022-07-25 13:02:43 +02:00
Mis012
8fedbfb438 move entry point to C, bypass dalvik executable by directly linking against libdvm.so 2022-07-23 00:06:32 +02:00
Mis012
1b5a52ccc8 update README 2022-06-07 17:03:58 +02:00
Mis012
d5d78d8621 add some documentation 2022-06-07 17:03:51 +02:00
Mis012
5c6428baae add launch_activity.sh to abstract away the dalvik invocation; update README 2022-02-08 15:30:25 +01:00
Mis012
1b44dd00d5 finally add a .gitignore (todo: purge all the past mishaps) 2022-02-07 23:27:11 +01:00
Mis012
845593340e add a license; oops :P 2022-01-27 21:50:32 +01:00
Mis012
a36b3e12c7 temporarily include MicroG apk for convenience 2022-01-27 21:50:31 +01:00
Mis012
e16a2ecc16 update README, update screenshot 2021-12-20 01:19:15 +01:00
Mis012
9e786ce878 add make all / make clean; fix up Makefile 2021-10-28 13:18:25 +02:00
Mis012
13690c8e5a add screenshot; update README 2021-08-26 12:27:12 +02:00
Newbyte
9ba9c3b378 Fix mcpelauncher-linker link 2021-08-26 12:27:12 +02:00
Mis012
0fde4f7837 update README regarding the last commit 2021-05-21 20:41:27 +02:00
Mis012
90f81bcee3 initial commit; no implementations yet 2021-01-05 19:15:42 +01:00