Crate mesa3d_util

Source

Macros§

log_status

Structs§

Event
Listener
MemoryMapping
MesaHandle
Handle to OS-specific memory or synchronization objects.
MesaMapping
OwnedDescriptor
ReadPipe
Reader
SharedMemory
Tube
WaitContext
WaitEvent
WritePipe
Writer

Enums§

DescriptorType
MesaError
An error generated while using this crate.
TubeType
WaitTimeout

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§

AsBorrowedDescriptor
AsRawDescriptor
Trait for returning the underlying raw descriptor, without giving up ownership of the descriptor.
FromRawDescriptor
IntoRawDescriptor
Trait for forfeiting ownership of the current raw descriptor, and returning the raw descriptor
MappedRegion
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§

MesaResult
The result of an operation in this crate.
RawDescriptor