Macros
Defines
Graphics » Porting » GPU Sys Defs
Collaboration diagram for Defines:

## Macros
#define | HAL_GFX_RING_BUFFER_SIZE (10*1024u)
| The GPU RING BUFFER SIZE. More...
#define | HAL_GFX_MEM_POOL_ASSETS 0
| The same to Pool id. More...
#define | HAL_GFX_MEM_POOL_FB 0
| Pool id, only set to 0 currently. More...
#define | VMEM_BASEADDR ((uint32_t)(&s_graphics_memory_buffer[0]))
| the graphics (video) memory base address. More...
#define | VMEM_SIZE (25*1024u)
| The GPU max memory size for frame buffer. More...
#define | USE_TSI_MALLOC
| If enable, use the memory management of GPU. More...
#define | HAL_GFX_MULTI_MEM_POOLS_CNT 1
| if HAL_GFX_MULTI_MEM_POOLS is defined, use HAL_GFX_MULTI_MEM_POOLS_CNT pools must be equal or less than 4. More...

## Detailed Description

## Macro Definition Documentation

## ◆ HAL_GFX_MEM_POOL_ASSETS

#define HAL_GFX_MEM_POOL_ASSETS 0

The same to Pool id.

Definition at line 63 of file graphics_sys_defs.h.

## ◆ HAL_GFX_MEM_POOL_FB

#define HAL_GFX_MEM_POOL_FB 0

Pool id, only set to 0 currently.

Definition at line 64 of file graphics_sys_defs.h.

## ◆ HAL_GFX_MULTI_MEM_POOLS_CNT

#define HAL_GFX_MULTI_MEM_POOLS_CNT 1

if HAL_GFX_MULTI_MEM_POOLS is defined, use HAL_GFX_MULTI_MEM_POOLS_CNT pools must be equal or less than 4.

Definition at line 76 of file graphics_sys_defs.h.

## ◆ HAL_GFX_RING_BUFFER_SIZE

#define HAL_GFX_RING_BUFFER_SIZE (10*1024u)

The GPU RING BUFFER SIZE.

Definition at line 62 of file graphics_sys_defs.h.

## ◆ USE_TSI_MALLOC

#define USE_TSI_MALLOC

If enable, use the memory management of GPU.

Definition at line 72 of file graphics_sys_defs.h.

## ◆ VMEM_BASEADDR

#define VMEM_BASEADDR ((uint32_t)(&s_graphics_memory_buffer[0]))

the graphics (video) memory base address.

Definition at line 65 of file graphics_sys_defs.h.

## ◆ VMEM_SIZE

#define VMEM_SIZE (25*1024u)

The GPU max memory size for frame buffer.

Definition at line 68 of file graphics_sys_defs.h.