Display functions. More...
Go to the source code of this file.
Data Structures | |
struct | pix_display_t |
Display context structure. More... | |
Macros | |
#define | PIX_DISPLAY_CTX_SIZE 64 |
Size of the display context buffer. More... | |
Typedefs | |
typedef void(* | pix_display_callback_t) (const struct pix_display_t *display) |
Display callback function type for frame updates. More... | |
typedef struct pix_display_t | pix_display_t |
Display context structure. More... | |
Functions | |
pix_display_t | pix_sdl_display_init (const char *title, pix_size_t size, pix_format_t format, uint32_t interval_ms, pix_display_callback_t callback) |
Initialize a new SDL display with the specified format, size, and interval. More... | |
bool | pix_display_sdl_finalize (pix_display_t *display) |
Finalize and free resources associated with an SDL display. | |
bool | pix_display_runloop (pix_display_t *display) |
Perform operations in the runloop for the display. | |
Display functions.
Definition in file display.h.