Graphics Log Document
A graphics log document is a record of the Direct3D events that were captured from your game or app during a graphics debugging session. You can examine the log in Visual Studio to identify rendering errors so that you can use the Graphics Diagnostics tools to inspect them in more detail.
This is what a graphics log document looks like in Visual Studio:
Starting in Visual Studio 2013 Update 3, the Graphics Diagnostics tool windows are hosted in an independent copy of the Visual Studio shell. This customized shell, called Visual Studio Graphics Analysis, eliminates unnecessary menus and options, but otherwise the graphics log document and workflow are the same as before.
To start Visual Studio Graphics Analysis from the Visual Studio, from the capture interface, choose one of the frames you have captured by following the Frame … link above the thumbnail image, or double-click the thumbnail.
For more information about this change, see Graphics Diagnostics Overview.
By using Visual Studio to examine a graphics log document, you can visualize the effects of Direct3D events on the render target that occurred during capture. You can pinpoint regions of the render target that contain unexpected output. When you select a pixel in the affected region, you can use Graphics Diagnostics to inspect it, its shaders, the Direct3D events that affected it, the application call stack that led to those events, and the DirectX objects that support those events. You can use this information to diagnose rendering problems in your game or app.
The top part of the window (Graphics Experiment.vsglog) displays the current render target output of the selected frame, and the bottom part displays a Frame List that contains thumbnail images of the captured frames.
To inspect a frame
In the Frame List, select the frame that you want to inspect. The render target output in the top part of the graphics log document is updated to display the selected frame.
To inspect a pixel
In the top part of the graphics log document, select the pixel that you want from the render target output. When a pixel is selected, you can use the Graphics Pixel History window to view detailed information about the selected pixel. For more information, see Graphics Pixel History.
Also displayed in the upper-right corner of the Frame List is the Playback Machine. The playback machine is a machine or device that is used to play back graphics events from a graphics log file during a later graphics diagnostics session. By using a different device instead of your development machine to play back captured events, you can more accurately reproduce the execution environment in which the problem occurs—for example, you can use a machine that has different graphics hardware or drivers than the ones that your development machine uses, or other kinds of devices, such as an ARM-based Windows RT tablet or Windows Phone device.
For information about how to specify a playback machine, see How to: Change the Graphics Diagnostics Playback Machine.