Skip to content
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

Fixed editor view rendering to properly skip drawing a view if it's not visible #334

Merged
merged 1 commit into from
Feb 7, 2025

Conversation

adriengivry
Copy link
Member

Description

Added a IsVisible method to the PanelWindow, and used it to skip view rendering if the view isn't visible.
This mostly doubles the framerate in the editor! We don't have to render the scene view and game view at all time.

Related Issues

N/A

@adriengivry adriengivry added QoL Quality of Life : Something that can improve users productivity Optimization Optimization related stuff Graphics Graphical feature labels Nov 26, 2024
@adriengivry adriengivry self-assigned this Nov 26, 2024
@adriengivry adriengivry merged commit 7660ac0 into develop Feb 7, 2025
1 check passed
@adriengivry adriengivry deleted the fix/skip_view_draw branch February 7, 2025 03:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Graphics Graphical feature Optimization Optimization related stuff QoL Quality of Life : Something that can improve users productivity
Development

Successfully merging this pull request may close these issues.

2 participants