3 ms·
One thing I've noticed is when running a WebGL demo in Chrome on a Mac, if another window partially overlaps the WebGL animation it freezes up the entire system
by jarin 15y ago
One thing I've noticed is when running a WebGL demo in Chrome on a Mac, if another window partially overlaps the WebGL animation it freezes up the entire system.
It's obviously still a work in progress, but I think it will be fantastic when all the kinks are worked out.
- nkassis 15y agoThat could be because the demo doesn't use requestAnimationFrame. This javascript call will stop whatever function it's given when the canvas is out of view. Frankly I've only noticed major issue on Mac. I'm developing a WebGL app and my boss on a mac had the habit of moving to different tabs without closing my demo before the requestAnimationFrame was introduced. Lets just say he wasn't too happy ;p
- deleted 15y ago[deleted]