Mali™ GPU Shader Development Studio User Guide

Version: 1.2.0

Table of Contents

About this book
Intended audience
Using this book
Typographical conventions
Additional reading
Feedback on this product
Feedback on content
1. Introduction
1.1. About the Mali GPU Shader Development Studio
2. Installing the software
2.1. Installation requirements
2.1.1. JRE
2.1.2. Eclipse
2.1.3. Mali Developer Tools
2.2. Installation overview
2.3. Download the installation package
2.3.1. Windows installation
2.3.2. Linux installation
2.4. Configure the Eclipse Update Manager and install Shader Development Studio
2.5. Configure the Shader Development Studio
2.5.1. Set the location of the Offline Shader Compiler
2.5.2. Select a renderer
2.6. Uninstalling the Shader Development Studio Plug-in
3. The Shader Development Studio
3.1. Opening the Shader Development Studio perspective
3.2. Creating a new Shader effect
3.2.1. Creating a new Vertex and Fragment Shader
3.2.2. Creating a new Shader Configuration File
3.2.3. Rendering the shader effect
3.2.4. Editing the effect
3.2.5. Rendering with different geometries
3.3. Importing existing Shader effects and configurations
3.4. Shader syntax checking
3.5. Shader animation
3.5.1. Setting up a shader to use animation
3.5.2. Animating the shader
4. Configuring the Shader Development Studio
4.1. Configuration
4.1.1. Shader Development Studio
4.1.2. Compiler
4.1.3. Renderers
4.2. Wizards
4.2.1. New Vertex Shader
4.2.2. New Fragment Shader
4.2.3. New ESSL File
4.2.4. New Shader Configuration
4.3. Editors
4.3.1. Shader editor
4.3.2. Shader Configuration editor
4.3.3. Matrix and Vector Editor
4.3.4. Sampler Editor
4.4.1. Shader Preview
4.4.2. Shader Control
4.4.3. Shader Attributes
4.4.4. Shader Uniforms
A. Shader Server
A.1. About the Shader Server
A.1.1. Requirements
A.1.2. Contents
A.1.3. Building
A.1.4. Usage
A.1.5. Security
A.1.6. Porting

List of Figures

2.1. Available Software dialog
2.2. Browse For Folder dialog
2.3. Select Mali Developer Tools in the Install dialog
2.4. Open Perspective dialog box
2.5. Shader Development Studio perspective loaded
2.6. Eclipse Preferences dialog box
2.7. Eclipse Preferences dialog box with Compiler pane
2.8. Default Renderers dialog box
2.9. Eclipse Preferences dialog box with Renderers pane
2.10. The Add Renderer dialog
2.11. The Add Renderer dialog with the emulator renderer
2.12. Eclipse Preferences dialog box with Linux renderer added
2.13. Plug-in removed
3.1. Shader Development Studio perspective
3.2. New Project dialog box
3.3. New project in Shader Development Studio
3.4. New Vertex Shader dialog box
3.5. Files generated by Eclipse Wizards
3.6. Shader Configuration Editor
3.7. Resources dialog box
3.8. Edited Shader Configuration Editor
3.9. Selected renderer in Shader Preview view
3.10. Selected shader in Shader Control view
3.11. Shader Attributes view
3.12. Matrix and Vector editor
3.13. Shader Uniforms view
3.14. Matrix and Vector editor
3.15. Render view of SimpleTest shader
3.16. simple.frag edit view
3.17. Shader Control view
3.18. Torus geometry
3.19. Existing source project
3.20. Example content in project
3.21. Demo - 04 - Lighting effect
3.22. Error indicator in shader source editor
3.23. Errors in Problems view
3.24. ARM geometry
3.25. Shader Control view
3.26. Shader Uniforms view
3.27. Environment Mapping animation
4.1. Shader Development Preferences pane
4.2. Compiler preferences pane
4.3. Renderers Preferences pane
4.4. Animation transport controls
4.5. Toolbar buttons
4.6. Performance Info dialog box

Proprietary Notice

Words and logos marked with ® or ™ are registered trademarks or trademarks of ARM in the EU and other countries, except as otherwise stated below in this proprietary notice. Other brands and names mentioned herein may be the trademarks of their respective owners.

Neither the whole nor any part of the information contained in, or the product described in, this document may be adapted or reproduced in any material form except with the prior written permission of the copyright holder.

The product described in this document is subject to continuous developments and improvements. All particulars of the product and its use contained in this document are given by ARM in good faith. However, all warranties implied or expressed, including but not limited to implied warranties of merchantability, or fitness for purpose, are excluded.

This document is intended only to assist the reader in the use of the product. ARM shall not be liable for any loss or damage arising from the use of any information in this document, or any error or omission in such information, or any incorrect use of the product.

Where the term ARM is used it means “ARM or any of its subsidiaries as appropriate”.

Confidentiality Status

This document is Non-Confidential. The right to use, copy and disclose this document may be subject to license restrictions in accordance with the terms of the agreement entered into by ARM and the party that ARM delivered this document to.

Unrestricted Access is an ARM internal classification.

Product Status

The information in this document is final, that is for a developed product.

Revision History
Revision A14 October 2009First release for v1.1
Revision B30 July 2010First release for v1.2
Copyright © 2009-2010 ARM. All rights reserved.DUI0504B