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

Chrome Canvas.clip() is slow, more general and fast workaround is required #2

Closed
barmalei opened this issue May 7, 2012 · 3 comments

Comments

@barmalei
Copy link
Owner

barmalei commented May 7, 2012

Chrome browser demonstrates poor performance for Canvas.clip() operation. FF and Safari are faster but extensive usage of clip operation also has noticeable influence to rendering performance. The test case is grid component where every cell is clipped before its content rendering. Having ~ 10x50 visible cells can slow down rendering what especially important when a user scrolls up/down grid content.

Partially the problem has been solved by minimizing number of clip operations where it is possible, but more deeper investigation is required. The questions are the following:
-- Can minimizing clip over clip (when we clip over prev. cllp) speed up rendering ?
-- Can offscreen buffer usage solve the problem ?
-- What is about applying global composition instead of clip ?

@barmalei
Copy link
Owner Author

fixed.

@wangjiaji
Copy link

Could you share some info on how this problem was fixed?

@tamascsaba
Copy link

@barmalei Could you share some info on how this problem was fixed?

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

No branches or pull requests

3 participants