diff options
author | Ashod Nakashian <ashod.nakashian@collabora.co.uk> | 2016-05-28 10:20:10 -0400 |
---|---|---|
committer | Ashod Nakashian <ashnakash@gmail.com> | 2016-05-28 16:53:02 +0000 |
commit | 56e290acca0f51f1aa888f9e7787cfcdc6bb8fd9 (patch) | |
tree | 418098ef9170c990684fea4a568b4fd94a1b02c6 /helpcontent2 | |
parent | b0c0d4eff911a1d2619c0cac5a0e86220d9747ab (diff) |
bccu#1845 - Calc tile rendering very slow
For some reason trying to draw exactly the
region of the tile results in black tiles.
That is, when the top rows and left columns
are not drawn, black tiles show.
This patch still reduces the time to render
a given tile by limiting the bottom-most row
and right-most column to the max necessary.
For large tabs rendering the first few 100
rows is very fast (<100ms at most).
More work is necessary to reduce drawing time
for large sheets (when rendering tiles at the
bottom). Still, even those slow bottom-rows
are now faster with this patch.
Currently the slowest function by far is
ScGridWindow::DrawContent.
Change-Id: I6e88c7b3a1c483bf43bfcfb38f4b41ffc08a9744
Reviewed-on: https://gerrit.libreoffice.org/25586
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
Diffstat (limited to 'helpcontent2')
0 files changed, 0 insertions, 0 deletions