Skip to content

liuchunyu524/gapid

 
 

Repository files navigation

GAPID: Graphics API Debugger

GoDoc Gitter LinuxLinux Build Status MacOSMacOS Build Status WindowsWindows Build Status

Downloads

Download the latest version of GAPID here.

Documentation

User documentation can be found here.

About

GAPID is a collection of tools that allows you to inspect, tweak and replay calls from an application to a graphics driver.

GAPID can trace any Android debuggable application, or if you have root access to the device any application can be traced. GAPID can also trace any desktop Vulkan application.

Screenshot 1 Screenshot 2
Screenshot 3 Screenshot 4

Building

See Building GAPID.

Running the client

Windows MacOS / Linux
cd %GOPATH%\src\github.com\google\gapid
do run gapic
cd $GOPATH/src/github.com/google/gapid
./do run gapic

Project Structure

GAPID consists of the following sub-components:

gapii: Graphics API Interceptor

A layer that sits between the application / game and the GPU driver, recording all the calls and memory accesses.

gapis: Graphics API Server

A process that analyses capture streams reporting incorrect API usage, processes the data for replay on various target devices, and provides an RPC interface to the client.

gapir: Graphics API Replay daemon

A stack-based VM used to playback capture files, imitating the original application’s / game's calls to the GPU driver. Supports read-back of any buffer / framebuffer, and provides profiling functionality.

gapic: Graphics API Client

The frontend user interface application. Provides visual inspection of the capture data, memory, resources, and frame-buffer content.

gapil: Graphics API Language

A new domain specific language to describe a graphics API in its entirety. Combined with our template system to generate huge parts of the interceptor, server and replay systems.

About

Graphics API Debugger

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 58.5%
  • C++ 16.1%
  • Java 14.7%
  • CMake 5.1%
  • C 3.0%
  • HTML 1.7%
  • Other 0.9%