Simple, lightweight and efficinent wallpaper daeemon for Wayland
Find a file
NotAShelf d1116e7721
render: add OpenGL resource caching; optimize texture handling
Mildly improves rendering performance by caching OpenGL resources.
Namely:

- Cache shader program, VBO/EBO, and textures per output
- Automatically free image data after GPU upload
- Force RGBA format for consistent texture handling
- Track texture state across output changes
- Add texture invalidation on image changes

This reduces the memory usage by a solid 30MB, but it's still not quite
enough. I expect (or rather, hope) that we can cut it by half.

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I6a6a6964eebc783c5bc07b1fef7548a8d49f529c
2025-09-30 20:11:47 +03:00
include render: add OpenGL resource caching; optimize texture handling 2025-09-30 20:11:47 +03:00
protocols initial commit 2025-09-30 20:11:40 +03:00
src render: add OpenGL resource caching; optimize texture handling 2025-09-30 20:11:47 +03:00
systemd chore: add systemd service 2025-09-30 20:11:46 +03:00
.editorconfig meta: set up editorconfig 2025-09-30 20:11:42 +03:00
.envrc init nix tooling 2025-09-30 20:11:41 +03:00
.gitignore meta: correctly ignore corrected files 2025-09-30 20:11:43 +03:00
flake.lock init nix tooling 2025-09-30 20:11:41 +03:00
flake.nix init nix tooling 2025-09-30 20:11:41 +03:00
LICENSE meta: release under MPL v2.0 2025-09-30 20:11:45 +03:00
Makefile chore: set up Makefile for building 2025-09-30 20:11:44 +03:00
shell.nix init nix tooling 2025-09-30 20:11:41 +03:00