Skip to content

refactor(animations): Optimize UnifiedPlayerSheet animations#211

Merged
theovilardo merged 1 commit intomasterfrom
feat/optimize-animations
Oct 9, 2025
Merged

refactor(animations): Optimize UnifiedPlayerSheet animations#211
theovilardo merged 1 commit intomasterfrom
feat/optimize-animations

Conversation

@theovilardo
Copy link
Copy Markdown
Owner

Applied compositingStrategy = CompositingStrategy.Offscreen to the graphicsLayer modifiers of several key components within UnifiedPlayerSheet.kt.

This optimization renders complex composables into an offscreen bitmap buffer, allowing the GPU to handle transformations (translation, scaling, alpha) more efficiently. This avoids re-executing all of the component's drawing commands on every frame of an animation, leading to a smoother user experience, especially on lower-end devices, without altering the quality or functionality of the animations.

Applied `compositingStrategy = CompositingStrategy.Offscreen` to the `graphicsLayer` modifiers of several key components within `UnifiedPlayerSheet.kt`.

This optimization renders complex composables into an offscreen bitmap buffer, allowing the GPU to handle transformations (translation, scaling, alpha) more efficiently. This avoids re-executing all of the component's drawing commands on every frame of an animation, leading to a smoother user experience, especially on lower-end devices, without altering the quality or functionality of the animations.
@theovilardo theovilardo merged commit b08d6bd into master Oct 9, 2025
@theovilardo theovilardo deleted the feat/optimize-animations branch October 16, 2025 18:04
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.

1 participant