32 #ifndef PIX_DISPLAY_POOL_CAPACITY 33 #define PIX_DISPLAY_POOL_CAPACITY 1u 44 #ifndef PIX_DISPLAY_CONTEXT_SIZE 45 #define PIX_DISPLAY_CONTEXT_SIZE 64u void(* pix_display_draw_t)(pix_display_t *display, pix_bitmap_t *bitmap, void *userdata)
Draw callback signature.
bool pix_poll(void)
Service whichever allocated display needs updating.
void pix_display_set_callback(pix_display_t *display, pix_display_draw_t callback, void *userdata)
Register the function that draws this display's contents.
Plain in-memory pixel bitmap descriptor.
void pix_display_deinit(pix_display_t *display)
Deinitialize a display and release it back to the pool.
Plain in-memory pixel bitmap descriptor.
struct pix_display_t pix_display_t
Opaque display descriptor.