ios - Xcode FPS Debug Gauge always show 0 FPS -


i have game in xcode 6.1.1 using opengl es 3.0, targeting ipad air. when capture opengl es frame, fps number , shader program time show 0.

i have enabled "gpu frame capture" option in project scheme. frame rendering called cadisplaylink in non-main thread.

how can correct fps nubmer , program time?

i came across similar issue. if implement uiviewcontroller setting eaglcontext layer xcode not display measurements except memory , cpu performance,instead of should use glkviewcontroller implementation.

for example:

replace below line

   @interface myrenderingview : uiviewcontroller <...>{...} 

with

   @interface myrenderingview : glkviewcontroller <...>{...} 

this makes difference.

another way:

use "xcode->opendevelopertool->instruments->gpu driver" run app, tool displays fps , other gpu information needed.


Popular posts from this blog

c# - ODP.NET Oracle.ManagedDataAccess causes ORA-12537 network session end of file -

matlab - Compression and Decompression of ECG Signal using HUFFMAN ALGORITHM -

utf 8 - split utf-8 string into bytes in python -