Module Documentation
FM4, S6E2DH/S6E2DF/S6E2D5/S6E2D3 Series, 32-Bit Microcontroller, Graphic Driver User Manual, Doc. No. 002-04387 Rev. *A
107
11.5.5.8 MM_ERROR mmlGdcDispSyncVSync ( MML_GDC_DISPLAY display, MML_GDC_SYNC
sync, MM_S32 vsyncCnt )
Initializes the sync object sync to get signaled after vsyncCnt VSync’s have happened. The VSync is taken from the
display controller specified by display.
Parameters
in
display
An MML_GDC_DISPLAY returned from a previous call to mmlGdcDispOpenDisplay().
in
sync
Sync object to initialize with the sync condition.
in
vsyncCnt
Number of VSync’s to elapse until the sync object gets signaled. Parameter must be -
0x7FFFFFFF < vsyncCnt < 0x7FFFFFFF.
Return values
MML_OK
On success.
MML_ERR_GDC_DISP_INVALID_ARG
If a parameter is invalid.
11.5.5.9 MM_ERROR mmlGdcDispWinCommit ( MML_GDC_DISP_WINDOW win )
All window related updates will be written in a work item. mmlGdcDispWinCommit submit the work item of a window
for processing. By default this function is blocked until previous operations of device window are completely
executed. Use mmlGdcConfigSetAttribute(), set MML_GDC_CONFIG_ATTR_DISPLAY_NOBLOCK to 1 to make it
non-blocking.
Parameters
in
win
An MML_GDC_DISP_WINDOW returned from a previous call to mmlGdcDispWinCreate.
Return values
MML_OK
On success.
MML_ERR_GDC_DISP_INVALID_ARG
One of the parameters is invalid.
MML_ERR_GDC_DISP_DEV_BUSY
The writing to the device window is denied, because
the previous commit, create
or destroy call is not completely executed (e.g.,
shadow load request is pending). Call again later!