loader

package
v0.0.0-...-6c7272e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 13, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package loader contains utilities for setting up the Vulkan loader.

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL