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

Firefox - Slow handling of endShape in createGraphics #1716

Closed
chrsmlls333 opened this issue Dec 23, 2016 · 4 comments
Closed

Firefox - Slow handling of endShape in createGraphics #1716

chrsmlls333 opened this issue Dec 23, 2016 · 4 comments

Comments

@chrsmlls333
Copy link

Having an oddly slow framerate (0.8 fps) on two different Windows computers when drawing shapes made up of curveVertex points to an offscreen canvas. endShape is calling a doFillStrokeClose function that takes a lot of time specifically when drawing to a buffer created with createGraphics(), I can't get deeper into the performance console than that so I believe it must be the culprit. Slows down the entire firefox UI and everything.

Problem Test: Aurora 3
Control (similar algorithm drawing directly to canvas): Aurora 2

Both run regularly in Chrome. Originally I thought this was related to my computer and the webgl/canvas graphics card issue I have been having here but its most definitely unrelated because I was able to replicate on another machine.

@stalgiag
Copy link
Contributor

stalgiag commented Jul 9, 2017

@chrsmlls333 Hi thanks for reporting the issue. The URL for the problem test isn't working. Are you still having this problem in Firefox? If so, could you put the link back up or post the code here?

@chrsmlls333
Copy link
Author

@mlarghydracept Apologies! Here is the updated link: Aurora 3

@kjhollen
Copy link
Member

@chrsmlls333 thank you! is there a non-minified version of the code that you could share with us?

the speed for immediate mode has been improved a lot this summer! in Firefox it's about half as fast as it is in Chrome, but it should still be workable. I am hopeful this will be resolved when we merge the Web GL work from google summer of code.

@kjhollen kjhollen added the GSOC label Aug 29, 2017
@kjhollen
Copy link
Member

fixed with #2166.

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

No branches or pull requests

4 participants