diff options
author | Caolán McNamara <caolanm@redhat.com> | 2022-12-20 15:15:22 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2022-12-21 19:14:53 +0000 |
commit | ff46c8bf598481ae37022414f3495c1e9385eb7c (patch) | |
tree | c74fc10675f9c4c61e13a50b98d55b06f4ce5754 /vcl/headless | |
parent | 179f50f810dfa1779de5c1f212f3887031e5567d (diff) |
initial Experimental System-Dependent PrimitiveRenderer for Cairo
just some partial pieces
export TEST_SYSTEM_PRIMITIVE_RENDERER=1
and the simple drawing shapes work
Change-Id: I3e01501a1cb21ec86d6fe8f5637a23e7358ffc86
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144632
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/headless')
-rw-r--r-- | vcl/headless/svpgdi.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/vcl/headless/svpgdi.cxx b/vcl/headless/svpgdi.cxx index 322dab644f2a..a7ce0e3c769e 100644 --- a/vcl/headless/svpgdi.cxx +++ b/vcl/headless/svpgdi.cxx @@ -90,7 +90,9 @@ css::uno::Any SvpSalGraphics::GetNativeSurfaceHandle(cairo::SurfaceSharedPtr& /* SystemGraphicsData SvpSalGraphics::GetGraphicsData() const { - return SystemGraphicsData(); + SystemGraphicsData aGraphicsData; + aGraphicsData.pSurface = m_aCairoCommon.m_pSurface; + return aGraphicsData; } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |