Commit Graph

4 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
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