vcl: move graphic handling into Qt5GraphicsBackend

Desktop / LibreOffice - Tomaž Vajngerl [collabora.co.uk] - 7 April 2021 15:46 UTC

This is an effort to make SalGraphicsImpl mandatory for all backends. This introduces Qt5GraphicsBackend: a subclass of SalGraphicsImpl, which now handles graphic rendering.

Change-Id: I42aece59d0c692ca1dd33e30f31c5bcceab02008 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113734

33da78c21f42 vcl: move graphic handling into Qt5GraphicsBackend
vcl/inc/qt5/Qt5Graphics.hxx | 207 ++++++++++++++++++++++---------------
vcl/inc/qt5/Qt5GraphicsBase.hxx | 3 +-
vcl/inc/qt5/Qt5Painter.hxx | 5 +-
vcl/inc/salgdi.hxx | 15 ++-
vcl/inc/salgdiimpl.hxx | 15 +++
vcl/qt5/Qt5Bitmap.cxx | 2 +-
vcl/qt5/Qt5Graphics.cxx | 26 +----
vcl/qt5/Qt5Graphics_GDI.cxx | 220 +++++++++++++++++++++++++---------------
vcl/qt5/Qt5Graphics_Text.cxx | 2 +-
vcl/qt5/Qt5Painter.cxx | 2 +-
10 files changed, 302 insertions(+), 195 deletions(-)

Upstream: cgit.freedesktop.org


  • Share