Skip to content

Remove 'skip' uniform variable in rounded corners shader #45

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 4, 2022

Conversation

yilozt
Copy link
Owner

@yilozt yilozt commented Sep 3, 2022

Closes #44

Remove RoundedCornersEffect when window is maximized, and add it back when window is un-maximized instead of setup 'skip' uniform variable in shader.

This change should reduce pressure of gpu.

Remove RoundedCornersEffect when window is maximized, and add it back
when window is un-maximized instead of setup 'skip' uniform variable in
shader.
@yilozt yilozt force-pushed the remove-rounded-effect-when-maximized branch from 81f57f6 to 35ab4cc Compare September 4, 2022 04:25
@yilozt yilozt merged commit a5159ba into main Sep 4, 2022
@yilozt yilozt deleted the remove-rounded-effect-when-maximized branch September 4, 2022 04:37
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.

Performance issues on maximized browsers
1 participant