These are chat archives for pixijs/pixi.js

26th
Oct 2016
Ralph Sto. Domingo
@ralphstodomingo
Oct 26 2016 02:33
@eele94 my images are on a base of 1600x900 resolution and the canvas rendered is 1280x720. At average I have about 10x2 sprites moving around at a time. Is webGL currently that slow on mobile? Or is it a hardware thing most of the time?
A thing to note though that it is fast on Safari on an iPad I'm using, while the fps suffers in an Android webview.
But by far I can say that I'm happy with Pixi. Coming from where I was used to being tied down in all the quirks of the DOM, it has been a lot easier, although there are things that are still unclear to me. :D
Ivan Popelyshev
@ivanpopelyshev
Oct 26 2016 06:25
do you use devicePixelRatio=2 ? :)
@eminx sorry, your code is a bit obfuscated, I dont know whats wrong with it
Ralph Sto. Domingo
@ralphstodomingo
Oct 26 2016 08:14
@ivanpopelyshev If I remember what I read before correctly, that's for retina devices right? :D
Ralph Sto. Domingo
@ralphstodomingo
Oct 26 2016 08:20
Profiling with the WebGL profiler Chrome extension, I noticed a high amount of buffer calls. Is that normal?
And is there a perf hit with using a devicePixelRatio of 2?
Ivan Popelyshev
@ivanpopelyshev
Oct 26 2016 13:13
yes, it sucks on mobile devices and on Macs
its ok about buffer calls, may be its failing to create batches
one batch = one buffer call