|
Krita Source Code Documentation
|
Struct used to keep track of all frame time variance and accommodate for skipped frames. Also tracks whether a frame is still being loaded by the display proxy. More...
Public Member Functions | |
| FrameMeasure () | |
| void | reset () |
Public Attributes | |
| KisRollingMeanAccumulatorWrapper | averageTimePerFrame |
| KisRollingSumAccumulatorWrapper | droppedFramesStat |
| QElapsedTimer | timeSinceLastFrame |
| bool | waitingForFrame |
Static Public Attributes | |
| static constexpr int | frameStatsWindow = 50 |
Struct used to keep track of all frame time variance and accommodate for skipped frames. Also tracks whether a frame is still being loaded by the display proxy.
Only allocated when playback begins.
Definition at line 125 of file KisPlaybackEngineQT.cpp.
|
inline |
Definition at line 128 of file KisPlaybackEngineQT.cpp.
|
inline |
Definition at line 137 of file KisPlaybackEngineQT.cpp.
| KisRollingMeanAccumulatorWrapper FrameMeasure::averageTimePerFrame |
Definition at line 145 of file KisPlaybackEngineQT.cpp.
| KisRollingSumAccumulatorWrapper FrameMeasure::droppedFramesStat |
Definition at line 148 of file KisPlaybackEngineQT.cpp.
|
staticconstexpr |
Definition at line 126 of file KisPlaybackEngineQT.cpp.
| QElapsedTimer FrameMeasure::timeSinceLastFrame |
Definition at line 144 of file KisPlaybackEngineQT.cpp.
| bool FrameMeasure::waitingForFrame |
Definition at line 146 of file KisPlaybackEngineQT.cpp.