When typing a single letter to an empty document with an A4 paper size, this reduces the number of rendered tiles from 20 to 3.
It also allows detecting when LOK_CALLBACK_INVALIDATE_TILES has a buggy parameter (e.g. empty rectangle -> no re-rendering).
86fba50 lokdocview: add support for partial rendering
libreofficekit/source/gtk/lokdocview.c | 149 +++++++++++++++++++++++---------
1 file changed, 109 insertions(+), 40 deletions(-)
Upstream: cgit.freedesktop.org