acid-drop- Hacking the planet from a LilyGo T-Deck using custom firmware |
git clone git://git.acid.vegas/acid-drop.git |
Log | Files | Refs | Archive | README | LICENSE |
lv_draw_sdl_priv.h (1170B)
1 /** 2 * @file lv_draw_sdl_priv.h 3 * 4 */ 5 6 #ifndef LV_DRAW_SDL_PRIV_H 7 #define LV_DRAW_SDL_PRIV_H 8 9 10 #ifdef __cplusplus 11 extern "C" { 12 #endif 13 14 /********************* 15 * INCLUDES 16 *********************/ 17 #include "../../lv_conf_internal.h" 18 19 #if LV_USE_GPU_SDL 20 21 #include LV_GPU_SDL_INCLUDE_PATH 22 23 #include "../lv_draw.h" 24 #include "../../misc/lv_lru.h" 25 26 /********************* 27 * DEFINES 28 *********************/ 29 30 /********************** 31 * TYPEDEFS 32 **********************/ 33 34 typedef struct lv_draw_sdl_context_internals_t { 35 lv_lru_t * texture_cache; 36 SDL_Texture * mask; 37 SDL_Texture * composition; 38 } lv_draw_sdl_context_internals_t; 39 40 /********************** 41 * GLOBAL PROTOTYPES 42 **********************/ 43 44 /*====================== 45 * Add/remove functions 46 *=====================*/ 47 48 /*===================== 49 * Setter functions 50 *====================*/ 51 52 /*===================== 53 * Getter functions 54 *====================*/ 55 56 /*===================== 57 * Other functions 58 *====================*/ 59 60 /********************** 61 * MACROS 62 **********************/ 63 64 #endif /*LV_USE_GPU_SDL*/ 65 66 #ifdef __cplusplus 67 } /*extern "C"*/ 68 #endif 69 70 #endif /*LV_DRAW_SDL_PRIV_H*/