fix: reduce shader usage

This commit is contained in:
2026-10-23 00:05:08 +02:00
parent 6781078467
commit 36cddc96c3
32 changed files with 959 additions and 84 deletions
+11
View File
@@ -10,6 +10,8 @@ qml_module(ZShell-components
sparklinecontent.hpp sparklinecontent.cpp
sparklineitem.hpp sparklineitem.cpp
sparklinesceneitem.hpp sparklinesceneitem.cpp
roundedmask.hpp roundedmask.cpp
roundedclip.hpp roundedclip.cpp
wheelinverter.hpp
LIBRARIES
Qt::Quick
@@ -17,3 +19,12 @@ qml_module(ZShell-components
Qt::CanvasPainter
ZShell-internal
)
qt_add_shaders(ZShell-components "components_shaders"
BATCHABLE OPTIMIZED NOHLSL NOMSL
GLSL "300es,330"
PREFIX "/"
FILES
shaders/roundedmask.frag
shaders/roundedmask.vert
)