graphic_config.h
Overview
Related Modules:
Description:
Provides configuration items required for graphics.
Since:
1.0
Version:
1.0
Summary
Macros
| Macro Name and Value | Description |
|---|---|
| VERSION_STANDARD | |
| ENABLE_DMA2D 0 | DMA2D hardware acceleration, which does not take effect on other platforms. |
| ENABLE_DMA2D_TEXT 0 | DMA2D hardware acceleration for font rendering, which does not take effect on other platforms. |
| ENABLE_ICU 0 | Advanced algorithm for line breaks, which is disabled by default on other platforms. |
| ENABLE_WINDOW 1 | Multi-window, which is enabled by default on other platforms. |
| ENABLE_FRAME_BUFFER 0 | Display buffer for rendering data refresh, which is disabled by default on other platforms. |
| ENABLE_VECTOR_FONT 1 | Vector type font,which is enabled by default on other platforms. |
| ENABLE_BUFFER_RGBA 1 | Graphics bottom-layer RGBA, which is enabled by default. |
| ENABLE_HARDWARE_ACCELERATION 1 | Graphics rendering hardware acceleration, which is enabled by default. |
| ENABLE_DEBUG 1 | Debug mode, which is disabled by default. |
| ENABLE_MEMORY_HOOKS 0 | Memory hook, which is enabled by default. The system memory allocation is taken over after it is enabled. |
| ENABLE_FPS_SUPPORT 0 | Function for monitoring the image refresh frame rate, which is disabled by default. |
| ENABLE_ANTIALIAS 1 | Anti-aliasing, which is enabled by default. |
| ENABLE_RECT_ANTIALIAS 0 | Rectangle anti-aliasing, which is disabled by default. |
| ENABLE_SPEC_FONT 0 | Font color mode, which is disabled by default. After it is enabled, the font color mode is set to 4 to accelerate font rendering. |
| ENABLE_GRAPHIC_LOG 0 | Log function of a graphics subsystem, which is disabled by default. |
| ENABLE_AOD 0 | Function for receiving input events in screen-off mode, which is disabled by default. |
| GRAPHIC_LOG_LEVEL 5 | Defines the log level. A smaller value indicates a higher priority. Logs whose priorities are higher than a specified level can be recorded. Log levels: NONE: disabling logs FATAL: fatal level ERROR: error level WARN: warning level INFO: info level DEBUG: debugging level. |
| COLOR_DEPTH 32 | Defines the color depth of graphics rendering. The default value is 32 bits. The value can be 16 or 32. |
| DEFAULT_VECTOR_FONT_FILENAME ”SourceHanSansSC-Regular.otf” | Defines the file name of default vector font. |
