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

Drawing Lags Badly on Large UIViews #68

Open
alexcampbellCA opened this issue Dec 7, 2020 · 0 comments
Open

Drawing Lags Badly on Large UIViews #68

alexcampbellCA opened this issue Dec 7, 2020 · 0 comments

Comments

@alexcampbellCA
Copy link

alexcampbellCA commented Dec 7, 2020

First of all, this is a fantastic library. Your work on this is much appreciated.

I have a particular use case for this, where the view may be larger than the device's viewport. Disregarding zooming/panning for now (that's something I'll tackle later), I've noticed that there is a significant performance penalty for views that span the full width/height of the screen (say, an ipad pro), and even moreso for views that are larger than the viewport.

Are there any optimizations or culling techniques that I can implement on my end? Or features I can disable to speed things up? Or any off-the-top improvements that I could make (and maybe even contribute to this code base)? Something that comes to mind might be, say, reducing the smoothness of the lines so that not as many calls to the graphics rendering APIs are made (I know, that's likely a massive oversimplification).

Any pointers in the right direction would be much appreciated!

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

No branches or pull requests

1 participant