Macros§
Structs§
- Event
- Listener
- Memory
Mapping - Mesa
Handle - Handle to OS-specific memory or synchronization objects.
- Mesa
Mapping - Owned
Descriptor - Read
Pipe - Reader
- Shared
Memory - Tube
- Wait
Context - Wait
Event - Write
Pipe - Writer
Enums§
- Descriptor
Type - Mesa
Error - An error generated while using this crate.
- Tube
Type - Wait
Timeout
Constants§
- DEFAULT_
RAW_ DESCRIPTOR - MESA_
HANDLE_ TYPE_ MEM_ DMABUF - MESA_
HANDLE_ TYPE_ MEM_ OPAQUE_ FD - Mesa handle types (memory and sync in same namespace) Rutabaga handle types (memory and sync in same namespace)
- MESA_
HANDLE_ TYPE_ MEM_ OPAQUE_ WIN32 - MESA_
HANDLE_ TYPE_ MEM_ SHM - MESA_
HANDLE_ TYPE_ MEM_ ZIRCON - MESA_
HANDLE_ TYPE_ SIGNAL_ EVENT_ FD - MESA_
HANDLE_ TYPE_ SIGNAL_ OPAQUE_ FD - MESA_
HANDLE_ TYPE_ SIGNAL_ OPAQUE_ WIN32 - MESA_
HANDLE_ TYPE_ SIGNAL_ SYNC_ FD - MESA_
HANDLE_ TYPE_ SIGNAL_ ZIRCON - MESA_
MAP_ ACCESS_ MASK - Access flags (not in virtio_gpu spec)
- MESA_
MAP_ ACCESS_ READ - MESA_
MAP_ ACCESS_ RW - MESA_
MAP_ ACCESS_ WRITE - MESA_
MAP_ CACHE_ CACHED - MESA_
MAP_ CACHE_ MASK - Mapped memory caching flags (see virtio_gpu spec)
- MESA_
MAP_ CACHE_ UNCACHED - MESA_
MAP_ CACHE_ WC - WAIT_
CONTEXT_ MAX
Traits§
- AsBorrowed
Descriptor - AsRaw
Descriptor - Trait for returning the underlying raw descriptor, without giving up ownership of the descriptor.
- From
RawDescriptor - Into
RawDescriptor - Trait for forfeiting ownership of the current raw descriptor, and returning the raw descriptor
- Mapped
Region - Safety
Functions§
- create_
pipe - round_
up_ to_ page_ size - Uses the system’s page size in bytes to round the given value up to the nearest page boundary.
Type Aliases§
- Mesa
Result - The result of an operation in this crate.
- RawDescriptor