mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-16 14:08:07 +02:00
Add a method for determining which MESA_MAP_ACCESS_* flag would be appropriate for a given OwnedDescriptor, based on both access flags and write seals (since access mode can be RDWR despite the seals!) This is useful for virtgpu implementations when mapping incoming buffers from host software into the guest's address space. Previously Rutabaga relied on basic heuristics like "SHM is always R/O", but with upcoming extra protocols to be forwarded over virtgpu channels (like PipeWire) those assumptions no longer hold true. Signed-off-by: Val Packett <val@packett.cool> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40132> |
||
|---|---|---|
| .. | ||
| bytestream | ||
| sys | ||
| defines.rs | ||
| descriptor.rs | ||
| error.rs | ||
| lib.rs | ||
| memory_mapping.rs | ||
| meson.build | ||
| shm.rs | ||