PROTOCOLS
Loader
Defined in fuchsia.vulkan.loader/loader.fidl
Service to provide Vulkan libraries to the loader.
ConnectToDeviceFs
Connects to a FS serving fuchsia.io containing all device nodes
potentially relevant to ICDs. /dev/
Request
Name | Type |
---|---|
channel |
handle<channel>
|
ConnectToManifestFs
Connects to a FS serving fuchsia.io containing all Vulkan ICD manifests.
See
https://github.com/KhronosGroup/Vulkan-Loader/blob/master/loader/LoaderAndLayerInterface.md#icd-manifest-file-format
for a description of the manifest file format. Manifests will always
appear in this directory after the relevant device appears in
ConnectToDeviceFs()
.
Request
Name | Type |
---|---|
options |
ConnectToManifestOptions
|
channel |
handle<channel>
|
Get
Requests a client driver library with the given name from the Vulkan loader service. Returns a VMO suitable for loading as a dynamic library on success, a null handle on failure.
Request
Name | Type |
---|---|
name |
string[64]
|
Response
Name | Type |
---|---|
lib |
handle<vmo>?
|
GetSupportedFeatures
Returns the set of features the loader service supports.
Request
<EMPTY>
Response
Name | Type |
---|---|
features |
Features
|
BITS
ConnectToManifestOptions flexible
Type: uint32
Defined in fuchsia.vulkan.loader/loader.fidl
Name | Value | Description |
---|---|---|
WAIT_FOR_IDLE |
1 | Wait for the loader to finish processing current ICD loading/unloading operations before completing the connection. |
Features flexible
Type: uint32
Defined in fuchsia.vulkan.loader/loader.fidl
Name | Value | Description |
---|---|---|
GET |
1 | Implements Get(). |
CONNECT_TO_DEVICE_FS |
2 | Implements ConnectToDeviceFs(). |
CONNECT_TO_MANIFEST_FS |
4 | Implements ConnectToManifestFs(). |