public interface FrameDataCallback
| Modifier and Type | Method and Description |
|---|---|
void |
doFrame(long previousFrameNS,
long currentFrameNS,
int droppedFrames)
this is called for every doFrame() on the choreographer callback
use this very judiciously.
|
void doFrame(long previousFrameNS,
long currentFrameNS,
int droppedFrames)
previousFrameNS - previous vsync frame time in NScurrentFrameNS - current vsync frame time in NSdroppedFrames - number of dropped frames between current and previous times