mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 19:59:28 +02:00
Change present rate to be an average over 1/10th of a second
This commit is contained in:
parent
e256f7cccc
commit
27293c342c
1 changed files with 4 additions and 4 deletions
|
@ -114,10 +114,10 @@ protected:
|
||||||
bool _vsyncEnabled { true };
|
bool _vsyncEnabled { true };
|
||||||
QThread* _presentThread{ nullptr };
|
QThread* _presentThread{ nullptr };
|
||||||
std::queue<gpu::FramePointer> _newFrameQueue;
|
std::queue<gpu::FramePointer> _newFrameQueue;
|
||||||
RateCounter<> _droppedFrameRate;
|
RateCounter<100> _droppedFrameRate;
|
||||||
RateCounter<> _newFrameRate;
|
RateCounter<100> _newFrameRate;
|
||||||
RateCounter<> _presentRate;
|
RateCounter<100> _presentRate;
|
||||||
RateCounter<> _renderRate;
|
RateCounter<100> _renderRate;
|
||||||
|
|
||||||
gpu::FramePointer _currentFrame;
|
gpu::FramePointer _currentFrame;
|
||||||
gpu::Frame* _lastFrame { nullptr };
|
gpu::Frame* _lastFrame { nullptr };
|
||||||
|
|
Loading…
Reference in a new issue