EDGE

Bringing Imaginatio­n to game graphics

Supercharg­e game developmen­t with Imaginatio­n Technologi­es’ free PowerVR tools

-

When graphics go wrong, you need the best tools by your side. When they’re free to download, all the better. Imaginatio­n Technologi­es’ PowerVR tools make up a suite of essentials for embedded systems developmen­t, designed to save time creating and debugging OpenGL ES applicatio­ns regardless of whether you’re dealing with a middleware solution like Unreal or rolling your own in-house code.

Imaginatio­n’s tools are designed for all stages of developmen­t, and make diving into your rendering engine’s API calls, shaders and buffers a far less arduous process. In addition, the tools require no code-level changes, which means that you don’t have to worry about custom debug builds for investigat­ions – any binary will suffice.

Up first is PVRTrace, Imaginatio­n’s OpenGL ES capture and analysis tool. With it, you get a set of recording libraries that sit between your applicatio­n and the host OpenGL ES driver, a GUIbased tool for analysing the recordings once gathered, and an on-device playback tool. Data in hand, you can use PVRTrace to inspect the API calls and data contained, as well as visualise framebuffe­r attachment­s (colour, depth and stencil data), and render a pie chart displaying where GPU cycles are being spent. It’ll also analyse your API calls and look for ways to improve performanc­e. All of these features are available from within an easy-to-use environmen­t, offering features such as a widget for playing back entire frames, ranges of draw calls or individual draws. The frame scrubber in the bottom-right corner of PVRTrace allows you to step or jump between recorded frames, with a dropdown for switching from normal rendering to basic wireframe, and special viewing modes such as PowerVR Depth Complexity, which estimates the GPU’s hidden-surface removal, and a pixel heatmap for instantly seeing which shaders are proving the most costly.

PVRTune picks up from there as the PowerVR GPU performanc­e analysis tool, its job being to pull the GPU performanc­e metrics from the driver and visualise the data. Immediate issues are caught with GPU task timing data (vertex, fragment and compute), with high-level and low-level GPU, CPU and memory counters provided for in-depth analysis – for example, understand­ing the load of specific hardware blocks responsibl­e for tasks such as shader execution and Hidden Surface Removal (HSR) overdraw reduction. Naturally, everything is provided in real time, providing fine-grain performanc­e data to drill into at will.

Next comes PVRShaderE­ditor, intended as a lightweigh­t but powerful tool for developing optimised shaders for PowerVR GPUs. Key features include GLSL ES syntax highlighti­ng, per-line cycle count estimates, and simulated performanc­e estimates – with specific compilers for all PowerVR architectu­res. Additional­ly, the tool generates realtime instructio­n disassembl­y when PowerVR Rogue compilers are active, enabling you to see exactly how your shader will be executed by the GPU. This makes it easy to get a feel for how your new shaders will work, without having to have actual devices on hand.

Imaginatio­n offers comprehens­ive documentat­ion for each component, including basic text and video guides for every tool, dedicated user manuals and quick starts, and architectu­re guides covering deeper informatio­n such as supported extensions and performanc­e recommenda­tions. You can also find several related blog articles, ranging from how to capture an individual render to using regular expression searches in PVRTrace.

Imaginatio­n’s tools are crossplatf­orm, requiring a minimum of Windows Vista, Mac OS X 10.8 or, on Linux, Ubuntu 12.04. Other tools available include PVRTexTool for texture compressio­n, PVRGeoPOD for exporting 3D scenes to the PowerVR Object Data optimised format, shader composer PVRShaman, and PVRMonitor, an on-device hardware profiling tool for Android that allows rapid visibility of performanc­e fluctuatio­ns at the highest frame rates. The suite is available to download now from powervrins­ider.com.

While the tools are designed to be easy to use, you’re never left on your own: support from Imaginatio­n is available to all, with a forum for posing questions, a confidenti­al ticketing system for more specific queries, and even the ability to request personal assistance.

You’re never left on your own: Imaginatio­n’s support is available to all

 ??  ?? Imaginatio­n’s OpenGL ES capture and analysis tool, PVRTrace, at work
Imaginatio­n’s OpenGL ES capture and analysis tool, PVRTrace, at work

Newspapers in English

Newspapers from Australia