feat: use custom wayland layer-shell to render wallpaper to reduce vram

This commit is contained in:
2026-10-05 19:31:15 +02:00
parent f90e9bb1a0
commit 9f5e62f9c7
15 changed files with 1824 additions and 93 deletions
+21 -1
View File
@@ -1,5 +1,24 @@
find_package(Qt6 REQUIRED COMPONENTS ShaderTools Core Qml Gui Quick QuickPrivate Concurrent Sql Network DBus CanvasPainter)
find_package(Qt6 REQUIRED COMPONENTS
ShaderTools
Core
Qml
Gui
GuiPrivate
Quick
QuickPrivate
Concurrent
Sql
Network
DBus
CanvasPainter
WaylandClient
WaylandClientPrivate
)
find_package(PkgConfig REQUIRED)
pkg_check_modules(WAYLAND_CLIENT REQUIRED IMPORTED_TARGET wayland-client)
pkg_check_modules(EGL REQUIRED IMPORTED_TARGET egl)
pkg_check_modules(WAYLAND_EGL REQUIRED IMPORTED_TARGET wayland-egl)
pkg_check_modules(GL REQUIRED IMPORTED_TARGET gl)
pkg_check_modules(Qalculate IMPORTED_TARGET libqalculate REQUIRED)
pkg_check_modules(Pipewire IMPORTED_TARGET libpipewire-0.3 REQUIRED)
pkg_check_modules(Aubio IMPORTED_TARGET aubio REQUIRED)
@@ -17,6 +36,7 @@ qt_standard_project_setup(REQUIRES 6.9)
include(cmake/pch.cmake)
include(cmake/qml-module.cmake)
include(cmake/wayland-protocol.cmake)
add_library(zshell-util INTERFACE)
target_include_directories(zshell-util INTERFACE "${CMAKE_CURRENT_SOURCE_DIR}/include")