delay, collect and compress LOK invalidations for Writer views
commitcb60edbc2c0725f0309a5b934f41e999a1fe0c5f
authorLuboš Luňák <l.lunak@collabora.com>
Tue, 12 Oct 2021 12:24:44 +0000 (12 14:24 +0200)
committerLuboš Luňák <l.lunak@collabora.com>
Fri, 15 Oct 2021 11:40:30 +0000 (15 13:40 +0200)
tree6941072413b55874a0c794d33dc4391abf5f710a
parent3b729db05553c1a6d461fb41c89a05702f407448
delay, collect and compress LOK invalidations for Writer views

Due the to way views are updated on any document change, invalidations
are at least O(n^2), and since LOK may use a number of views and
for each view the entire document is considered to be the view area,
this can lead to a huge number of invalidations that are mostly
the same repeated rectangles.

Change-Id: I63682958d2fc388344641dcd19fa1d2b39054b51
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123617
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
12 files changed:
desktop/inc/lib/init.hxx
desktop/source/lib/init.cxx
include/sfx2/viewsh.hxx
sfx2/source/view/viewsh.cxx
sw/inc/view.hxx
sw/inc/viewsh.hxx
sw/qa/core/txtnode/txtnode.cxx
sw/qa/extras/tiledrendering/tiledrendering.cxx
sw/source/core/inc/viewimp.hxx
sw/source/core/view/viewimp.cxx
sw/source/core/view/viewsh.cxx
sw/source/uibase/uiview/view.cxx