Crate fidl_fuchsia_sysmem2_common

Source

Macros§

CoherencyDomainUnknown
Pattern that matches an unknown CoherencyDomain member.
ErrorUnknown
Pattern that matches an unknown Error member.

Structs§

AllocatorSetDebugClientInfoRequest
AllocatorValidateBufferCollectionTokenRequest
AllocatorValidateBufferCollectionTokenResponse
BufferCollectionConstraints
Constraints on allocated buffers and, optionally, constraints on images stored in the buffers. These constraints can be specified per-participant. The sysmem service implements aggregation of constraints from multiple participants.
BufferCollectionTokenDuplicateSyncRequest
BufferCollectionTokenGroupCreateChildrenSyncRequest
BufferMemoryConstraints
BufferMemorySettings
These are memory-related settings for all buffers of a buffer collection.
BufferUsage
Describes how a client will access the contents of a buffer.
Config
This type is fidl::Persist()’ed in the sysmem_config.persistent_fidl file within the sysmem domain config by the assembly tool, and read by the sysmem driver.
DynamicSecureHeap
FormatCostEntry
A FormatCostEntry can be used to influence which PixelFormatAndModifier is chosen for a buffer collection, optionally taking BufferUsage into account.
FormatCostKey
Entries which have the same pixel_format, pixel_format_modifier, and required_usage_bits as a previous entry will override that previous entry. For matching purposes, an absent pixel_format_modifier matches LINEAR, and an absent required_buffer_usage_bits matches all-0 usage bits.
FormatCosts
This is the root of the persistent fidl in a format costs file. The format costs files are read by the assembly tool and merged into the single sysmem_config.persistent_fidl file in the sysmem domain config (see Config above).
Heap
A reference to a heap instance.
ImageFormatConstraints
Describes constraints on layout of image data in buffers.
NodeGetBufferCollectionIdResponse
NodeIsAlternateForResponse
NodeSetDebugClientInfoRequest
NodeSetDebugTimeoutLogDeadlineRequest
NodeSetNameRequest
PixelFormatAndModifier
SecureHeapAndRange
SecureHeapAndRangeModification
SecureHeapAndRanges
SecureHeapProperties
SecureHeapRange
SecureMemAddSecureHeapPhysicalRangeRequest
SecureMemDeleteSecureHeapPhysicalRangeRequest
SecureMemGetDynamicSecureHeapsResponse
SecureMemGetPhysicalSecureHeapPropertiesRequest
SecureMemGetPhysicalSecureHeapPropertiesResponse
SecureMemGetPhysicalSecureHeapsResponse
SecureMemModifySecureHeapPhysicalRangeRequest
SecureMemZeroSubRangeRequest
SingleBufferSettings
These settings and constraints apply to all the buffers in the collection.

Enums§

CoherencyDomain
INACCESSIBLE is only for cases where there is no CPU access to the buffers.
Error
Regardless of which error code, any client retries should be very limited in number, if any.

Constants§

CPU_USAGE_READ
CPU_USAGE_READ_OFTEN
CPU_USAGE_WRITE
CPU_USAGE_WRITE_OFTEN
DISPLAY_USAGE_CURSOR
DISPLAY_USAGE_LAYER
MAX_CLIENT_NAME_LENGTH
The max length in bytes of the name request field in [fuchsia.sysmem2/Allocator.SetDebugClientInfo] and [fuchsia.sysmem2/Node.SetDebugClientInfo].
MAX_COUNT_BUFFER_COLLECTION_CONSTRAINTS_IMAGE_FORMAT_CONSTRAINTS
The maximum size of [fuchsia.sysmem2/BufferCollectionConstraints.image_format_constraints].
MAX_COUNT_BUFFER_COLLECTION_INFO_BUFFERS
The maximum entries that can be in the [fuchsia.sysmem2/BufferCollectionInfo.buffers] field.
MAX_COUNT_BUFFER_MEMORY_CONSTRAINTS_PERMITTED_HEAPS
The maximum size of [fuchsia.sysmem2/BufferMemoryConstraints.permitted_heaps].
MAX_COUNT_CREATE_CHILDREN
The maximum number of token children of an OR group that can be created per call to [fuchsia.sysmem2/BufferCollectionTokenGroup.CreateChildrenSync].
MAX_COUNT_DUPLICATES
MAX_COUNT_IMAGE_FORMAT_CONSTRAINTS_COLOR_SPACES
The maximum size of [fuchsia.sysmem2/ImageFormatConstraints.color_spaces].
MAX_COUNT_PIXEL_FORMAT_AND_MODIFIERS
The maximum size of [fuchsia.sysmem2/ImageFormatConstraints.pixel_format_and_modifiers].
MAX_HEAPS_COUNT
MAX_RANGES_COUNT
NONE_USAGE
NONE_USAGE_PERMIT_ALLOCATION
VIDEO_USAGE_CAPTURE
VIDEO_USAGE_DECRYPTOR_OUTPUT
VIDEO_USAGE_HW_DECODER
VIDEO_USAGE_HW_DECODER_INTERNAL
VIDEO_USAGE_HW_ENCODER
VULKAN_BUFFER_USAGE_INDEX_BUFFER
VULKAN_BUFFER_USAGE_INDIRECT_BUFFER
VULKAN_BUFFER_USAGE_STORAGE_BUFFER
VULKAN_BUFFER_USAGE_STORAGE_TEXEL_BUFFER
VULKAN_BUFFER_USAGE_TRANSFER_DST
VULKAN_BUFFER_USAGE_TRANSFER_SRC
VULKAN_BUFFER_USAGE_UNIFORM_BUFFER
VULKAN_BUFFER_USAGE_UNIFORM_TEXEL_BUFFER
VULKAN_BUFFER_USAGE_VERTEX_BUFFER
VULKAN_IMAGE_USAGE_COLOR_ATTACHMENT
VULKAN_IMAGE_USAGE_INPUT_ATTACHMENT
VULKAN_IMAGE_USAGE_SAMPLED
VULKAN_IMAGE_USAGE_STENCIL_ATTACHMENT
VULKAN_IMAGE_USAGE_STORAGE
VULKAN_IMAGE_USAGE_TRANSFER_DST
VULKAN_IMAGE_USAGE_TRANSFER_SRC
VULKAN_IMAGE_USAGE_TRANSIENT_ATTACHMENT