Sample Code

Linux_penguin

Accessing a camera device under Linux

This is a simple example showing how to read frames from a capture device using the Video For Linux (V4L) API from the Linux kernel, process the data using OpenCL and finally display it using OpenGL ES 2.0. This example also shows how to use the Mali OpenGL ES 2.0 SDK to easily display text in OpenGL ES 2.0 applications.

sdk_etcalpha

ETC Texture Compression and Alpha Channel Handling

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.

EGL-Config

Selecting the Correct EGLConfig

This is an example that shows how to select the correct EGLConfig from those available when creating a surface.

SimpleProject

Simple OpenGL ES 2.0 example

  This is a simple example showing how a simple triangle can be rendered to the screen through the use of the OpenGL ES 2.0 API and programmable shaders and the simple helper framework that has been provided in the SDK. The full source code for this sample is provided in the OpenGL ES SDK for Linux on ARM and OpenGL [...]

Mipmapped Texture

Mipmaps & Ericsson Texture Compression

Introduction Texturing is one of the primary memory bandwidth consumers within a 3D graphics application. It is considered the main bottleneck in an embedded system that affects performance and power efficiency, therefore it makes sense to do what it takes to reduces this where possible. ARM always recommends the use of texture compression which can significantly improve application performance. The Mali GPU Texture Compression Tool allows developers to take their standard uncompressed textures and produce [...]

AntiAlias

Anti-aliasing example

This is an example project showing how to select anti-aliasing level and the effect it has.

Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

ARM websites use two types of cookie: (1) those that enable the site to function and perform as required; and (2) analytical cookies which anonymously track visitors only while using the site. If you are not happy with this use of these cookies please review our Privacy Policy to learn how they can be disabled. By disabling cookies some features of the site will not work.