vcl: support pre-computed glyph items in OutputDevice::ImplLayout()

Desktop / LibreOffice - Miklos Vajna [collabora.co.uk] - 16 August 2018 15:32 EDT

This allows using the SalLayoutGlyphs obtained from GenericSalLayout::GetGlyphs() to return early in GenericSalLayout::LayoutText().

Change-Id: If3a004f983f3578915786668bfcada00227d2eeb Reviewed-on: https://gerrit.libreoffice.org/59169

46b3a2401d37 vcl: support pre-computed glyph items in OutputDevice::ImplLayout()
include/vcl/outdev.hxx | 5 ++++-
include/vcl/vcllayout.hxx | 2 +-
vcl/inc/sallayout.hxx | 4 ++--
vcl/source/gdi/CommonSalLayout.cxx | 9 ++++++++-
vcl/source/gdi/sallayout.cxx | 2 +-
vcl/source/outdev/font.cxx | 4 ++--
vcl/source/outdev/text.cxx | 6 ++++--
7 files changed, 22 insertions(+), 10 deletions(-)

Upstream: cgit.freedesktop.org


  • Share