Commit Graph

7 Commits

Author SHA1 Message Date
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
Mis012
3616a41353 src/libandroid/native_window.c: check for NULL in bionic_eglCreateWindowSurface 2022-12-01 14:44:16 +01:00
Mis012
231ac88dbd make touch input work with apps using SurfaceView 2022-11-09 15:03:13 +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
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