2019-10-07 17:39:54 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <unistd.h>
|
|
|
|
#include <stdint.h>
|
2020-04-04 12:33:18 +00:00
|
|
|
#include <stdatomic.h>
|
2019-10-07 17:39:54 +00:00
|
|
|
|
|
|
|
struct nvnc_fb {
|
2019-10-20 22:13:51 +00:00
|
|
|
int ref;
|
|
|
|
void* addr;
|
2020-04-04 12:33:18 +00:00
|
|
|
atomic_bool is_locked;
|
2019-10-20 22:13:51 +00:00
|
|
|
size_t size;
|
|
|
|
uint16_t width;
|
|
|
|
uint16_t height;
|
|
|
|
uint32_t fourcc_format;
|
|
|
|
uint64_t fourcc_modifier;
|
2019-10-07 17:39:54 +00:00
|
|
|
};
|