Answer the question
In order to leave comments, you need to log in
Why does a large Canvas with a WebGL context take up a lot of memory?
Example:
var c = document.createElement('canvas');
var ctx = c.getContext('webgl');
c.width = c.height = 4096;
Answer the question
In order to leave comments, you need to log in
WebGL has a depth buffer, anti-aliasing, and an alpha channel enabled by default, so it eats up a lot of memory.
Source
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question