wayland resize

This commit is contained in:
IoIxD 2025-12-05 14:49:05 -07:00
commit d4d4835fd1
2 changed files with 207 additions and 85 deletions

View file

@ -41,6 +41,7 @@ struct _MwLLWaylandTopLevel {
struct xdg_toplevel* xdg_top_level;
struct xdg_toplevel_listener xdg_toplevel_listener;
struct xdg_surface_listener xdg_surface_listener;
struct wl_surface_listener surface_listener;
struct xkb_context* xkb_context;
@ -81,7 +82,8 @@ struct _MwLLWayland {
MwBool configured;
MwBool force_redraw;
MwBool do_clear;
MwBool egl_setup;
MwBool egl_do_resetup;
MwU32 x, y, ww, wh;
int z_index;
@ -89,15 +91,12 @@ struct _MwLLWayland {
GLuint fbo;
unsigned int fbo_texture;
unsigned int rbo;
MwBool egl_setup;
EGLNativeWindowType egl_window_native;
EGLDisplay egl_display;
EGLContext egl_context;
EGLSurface egl_surface;
GLuint vertex_buffer;
GLuint vertex_array;
EGLConfig egl_config;
};
struct _MwLLWaylandColor {