Wayland  1.9.90
Data Fields
wl_shm_interface Struct Reference

#include <wayland-server-protocol.h>

Data Fields

void(* create_pool )(struct wl_client *client, struct wl_resource *resource, uint32_t id, int32_t fd, int32_t size)
 create a shm pool More...
 

Field Documentation

void(* wl_shm_interface::create_pool) (struct wl_client *client, struct wl_resource *resource, uint32_t id, int32_t fd, int32_t size)

create a shm pool

Create a new wl_shm_pool object.

The pool can be used to create shared memory based buffer objects. The server will mmap size bytes of the passed file descriptor, to use as backing memory for the pool.


The documentation for this struct was generated from the following file: