Display context structure. More...
#include <runtime-pix/pix.h>
Data Fields | |
pix_frame_t | frame |
Framebuffer containing pixel data for the display. | |
pix_display_callback_t | callback |
Optional callback function for frame updates. | |
uint64_t | time_ms |
Timestamp of last frame update in milliseconds. | |
uint64_t | interval_ms |
Target frame interval in milliseconds. | |
void * | userdata |
User-defined data pointer passed to callbacks. | |
uint8_t | ctx [PIX_DISPLAY_CTX_SIZE] |
Internal context buffer for display-specific state. | |
bool(* | lock )(struct pix_display_t *display) |
Function pointer to lock display for drawing. | |
bool(* | unlock )(struct pix_display_t *display) |
Function pointer to unlock display after drawing. | |
Display context structure.
Contains the state for display operations.