13.07.2015 Views

Mali GPU User Interface Engine Application Development Guide

Mali GPU User Interface Engine Application Development Guide

Mali GPU User Interface Engine Application Development Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Tutorial on Constructing Custom Shadersproxy.getProgram("shaders/hello_world.vert;shaders/hello_world.frag");context->setProgram(helloWorldProgram);...6.5.3 Precompiled shader programsThe <strong>Mali</strong> <strong>GPU</strong> Offline Shader Compiler is a command line tool that translates vertex shadersand fragment shaders written in the OpenGL ES Shading Language (ESSL) into binary vertexshaders and binary fragment shaders that you can link and run on the <strong>Mali</strong> <strong>GPU</strong>.Using the <strong>Mali</strong> <strong>GPU</strong> Offline Shader Compiler is optional. You can use the compiler to providebinary shaders which can be distributed without the source. However, using compiled shadersalso reduces portability, because a particular binary shader can only be used on one type of <strong>GPU</strong>.ARM DUI 0527A-02a Copyright © 2010 ARM. All rights reserved. 6-15ID070710Non-Confidential - Draft - Beta

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!