libreoffice-online/common
Michael Meeks 36818e9153 tiles: track invalidation by monotonic timestamp.
We want to keep pre-loaded, and invalidated tiles around so that
we have something to render in lots of cases, particularly for
other parts, and slides. However - we need to know that it is
invalid so we can on-demand fetch something better.

It is very important that this invalid state doesn't race with
tile arrivals ie. in a banal way:

	invalidate, req, invalidate, req, tile, invalidate, req, tile

it is unclear whether the latest tile is still invalid; similarly,
if we request(req) a tile and there is no change to it we get no
response.

To disambiguate this, use the monotonic wid to check we are in-sync.

Re-factor:
	setup debug tile layer more pro-active.y
	rename HasContent to NeedsFetch to be more explicit.

Remove:
	previous _invalidCount that was perhaps a similar idea.
	previous .loaded concept.
	previous _pruneTiles concept - now it seems we can be
	confident in cached tiles from other slides and sheets.

Change-Id: Ibc6d3b6050e756ace91a9bd53d3e4efe12b023cf
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2023-07-03 20:27:07 +01:00
..
Authorization.cpp
Authorization.hpp
Clipboard.hpp
CommandControl.cpp
CommandControl.hpp
Common.hpp
ConfigUtil.cpp
ConfigUtil.hpp
Crypto.cpp
Crypto.hpp
DummyTraceEventEmitter.cpp
FileUtil.cpp Add debug option that allows tile dumping 2023-06-05 08:59:39 +01:00
FileUtil.hpp Add debug option that allows tile dumping 2023-06-05 08:59:39 +01:00
JailUtil.cpp wsd: random device mounting 2023-06-23 18:13:59 +02:00
JailUtil.hpp Jail cleanup - include coolwsd pid + hash into a jails sub-directory. 2023-04-25 10:41:57 +01:00
JsonUtil.hpp wsd: exact-match JSON entries first 2023-05-22 09:34:29 -04:00
LangUtil.hpp Fix issue #5841 welcome, feedback, and buy product URLs are empty on mobile 2023-03-15 09:29:56 +01:00
Log.cpp
Log.hpp wsd: move streaming operator overloads 2023-05-10 08:46:11 -04:00
Message.hpp
MessageQueue.cpp Kill canceltiles support completely. 2023-06-22 09:35:22 +01:00
MessageQueue.hpp
MobileApp.cpp Suppress or fix all iOS compiler warnings without changing any code 2023-05-16 09:43:29 +02:00
MobileApp.hpp
Png.hpp Fix issue #5840 by not using base64 encoding for PNG data 2023-02-20 21:33:46 +01:00
Protocol.cpp use more string_view 2023-06-15 13:29:04 +02:00
Protocol.hpp Kill canceltiles support completely. 2023-06-22 09:35:22 +01:00
Rectangle.hpp
RenderTiles.hpp tiles: track invalidation by monotonic timestamp. 2023-07-03 20:27:07 +01:00
Seccomp.cpp
Seccomp.hpp
security.h cid#318910 Logically dead code 2023-06-21 08:40:21 +02:00
Session.cpp Replace preprocessor directives with C++ conditional check 2023-06-15 19:01:42 +01:00
Session.hpp a11y: add config for enable/disable accessibility in general 2023-06-08 00:00:51 +02:00
SigUtil.cpp wsd: signal handlers must preserve errno 2023-06-14 07:04:26 -04:00
SigUtil.hpp Add missing headers that cause compiler errors on newest compilers. 2023-04-27 10:47:29 +03:00
SpookyV2.cpp
SpookyV2.h
StateEnum.hpp
StringVector.cpp
StringVector.hpp Related: #6514 removeCallbackDuplicate only needs up to 4 tokens 2023-06-07 08:54:27 +01:00
TraceEvent.cpp
TraceEvent.hpp wsd: some clang-tidy warning fixes 2023-06-30 21:45:40 +02:00
Unit.cpp wsd: test: better test timeout thread management 2023-06-14 07:04:26 -04:00
Unit.hpp wsd: test: initialize logs before unit-tests 2023-05-31 07:40:11 -04:00
Util.cpp cid#318835 COPY_INSTEAD_OF_MOVE 2023-06-29 08:03:00 -04:00
Util.hpp cid#318835 COPY_INSTEAD_OF_MOVE 2023-06-29 08:03:00 -04:00