PebbleOS v4.48.0-75-g7416f78a1
Loading...
Searching...
No Matches
bridge.h File Reference
#include <stdbool.h>
#include <pbl/device.h>

Typedefs

typedef void(* pbl_display_bridge_event_cb_t) (enum pbl_display_bridge_event event, void *arg)
 Called on an event of a bridge, from its interrupt.
 

Enumerations

enum  pbl_display_bridge_event { PBL_DISPLAY_BRIDGE_EVENT_TEAR , PBL_DISPLAY_BRIDGE_EVENT_REFRESH_DONE }
 Events of a bridge. More...
 

Functions

int pbl_display_bridge_refresh (const struct pbl_display_bridge *bridge)
 Send a frame from the display controller to the panel.
 
void pbl_display_bridge_hold (const struct pbl_display_bridge *bridge, bool hold)
 Stop taking from the display controller while it is set up, or go on.
 
int pbl_display_bridge_request_tear (const struct pbl_display_bridge *bridge)
 Report the next tearing effect of the panel, with PBL_DISPLAY_BRIDGE_EVENT_TEAR.
 
int pbl_display_bridge_set_event_cb (const struct pbl_display_bridge *bridge, pbl_display_bridge_event_cb_t cb, void *arg)
 Set the callback of the events of a bridge.