3 ms·
Does anyone know which browsers have hardware graphics acceleration for WebGL? Does it work on iPhone/Android, or only desktop browsers?
by lazyjeff 16y ago
Does anyone know which browsers have hardware graphics acceleration for WebGL? Does it work on iPhone/Android, or only desktop browsers?
- gpjt 16y agoThe current Chrome and Firefox betas both have hardware acceleration for the desktop versions. WebGL is based on OpenGL ES, the version used by devices like the iPhone, rather than on the full "desktop" OpenGL -- this was apparently a deliberate choice made to make sure that it would work on mobile devices. And Apple are part of the standards group, so presumably it will work on the iPhone at some point. However -- there are no mobile versions easily available right now. * You can get a version of Fennec (Firefox mobile) for Android that runs it, but I believe you'd have to build it yourself from source with appropriate flags. Here's a video, anyway: http://www.youtube.com/watch?v=CmiOO71yHQ8 http://www.youtube.com/watch?v=CmiOO71yHQ8 * A while back, an over-the-air firmware upgrade for the Nokia N900 (Maemo smartphone) did activate WebGL, but the version in question is now out-of-date and most current demos won't work with it. Video here: http://learningwebgl.com/blog/?p=2340 http://learningwebgl.com/blog/?p=2340
- exDM69 16y agoYep, WebGL runs on the Nokia N900 browser out of the box. However, I cannot run a whole lot of the WebGL demos out there, others run out of video memory (textures, I suppose) while others just don't work and don't give any error messages. Some simple tests I've written myself do work.
- gpjt 16y agoThe thing is, they changed the spec after the PR 1.2 Nokia update that enabled WebGL was released in June or July. In August WebGLFloatArray was renamed to Float32Array because the low-level typed array specification was broken out of WebGL and turned into a separate proposed standard, for example. So any demos you can run might be old ones that wouldn't run in the current beta browsers!