Andras Csizmadia
Andras Csizmadia
Hi! Maybe it would worth the effort to try the versions between 2.6.2 and 2.7.3 - I think it would help to find out which commit(s) are resulted in performance...
https://github.com/vpmedia/PhaserPerfTest/tree/master/phaser-perf-test I've added all versions to my fork if anyone would like to test it
I've created a pull request: https://github.com/RazorDE/PhaserPerfTest/pull/1 Also I can confirm that on my desktop pc I can also notice the fps difference, if I create about 1200 texts 2.6.2 is...
I think the source of the issue is somewhere in PIXI.WebGLSpriteBatch class .. I've created a more compact example: https://github.com/vpmedia/PhaserPerfTest/tree/master/minimal-test (pull request already sent) What I see is that for...
Some additional comments: `.flush() ` calls in the code: https://github.com/photonstorm/phaser-ce/blob/master/src/pixi/renderers/webgl/utils/WebGLSpriteBatch.js#L250 https://github.com/photonstorm/phaser-ce/blob/master/src/pixi/renderers/webgl/utils/WebGLSpriteBatch.js#L237 https://github.com/photonstorm/phaser-ce/blob/master/src/pixi/renderers/webgl/utils/WebGLSpriteBatch.js#L265 https://github.com/photonstorm/phaser-ce/blob/master/src/pixi/renderers/webgl/utils/WebGLSpriteBatch.js#L249 this condition is always true also `!=` maybe should be `!==` if the condition stays (maybe needed...
Also If I completely comment out https://github.com/photonstorm/phaser-ce/blob/master/src/pixi/renderers/webgl/utils/WebGLSpriteBatch.js#L249 condition fps stays at 60, I can see the text objects but there are also upscaled blurred huge texts in the background. It...
I've played a little bit more with the debug settings, my conclusion is that the text draws are not batched since Phaser 2.7.X 2.6.2 batches the texts so currentBatchSize=10 and...
@photonstorm Sorry for bothering, could you help out with this performance issue?
I've made some draw call debugs: https://raw.githubusercontent.com/vpmedia/PhaserPerfTest/master/phaser-perf-test/outputs/ff-phaser262.png https://raw.githubusercontent.com/vpmedia/PhaserPerfTest/master/phaser-perf-test/outputs/ff-phaser277.png 102 draw 216 call vs 151 draw 1067 call / same scene.
Hi, also as an extra side note this issue is not text specific. Question is that this was a tradeoff when multi-texture or other feature has been added or an...