feat: skip two-way copy for cuda devices when decoding video wallpapers + cache wallpapers as blobs in new database

This commit is contained in:
2026-10-29 17:44:19 +01:00
parent c0744b29b6
commit 76f5a23c2a
20 changed files with 2739 additions and 330 deletions
@@ -0,0 +1,11 @@
uniform sampler2D source;
uniform vec2 size;
uniform vec4 crop;
uniform float alpha;
out vec4 outColor;
void main() {
vec2 p = vec2(gl_FragCoord.x, size.y - gl_FragCoord.y) / size;
vec4 c = texture(source, crop.xy + p * crop.zw);
outColor = vec4(c.rgb, c.a * alpha);
}