Module wayland_client::core::shm
[−]
[src]
Structures related to buffers and shared memory pools.
An Shm is the most classic way for a wayland client to specify
the contents of a Surface to the server.
The Shm global object allows you to create ShmPools out of a file descriptor,
which the server will mmap on its side to acces its contents.
Then, you cn create Buffers out of a ShmPool, which each sepcify a view into
the pool (and are allowed to overlap), and can be assigned to a Surface.
Structs
| Buffer |
A view into a memory pool. |
| Shm |
The shared memory controller. |
| ShmPool |
A shared memory pool. |
Enums
| ShmFormat |
Possible formats for a Shm. |