Skip to content

Commit 7182f4e

Browse files
fix(conf) update lv_conf
Signed-off-by: Cosmin Radu <[email protected]>
1 parent 8794a00 commit 7182f4e

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

lv_conf.h

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1187,8 +1187,12 @@
11871187
/** Use Wayland to open a window and handle input on Linux or BSD desktops */
11881188
#define LV_USE_WAYLAND 0
11891189
#if LV_USE_WAYLAND
1190-
#define LV_WAYLAND_WINDOW_DECORATIONS 0 /**< Draw client side window decorations only necessary on Mutter/GNOME */
1191-
#define LV_WAYLAND_WL_SHELL 0 /**< Use the legacy wl_shell protocol instead of the default XDG shell */
1190+
#define LV_WAYLAND_BUF_COUNT 1 /**< Use 1 for single buffer with partial render mode or 2 for double buffer with full render mode*/
1191+
#define LV_WAYLAND_USE_DMABUF 0 /**< Use DMA buffers for frame buffers. Requires LV_DRAW_USE_G2D */
1192+
#define LV_WAYLAND_RENDER_MODE LV_DISPLAY_RENDER_MODE_PARTIAL /**< DMABUF supports LV_DISPLAY_RENDER_MODE_FULL and LV_DISPLAY_RENDER_MODE_DIRECT*/
1193+
/**< When LV_WAYLAND_USE_DMABUF is disabled, only LV_DISPLAY_RENDER_MODE_PARTIAL is supported*/
1194+
#define LV_WAYLAND_WINDOW_DECORATIONS 0 /**< Draw client side window decorations only necessary on Mutter/GNOME. Not supported using DMABUF*/
1195+
#define LV_WAYLAND_WL_SHELL 0 /**< Use the legacy wl_shell protocol instead of the default XDG shell*/
11921196
#endif
11931197

11941198
/** Driver for /dev/fb */

0 commit comments

Comments
 (0)