Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode FPS Debug Gauge always show 0 FPS

I have a game in Xcode 6.1.1 using OpenGL ES 3.0, targeting iPad Air. When I capture OpenGL ES frame, the FPS number and shader program time always show 0.

I have enabled "GPU Frame Capture" option in project scheme. Frame rendering is called by CADisplayLink in a non-main thread.

How can I get the correct FPS nubmer and program time?

like image 782
user3239388 Avatar asked Feb 11 '23 09:02

user3239388


1 Answers

Next to the Run Button click on your project and then > Edit Scheme ... > Run Configuration > Options > GPU Frame Capture > choose OpenGL ES.

Xcode > Edit Scheme > Run Configuration > Options > GPU Frame Capture > OpenGL ES

like image 98
JeanLuc Avatar answered Feb 13 '23 06:02

JeanLuc