Mis012
4374ac01ad
AssetManager: use libandroidfw to read assets straight from the apk file
...
they can still be put on the filesystem and will be read from there
preferentially, though overriding assets in this way can confuse
some creatively written apps and cause them to crash.
2024-05-26 00:10:16 +02:00
Julian Winkler
64411c75aa
fix build on Debian 12 / GTK 4.8
2024-05-06 07:28:56 +02:00
Mis012
31929d2253
ignore deprecation warnings for per-widget css, switch gtk_widget_translate_coordinates to gtk_widget_compute_point
2024-04-20 16:34:01 +02:00
Mis012
98d17ac25e
fix some gcc-reported warnings
2024-04-20 00:05:51 +02:00
Mis012
21627aecad
ANativeWindow: make the while loop hack work on main thread
2024-04-17 19:27:16 +02:00
Mis012
f52a221c73
android_os_MessageQueue: move looper prototypes to header, fix incorrect prototype
2024-04-15 23:12:58 +02:00
Markuss Broks
d4e9ddbd15
libandroid: Add a stub for AKeyEvent_getKeyCode
2024-04-01 19:41:06 +00:00
ptrcnull
f49922cf1b
add stub for ALooper::removeFd
2024-03-09 04:50:56 +01:00
Mis012
6d587a19e5
misc stuff to make glmark2 run
2024-03-05 17:07:21 +01:00
Mis012
25a0a44638
libandroid: xr: remove XR_KHR_android_create_instance from extension list
2023-12-07 14:55:30 +01:00
Nikita Travkin
9881f2fa31
libandroid: xr: don't assume android GLES
2023-11-29 13:47:36 +01:00
Nikita Travkin
0fb6754598
libandroid: xr: override procaddr with bionic symbols
2023-11-25 20:15:23 +01:00
Nikita Travkin
0860da34c8
libandroid: add trace
2023-11-25 20:15:00 +01:00
Mis012
9ef2151c5e
GLSurfaceView: remove old implementation, import the one from AOSP
...
Now that we have a reasonably well working SurfaceView implementation,
it is actually cleaner to just implement GLSurfaceView the way AOSP
does. In fact, their code doesn't have any weird dependencies, and
can mostly be used as-is.
The AOSP code is pure Java, which means we had to implement some
EGL wrappers.
This change fixes issues with Wayland (it only ever worked because
the pbuffers were allocated using an XWayland EGLDisplay), and
with resizing (which we simply didn't support), all while getting
rid of quite some (arguably not very readable) LoC.
2023-10-20 20:54:37 +02:00
Julian Winkler
b340032e9f
impement android.media.MediaCodec using libavcodec
...
The current implementation requires a VA-API driver and a Wayland
compositor with YUV-buffer support. GNOME supports YUV-buffers
since the recent version 45 release
2023-10-14 18:29:33 +02:00
Mis012
c326cad04e
misc cleanup, address some warnings
2023-09-25 19:56:39 +02:00
Markuss Broks
beca82142c
libandroid/native_window.c: Implement X11 support
...
Signed-off-by: Markuss Broks <markuss.broks@gmail.com >
2023-09-19 15:00:46 +02:00
Nikita Travkin
d3e5c6ee70
api-impl,libandroid: Add some stubs, mostly
2023-09-19 14:44:50 +02:00
Mis012
e1cf5c7047
libandroid/native_window.c: make Vulkan work, add refcount
2023-09-14 21:48:15 +02:00
Mis012
08998b0076
make Looper, Handler, and MessageQueue work properly
...
this for example makes Unity apps not steal the main thread,
hanging Gtk.
2023-07-25 14:27:21 +02:00
Julian Winkler
824b821f5a
looper.c: make objretcall less hacky
...
the old method failed when building with -Os on arm64
2023-06-22 09:26:57 +00:00
Mis012
184a1916ad
src/libandroid/looper.c: make the ffi saner
2023-01-12 13:14:02 +01:00
Mis012
0a9fe3caa9
src/libandroid/native_window.c: [belongs in openxr_bio]: use dlopen/dlsym to avoid hard dependency on openxr loader
2023-01-09 13:55:25 +01:00
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