PolloDiablo / Norland

Epic Fantasy Boat Combat for Android
Other
1 stars 0 forks source link

Performance Profiling + Possible Improvements #3

Open tflinz opened 9 years ago

tflinz commented 9 years ago

Go through and look at the main game loop, and see what's eating up all the cycles.

The 1st few levels are fine (ie. just ship plus icebergs), but adding in more enemies is creating some issues.

Initial profiling seems to indicate:

in GlRenderer.onDrawFrame, it is what uses most of the cycles.

Within in that,
PolloDiablo commented 9 years ago

See Appendix D of this book for some OpenGL info: http://www.ece.uvic.ca/~frodo/waveletbook/downloads/multiresolution_signal_and_geometry_processing-2013-09-26-uvic.pdf

Keep in mind we are using OpenGL ES not just OpenGL, but there should be some similarities.