#pragma once
#include <unistd.h>
#include <stdint.h>
#include <stdatomic.h>
#include "neatvnc.h"
struct nvnc_fb {
int ref;
void* addr;
atomic_bool is_locked;
enum nvnc_fb_flags flags;
size_t size;
uint16_t width;
uint16_t height;
uint32_t fourcc_format;
uint64_t fourcc_modifier;
};