backends: make the framebuffer backend optional
The framebuffer is a legacy backend and we know that at least OpenSUSE disabled it in the kernel configuration, so let's make it optional.
This commit is contained in:
parent
6c3eca8fb6
commit
1840f10f62
13 changed files with 51 additions and 32 deletions
|
|
@ -1251,7 +1251,7 @@
|
|||
*==================*/
|
||||
|
||||
/** Use SDL to open window on PC and handle mouse and keyboard. */
|
||||
#define LV_USE_SDL 0
|
||||
//#define LV_USE_SDL 0
|
||||
#if LV_USE_SDL
|
||||
#define LV_SDL_INCLUDE_PATH <SDL2/SDL.h>
|
||||
#define LV_SDL_RENDER_MODE LV_DISPLAY_RENDER_MODE_DIRECT /**< LV_DISPLAY_RENDER_MODE_DIRECT is recommended for best performance */
|
||||
|
|
@ -1280,7 +1280,7 @@
|
|||
#endif
|
||||
|
||||
/** Driver for /dev/fb */
|
||||
#define LV_USE_LINUX_FBDEV 1
|
||||
//#define LV_USE_LINUX_FBDEV 0
|
||||
#if LV_USE_LINUX_FBDEV
|
||||
#define LV_LINUX_FBDEV_BSD 0
|
||||
#define LV_LINUX_FBDEV_RENDER_MODE LV_DISPLAY_RENDER_MODE_DIRECT
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue