1# SDL_Renderer Based Drawing Functions
2
3In LVGL, drawing was performed by CPU. To improve drawing performance on platforms with GPU,
4we should perform drawing operations on GPU if possible.
5
6This implementation has moved most bitmap blending and drawing procedures to utilize SDL_Renderer,
7which takes advantages of hardware acceleration APIs like DirectX or OpenGL.
8
9This implementation can be also considered as a reference implementation, for contributors wants to
10develop accelerated drawing functions with other APIs such as OpenGL/OpenGL ES.
11
12## Caveats
13`lv_draw_arc`, `lv_draw_line` is not enabled, due to incomplete implementation. So lines and arcs will
14have significant impact to drawing performances.
15
16Performance of this implementation still has room to improve. Or we should use more powerful APIs
17such as OpenGL.
18
19## Notices for files
20
21### `lv_draw_sdl_stack_blur.c`
22
23Contains modified code from [android-stackblur](https://github.com/kikoso/android-stackblur) project.
24Apache License 2.0
25
26### `lv_draw_sdl_lru.c`/`lv_draw_sdl_lru.h`
27
28Contains modified code from [C-LRU-Cache](https://github.com/willcannings/C-LRU-Cache) project. No license defined.