Qt5 implement SalSurface support for cairo

Desktop / LibreOffice - Jan-Marek Glogowski [fbihome.de] - 28 May 2019 14:17 EDT

Current qt5+cairo uses the plain VCL canvas. This patch is just a copy of Gtk3Surface (minus comments) with a different update call. This way the Cairo path now uses the Cairo canvas instead.

It fixes at least tdf#122668 for me, but other Impress bugs might be fixed this way too.

Change-Id: Iba511c851001753328293c28e53eaa4acc4315d0 Reviewed-on: https://gerrit.libreoffice.org/72921

86cab846c1a1 Qt5 implement SalSurface support for cairo
vcl/Library_vclplug_qt5.mk | 2 ++
vcl/inc/qt5/Qt5Frame.hxx | 23 +++++++------
vcl/inc/qt5/Qt5SvpGraphics.hxx | 46 +++++++++++++++++++++++++
vcl/inc/qt5/Qt5SvpSurface.hxx | 46 +++++++++++++++++++++++++
vcl/qt5/Qt5Frame.cxx | 32 ++++++++++++------
vcl/qt5/Qt5SvpGraphics.cxx | 52 ++++++++++++++++++++++++++++
vcl/qt5/Qt5SvpSurface.cxx | 73 ++++++++++++++++++++++++++++++++++++++++
vcl/qt5/Qt5Widget.cxx | 2 +-
vcl/unx/kde5/KDE5SalFrame.cxx | 4 +--
vcl/unx/kde5/KDE5SalGraphics.cxx | 2 +-
vcl/unx/kde5/KDE5SalGraphics.hxx | 3 +-
11 files changed, 259 insertions(+), 26 deletions(-)

Upstream: cgit.freedesktop.org


  • Share