Graphics Driver Manual for 2D core of S6E2D devices Download

Transcript
A P P L I C A T I O N
MML_OK
11.6.5.20
N O T E
On success. Otherwise the related error code.
MML_GDC_PE_API MM_ERROR mmlGdcPeSync
( MML_GDC_SYNC sync )
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
11.6.5.21
On success. Otherwise the related error code.
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
140
CONFIDENTIAL
On success. Otherwise the related error code.
S6E2DH_AN709-00022-1v0-E, September 11, 2015