9683f53a9c
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
33 lines
1,010 B
C++
33 lines
1,010 B
C++
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
|
|
/*
|
|
* This file is part of the LibreOffice project.
|
|
*
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
*/
|
|
|
|
/*
|
|
* Stub missing symbols required for unit tests ...
|
|
*/
|
|
|
|
#include <config.h>
|
|
|
|
#include "DocumentBroker.hpp"
|
|
|
|
#include "ClientSession.hpp"
|
|
|
|
void DocumentBroker::assertCorrectThread() const {}
|
|
|
|
|
|
void ClientSession::traceTileBySend(const TileDesc& /*tile*/, bool /*deduplicated = false*/) {}
|
|
|
|
void ClientSession::traceSubscribeToTile(const std::string& /*tileCacheName*/) {};
|
|
|
|
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: */
|