danielbeck Posted September 20, 2015 Share Posted September 20, 2015 Hello, I'm wondering why my application is much slower with webgl than with canvas. It's a very simple application with falling letters. WebGLFirefox: 20 fpsChrome: 50 fps CanvasFirefox: 60 fpsChrome: 60 fps Browser version: firefox 40.0 and Chrome 45.0. I got similar results on windows and on ubuntu. Here is a link to the app: https://s3-us-west-2.amazonaws.com/physalisdev/phaser/www/index.html I espected webgl to be much faster than canvas. Has someone an idea how I can accelerate WebGL so that I can use WebGL shaders? ThanksDaniel Link to comment Share on other sites More sharing options...
RaphaelStary Posted September 21, 2015 Share Posted September 21, 2015 Hi I have 60 fps with your example.It could be that your graphics driver are blacklisted.seehttps://www.khronos.org/webgl/wiki/BlacklistsAndWhitelistshttp://superuser.com/questions/836832/how-can-i-enable-webgl-in-my-browsereven if the driver is not blacklisted I would suspect that it has something to do with it or its config. But I'm just guessing cheersraphael Link to comment Share on other sites More sharing options...
danielbeck Posted September 21, 2015 Author Share Posted September 21, 2015 Hi I have 60 fps with your example.It could be that your graphics driver are blacklisted.seehttps://www.khronos.org/webgl/wiki/BlacklistsAndWhitelistshttp://superuser.com/questions/836832/how-can-i-enable-webgl-in-my-browsereven if the driver is not blacklisted I would suspect that it has something to do with it or its config. But I'm just guessing cheersraphael Do you also get 60 fps with firefox? On windows, the used WebGL renderer for Firefox is: WebGL-Renderer Google Inc. -- ANGLE (Intel® HD Graphics 4600 Direct3D11 vs_5_0 ps_5_0). I'll check the used WebGL renderer for ubuntu later. Link to comment Share on other sites More sharing options...
danielbeck Posted September 21, 2015 Author Share Posted September 21, 2015 On firefox/ubuntu, the used renderer is " WebGL-Renderer Intel Open Source Technology Center -- Mesa DRI Intel® Sandybridge Mobile". On all the tested laptops, though webgl was enabled, the performance was pretty bad. The drivers are recent on all systems. Link to comment Share on other sites More sharing options...
Recommended Posts