Module Documentation
FM4, S6E2DH/S6E2DF/S6E2D5/S6E2D3 Series, 32-Bit Microcontroller, Graphic Driver User Manual, Doc. No. 002-04387 Rev. *A
179
11.18.3.4 MM_ERROR mmlGdcSmGenSurfaceObjects ( MM_U32 uCnt, MML_GDC_SURFACE
∗
pSurfaces )
Creates uCnt empty surface objects, returning their names.
Note:
This function only instantiates empty surface objects. Before being used, they must be initialized by a function
like mmlGdcSmAssignBuffer or the application must set their parameters manually.
Parameters
in
uCnt
The number of surface objects to create.
out
pSurfaces
The output array for the returned names.
Return values
MML_OK
On success.
MML_ERR_GDC_SURF_INVALID_PARAMETER
If NULL pointer is given for pSurfaces.
MML_ERR_GDC_SURF_OUT_OF_SPACE
If not enough memory to create the surface object.
11.18.3.5 MM_ERROR mmlGdcSyncCreate ( MM_U32 uCnt, MML_GDC_SYNC
∗
pSyncObjects )
Creates cnt empty sync objects, returning their names.
Parameters
in
uCnt
Number of sync objects to create.
out
pSyncObjects
Output array for the returned names.
Return values
MML_OK
Success.
MML_ERR_GDC_SYNC_INVALID_PARAMETER
Invalid parameter.
MML_ERR_GDC_SYNC_OUT_OF_MEMORY
Out of memory.
11.18.3.6 MM_ERROR mmlGdcSyncDelete ( MM_U32 uCnt, MML_GDC_SYNC
∗
pSyncObjects )
Deletes a list of sync objects.
Parameters
in
uCnt
Number of sync objects to delete.
in
pSyncObjects
Array of sync objects to delete.
Return values
MML_OK
Success.
MML_ERR_GDC_SYNC_INVALID_PARAMETER
Invalid parameter.