Commit f38fcf3
committed
Optimized Canvas2D performance by setting willReadFrequently to true in checkSupport()
The willReadFrequently attribute is now explicitly set to true when obtaining the 2D rendering context for the canvas. This informs the browser that getImageData will be used frequently, potentially enhancing the speed of multiple readback operations.1 parent a6e4745 commit f38fcf3
File tree
3 files changed
+3
-3
lines changed- examples/build/scripts
3 files changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
211 | | - | |
| 211 | + | |
212 | 212 | | |
213 | 213 | | |
214 | 214 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments