diff options
| author | Ben Harris <bjh21@bjh21.me.uk> | 2022-11-25 19:13:43 +0000 |
|---|---|---|
| committer | Ben Harris <bjh21@bjh21.me.uk> | 2022-11-25 19:13:43 +0000 |
| commit | 115edab4597ba526f9afaa659e4c968db026658f (patch) | |
| tree | ba677a4926fcb9adbc41a97dec27e5feba3f4d4c /html/net.html | |
| parent | a6a799720f53d52721284c201e2dfc81610c2e40 (diff) | |
| download | puzzles-115edab4597ba526f9afaa659e4c968db026658f.zip puzzles-115edab4597ba526f9afaa659e4c968db026658f.tar.gz puzzles-115edab4597ba526f9afaa659e4c968db026658f.tar.bz2 puzzles-115edab4597ba526f9afaa659e4c968db026658f.tar.xz | |
js: Remove alpha channel from almost all our canvases
Specifying the { alpha: false } option when creating a rendering context
tells the browser that we won't use transparency, and the standard
puzzle canvases, along with blitters, are all opaque. No obvious
effect, but the MDN suggests that this should reduce CPU usage.
The one exception here is the resize handle, which actually is
transparent.
Diffstat (limited to 'html/net.html')
0 files changed, 0 insertions, 0 deletions