wl_shm_pool
Contents
Field Documentation
char*wl_shm_pool::dataintwl_shm_pool::external_refcountintwl_shm_pool::internal_refcountintwl_shm_pool::mmap_fdintwl_shm_pool::mmap_flagsintwl_shm_pool::mmap_protssize_twl_shm_pool::new_sizestructwl_resource*wl_shm_pool::resourceboolwl_shm_pool::sigbus_is_impossiblessize_twl_shm_pool::size
Member Function Documentation
voidwl_shm_pool_unref(structwl_shm_pool*pool)
Unreference a shm_poolParameterspool The pool object
Drops a reference to a wl_shm_pool object.
This is only necessary if the compositor has explicitly taken a reference with wl_shm_buffer_ref_pool(),
otherwise the pool will be automatically destroyed when appropriate.
Seealsowl_shm_buffer_ref_poolName
wl_shm_pool
Synopsis
PublicMemberFunctions
void wl_shm_pool_unref (struct wl_shm_pool *pool)
DataFields
struct wl_resource * resource
int internal_refcount
int external_refcount
char * data
ssize_t size
ssize_t new_size
int mmap_fd
int mmap_flags
int mmap_prot
bool sigbus_is_impossible