Crate fidl_fuchsia_sysmem2

Source

Macros§

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

Structs§

AllocatorAllocateNonSharedCollectionRequest
AllocatorAllocateSharedCollectionRequest
AllocatorBindSharedCollectionRequest
AllocatorControlHandle
AllocatorEventStream
AllocatorGetVmoInfoRequest
AllocatorGetVmoInfoResponder
AllocatorGetVmoInfoResponse
AllocatorMarker
AllocatorProxy
AllocatorRequestStream
A Stream of incoming requests for fuchsia.sysmem2/Allocator.
AllocatorSetDebugClientInfoRequest
AllocatorSynchronousProxy
AllocatorValidateBufferCollectionTokenRequest
AllocatorValidateBufferCollectionTokenResponder
AllocatorValidateBufferCollectionTokenResponse
BufferCollectionAttachLifetimeTrackingRequest
BufferCollectionAttachTokenRequest
BufferCollectionCheckAllBuffersAllocatedResponder
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.
BufferCollectionControlHandle
BufferCollectionEventStream
BufferCollectionGetBufferCollectionIdResponder
BufferCollectionGetNodeRefResponder
BufferCollectionInfo
Information about a buffer collection and its buffers.
BufferCollectionIsAlternateForResponder
BufferCollectionMarker
BufferCollectionProxy
BufferCollectionRequestStream
A Stream of incoming requests for fuchsia.sysmem2/BufferCollection.
BufferCollectionSetConstraintsRequest
BufferCollectionSyncResponder
BufferCollectionSynchronousProxy
BufferCollectionTokenControlHandle
BufferCollectionTokenCreateBufferCollectionTokenGroupRequest
BufferCollectionTokenDuplicateRequest
BufferCollectionTokenDuplicateSyncRequest
BufferCollectionTokenDuplicateSyncResponder
BufferCollectionTokenDuplicateSyncResponse
BufferCollectionTokenEventStream
BufferCollectionTokenGetBufferCollectionIdResponder
BufferCollectionTokenGetNodeRefResponder
BufferCollectionTokenGroupControlHandle
BufferCollectionTokenGroupCreateChildRequest
BufferCollectionTokenGroupCreateChildrenSyncRequest
BufferCollectionTokenGroupCreateChildrenSyncResponder
BufferCollectionTokenGroupCreateChildrenSyncResponse
BufferCollectionTokenGroupEventStream
BufferCollectionTokenGroupGetBufferCollectionIdResponder
BufferCollectionTokenGroupGetNodeRefResponder
BufferCollectionTokenGroupIsAlternateForResponder
BufferCollectionTokenGroupMarker
BufferCollectionTokenGroupProxy
BufferCollectionTokenGroupRequestStream
A Stream of incoming requests for fuchsia.sysmem2/BufferCollectionTokenGroup.
BufferCollectionTokenGroupSyncResponder
BufferCollectionTokenGroupSynchronousProxy
BufferCollectionTokenIsAlternateForResponder
BufferCollectionTokenMarker
BufferCollectionTokenProxy
BufferCollectionTokenRequestStream
A Stream of incoming requests for fuchsia.sysmem2/BufferCollectionToken.
BufferCollectionTokenSyncResponder
BufferCollectionTokenSynchronousProxy
BufferCollectionWaitForAllBuffersAllocatedResponder
BufferCollectionWaitForAllBuffersAllocatedResponse
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.
NodeAttachNodeTrackingRequest
NodeControlHandle
NodeEventStream
NodeGetBufferCollectionIdResponder
NodeGetBufferCollectionIdResponse
NodeGetNodeRefResponder
NodeGetNodeRefResponse
NodeIsAlternateForRequest
NodeIsAlternateForResponder
NodeIsAlternateForResponse
NodeMarker
NodeProxy
NodeRequestStream
A Stream of incoming requests for fuchsia.sysmem2/Node.
NodeSetDebugClientInfoRequest
NodeSetDebugTimeoutLogDeadlineRequest
NodeSetNameRequest
NodeSetWeakOkRequest
NodeSyncResponder
NodeSynchronousProxy
PixelFormatAndModifier
SecureHeapAndRange
SecureHeapAndRangeModification
SecureHeapAndRanges
SecureHeapProperties
SecureHeapRange
SecureMemAddSecureHeapPhysicalRangeRequest
SecureMemAddSecureHeapPhysicalRangeResponder
SecureMemControlHandle
SecureMemDeleteSecureHeapPhysicalRangeRequest
SecureMemDeleteSecureHeapPhysicalRangeResponder
SecureMemEventStream
SecureMemGetDynamicSecureHeapsResponder
SecureMemGetDynamicSecureHeapsResponse
SecureMemGetPhysicalSecureHeapPropertiesRequest
SecureMemGetPhysicalSecureHeapPropertiesResponder
SecureMemGetPhysicalSecureHeapPropertiesResponse
SecureMemGetPhysicalSecureHeapsResponder
SecureMemGetPhysicalSecureHeapsResponse
SecureMemMarker
SecureMemModifySecureHeapPhysicalRangeRequest
SecureMemModifySecureHeapPhysicalRangeResponder
SecureMemProxy
SecureMemRequestStream
A Stream of incoming requests for fuchsia.sysmem2/SecureMem.
SecureMemSynchronousProxy
SecureMemZeroSubRangeRequest
SecureMemZeroSubRangeResponder
SingleBufferSettings
These settings and constraints apply to all the buffers in the collection.
VmoBuffer

Enums§

AllocatorEvent
AllocatorRequest
Allocates system memory buffers.
BufferCollectionEvent
BufferCollectionRequest
[fuchsia.sysmem2/BufferCollection] is a connection directly from a participant to sysmem re. a buffer collection; often the buffer collection is shared with other participants which have their own BufferCollection client end(s) associated with the same buffer collection. In other words, an instance of the BufferCollection interface is a view of a buffer collection, not the buffer collection itself.
BufferCollectionTokenEvent
BufferCollectionTokenGroupEvent
BufferCollectionTokenGroupRequest
The sysmem implementation is consistent with a logical / conceptual model of allocation / logical allocation as follows:
BufferCollectionTokenRequest
A [fuchsia.sysmem2/BufferCollectionToken] is not a buffer collection, but rather is a way to identify a specific potential shared buffer collection, and a way to distribute that potential shared buffer collection to additional participants prior to the buffer collection allocating any buffers.
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.
NodeEvent
NodeRequest
This protocol is the parent protocol for all nodes in the tree established by [fuchsia.sysmem2/BufferCollectionToken] creation and [fuchsia.sysmem2/BufferCollectionTokenGroup] creation, including fuchsia.sysmem2/BufferCollectionToken which have since been converted to a [fuchsia.sysmem2/BufferCollection] channel.
SecureMemEvent
SecureMemRequest
SecureMem

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

Traits§

AllocatorProxyInterface
BufferCollectionProxyInterface
BufferCollectionTokenGroupProxyInterface
BufferCollectionTokenProxyInterface
NodeProxyInterface
SecureMemProxyInterface

Type Aliases§

AllocatorGetVmoInfoResult
BufferCollectionCheckAllBuffersAllocatedResult
BufferCollectionWaitForAllBuffersAllocatedResult
NodeIsAlternateForResult
SecureMemAddSecureHeapPhysicalRangeResult
SecureMemDeleteSecureHeapPhysicalRangeResult
SecureMemGetDynamicSecureHeapsResult
SecureMemGetPhysicalSecureHeapPropertiesResult
SecureMemGetPhysicalSecureHeapsResult
SecureMemModifySecureHeapPhysicalRangeResult
SecureMemZeroSubRangeResult