vcl/backendtest/VisualBackendTest.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 3de02c68cd9a3bcfe7cc4c6c526f6c9d853651b2 Author: Luboš Luňák <[email protected]> AuthorDate: Tue Nov 26 15:49:07 2019 +0100 Commit: Luboš Luňák <[email protected]> CommitDate: Wed Nov 27 09:53:07 2019 +0100 use idle priority in visualbackendtest At least Skia and OpenGL use POST_PAINT priority for flushing drawn contents to the screen. Using the higher REPAINT priority here could mean that actually showing the contents would not happen. Also, at least with Skia+Vulkan, it seems that Skia could queue commands indefinitely, eventually running out of resources. Change-Id: Ia3969bad18d710b006325a0fba11dc318ff93786 diff --git a/vcl/backendtest/VisualBackendTest.cxx b/vcl/backendtest/VisualBackendTest.cxx index cab225918087..47b4149ef324 100644 --- a/vcl/backendtest/VisualBackendTest.cxx +++ b/vcl/backendtest/VisualBackendTest.cxx @@ -103,7 +103,7 @@ public: , mpVDev(VclPtr<VirtualDevice>::Create()) { maUpdateTimer.SetInvokeHandler(LINK(this, VisualBackendTestWindow, updateHdl)); - maUpdateTimer.SetPriority(TaskPriority::REPAINT); + maUpdateTimer.SetPriority(TaskPriority::DEFAULT_IDLE); if (mbAnimate) { maUpdateTimer.SetTimeout(1000.0); _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
