MPLAB® Harmony Graphics Suite > Graphics Library > Aria Graphics Library > Aria User Interface Library Interface > a) Functions > laScreen_SetLayerSwapSync Function
MPLAB® Harmony Graphics Suite
laScreen_SetLayerSwapSync Function

Layer synchronization allows for the configuration timing of the buffer swap chain. In the case where multiple layers are being modified at the same time, it is often desirable to have the updates appear on the display at the same time. Layer sync will gate all layer swapping until all dirty layers have finished drawing. All layers will then swap at same time.

C
LIB_EXPORT laResult laScreen_SetLayerSwapSync(
    laScreen* scr, 
    laBool sync
);
Parameters
Parameters 
Description 
laScreen* scr 
the screen to modify 
the sync setting 
Returns

laResult - the result of the operation

MPLAB® Harmony Graphics Suite