GFXprim
2D bitmap graphics library with emphasis on speed and correctness
Loading...
Searching...
No Matches
Functions
gp_backend_freertos.h File Reference

A work in progress freertos backend. More...

#include <backends/gp_backend.h>

Go to the source code of this file.

Functions

gp_backendgp_backend_rtos_init (gp_size w, gp_size h, gp_pixel pixel_type, void *fb)
 Initializes freertos backend.
 

Detailed Description

A work in progress freertos backend.

Definition in file gp_backend_freertos.h.

Function Documentation

◆ gp_backend_rtos_init()

gp_backend * gp_backend_rtos_init ( gp_size  w,
gp_size  h,
gp_pixel  pixel_type,
void *  fb 
)

Initializes freertos backend.

The backend expects tinyusb hid library is linked with the application and uses the tinyusb hid callbacks to generate input events.

See libs/backends/freertos/ for details.

Parameters
wA buffer width.
hA buffer height.
pixel_typeA buffer pixel_type.
fbA pointer to a start of a buffer.
Returns
Newly initialized backend.