JetBrains / JetBrainsRuntime

Runtime environment based on OpenJDK for running IntelliJ Platform-based products on Windows, macOS, and Linux
GNU General Public License v2.0
1.21k stars 188 forks source link

JBR-7028 Implement FPS counter on Linux #372

Closed mkartashev closed 2 months ago

mkartashev commented 2 months ago

JBR-7028 Implement FPS counter on Linux

Please review this from the point of view of usability both on the provider and the supplier side. We will add JBRApi for external access in a separate commit.

I suggest that those toolkits that can provide more or less reliable hardware FPS use the same counter name; here, it is java2d.native.frames, but any other will do as well.

mkartashev commented 2 months ago

Merged into jbr21 as 9d011d23dfd61f82892a98a072eb88016debcf50 A separate commit will be prepared for main as it lacks the Wayland toolkit.