Documentation ¶
Overview ¶
Package loader contains utilities for setting up the Vulkan loader.
Index ¶
- func SetupLayers(ctx context.Context, layers []string, skipMissingLayers bool, d bind.Device, ...) (app.Cleanup, error)
- func SetupReplay(ctx context.Context, d bind.Device, abi *device.ABI, env *shell.Env) (app.Cleanup, error)
- func SetupTrace(ctx context.Context, d bind.Device, abi *device.ABI, env *shell.Env) (app.Cleanup, string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupLayers ¶
func SetupLayers(ctx context.Context, layers []string, skipMissingLayers bool, d bind.Device, abi *device.ABI, env *shell.Env) (app.Cleanup, error)
SetupLayers sets up the environment so that the correct layers are enabled for the application.
func SetupReplay ¶
func SetupReplay(ctx context.Context, d bind.Device, abi *device.ABI, env *shell.Env) (app.Cleanup, error)
SetupReplay sets up the environment for a desktop. Returns a clean-up function to be called after replay completes, or an error.
func SetupTrace ¶
func SetupTrace(ctx context.Context, d bind.Device, abi *device.ABI, env *shell.Env) (app.Cleanup, string, error)
SetupTrace sets up the environment for tracing a local app. Returns a clean-up function to be called after the trace completes, and a temporary filename that can be used to find the port if stdout fails, or an error.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.