Files
android_translation_layer/src/libandroid/native_window.h

18 lines
391 B
C
Raw Normal View History

#include <EGL/egl.h>
#include <gtk/gtk.h>
#include <jni.h>
#include <X11/Xlib.h>
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);