Sample Code
Examples, Tips and Hints
Achieving great visual quality and performance for your Graphics applications requires using nice tricks. Get inspired from the Mali sample code to get the best from Mali GPUs.The examples are built on top of the Simple OpenGL ES 2.0 framework and each provides one or several techinques to accomplish a particular task.
ETCv1 Texture Compression and Alpha Channels - 24 September 2010
Included are an example and utility that show how to handle alpha channels compression within the Ericsson Texture Compression ETCv1 format as standardized by the Khronos group. For more details read the document Texture-Compression-and-Alpha-channels.pdf
Selecting the Correct EGLConfig - 18 May 2010
This is an example that shows how to select the correct EGLConfig from those available when creating a surface. For more details read the document Selecting-the-correct-EGLConfig.pdf.
Anti-aliasing Example - 19 Oct 2009
This is an example project showing how to select anti-aliasing level and the effect it has. For more details, read the README.TXT in the download package
EGL_SWAP_BEHAVIOR and EGL_BUFFER_PRESERVE Example - 19 Oct 2009
This is an example project showing use of an EGL 1.4 feature called swap behavior. For more details, read the README.TXT in the download package
Ericsson Texture Compression Mipmap Example - 19 Oct 2009
This is an example project showing how to load and display ETC format textures as Mipmaps. For more details, read the README.TXT in the download package
Simple OpenGL ES 2.0 Example - 19 Oct 2009
This is an example project showing how to draw a simple triangle on the screen using programmable shaders. For more details, read the README.TXT in the download package
|
© Copyright 2010 ARM Limited, 110 Fulbourn Road, Cambridge, UK, +44 (0)1223 400400

