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

performance and color? #9

Closed
lidaof opened this issue Aug 12, 2019 · 2 comments
Closed

performance and color? #9

lidaof opened this issue Aug 12, 2019 · 2 comments

Comments

@lidaof
Copy link

lidaof commented Aug 12, 2019

Hi Javi,

I am trying to use this library in my project for drawing canvas.
I noticed the drawing speed is actually slower than 2d canvas. Am I doing something wrong? or this library is not suitable for my purpose?
Thank you.

@jagenjo
Copy link
Owner

jagenjo commented Aug 12, 2019

this library is not supposed to be faster. Current Canvas2D implementations already use the GPU and because they are implemented natively the performance is always faster.

The reason to use Canvas2DtoWebGL is if you want to mix 3D content with 2D content in the same canvas. Otherwise there is no benefit.

@jagenjo jagenjo closed this as completed Aug 12, 2019
@lidaof
Copy link
Author

lidaof commented Aug 12, 2019

i see. thanks for explanation.

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

2 participants