summaryrefslogtreecommitdiff
path: root/opencl
diff options
context:
space:
mode:
authorAshod Nakashian <ashod.nakashian@collabora.co.uk>2018-06-28 01:02:49 -0400
committerJan Holesovsky <kendy@collabora.com>2018-06-28 15:49:40 +0200
commit1056640a6e1fd044cb61f5bf5ee85dfec3cbeb7c (patch)
treec2c3639f2c072e06a530cde38ad8f81660b697ec /opencl
parente7f65920b12517b31f0c5cbfd0dcb8df96d20ba4 (diff)
sw lok: delay processing idle jobs to let LOK finish initialization
When loading document, LOK needs to setup the client view, register callbacks, get document size and type, etc. All of these need to take SolarMutex, which is taken by the idle jobs immediately after loading, blocking LOK from finishing initialization and rendering the first tiles for the user. This gives the user the impression that the document is loading for far longer than it actually is, due to lack of interactivity (or indeed any activity on the screen besides the spinning wheel). By delaying the idle jobs, we allow time for LOK to finish initialization and render the first tiles before the idle jobs kick in and hog SolarMutex. Change-Id: Ic6f437bfd6f43dfed2aaa1a9d3510d43f5ec30ae Reviewed-on: https://gerrit.libreoffice.org/56572 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com>
Diffstat (limited to 'opencl')
0 files changed, 0 insertions, 0 deletions