Jump to content

Mobile Chrome Slow Performance


dearcj
 Share

Recommended Posts

Hi
I've being making games with pixi for a quite time
And now when I've moved from pixi 2 to pixi 3.0 I got super slow performance with my Samsung Galaxy S4
Mobile Firefox is fast I got about 30-40 fps
And I got 10 fps in Chrome

I thought that the problem could be in requestAnimationFrame call
So I've used this function

window.requestAnimFrame = function(){
return (
window.requestAnimationFrame ||
window.webkitRequestAnimationFrame ||
window.mozRequestAnimationFrame ||
window.oRequestAnimationFrame ||
window.msRequestAnimationFrame ||
function(/* function */ callback){
window.setTimeout(callback, 1000 / 60);
}
);
}();


And there is still low performance in chrome

Also if I'm using PIXI.WebGLRenderer instead of autoDetectRenderer it's not working, and I got black screen on my S4 and firefox doing fine

Link to comment
Share on other sites

Sounds like you are falling back to the canvas renderer, even though you used to not fall back in v2. This is because v3 requires the Stencil Buffer in WebGL. Likely your device doesn't support it.

Ok, thanks

But in firefox WebGLRenderer version works fine

how can this be?

 

Link to comment
Share on other sites

Visit chrome://gpu in Chrome and it will tell you what features are hardware-accelerated. If a feature isn't hardware accelerated and there's no OS update for your phone, there's not a lot you can do other than change the flags in chrome://flags to force hardware acceleration, or just use a different browser...

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...