getFrameCounter
GdkFrameClock
maintains a 64-bit counter that increments for each frame drawn.
Return
inside frame processing, the value of the frame counter for the current frame. Outside of frame processing, the frame counter for the last frame.