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

Only draw Raster Items, when they are visible #154

Merged
merged 1 commit into from
Jul 6, 2017

Conversation

d3xter
Copy link
Collaborator

@d3xter d3xter commented Jul 6, 2017

Right now every Raster-Item is always drawn onto the canvas.
That consumes a lot of CPU-Power and degrade performance when many storms are undergoing.

With this small change, only currently visible Raster-Items will be drawn on the canvas

Copy link
Owner

@wuan wuan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, this should help a lot. Will create a release tomorrow afternoon.

@wuan wuan merged commit 7035724 into 1.5 Jul 6, 2017
@d3xter d3xter deleted the raster_only_draw_when_visible branch July 9, 2017 13:36
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