Your company here ā€” click to reach over 10,000 unique daily visitors

wl_shm_pool - Man Page


Public Member Functions

void wl_shm_pool_unref (struct wl_shm_pool *pool)

Data Fields

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

Member Function Documentation

void wl_shm_pool_unref (struct wl_shm_pool * pool)

Unreference a shm_pool


pool 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.

See also


Field Documentation

char* wl_shm_pool::data

int wl_shm_pool::external_refcount

int wl_shm_pool::internal_refcount

int wl_shm_pool::mmap_fd

int wl_shm_pool::mmap_flags

int wl_shm_pool::mmap_prot

ssize_t wl_shm_pool::new_size

struct wl_resource* wl_shm_pool::resource

bool wl_shm_pool::sigbus_is_impossible

ssize_t wl_shm_pool::size


Generated automatically by Doxygen for Wayland from the source code.


Fri Jun 28 2024 00:00:00 Version 1.23.0 Wayland