diff options
author | Tamás Zolnai <tamas.zolnai@collabora.com> | 2018-09-26 22:15:37 +0200 |
---|---|---|
committer | Tamás Zolnai <tamas.zolnai@collabora.com> | 2018-09-29 09:27:06 +0200 |
commit | 9683f53a9c81dfcb9624705cbeeed48ec426ca3b (patch) | |
tree | 4a0c8252f1a28367a31cff6d7b16dc3badd9a940 /wsd/TestStubs.cpp | |
parent | Don't send tiles which was changed outside of the visible area (diff) | |
download | online-9683f53a9c81dfcb9624705cbeeed48ec426ca3b.tar.gz online-9683f53a9c81dfcb9624705cbeeed48ec426ca3b.zip |
Filter out tiles by wired on wsd side too
Some times tiles with the same wireID survives the wireID
filtering in kit, so we should do that in wsd too.
The issue is with the tilesBeingRendered construction. First when
one tile is filtered out on kit side the client remains subcribed
to the tile, since wsd does not know filtering happened.
Second via the tilesBeingRendered object more clients can be subcribed
to the same tile and so when one client request a new version of this
tile (with an old wireID) the rendered tile is sent to all subscribed
clients even if the other clients has up-to-date tiles.
Change-Id: I4ca6b7a83a5d6979a9f924d766a71aba5e5362c7
Diffstat (limited to 'wsd/TestStubs.cpp')
-rw-r--r-- | wsd/TestStubs.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/wsd/TestStubs.cpp b/wsd/TestStubs.cpp index af4231e5d6..405b7a6c43 100644 --- a/wsd/TestStubs.cpp +++ b/wsd/TestStubs.cpp @@ -28,4 +28,6 @@ void ClientSession::traceUnSubscribeToTile(const std::string& /*tileCacheName*/) void ClientSession::clearTileSubscription() {}; +void ClientSession::enqueueSendMessage(const std::shared_ptr<Message>& /*data*/) {}; + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |