Memory Configurations

The following sections contain three different types of memory configurations: linear, rectangular, and mixed display memory allocation. Each section includes sample code that can be modified to fit the physical characteristics of the card, and that can be added to the HAL to allocate display memory heaps.

Alignment requirements as described in the Memory Heap Allocation topic can apply to any of the three types of memory configuration. Linear memory is generally used more efficiently by the application than rectangular memory because the rows are stored sequentially. Any location can be accessed easily by moving forward or backward along this linear range.