Module rutabaga_gfx::rutabaga_utils
source · Expand description
rutabaga_utils: Utility enums, structs, and implementations needed by the rest of the crate.
Structs§
- A unique identifier for a device.
- gfxstream flag struct.
- Metadata associated with a swapchain, video or camera image.
- Information needed to open an OS-specific RutabagaConnection (TBD). Only Linux hosts are considered at the moment.
- Convenience struct for debug data
- Convenience struct for Rutabaga fences
- Handle to OS-specific memory or synchronization objects.
- Import Data for resource_import
- Represents a buffer.
base
contains the address of a buffer, whilelen
contains the length of the buffer. - Transfers {to, from} 1D buffers, 2D textures, 3D textures, and cubemaps.
- virglrenderer flag struct.
- Memory index and physical device id of the associated VkDeviceMemory.
Enums§
- Enumeration of possible rutabaga components.
- An error generated while using this crate.
Constants§
- Blob resource creation parameters.
- Rutabaga capsets.
- Rutabaga channel types
- Rutabaga context init capset id mask.
- Rutabaga debug types
- Rutabaga flags for creating fences.
- Access flags (not in virtio_gpu spec)
- Mapped memory caching flags (see virtio_gpu spec)
- Rutabaga handle types (memory and sync in same namespace)
- 3D resource creation parameters. Also used to create 2D resource. Constants based on Mesa’s (internal) Gallium interface. Not in the virtio-gpu spec, but should be since dumb resources can’t work with gfxstream/virglrenderer without this.
- Flags for the gfxstream renderer.
- Flags for virglrenderer. Copied from virglrenderer bindings.
Type Aliases§
- The result of an operation in this crate.