PebbleOS
Loading...
Searching...
No Matches
Functions
Display flush

Copies the dirty region of the system framebuffer to the display driver. More...

Functions

void compositor_display_update (void(*handle_update_complete_cb)(void))
 Flush the dirty region of the system framebuffer to the display.
 
bool compositor_display_update_in_progress (void)
 Check whether a display update is in progress.
 

Detailed Description

Copies the dirty region of the system framebuffer to the display driver.

Function Documentation

◆ compositor_display_update()

void compositor_display_update ( void(*)(void)  handle_update_complete_cb)

Flush the dirty region of the system framebuffer to the display.

Does nothing when the framebuffer is not dirty. On completion the dirty region is reset.

Parameters
handle_update_complete_cbCalled once the update completes, or NULL.

◆ compositor_display_update_in_progress()

bool compositor_display_update_in_progress ( void  )

Check whether a display update is in progress.

Returns
true while the display driver is still consuming the framebuffer.