Tamás Zolnai
5260eae05f
Avoid rendering / sending the same tile twice
...
When we're doing the prerendering we also need to register
a tileBeingRendered object, so we know that the given tile
will arrive soon. In earlier version of the code, rendering
and sending of the tile was not separated in time, but now it is,
so we need create a tileBeingRendered object even if we don't
subscribe the client to it yet.
Change-Id: I1374c22e5ffebe1d6fcc6e37261ddcedeb9066ec
2018-09-29 09:27:06 +02:00
Miklos Vajna
9ed7c1065c
common, kit, test, wsd: these parameters are copied for each invocation ...
...
... but passing by const ref is enough
2018-08-13 09:26:15 +02:00
Tamás Zolnai
8d95ca7165
Make client tilesBeingRendered tracking more robust
...
Store the tile cache names and drop outdated tiles
times to times, so we can avoid tile rendering / sending to
stuck.
Change-Id: Ibff001307c7c660cbc57ab20c29c430e0090444d
2018-07-31 15:44:15 +02:00
Tamás Zolnai
30cdbc330b
Unused method
...
Change-Id: I53c2a33313fbcd3cd0484c0e8a27985c673ad04e
2018-07-31 15:02:25 +02:00
Tamás Zolnai
c2a5f6acb0
Store number of tiles sent to kit for rendering
...
and use that info also to avoid sending to much tiles on the network.
Change-Id: Iab2d7af64693047a3c1cfe9f73de80a7100bbc13
2018-07-24 20:52:53 +02:00
Tamás Zolnai
4e2b50dc0f
Check whether tile rendering request was already sent
...
Change-Id: Iceb559106dcd95d6ff7db67df76cdfb04f9fb7e0
2018-07-19 14:12:27 +02:00
Tamás Zolnai
57cdd68fcf
Request new tiles in wsd by invalidateTiles message
...
And don't wait for the client to send back a tilecombine
request.
Change-Id: I9ea5de0f6b12dfaaf61992d34735d5b78ea382ed
2018-07-19 14:09:49 +02:00
Michael Meeks
d43589c343
Replace now un-used locking with thread affinity assertions.
...
Change-Id: I8c08d1618404740e9dc1d5ff2cb7d9d460ca2be5
2017-06-22 18:41:16 +01:00
Jan Holesovsky
ba3b32aad1
Clean the cache even when the document was not modified.
...
And rename the option, to match better the existing tile cache setting.
Change-Id: Iea5c2c5628a403dd2dc3e2943cd858f40e2a2ebc
2017-04-12 20:04:30 +02:00
Jan Holesovsky
91bf720ba3
Fix error handling in reading of the cached values.
...
Change-Id: I9f56f09786feb11326707d19cc0367a027ebefff
2017-01-17 16:55:20 +01:00
Noel Grandin
6c0022fb10
loplugin:staticmethods
...
Change-Id: Idf9596cfbbd6eef77e6271a1108d64dae864ed27
Reviewed-on: https://gerrit.libreoffice.org/32366
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
2016-12-27 10:34:20 +00:00
Michael Meeks
cca657c8f2
Apply the pre-branch rename script to re-organize the source.
2016-11-25 09:58:48 +00:00