Intel® Graphics Performance Analyzers Framework: Screenshot Layer

This quick tip video shows you how to add screenshots to your captured stream so you can quickly find the frame you are interested in. Screenshots can help you find a frame of interest. Maybe you want to quickly glance through some previously captured streams to find a particular part of game play. Adding screenshots allows you to visually search your stream folders.

For example, use the following command to take a screenshot every 10 frames starting at frame 50: gpa-player.exe –pre-layer screenshot:frames=50:10 <stream folder>. Or, create screenshots of particular frames that you already know will be important frames for regression testing later: gpa-player.exe –pre-layer screenshot:frames=293.

 

Hello, I'm Justin and I'm back again to talk to you about screenshot layer. There might be times while you're using GPA where you want to make sure your rendered frame looks the way you expected. You might be applying experiments to change textures, buffers, or scissor-recs to improve performance, but you want to see the visual impact of your changes. For this, you can use the screenshot layer.

To get started with screenshot layer, add it to a gpa-injector or as a pre/post layer to gpa-player. You'll also need to add the frames layer argument to tell GPA which frames you want to take a screenshot of.

For example, this will take a screenshot of frame 200. This will take a screenshot of frames 30 to 40. This will take a screenshot of frames 38, 47, and 89, and this will take a screenshot every ten frames starting from frame 50. Finally, this will take a screenshot every five frames between frame 30 and frame 70.

Remember frame numbers start at one. Screenshot layer is very handy in helping you verify that your frame is rendered correctly and allows you to see changes in your experiments even if you've rendered off screen.

Additionally, when doing regression testing, if you have screenshots from past captures, you can do a quick visual check. Try out the screenshot layer to help your profiling process.

Thanks for watching. Check back soon for our next episode of Intel® GPA Framework Quick Tips. Remember to like this video and subscribe to the Intel® Software YouTube* channel and to learn more about this topic, follow the links in the description.