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 #ifdef __cplusplus
10 extern "C" {
11 #endif
12 
13 /*********************
14  *      INCLUDES
15  *********************/
16 #include "../../lv_conf_internal.h"
17 
18 #if LV_USE_GPU_SDL
19 
20 #include LV_GPU_SDL_INCLUDE_PATH
21 
22 #include "../lv_draw.h"
23 #include "../../misc/lv_lru.h"
24 
25 /*********************
26  *      DEFINES
27  *********************/
28 
29 /**********************
30  *      TYPEDEFS
31  **********************/
32 
33 typedef struct lv_draw_sdl_context_internals_t {
34     lv_lru_t * texture_cache;
35     SDL_Texture * mask;
36     SDL_Texture * composition;
37     bool composition_cached;
38     SDL_Texture * target_backup;
39     uint8_t transform_count;
40 } lv_draw_sdl_context_internals_t;
41 
42 /**********************
43  * GLOBAL PROTOTYPES
44  **********************/
45 
46 /*======================
47  * Add/remove functions
48  *=====================*/
49 
50 /*=====================
51  * Setter functions
52  *====================*/
53 
54 /*=====================
55  * Getter functions
56  *====================*/
57 
58 /*=====================
59  * Other functions
60  *====================*/
61 
62 /**********************
63  *      MACROS
64  **********************/
65 
66 #endif /*LV_USE_GPU_SDL*/
67 
68 #ifdef __cplusplus
69 } /*extern "C"*/
70 #endif
71 
72 #endif /*LV_DRAW_SDL_PRIV_H*/
73