forked from apitrace/apitrace
-
Notifications
You must be signed in to change notification settings - Fork 1
Google Chrome Browser
José Fonseca edited this page Jun 26, 2013
·
2 revisions
Google Chrome/Chromium does a lot of inter-process comunnication, so it is important to ensure that the renderer process is forked from the right parent and actually gets the LD_PRELOAD environment variable. There are some
chrome options that help with this: --temp-profile
, --user-data-dir
, --single-process
.
This will trace GL:
apitrace trace --api gl chromium --temp-profile --ignore-gpu-blacklist http://webglsamples.googlecode.com/hg/field/field.html
This will trace EGL:
apitrace trace --api egl chromium --temp-profile --user-gl=egl --ignore-gpu-blacklist http://webglsamples.googlecode.com/hg/field/field.html
See http://www.chromium.org/developers/how-tos/debugging/pix-for-windows