Skip to main content

Crate fidl_next_fuchsia_sysmem2

Crate fidl_next_fuchsia_sysmem2 

Source

Re-exports§

pub use self::natural::*;

Modules§

allocator
buffer_collection
buffer_collection_token
buffer_collection_token_group
generic
natural
node
secure_mem
wire
wire_optional

Structs§

Allocator
The type corresponding to the Allocator protocol. Allocates system memory buffers.
AllocatorSetDebugClientInfoRequest
AllocatorValidateBufferCollectionTokenRequest
AllocatorValidateBufferCollectionTokenResponse
BufferCollection
The type corresponding to the BufferCollection protocol. [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.
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.
BufferCollectionToken
The type corresponding to the BufferCollectionToken protocol. 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.
BufferCollectionTokenDuplicateSyncRequest
BufferCollectionTokenGroup
The type corresponding to the BufferCollectionTokenGroup protocol. The sysmem implementation is consistent with a logical / conceptual model of allocation / logical allocation as follows:
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.
Node
The type corresponding to the Node protocol. 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.
NodeGetBufferCollectionIdResponse
NodeIsAlternateForResponse
NodeSetDebugClientInfoRequest
NodeSetDebugTimeoutLogDeadlineRequest
NodeSetNameRequest
PixelFormatAndModifier
SecureHeapAndRange
SecureHeapAndRangeModification
SecureHeapAndRanges
SecureHeapProperties
SecureHeapRange
SecureMem
The type corresponding to the SecureMem protocol. SecureMem
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_IMAGE_FORMAT_CONSTRAINTS_REQUIRED_MAX_SIZE_LIST
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§

AllocatorClientHandler
A client handler for the Allocator protocol.
AllocatorLocalClientHandler
A client handler for the Allocator protocol.
AllocatorLocalServerHandler
A server handler for the Allocator protocol.
AllocatorServerHandler
A server handler for the Allocator protocol.
BufferCollectionClientHandler
A client handler for the BufferCollection protocol.
BufferCollectionLocalClientHandler
A client handler for the BufferCollection protocol.
BufferCollectionLocalServerHandler
A server handler for the BufferCollection protocol.
BufferCollectionServerHandler
A server handler for the BufferCollection protocol.
BufferCollectionTokenClientHandler
A client handler for the BufferCollectionToken protocol.
BufferCollectionTokenGroupClientHandler
A client handler for the BufferCollectionTokenGroup protocol.
BufferCollectionTokenGroupLocalClientHandler
A client handler for the BufferCollectionTokenGroup protocol.
BufferCollectionTokenGroupLocalServerHandler
A server handler for the BufferCollectionTokenGroup protocol.
BufferCollectionTokenGroupServerHandler
A server handler for the BufferCollectionTokenGroup protocol.
BufferCollectionTokenLocalClientHandler
A client handler for the BufferCollectionToken protocol.
BufferCollectionTokenLocalServerHandler
A server handler for the BufferCollectionToken protocol.
BufferCollectionTokenServerHandler
A server handler for the BufferCollectionToken protocol.
NodeClientHandler
A client handler for the Node protocol.
NodeLocalClientHandler
A client handler for the Node protocol.
NodeLocalServerHandler
A server handler for the Node protocol.
NodeServerHandler
A server handler for the Node protocol.
SecureMemClientHandler
A client handler for the SecureMem protocol.
SecureMemLocalClientHandler
A client handler for the SecureMem protocol.
SecureMemLocalServerHandler
A server handler for the SecureMem protocol.
SecureMemServerHandler
A server handler for the SecureMem protocol.

Type Aliases§

BufferCollectionCheckAllBuffersAllocatedResponse
NodeSyncResponse
SecureMemAddSecureHeapPhysicalRangeResponse
SecureMemDeleteSecureHeapPhysicalRangeResponse
SecureMemModifySecureHeapPhysicalRangeResponse
SecureMemZeroSubRangeResponse