Profiling OpenGL ES App
Since i couldn't quite figure out Instruments or Shark, and my project is so small right now, I started just taking out lines until something made a difference. In my custom EAGLViewController, in my viewDidLoad method, I had this line:
self.view.backgroundColor = [UIColor colorWithRed:0 green:0 blue:0 alpha:1];
Where self.view is the EAGLView itself. Apparently this was my problem. Once I took it out, the whole thing started running faster. Not entirely sure why, but then I'm not entirely sure why I had that line in there to begin with.
Edit: Looks like I spoke too soon. This helped, but did not solve the entire problem. Back to trying to figure out Instruments/Shark.
self.view.backgroundColor = [UIColor colorWithRed:0 green:0 blue:0 alpha:1];
Where self.view is the EAGLView itself. Apparently this was my problem. Once I took it out, the whole thing started running faster. Not entirely sure why, but then I'm not entirely sure why I had that line in there to begin with.

Edit: Looks like I spoke too soon. This helped, but did not solve the entire problem. Back to trying to figure out Instruments/Shark.
| Messages In This Thread |
|
Profiling OpenGL ES App - Nick - Feb 15, 2009, 09:11 PM
Profiling OpenGL ES App - Nick - Feb 15, 2009 09:31 PM
Profiling OpenGL ES App - Frank C. - Feb 15, 2009, 10:15 PM
Profiling OpenGL ES App - Nick - Feb 15, 2009, 10:58 PM
Profiling OpenGL ES App - Nosredna - Feb 16, 2009, 08:54 AM
Profiling OpenGL ES App - AnotherJake - Feb 16, 2009, 10:22 AM
Profiling OpenGL ES App - Nosredna - Feb 16, 2009, 11:16 AM
Profiling OpenGL ES App - Nick - Feb 16, 2009, 02:30 PM
Profiling OpenGL ES App - Frank C. - Feb 16, 2009, 03:12 PM
Profiling OpenGL ES App - AnotherJake - Feb 16, 2009, 03:16 PM
Profiling OpenGL ES App - AnotherJake - Feb 16, 2009, 03:37 PM
Profiling OpenGL ES App - Frank C. - Feb 16, 2009, 04:28 PM
Profiling OpenGL ES App - Nick - Feb 16, 2009, 04:34 PM
Profiling OpenGL ES App - Frank C. - Mar 8, 2009, 03:45 PM
Profiling OpenGL ES App - imikedaman - Mar 8, 2009, 09:13 PM
Profiling OpenGL ES App - AnotherJake - Mar 9, 2009, 08:08 AM
Profiling OpenGL ES App - dave1 - Apr 17, 2009, 02:06 PM
Profiling OpenGL ES App - riruilo - Jan 19, 2010, 07:52 AM
Profiling OpenGL ES App - warmi - Jan 19, 2010, 09:29 AM
Profiling OpenGL ES App - riruilo - Jan 19, 2010, 11:31 AM
Profiling OpenGL ES App - Frank C. - Jan 19, 2010, 08:50 PM
|
Possibly Related Threads...
| Thread: | Author | Replies: | Views: | Last Post | |
| Profiling the non-OpenGL parts of my game | monteboyd | 10 | 3,019 |
Oct 25, 2012 04:03 PM Last Post: monteboyd |
|

