Open Source Mali GPUs Android Gralloc Module
Android Gralloc Module Source Code For Mali-200/300/400/450, Mali-T6xx/T7xx/T860/T880 and Mali- G71 GPUs. Linux/Android Gralloc Module Under Apache License.
This is an Android Gralloc module which allocates memory from the Unified Memory Provider (UMP) device driver. The Gralloc module is used by Android’s composition engine in order to allocate and manage memory which is suitable for 2D and 3D graphics usage. The Mali GPU driver stack can use UMP memory directly, resulting in zero-copy operations when compositing.
Note that this component is not a complete driver stack. To build a functional OpenGL ES or OpenVG driver you need access to the full source code of the Mali GPU DDK, which is provided under the standard Arm commercial licence to all Mali GPU customers. For a complete integration of the Mali GPU DDK with the Android environment refer to the Integration Guide supplied with the Mali GPU DDK.
The open source code provided on this page is designed to run with a version-compatible release of the Mali GPU DDK. By releasing this software under the Apache licence we hope to make it easier to include Mali GPU drivers in any Android platform.
The Android Gralloc module handles:
- Access to allocated UMP memory through a secure ID. This enables memory to be shared across different applications, drivers and hardware components to facilitate zero-copy operations
- The physical address information required to set up an MMU or MPU table
- A method to map UMP memory into CPU address space, to enable reading and writing