Skip to content

Viewport culling #608

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

Closed
Keavon opened this issue Apr 22, 2022 · 0 comments · Fixed by #667
Closed

Viewport culling #608

Keavon opened this issue Apr 22, 2022 · 0 comments · Fixed by #667
Assignees
Milestone

Comments

@Keavon
Copy link
Member

Keavon commented Apr 22, 2022

Don't draw shapes that have their bounding box outside the viewport coordinates. So let's not render those SVG elements in Rust to save on SVG string-related performance on the Rust and Rust->JS end. This should actually be relatively easy since we already have functions for working with layer bounding boxes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants