office-gobmx/svgio/CppunitTest_svgio.mk
Noel Grandin e3bd776e02 Split BasePrimitive2D UNO interface into separate object
Rather than make all the BasePrimitive2D classes bear the cost of being an UNO
object, we just wrap the top level BasePrimitive2D in this class when we need
to pass them over UNO.

This reduces the locking overhead when doing normal drawinglayer operations,
and reduces the size of drawinglayer objects and the cost of initialising
them, which shaves 5% off the load/display time of a large barchart.

Add new drawinglayer::convertPrimitive2DContainerToBitmapEx utility
method to avoid needing to convert to Sequence<XPrimitive2D>

Change-Id: I553eaa4c16ba016b098cb21f6c55f5008f0d9b53
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126487
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-12-23 11:45:33 +01:00

72 lines
1.6 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_CppunitTest_CppunitTest,svgio))
$(eval $(call gb_CppunitTest_set_componentfile,svgio,svgio/svgio))
$(eval $(call gb_CppunitTest_set_include,svgio,\
$$(INCLUDE) \
-I$(SRCDIR)/svgio/inc \
))
$(eval $(call gb_CppunitTest_use_externals,svgio,\
boost_headers \
libxml2 \
))
$(eval $(call gb_CppunitTest_use_sdk_api,svgio))
$(eval $(call gb_CppunitTest_use_library_objects,svgio,\
svgio \
))
$(eval $(call gb_CppunitTest_use_libraries,svgio,\
basegfx \
drawinglayer \
drawinglayercore \
cppu \
cppuhelper \
comphelper \
sal \
salhelper \
sax \
svt \
test \
unotest \
tk \
tl \
vcl \
))
$(eval $(call gb_CppunitTest_add_exception_objects,svgio,\
svgio/qa/cppunit/SvgImportTest \
))
$(eval $(call gb_CppunitTest_use_ure,svgio))
$(eval $(call gb_CppunitTest_use_vcl,svgio))
$(eval $(call gb_CppunitTest_use_components,svgio,\
configmgr/source/configmgr \
framework/util/fwk \
i18npool/util/i18npool \
package/source/xstor/xstor \
package/util/package2 \
sax/source/expatwrap/expwrap \
sfx2/util/sfx \
toolkit/util/tk \
ucb/source/core/ucb1 \
ucb/source/ucp/file/ucpfile1 \
unotools/util/utl \
vcl/vcl.common \
))
$(eval $(call gb_CppunitTest_use_configuration,svgio))
# vim: set noet sw=4 ts=4: