Commit Graph
12 Commits
Author SHA1 Message Date
dela cf58267d41 perf: sync native danmaku with screen refresh 2026-06-21 21:30:57 +08:00
dela 907de1feeb perf(ui): replace animated-sidebar drop shadows with pre-baked 9-patch overlay
QGraphicsDropShadowEffect forces the host widget through an off-screen
software Gaussian blur on every repaint. On the floating sidebar (HomeView,
blur 25) and the player right sidebar (PlayerView, blur 35), the blur was
re-rasterized on every frame of the 350ms slide animation, the main source
of UI jank.

Bake the blur once into a 9-patch PNG (cached to CacheLocation/shadows via
QGraphicsBlurEffect) and render it at runtime as a cheap 9-slice stretch with
zero per-frame blur cost:

- utils/shadowpixmap: off-screen bake + on-disk cache, dpr-aware.
- components/shadowoverlay: mouse-transparent sibling widget, lazy-baked,
  paints the 9-patch; optional body cutout for semi-transparent targets so
  the shadow does not bleed through the body.
- homeview/playerview: drop the effect; the overlay tracks the sidebar
  geometry via the existing eventFilter (Move/Resize/Show/Hide), so every
  setGeometry/move site and the slide animation drive it for free.
2026-06-18 17:03:57 +08:00
dela a608910148 docs: add pacman repository install command 2026-06-10 17:55:06 +08:00
dela c69b863e9a docs: update Arch Linux release README 2026-06-10 17:40:51 +08:00
dela fa31f4f821 fix: avoid resizing login transition 2026-06-10 17:15:34 +08:00
dela 4c783ab9ea chore: drop windows-specific code 2026-06-10 16:33:50 +08:00
dela 012d165b81 perf: improve animation smoothness on Wayland 2026-06-10 16:12:29 +08:00
dela d56e09914f chore: release version 0.0.6 2026-06-10 15:31:00 +08:00
dela 5a4ab5b106 packaging: use local Arch release archive 2026-06-10 15:21:42 +08:00
dela 1c8fc988b6 packaging: add missing Arch runtime deps 2026-06-10 15:18:30 +08:00
dela 95a3e98c97 build: adapt Arch Linux packaging 2026-06-10 11:24:46 +08:00
dela a2f82a86b6 chore: baseline usable version 2026-06-10 11:17:51 +08:00