summaryrefslogtreecommitdiff
path: root/desktop/inc
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@collabora.co.uk>2024-05-03 20:16:52 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2024-05-07 08:46:47 +0200
commit7d1242b01d3ad9be1cfcf2bd3fbee9ce63dddddf (patch)
tree45defd32c29e3c3fa0fd84149be1d28fd5601990 /desktop/inc
parent1de066d04f73a0e901e875597b8244a3ecdf624c (diff)
move opencl check at startup inside its own thread
shaves 30% off the startup time for me. Change-Id: Ibabb2a6b283243aaaaafb8257e99e82e2ef112c4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167100 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'desktop/inc')
-rw-r--r--desktop/inc/app.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/desktop/inc/app.hxx b/desktop/inc/app.hxx
index 0c96240f1b0d..7a789b59b55a 100644
--- a/desktop/inc/app.hxx
+++ b/desktop/inc/app.hxx
@@ -169,6 +169,7 @@ class Desktop final : public Application
std::unique_ptr<Lockfile> m_xLockfile;
Timer m_firstRunTimer;
std::thread m_aUpdateThread;
+ std::thread m_aOpenCLCheckThread;
};
OUString GetURL_Impl(