You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Vlad Zahorodnii 1dd3c7e8ba [effects/showfps] Calculate "correct" FPS
Summary:
cca0e15b45 broke code that calculates the value of the fps counter.

The frames field stores timestamps of previous frames, not time between
each two consecutive frames.

This change doesn't attempt to make the show fps compute more accurate
performance metrics, e.g. how much times it takes to execute rendering
commands on the GPU, etc.

Test Plan: The Show FPS effect displays more sensible values.

Reviewers: #kwin, davidedmundson

Reviewed By: #kwin, davidedmundson

Subscribers: davidedmundson, broulik, kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D29247
4 years ago
..
CMakeLists.txt Reduce the amount of objects that are compiled several times 5 years ago
showfps.cpp [effects/showfps] Calculate "correct" FPS 4 years ago
showfps.h [effects/showfps] Calculate "correct" FPS 4 years ago
showfps.kcfg [effects] Use arg="true" in the kcfg files 8 years ago
showfps_config.cpp [effects] Use arg="true" in the kcfg files 8 years ago
showfps_config.desktop SVN_SILENT made messages (.desktop file) - always resolve ours 5 years ago
showfps_config.h Use nullptr everywhere 5 years ago
showfps_config.ui
showfpsconfig.kcfgc