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

Study using willReadFrequently with canvas #1313

Open
ivmartel opened this issue Feb 22, 2023 · 0 comments
Open

Study using willReadFrequently with canvas #1313

ivmartel opened this issue Feb 22, 2023 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@ivmartel
Copy link
Owner

The canvas getContext accepts an option willReadFrequently that is: "A boolean value that indicates whether or not a lot of read-back operations are planned. This will force the use of a software (instead of hardware accelerated) 2D canvas and can save memory when calling getImageData() frequently."
It may be interesting using it.

@ivmartel ivmartel added the enhancement New feature or request label Feb 22, 2023
@ivmartel ivmartel added this to the Future milestone Feb 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant