summaryrefslogtreecommitdiff
path: root/desktop/source/app/opencl.cxx
diff options
context:
space:
mode:
authorAshod Nakashian <ashod.nakashian@collabora.co.uk>2019-11-30 18:14:06 -0500
committerMichael Meeks <michael.meeks@collabora.com>2019-12-03 09:47:25 +0100
commitb31c39cbc843e77c8d97dbb2e559b48b21202ba6 (patch)
tree7e9847320608d0b3d0d5349ce1baad87d91c50fb /desktop/source/app/opencl.cxx
parentc4ef1caaeada44750cb420cc755532e5df1c5fb9 (diff)
desktop: disable callback handling while changing the view
When changing the view, some components are disabled and re-enabled. This triggers a flood of invalidations that then result in rendering requests. For each rendering the view is set, which triggers more invalidations. The Sidebar suffers from this, and it causes cpu pegging. This fix prevents this issue by disabling all callbacks during setView. Change-Id: If6b93b2ab31f568a0761f15d945a43de1bc2d4d0 Reviewed-on: https://gerrit.libreoffice.org/84184 Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> Tested-by: Ashod Nakashian <ashnakash@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/84226 Tested-by: Jenkins Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'desktop/source/app/opencl.cxx')
0 files changed, 0 insertions, 0 deletions