Module Documentation
FM4, S6E2DH/S6E2DF/S6E2D5/S6E2D3 Series, 32-Bit Microcontroller, Graphic Driver User Manual, Doc. No. 002-04387 Rev. *A
135
11.7 Synchronization API
Synchronization API - Synchronization of framebuffer operations.
Data Structures
struct MML_GDC_SYNC_CONTAINER
Typedefs
typedef MML_GDC_SYNC_CONTAINER
∗
MML_GDC_SYNC
Functions
MM_ERROR mmlGdcSyncReset (MML_GDC_SYNC sync)
MM_ERROR mmlGdcSyncWait (MML_GDC_SYNC sync, MM_S32 timeout)
MM_ERROR mmlGdcSyncIncr (MML_GDC_SYNC sync, MM_S32 incr)
11.7.1 Detailed Description
Synchronization API - Synchronization of framebuffer operations.
#include "mml_gdc_sync.h"
The Synchronization API provides mechanisms to synchronize framebuffer operations. These are
2D graphics operations (e.g., blt finished).
Display operations (e.g., framebuffer displayed, VSync happened).
Synchronization is achieved through sync objects - a representation of events whose completion status can be
tested or waited upon. Waiting can be done by
The CPU (see mmlGdcSyncWait()).
As part of a graphics operation (more details below).
The function to initialize a sync object, (i.e., setting the sync condition, and the function to perform a wait as part of a
graphics operation are part of the corresponding module’s API):
2D operations: See Pixel Engine API.
Display: See Display API.
11.7.2 Typedef Documentation
11.7.2.1 typedef MML_GDC_SYNC_CONTAINER
∗
MML_GDC_SYNC
The sync object definition.