wsd/DocumentBroker.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 6cbd1445cdc6451aa0a93cb8700fe967194228df
Author:     Tamás Zolnai <[email protected]>
AuthorDate: Wed Sep 26 22:15:41 2018 +0200
Commit:     Jan Holesovsky <[email protected]>
CommitDate: Mon Oct 1 12:48:44 2018 +0200

    Better to have a smaller tiles-on-fly limit
    
    It's good if this limit big enough to send all the tiles of the
    current visible area at once, so the tiles arrive at the same
    time to the client by zoom or scroll. Now this value is set to a bit
    bigger so if we have a small amount of tiles before zoom / scroll we'll
    still see the same on the client side.
    
    (cherry picked from commit a1e2acd5effb1c805f06c78040b71d30fb821be4)
    
    Change-Id: I8e28dbf6197fe2f683fe9528e9a32c15a191b20e
    Reviewed-on: https://gerrit.libreoffice.org/61128
    Reviewed-by: Jan Holesovsky <[email protected]>
    Tested-by: Jan Holesovsky <[email protected]>

diff --git a/wsd/DocumentBroker.cpp b/wsd/DocumentBroker.cpp
index 764054d1b..c6b589899 100644
--- a/wsd/DocumentBroker.cpp
+++ b/wsd/DocumentBroker.cpp
@@ -1406,7 +1406,7 @@ void DocumentBroker::sendRequestedTiles(const 
std::shared_ptr<ClientSession>& se
                                      std::ceil(normalizedVisArea._y1 / 
session->getTileHeightInTwips()) + 1;
         const int tilesInVisArea = tilesFitOnWidth * tilesFitOnHeight;
 
-        tilesOnFlyUpperLimit = std::max(TILES_ON_FLY_MIN_UPPER_LIMIT, 
tilesInVisArea * 1.5f);
+        tilesOnFlyUpperLimit = std::max(TILES_ON_FLY_MIN_UPPER_LIMIT, 
tilesInVisArea * 1.1f);
     }
     else
     {
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to