Module Documentation
FM4, S6E2DH/S6E2DF/S6E2D5/S6E2D3 Series, 32-Bit Microcontroller, Graphic Driver User Manual, Doc. No. 002-04387 Rev. *A
79
11.3 Configuration API
The Configuration API allows changing or reading global graphics driver configurations or status information.
Enumerations
enum MML_GDC_CONFIG_ATTR {
MML_GDC_CONFIG_ATTR_MAJOR_VERSION = 0,
MML_GDC_CONFIG_ATTR_MINOR_VERSION,
MML_GDC_CONFIG_ATTR_BUILD_VERSION,
MML_GDC_CONFIG_ATTR_MIN_INSTRUCTION_BUFFER,
MML_GDC_CONFIG_ATTR_CURRENT_INSTRUCTION_BUFFER,
MML_GDC_CONFIG_ATTR_DISPLAY_NOBLOCK,
MML_GDC_CONFIG_ATTR_BUILD_TYPE
}
Functions
MM_ERROR mmlGdcConfigSetAttribute (MML_GDC_CONFIG_ATTR pname, MM_U32 param)
MM_ERROR mmlGdcConfigGetAttribute (MML_GDC_CONFIG_ATTR pname, MM_U32
∗
pParam)
Detailed Description
The Configuration API allows changing or reading global graphics driver configurations or status information.
#include "mml_gdc_config.h"
11.3.1 Enumeration Type Documentation
11.3.1.1 enum MML_GDC_CONFIG_ATTR
Enumeration of the different config attributes
Enumerator
MML_GDC_CONFIG_ATTR_MAJOR_VERSION
Returns the major version of the driver. This is a read only attribute. Setting this attribute will result in error.
MML_GDC_CONFIG_ATTR_MINOR_VERSION
Returns the minor version of the driver. This is a read only attribute. Setting this attribute will result in error.
MML_GDC_CONFIG_ATTR_BUILD_VERSION
Returns the build version of the driver. This is a read only attribute. Setting this attribute will result in error.
MML_GDC_CONFIG_ATTR_MIN_INSTRUCTION_BUFFER
This attribute is only available in mmlGdcConfigGetAttribute(). The returned value represents the smallest
available InstructionBuffer in bytes during all calls. A function call with this parameter resets the measurement.
The returned value can be used by an application to measure the usage of the instruction buffer assigned by
mmlGdcSysSetInstructionBuffer.
MML_GDC_CONFIG_ATTR_CURRENT_INSTRUCTION_BUFFER
This attribute is only available in mmlGdcConfigGetAttribute(). The returned value represents the current
available InstructionBuffer in bytes. The returned value can be used by an application to decide whether or not
further render steps should be delayed and continued later because the hardware is currently still busy.
MML_GDC_CONFIG_ATTR_DISPLAY_NOBLOCK
The following functions can not be executed, if a previous reconfiguration of a corresponding window or display
is not yet finished:
mmlGdcDispOpenDisplay
mmlGdcDispCloseDisplay
mmlGdcDispWinCreate
mmlGdcDispWinDestroy