Skip to main content
User Unknow
Legend
May 20, 2012
Question

Practical question about iOS Native Extension performance

  • May 20, 2012
  • 1 reply
  • 700 views

Hello everyone!

I have practical question about NE performance. What will be faster - comparing loop with 100 000 items on AS3 side or pull this to iOS Native Extension? I'm asking because I developing 3D game with stage3D and I found that animation of vertices to sloowly because it's computing on CPU in AS3. I want pull this to Native Extension. Could I get performance increasing?

This topic has been closed for replies.

1 reply

Mark.fromOP
Inspiring
May 21, 2012

I am talking out of my butt here but I recall hearing that Direct rendering is supposed to be best for stage3D? Have you tried that? Its a new option in flash CS6.

User Unknow
Legend
May 21, 2012

Sure I use Stage3D but animations (not render) - calculates in CPU, not in graphics chip ). In hardware we just upload vertices, textures and shader programs for rendering. But moving of that vertices - proceed in the CPU. Like [0].x += 1 and etc.. On PC it's not a problem. 60 from 60 fps. But on iOS with 100 000 vertives - it's kick to performance )