PowerVR SDK Overview Tools To Get Great Graphics...
Transcript of PowerVR SDK Overview Tools To Get Great Graphics...
www.imgtec.com
August 2012
PowerVR SDK Overview Tools To Get Great Graphics Performance
2 © Imagination Technologies IMG Presentation – SIGGRAPH 2012
Imagination Technologies – PowerVR Graphics
Imagination Technologies - multi-media IP market leader
20+ years history in graphics & multimedia - strong patent portfolio
Most comprehensive embedded graphics IP roadmap
Target market of more than 800 million PowerVR Graphics enabled devices
50% Market share across all embedded GPUs and near 80% market share for GPU IP
The Embedded Graphics IP Experts
3 © Imagination Technologies IMG Presentation – SIGGRAPH 2012
What is the PowerVR Insider SDK?
Asset Optimization Geometry; Textures
Coding Source code, shader editors, emulation
environment
Deployment Abstraction layer; example projects
Optimization Performance analysis; API tracing
Enabling Development
PVRVFrame
PVRShaman &
PVRUniSCoEditor
PVRGeoPOD &
Collada2POD
PVRTexTool &
PVRTexLib
PVRTune &
PVRScope
PVRTrace
4 © Imagination Technologies IMG Presentation – SIGGRAPH 2012
What is the PowerVR Insider SDK?
Example Techniques Step by step guide
basics to advanced techniques
Same project structure
PVRShell abstraction layer
PVRTools helper library
General graphics knowledge
PowerVR specific optimizations
Source Code
5 © Imagination Technologies IMG Presentation – SIGGRAPH 2012
PVRGeoPOD & Collada2POD
PVRGeoPOD POD exporter plug-in for 3D Studio Max,
Maya and Blender
Collada2POD Provides conversion from the Khronos
Collada interchange format to POD
GUI and command line versions
Windows, Linux and OSX
Geometry Export and Optimisation
6 © Imagination Technologies IMG Presentation – SIGGRAPH 2012
PVRTexTool
Processes and compresses textures All OpenGL ES (1.x, 2.0), DirectX (9, 10)
Normal map generation, colour bleeding, border addition, high quality scaling algorithms and sky box optimization
Support for PVRTC, PVRTC2
GUI Application
Command Line Utility
Library for Toolchain Integration
Application Plug-ins Adobe Photoshop
Autodesk 3DSMax
Autodesk Maya
Texture Export and Compression
7 © Imagination Technologies IMG Presentation – SIGGRAPH 2012
PVRTC & PVRTC2
What is PVRTC? High quality, high ratio texture compression format, designed for PowerVR hardware
PVRTC and PVRTC2 both support:
4 bits per pixel RGBA; 8x saving
2 bits per pixel RGBA; 16x saving
PVRTC2 better image quality, pre-multiplied alpha, NPOT sizes, sub-texturing
Texture Compression
PVRTC 2bpp DXT/S3TC 4bpp
PVRTC 4bpp Original 32bpp
8 © Imagination Technologies IMG Presentation – SIGGRAPH 2012
PVRShaman
Integrated visual shader development environment See visual results of changes
Instant feedback on shader cost
Prototype entire scenes & characters POD models or import Collada files
Material editing
Integrated PVRShaderEditor
Integrated Compiler
DirectX, OpenGL and OpenGL ES (1.1 & 2.0)
WYSIWYG Prototyping Environment
9 © Imagination Technologies IMG Presentation – SIGGRAPH 2012
PVRShaderEditor (PVRUniSCoEditor)
PVRUniSCoEditor Shader Editor Integrated shader performance information
Error reporting
PVRUniSCo Offline command-line compiler
Profile your shaders
Updated compilers SGX 53x
SGX 540
SGX 543
Shader Editor and Compiler
10 © Imagination Technologies IMG Presentation – SIGGRAPH 2012
PVRVFrame
PowerVR OpenGL ES emulator OpenGL ES (1.1 & 2.0) emulation on
Windows, Linux and OSX
PVRVFrame features Develop and debug without PowerVR
hardware
Supports all MBX and SGX extensions
Choose a profile for a specific core
PC Emulation
11 © Imagination Technologies IMG Presentation – SIGGRAPH 2012
PVRTrace
Powerful debugging tool
Scene recording All API calls
EGL
OpenGL ES 1.1
OpenGL ES 2.0
GUI Analysis Function calls
Data passed
Textures
Shaders
Render State
API Call Tracing Tool
12 © Imagination Technologies IMG Presentation – SIGGRAPH 2012
PVRTrace Overview
13 © Imagination Technologies IMG Presentation – SIGGRAPH 2012
PVRTrace Analysis Interface
Frame Summary &
Function Counts Function Calls & Filters
Data Viewer Render States, Textures, Shaders
Frame Scrubber
Frame Selector
Visual Analysis
14 © Imagination Technologies IMG Presentation – SIGGRAPH 2012
PVRTune
Real-time tool for analysing application performance on SGX Details how SGX hardware modules are working when running graphics applications
Displays accurate information from on-chip counters
Negligible graphics performance overhead
Enabled by default in many already shipping devices
Cross-Platform Client: Windows, OSX, Linux
Server: Android, Linux, Windows and more
15 © Imagination Technologies IMG Presentation – SIGGRAPH 2012
PVRTune – PowerVR GPU Specific Terminology
Basic hardware knowledge to understand performance See “SGX Architecture Guide for Developers” for full details on www.powervrinsider.com
3D TA
16 © Imagination Technologies IMG Presentation – SIGGRAPH 2012
PVRTune Analysis Interface
Hardware
Performance
Counters
Hardware
Counter
Groups
TA load
visualisation
Graph
views
Connection
Status
3D load
visualisation
17 © Imagination Technologies IMG Presentation – SIGGRAPH 2012
CPU Bound Application Case Study
CPU may be at or near 100%
Gaps between TA and 3D tasks
18 © Imagination Technologies IMG Presentation – SIGGRAPH 2012
Vertex Bound Application Case Study
Gaps between 3D tasks No gaps between TA tasks
“USSE load: vertex” and “TA load” may be high
19 © Imagination Technologies IMG Presentation – SIGGRAPH 2012
Pixel/Fragment Bound Application Case Study
No gaps between
3D tasks
Large gaps
between TA tasks
“USSE load: pixel” and “USSE clock cycles per pixel” may be high
20 © Imagination Technologies IMG Presentation – SIGGRAPH 2012
V-Sync Limited Application Case Study
SGX sleeping
unpredictably
TA & 3D serialised
Frame rate hovering
around a fixed number
21 © Imagination Technologies IMG Presentation – SIGGRAPH 2012
PVRScope Library
In your own applications: Access SGX hardware counters
Pass custom counters to PVRTune
Receive data from PVRTune
On-device GPU Performance Counters
22 © Imagination Technologies IMG Presentation – SIGGRAPH 2012
PVRTune & PVRScope Custom Markers
Custom Marker
23 © Imagination Technologies IMG Presentation – SIGGRAPH 2012
PVRTune & PVRScope Remote Editing
www.imgtec.com
August 2012
What's Next ? PowerVR Rogue & SDK 3.0 !
25 © Imagination Technologies IMG Presentation – SIGGRAPH 2012
PowerVR Rogue Architecture
PowerVR Rogue Cores in Silicon Now Customer product announcements & launches to follow in 2013
Full support for just announced Khronos OpenGL ES 3.0 API (*)
Instancing, Multiple Render Targets (MRTs), Transform Feedback, Occlusion Culling, etc.
Focus on Power & Performance Efficiency
New Gen. Tile Based Deferred Shading, Lossless Compression, Scalable Compute Clusters, …
(*) Product is based on a published Khronos Specification, and is expected to pass the Khronos Conformance Testing Process. Curre nt conformance status can be found at www.khronos.org/conformance
New Hardware = More Features, More Performance
26 © Imagination Technologies IMG Presentation – SIGGRAPH 2012
PowerVR SDK v3.0
PowerVR SDK v3.0 with full Rogue Architecture Support Initial version launching at the end of summer 2012 – previews here at SIGGRAPH !
PVRVFrame Conformant ES1.1 and ES2.0 (*)
Support for OpenGL ES 3.0 (*)
Including Shader Validation
PVRTrace Android APK for easy usage
Auto-configuration
PVRTexTool OpenGL ES 3.0 and DirectX 11.1 Formats
Updated Compilers Rogue Support & Optimised S5/5XT
(*) Product is based on a published Khronos Specification, and is expected to pass the Khronos Conformance Testing Process. Current conformance status can be found at www.khronos.org/conformance
New Hardware = New SDK with matching feature set
27 © Imagination Technologies IMG Presentation – SIGGRAPH 2012
PowerVR SDK - meeting YOUR requirements
Want to know more ?
Visit us at Booth 522
Check out our online resources
www.powervrinsider.com
Get in touch directly
Send us your feedback !
www.imgtec.com
August 2012
PowerVR SDK Overview Tools To Get Great Graphics Performance