default
default

Reputation: 2757

How to View Number of OpenGL Draw Calls In XCode

In XCode, I can click "Analyze" in the Debug Navigator to capture an OpenGL frame. It will show me the total number of OpenGL calls. However, I am interested in only the number of draw calls. Is there any way to get this information?

Upvotes: 1

Views: 814

Answers (1)

rickster
rickster

Reputation: 126127

Are you interested in examining only draw calls in the sequence of captured OpenGL ES commands, or in a statistic that counts only draw calls?

For the former, click the flag button at the lower left of the navigator after capturing a frame:

For the latter, switch one of the variables views (in the debug area at the bottom of the Xcode window) to show the Auto view, and look in the Frame Statistics section:

For more on the Xcode OpenGL ES frame debugger, check out Apple's guide.

Upvotes: 1

Related Questions