unsigned int gp_size
Integer type for sizes i.e. w, h, ...
gp_pixel_type
List of all pixel types.
A proxy backend protocol definitions.
void gp_proxy_shm_exit(gp_proxy_shm *self)
Removes a SHM pixmap.
gp_proxy_shm * gp_proxy_shm_init(const char *path, gp_size w, gp_size h, gp_pixel_type type)
Creates an SHM pixmap.
int gp_proxy_shm_resize(gp_proxy_shm *self, gp_size w, gp_size h)
Resizes a SHM pixmap.
A SHM path and size for a mmap().
char path[64]
A SHM path to mmap().
gp_pixmap pixmap
A pixmap with the SHM segment as a pixels.
int fd
A file descriptor for the SHM file.
size_t size
A SHM segment size.
struct gp_proxy_path path
A path to the SHM segment.