Debugging GL with apitrace

Apitrace allows to trace GL calls and replay them.

Using apitrace with the SDK

The Flatpak SDK already provides apitrace. You don't need to install it on your host machine. To record a trace, use this command:

$ WEB_PROCESS_CMD_PREFIX="apitrace trace" run-minibrowser --gtk

Then to inspect the trace:

$ webkit-flatpak -c qapitrace WebKitWebProcess.trace

This doesn't work yet with WPE, due to a yet-to-debug issue in libepoxy.

Last modified 20 months ago Last modified on Oct 6, 2021 3:07:56 AM