Why is my iPad game so slow?

Nibbie
Posts: 3
Joined: 2010.11
Post: #46
I already went down the path of trying indexed triangle lists. It was probably close to a year ago, so I don't remember specifics, but I settled on strips over lists, and I'm pretty sure it was the right thing to do. Apple's own doc (the one I just referred you to) seems to favor strips over lists, although they don't come right out and say "don't use lists". (See page 62).
Quote this message in a reply
Member
Posts: 54
Joined: 2010.10
Post: #47
Bugger it, I'll give it a try. I'm sure I have a copy of nvtristrip around here somewhere.

Paul Johnson
Great Little War Game
Quote this message in a reply
Member
Posts: 31
Joined: 2010.02
Post: #48
I tried to read the whole thread, so forgive me if this has been asked.

But, are you running in the simulator or the device?

When beginning iPad development I had to run only in the simulator because the iPad hadn't been released yet. My simple OpenGL ES 2.0 game ( http://web.me.com/t.c.micka/Main/Indie_G...re01_1.jpg ) ran at about 10-12 fps in the simulator but jumped to 45-50 on the device.

I've heard the simulator uses software rasterization, but that could have changed in the latest SDK.
Quote this message in a reply
Member
Posts: 54
Joined: 2010.10
Post: #49
I wouldn't be getting this worked up over the simulator. It's a pretty recent device

Paul Johnson
Great Little War Game
Quote this message in a reply
Member
Posts: 40
Joined: 2009.05
Post: #50
Can you post the results from the tiler and renderer utilization from the opengl performance tool? Also did you confirm that you were definitely using VBOs?
Quote this message in a reply
Member
Posts: 26
Joined: 2010.01
Post: #51
Since you're not maxing out the CPU it's unlikely that it's hitting software emulation in some way. The other thing that I'd look at is reducing your texture usage to only 2 for the sake of testing - you may find that's as fast as 1, I don't recall if the iPad GPU is one of the dual-texel ones.

Interesting thread, anyway...
Quote this message in a reply
Member
Posts: 54
Joined: 2010.10
Post: #52
Sadly we have. Although, I'm intrigued by this thing about dropping into software. Is there somewhere I can read more on this?

I doubt it's doing that tbh as perf really would disappear, but I'd like to know more about it anyway.

Paul Johnson
Great Little War Game
Quote this message in a reply
Member
Posts: 26
Joined: 2010.01
Post: #53
Another thing to look at is if/how you use streams... Certainly under directx with older desktop hardware (very close to these current mobile gpu's) there used to be significant performance penalties associated with using multiple streams from seperate memory locations, rather than one stream of appropriately configured vertices.
Quote this message in a reply
Member
Posts: 54
Joined: 2010.10
Post: #54
Just the one stream - an interleaved vbo. Didn't know gles had the capability to do more

Paul Johnson
Great Little War Game
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Scaling iOS Game: iPhone -> iPad iLoveShowers 2 1,592 Dec 9, 2013 07:34 AM
Last Post: iLoveShowers
  XML too slow, best way to go binary markhula 9 8,493 Jan 14, 2011 06:58 AM
Last Post: markhula
  emulator slow when rendering from a second thread captainfreedom 1 2,963 Jan 30, 2010 05:05 PM
Last Post: ChrisD
  Simple application slow down, FPS drops Newbrof 15 8,217 Sep 2, 2009 12:51 PM
Last Post: AnotherJake
  Chipmunk is too slow? jaguard 14 8,314 Jan 22, 2009 04:49 AM
Last Post: jaguard