Skip to content

Google Chrome Browser

José Fonseca edited this page Jun 26, 2013 · 2 revisions

Linux

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

Windows

See http://www.chromium.org/developers/how-tos/debugging/pix-for-windows

Clone this wiki locally