shinybob Posted May 26, 2015 Share Posted May 26, 2015 I'm not sure if this is a bug so thought I'd throw it out there. I just finished upgrading my app to pixi.js V3 and noticed a big drop in performance on a specific device (Galaxy Tab 3). I was a little perplexed by this as I have seen performance improvements on other devices since the upgrade. On further inspection it seems that pixi.js V2 is returning WebGL where as pixi.js V3 is returning Canvas as the renderer, hence the decrease in performance. Can anyone offer any in-sight into this? Quote Link to comment Share on other sites More sharing options...
xerver Posted May 26, 2015 Share Posted May 26, 2015 Here is the autoDetectRenderer function: https://github.com/GoodBoyDigital/pixi.js/blob/master/src/core/index.js#L77 Which calls utils.isWebGLSupported: https://github.com/GoodBoyDigital/pixi.js/blob/master/src/core/utils/index.js#L205-L224 Possibly the stencil buffer is not supported on those devices? I have a bug open to address times where you want to use webgl, and know you don't want Graphics (so no stencil buffer): https://github.com/GoodBoyDigital/pixi.js/issues/1738 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.