mirror of
https://github.com/LibreOffice/core.git
synced 2025-07-22 01:09:00 +00:00

Which dramatically speeds up switching between sheets in the referenced document. The problem here is that we have a timer for each buffered primitive. And we have a lot of primitives here. And the TimerManager does not scale well to lots and lots of timer, because it uses a linked list. So this change modifies the flushing mechanism, trading off some precision for some speed. Change-Id: I66a744f06af9b08d4e9b797d11db8d22f4060789 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/182876 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
58 lines
1.7 KiB
Makefile
58 lines
1.7 KiB
Makefile
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
|
#
|
|
# 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/.
|
|
#
|
|
|
|
$(eval $(call gb_Library_Library,drawinglayercore))
|
|
|
|
$(eval $(call gb_Library_set_include,drawinglayercore,\
|
|
$$(INCLUDE) \
|
|
-I$(SRCDIR)/drawinglayer/inc \
|
|
))
|
|
|
|
$(eval $(call gb_Library_add_defs,drawinglayercore,\
|
|
-DDRAWINGLAYERCORE_DLLIMPLEMENTATION \
|
|
))
|
|
|
|
$(eval $(call gb_Library_set_precompiled_header,drawinglayercore,drawinglayer/inc/pch/precompiled_drawinglayercore))
|
|
|
|
$(eval $(call gb_Library_use_sdk_api,drawinglayercore))
|
|
|
|
$(eval $(call gb_Library_use_externals,drawinglayercore,\
|
|
boost_headers \
|
|
))
|
|
|
|
$(eval $(call gb_Library_use_libraries,drawinglayercore,\
|
|
basegfx \
|
|
comphelper \
|
|
cppu \
|
|
cppuhelper \
|
|
i18nlangtag \
|
|
sal \
|
|
salhelper \
|
|
svl \
|
|
tl \
|
|
utl \
|
|
))
|
|
|
|
$(eval $(call gb_Library_use_custom_headers,drawinglayercore,\
|
|
officecfg/registry \
|
|
))
|
|
|
|
$(eval $(call gb_Library_add_exception_objects,drawinglayercore,\
|
|
drawinglayer/source/primitive2d/baseprimitive2d \
|
|
drawinglayer/source/primitive2d/BufferedDecompositionPrimitive2D \
|
|
drawinglayer/source/primitive2d/BufferedDecompositionFlusher \
|
|
drawinglayer/source/primitive2d/BufferedDecompositionGroupPrimitive2D \
|
|
drawinglayer/source/primitive2d/Primitive2DContainer \
|
|
drawinglayer/source/primitive2d/groupprimitive2d \
|
|
drawinglayer/source/primitive2d/Tools \
|
|
drawinglayer/source/geometry/viewinformation2d \
|
|
))
|
|
|
|
# vim: set noet sw=4 ts=4:
|