template <>

class Server

Defined at line 256 of file fidling/gen/sdk/fidl/fuchsia.vulkan.loader/fuchsia.vulkan.loader/cpp/fidl/fuchsia.vulkan.loader/cpp/natural_messaging.h

Public Methods

void Get (GetRequest & request, GetCompleter::Sync & completer)

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.

void ConnectToManifestFs (ConnectToManifestFsRequest & request, ConnectToManifestFsCompleter::Sync & completer)

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()`.

void ConnectToDeviceFs (ConnectToDeviceFsRequest & request, ConnectToDeviceFsCompleter::Sync & completer)

Connects to a FS serving fuchsia.io containing all device nodes

potentially relevant to ICDs. Trusted devices are exposed only to trusted

loader clients (see [`TrustedService`]).

void GetSupportedFeatures (GetSupportedFeaturesCompleter::Sync & completer)

Returns the set of features the loader service supports.

void GetVmexResource (GetVmexResourceCompleter::Sync & completer)

Returns a VmexResource that can be used by Lavapipe to JIT-compile code in the client

process, or an error.

void Server ()

Defined at line 259 of file fidling/gen/sdk/fidl/fuchsia.vulkan.loader/fuchsia.vulkan.loader/cpp/fidl/fuchsia.vulkan.loader/cpp/natural_messaging.h

Handler bind_handler (async_dispatcher_t * dispatcher)

|bind_handler| returns a handler that binds incoming connections to this

server implementation.

The returned handler borrows the server instance.

The server must outlive the provided |dispatcher|. Only after

the dispatcher is shutdown will it be safe to destroy the servers.

The server should not be moved.

void ~Server ()

Defined at line 260 of file fidling/gen/sdk/fidl/fuchsia.vulkan.loader/fuchsia.vulkan.loader/cpp/fidl/fuchsia.vulkan.loader/cpp/natural_messaging.h