#include #include #include #include struct ANativeWindow { EGLNativeWindowType egl_window; GtkWidget *surface_view_widget; struct wl_display *wayland_display; struct wl_surface *wayland_surface; Display *x11_display; gulong resize_handler; int refcount; }; struct ANativeWindow *ANativeWindow_fromSurface(JNIEnv* env, jobject surface);