wayland: double buffering

This commit is contained in:
IoI_xD 2026-03-26 16:54:40 -07:00 committed by Nishi
commit 2a2fdf55bc
3 changed files with 53 additions and 27 deletions

View file

@ -346,12 +346,16 @@ struct _MwLLWaylandShmBuffer {
struct wl_shm* shm;
struct wl_shm_pool* shm_pool;
struct wl_buffer* shm_buffer;
struct wl_shm_pool* shm_pool_back;
struct wl_buffer* shm_buffer_back;
struct wl_surface* surface;
struct wl_output* output;
MwU8* buf;
MwU8* buf_back;
MwU64 buf_size;
int fd;
int fd_back;
MwBool setup;
};