Opaque display handle. More...


Go to the source code of this file.
Macros | |
| #define | PIX_DISPLAY_POOL_CAPACITY 1u |
| Maximum number of concurrently active displays. More... | |
| #define | PIX_DISPLAY_CONTEXT_SIZE 64u |
| Size in bytes of backend-private state embedded in each display. More... | |
Typedefs | |
| typedef struct pix_display_t | pix_display_t |
| Opaque display descriptor. | |
| typedef void(* | pix_display_draw_t) (pix_display_t *display, pix_bitmap_t *bitmap, void *userdata) |
| Draw callback signature. More... | |
Functions | |
Methods | |
| 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. More... | |
| void | pix_display_deinit (pix_display_t *display) |
| Deinitialize a display and release it back to the pool. More... | |
Scheduling | |
| bool | pix_poll (void) |
| Service whichever allocated display needs updating. More... | |
Opaque display handle.
Definition in file display.h.