Skip to content

fix(fullscreen-player): stop mesh blob and portrait animations in no-compositing mode#175

Merged
Psychotoxical merged 1 commit intoPsychotoxical:mainfrom
kilyabin:fullscreen-possible-lag-fix
Apr 13, 2026
Merged

fix(fullscreen-player): stop mesh blob and portrait animations in no-compositing mode#175
Psychotoxical merged 1 commit intoPsychotoxical:mainfrom
kilyabin:fullscreen-possible-lag-fix

Conversation

@kilyabin
Copy link
Copy Markdown
Contributor

@kilyabin kilyabin commented Apr 13, 2026

In software compositing (WEBKIT_DISABLE_COMPOSITING_MODE=1), WebKit renders entirely on the CPU. The mesh blob animations were not covered by the no-compositing overrides: blob-a occupies 130×130% of the viewport, so each frame the CPU had to composite a surface larger than the screen. On high-DPI displays (e.g. 8K) this drops the fullscreen player to ~10 FPS.

  • Stop mesh blob pan animations (static gradients are preserved)
  • Stop portrait drift animation (filter was already removed)
  • Remove box-shadow from the seekbar played bar (its width changes on every playback tick; in software mode each change triggers a box-shadow repaint)

…compositing mode

In software compositing (WEBKIT_DISABLE_COMPOSITING_MODE=1), WebKit renders
entirely on the CPU. The mesh blob animations were not covered by the
no-compositing overrides: blob-a occupies 130×130% of the viewport, so each
frame the CPU had to composite a surface larger than the screen. On high-DPI
displays (e.g. 8K) this drops the fullscreen player to ~10 FPS.

- Stop mesh blob pan animations (static gradients are preserved)
- Stop portrait drift animation (filter was already removed)
- Remove box-shadow from the seekbar played bar (its width changes on every
  playback tick; in software mode each change triggers a box-shadow repaint)
@kilyabin
Copy link
Copy Markdown
Contributor Author

build not checked, but im think all is ok

@Psychotoxical Psychotoxical merged commit 1b55e88 into Psychotoxical:main Apr 13, 2026
Psychotoxical pushed a commit that referenced this pull request Apr 13, 2026
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants