loader

package
v3.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2022 License: Apache-2.0 Imports: 11 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package loader contains utilities for setting up the Vulkan loader.

Index

Constants

View Source
const (
	// Since Android NDK r21, the VK_LAYER_KHRONOS_validation meta layer
	// is available on both desktop and Android.
	VulkanValidationLayer = "VK_LAYER_KHRONOS_validation"
)

Variables

This section is empty.

Functions

func SetupLayers

func SetupLayers(ctx context.Context, layers []string, skipMissingLayers bool, d bind.Desktop, 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.Desktop, 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.Desktop, 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