Module Documentation
FM4, S6E2DH/S6E2DF/S6E2D5/S6E2D3 Series, 32-Bit Microcontroller, Graphic Driver User Manual, Doc. No. 002-04387 Rev. *A
134
Inserts a sync object into the 2D command stream (similar to the OpenGL glFencSync() call).
Parameters
in,out
sync
Sync object reset by mmlGdcSyncReset(). After successful completion of mmlGdcPeSync(),
it holds the parameter of the inserted sync.
Return values
MML_OK
On success. Otherwise the related error code.
11.6.5.21 MM_ERROR mmlGdcPeWaitForDispFrameEnd ( MML_GDC_DISPLAY display, MM_U32
line )
Delay blit execution until a defined line is passed by the display controller.
mmlGdcPeWaitForDispFrameEnd adds an instruction to the blit and draw command list to wait until the display
controller enters a defined line. It can be used to start rendering in the blanking phase or at a defined time point in a
single render buffer solution. This function can be called multiple times within a frame to coordinate rendering of
different regions.
Parameters
in
display
An MML_GDC_DISPLAY returned from a previous call to mmlGdcDispOpenDisplay().
in
line
The line parameter defines the display line when rendering starts. 0 stands for the first line.
The maximal valid line is the vertical resolution i.e. rendering will be continued in the
blanking phase.
11.6.5.22 MML_GDC_PE_API MM_ERROR mmlGdcPeWaitSync ( MML_GDC_SYNC sync )
Inserts a sync wait into the 2D command stream (similar to the OpenGL glWaitSync() call). PixEngine operations
performed after this call are only executed after sync gets signaled.
Parameters
in
sync
Sync to wait for.
Return values
MML_OK
On success. Otherwise the related error code.