[[PageOutline]] == Debugging GL with apitrace [https://apitrace.github.io/ 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: {{{ #!sh $ WEB_PROCESS_CMD_PREFIX="apitrace trace" run-minibrowser --gtk http://webglsamples.org/aquarium/aquarium.html }}} Then to inspect the trace: {{{ #!sh $ webkit-flatpak -c qapitrace WebKitWebProcess.trace }}} This doesn't work yet with WPE, due to a yet-to-debug issue in libepoxy.