History

Remove mumbleUnsynchronizedFPS, which is obsolete now that the update/render rate is not in power-of-two lockstep with present rate, and which had users other than the LOD PID.

Howard Stearns committed 10 years ago

Commit 13c602e1 parent a22b25a2 files · +0 −8Browse files

Showing the changes to interface/src/Application.cpp (1 of 2 files). Show all

Unified · Split

interface/src/Application.cpp+0−6
@@ -1635,13 +1635,7 @@ void Application::paintGL() { · 1634 unmodified lines
16351635 });
16361636 }
16371637
1638− // Some LOD-like controls need to know a smoothly varying "potential" frame rate that doesn't
1639− // include time waiting for sync, and which can report a number above target if we've got the headroom.
1640− // In my tests, the following is mostly less than 0.5ms, and never more than 3ms. I don't think its worth measuring during runtime.
1641− const float paintWaitAndQTTimerAllowance = 0.001f; // seconds
1642− // Store both values now for use by next cycle.
16431638 _lastInstantaneousFps = instantaneousFps;
1644− _lastUnsynchronizedFps = 1.0f / (((usecTimestampNow() - now) / (float)USECS_PER_SECOND) + paintWaitAndQTTimerAllowance);
16451639 _pendingPaint = false;
16461640 }
16471641

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t