mikroSDK Reference Manual
lv_draw_sdl_priv.h
Go to the documentation of this file.
1
6#ifndef LV_DRAW_SDL_PRIV_H
7#define LV_DRAW_SDL_PRIV_H
8
9
10#ifdef __cplusplus
11extern "C" {
12#endif
13
14/*********************
15 * INCLUDES
16 *********************/
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
34typedef struct lv_draw_sdl_context_internals_t {
35 lv_lru_t * texture_cache;
36 SDL_Texture * mask;
37 SDL_Texture * composition;
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*/
Definition lv_lru.h:45