3 ms·
That's not how it works. The GL calls and shaders are interpreted by the browser and run safely (modulo bugs), like JavaScript on your CPU.
by fulafel 13y ago
That's not how it works. The GL calls and shaders are interpreted by the browser and run safely (modulo bugs), like JavaScript on your CPU.
- kevingadd 13y agoThat's absolutely not true; the security issues raised here are serious issues that resulted in a bunch of changes to the WebGL spec in order to alleviate them. Running untrusted code on the GPU is dangerous.
- fulafel 13y agoNot true how? I agree it's somewhat risky -- running untrusted code on the CPU is dangerous too and there have been bugs in sandboxing of JS/java/flash. Specs and implementations get tightened up, life goes on until the next bug.