Skip to content
Graphics API Debugger
Go Java C++ Objective-C Python HTML Other
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
.settings Get eclipse to pickup the project settings again. Nov 26, 2018
cmd Keep Android Vulkan sample single threaded (#3430) Nov 21, 2019
core Fix deadlock in Virtual Swapchain (#3425) Nov 20, 2019
gapic Add api.Cmd.Terminated(), propagate it to UI (#3404) Nov 20, 2019
gapidapk Make vulkan_sample work on Android (#3428) Nov 20, 2019
gapii Use the vulkan headers from the official repo. Nov 15, 2019
gapil Add api.Cmd.Terminated(), propagate it to UI (#3404) Nov 20, 2019
gapir Make vulkan_sample work on Android (#3428) Nov 20, 2019
gapis Make android.Validate() use our own vulkan_sample (#3431) Nov 21, 2019
kokoro Fix MacOS builds on Kokoro, after Kokoro update to Mojave (#3415) Nov 18, 2019
test Remove the dead connection from the connections (#3411) Nov 20, 2019
tools/build Update Vulkan memory tracker counters (#3402) Nov 18, 2019
.bazelignore Improve gofuse (#2448) Dec 12, 2018
.bazelrc Use aapt with --android_aapt. (#3240) Oct 11, 2019
.clang-format Force pointer tokens (* and &) left and reformat. Oct 31, 2019
.classpath Update the Eclipse .classpath file for recent Perfetto changes. Oct 9, 2019
.gitignore Git ignore Perfetto trace files. Apr 4, 2019
.project Make the .project file work better. Apr 18, 2019
BUILD.bazel Add vulkan memory tracker layer to profiler (#3328) Nov 8, 2019 Add missing dependency to build instructions (#3346) Nov 4, 2019 Add contributing guidelines per b/138973070. Aug 27, 2019 Document delve init script (#3025) Aug 7, 2019
LICENSE Initial commit of GAPID project Feb 21, 2017 Document where to find dev-releases (#3347) Nov 4, 2019
WORKSPACE Update to newer version of rules_go and gazelle. May 20, 2019
version.bzl Stop using the deprecated `attr.single_file`. Jun 24, 2019

GAPID: Graphics API Debugger

GoDoc Gitter Linux Linux Build Status MacOS MacOS Build Status Windows Windows Build Status


Download the latest version of GAPID here.

Unstable developer releases are here.


User documentation can be found at

The developer documentation contains some hints for GAPID developers. See also the README files under some source directories.


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


See Building GAPID.

Running the client

After building GAPID, you can run the client from <gapid-root>/bazel-bin/pkg/gapid.

Command-Line Interface

GAPID exposes most of its functionality via a CLI gapit. You can find auto-generated documentation here.

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.

You can’t perform that action at this time.