# Packages
Package asm contains high-level instructions to control the replay virtual machine.
Package builder contains the Builder type to build replay payloads.
Package devices contains functions for gathering devices that can replay a capture.
Package opcode holds all the opcodes that are to be interpreted by the replay virtual machine.
Package protocol contains the constants and types used to communicate with the replay system and its virtual-machine interpreter.
Package value contains the value types used by the replay virtual machine.
# Functions
Execute sends the replay payload for execution on the target replay device communicating on connection.
GetDevice retrieves the target replay device from a context previously annotated by PutDevice.
GetManager retrieves the manager from a context previously annotated by PutManager.
GetTimestamps replays the trace and return the start and end timestamps for each commandbuffers.
GpuProfile replays the trace and writes a Perfetto trace of the replay.
New returns a new Manager instance using the database db.
NewExporter creates a new Exporter.
NewID returns a new ID from an id.ID.
NewManagerForTest returns a new Manager for the test.
PutDevice attaches a target replay device to a Context.
PutManager attaches a manager to a Context.
# Variables
Events holds a number of callback functions that can be used to monitor replay activity.
# Structs
Custom is a command issuing custom replay operations to the replay builder b upon Replay().
Intent describes the source capture and replay target information used for issuing a replay request.
Issue represents a single replay issue reported by QueryIssues.
ProfileExperiments represents the experiment settings for the profiling.
RequestAndResult is a pair of Request and Result.
TODO(apbodnar) move this into whatever eventually calls Profile().
# Interfaces
Config is a user-defined type used to describe the type of replay being requested.
Exporter stores the input replays and export them as gapir instruction.
Generator is the interface for types that support replay generation.
Manager executes replay requests.
Profiler is the interface implemented by replays that can be performed in a profiling mode while capturing profiling data.
QueryFramebufferAttachment is the interface implemented by types that can return the content of a framebuffer attachment at a particular point in a capture.
QueryIssues is the interface implemented by types that can verify the replay performs as expected and without errors.
QueryTimestamps is the interface implemented by types that can return the timestamps of the execution of commands.
Request is a user-defined type that holds information relevant to a single replay request.
SplitGenerator is the interface for types that support split-replay generation.
Support is the optional interface implemented by APIs that can describe replay support for particular devices and device types.
# Type aliases
Result is the function called for the result of a request.