Requirements:
1. Capture graphics commands, like D3D11 draw calls in some frames, sent to graphics driver.
2. Currently I only want to make this work on Windows 10, which means I need D3D11 commands for some frames.
3. I'm working on Intel hardware. So any tool agnostic to GPU vendors or friendly to Intel is helpful.
4. The usage targets vanilla Chrome, which means I don't want to build any Chrome in debug version or even add some code in Chrome. Any public release of Chrome, stable, beta, dev and canary is OK.
Test case:
I know there are some related tools: Intel Graphics Performance Analyzer, Visual Studio Graphics Diagnostics and RenderDoc. I also know there are some Chrome options related: --disable-gpu-sandbox (or --no-sandbox), --gpu-startup-dialog and --disable-gpu-watchdog. I tried all above 3 tools with the combination of Chrome options, but had no luck to dump the graphics commands.
Some details from experiments are as below:
[Intel Graphics Performance Analyzer]
As "--in-progress-gpu" is no longer supported (
crbug.com/961558), and I couldn't find option to attach process, this tool doesn't work.
[Visual Studio Graphics Diagnostics]
I installed Graphics Tools, also some addons to support debugging child process (like Child Process Debugging Power Tool and VSChromium). But it seemed to me "Debug/Graphics/Start Graphics Debugging" is the only way for this, which relies on "--in-process-gpu".
[RenderDoc]
Any help here would be very appreciated!