Use the OpenGL ES Analysis and OpenGL ES Driver tools in Instruments for a deeper understanding of run-time performance. These gauges are visible whenever you run your app from Xcode, making it easy to spot changes in performance while developing your app. Monitor the Xcode debug gauges for a general overview of performance. Xcode and Instruments include tools to help you identify performance and correctness problems in your app. Unless otherwise labeled, the advice in this chapter pertains to all versions of OpenGL ES.ĭebug and Profile Your App with Xcode and Instrumentsĭon’t optimize your app until you test its performance in a variety of scenarios on a variety of devices. Later chapters describe many techniques to improve your app’s performance this chapter covers overall strategies. Rendering your graphics data inefficiently can result in a poor frame rate or dramatically reduce the battery life of an iOS-based device. Embedded GPUs are optimized for lower memory and power usage, using algorithms different from those a typical desktop or laptop GPU might use. Although powerful computing devices, iOS–based devices do not have the memory or CPU power that desktop or laptop computers possess. The performance of OpenGL ES apps in iOS differs from that of OpenGL in OS X or other desktop operating systems. To create high-performance code on GPUs, use the Metal framework instead.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |