display and gem lgic seperate cpu cores, audio fixed, display scaling implemented, psram aktivatet for threads in core
This commit is contained in:
@@ -48,9 +48,20 @@ void st7789_draw_pixel(int16_t x, int16_t y, uint16_t color);
|
||||
* @param width Width of buffer
|
||||
* @param height Height of buffer
|
||||
*/
|
||||
void st7789_draw_buffer(const uint16_t *buffer, int16_t x, int16_t y,
|
||||
void st7789_draw_buffer(const uint16_t *buffer, int16_t x, int16_t y,
|
||||
int16_t width, int16_t height);
|
||||
|
||||
/**
|
||||
* @brief Draw buffer that is already byte-swapped (optimized, no allocation)
|
||||
* @param buffer Pointer to pre-swapped BGR565 framebuffer
|
||||
* @param x X start position
|
||||
* @param y Y start position
|
||||
* @param width Width of buffer
|
||||
* @param height Height of buffer
|
||||
*/
|
||||
void st7789_draw_buffer_preswapped(const uint16_t *buffer, int16_t x, int16_t y,
|
||||
int16_t width, int16_t height);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user