Skip to content

effects: Added more options to the show-fps effect

Gustavo Silvera requested to merge goosers/kwin:show-fps-options into master

Note: this is a (cleaned up) version of this MR with all final changes squashed into a single commit.

  • Added option to remove the frametime graph.
  • Added option to remove the "this is a benchmark" message.
  • Location of the FPS counter is by default on the "active" monitor
  • Made the FPS counter no longer hard capped to 100 (useful for high refresh rate displays)
    • Automatically detects the highest refresh rate across all monitors and caps the framerate at that
    • Added option to colorize the text based off the FPS value in relation to the highest recorded FPS
      • eg. On 60hz monitor: 60-45: green, 45-30: yellow, 30-15: red, <15: black

Merge request reports