diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2019-11-06 10:20:32 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2019-11-26 13:24:55 +0100 |
commit | 89fdc15a14e9c88c330b3056e0c2b4a833f0ff0a (patch) | |
tree | 4978e1651086976f97c03da7eb6c4687c903d94b | |
parent | add SAL log group vcl.skia for tracing Skia usage (diff) | |
download | core-89fdc15a14e9c88c330b3056e0c2b4a833f0ff0a.tar.gz core-89fdc15a14e9c88c330b3056e0c2b4a833f0ff0a.zip |
make visualbackendtest draw at more than 60FPS
Not much point in showing the FPS if there's an upper limit on it
and many backends can reach it.
Note that with SAL_USE_VCLPLUGIN=gen this needs also
SAL_HIGHPRIORITY_REPAINT=1 in order to get the maximum FPS.
Change-Id: I18705bae81585d46bcaad658cc0c0c2158d89c30
-rw-r--r-- | vcl/backendtest/VisualBackendTest.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/backendtest/VisualBackendTest.cxx b/vcl/backendtest/VisualBackendTest.cxx index 10000d79f671..b2818f42e675 100644 --- a/vcl/backendtest/VisualBackendTest.cxx +++ b/vcl/backendtest/VisualBackendTest.cxx @@ -489,7 +489,7 @@ IMPL_LINK_NOARG(VisualBackendTestWindow, updateHdl, Timer *, void) { if (mbAnimate) { - maUpdateTimer.SetTimeout(1000.0 / 60.0); + maUpdateTimer.SetTimeout(1.0); maUpdateTimer.Start(); Invalidate(); } |