add (Vulkan) blacklisting to Skia

Desktop / LibreOffice - Luboš Luňák [collabora.com] - 10 February 2020 09:09 EST

Currently there's nothing blacklisted, but this is the code. And there's not much point in blacklisting CPU-based raster Skia, so check only for Vulkan. Since this requires accessing Vulkan to get the driver info, this commit also reorganizes a bit getting a GrContext when there's no actual window, so that it's usable for the test.

Change-Id: I042af0470fb635d8ea471a40837bfcd102d7016f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88205

3081998ada2a add (Vulkan) blacklisting to Skia
external/skia/share-grcontext.patch.1 | 65 ++++++++++++++++++----------
vcl/inc/skia/utils.hxx | 4 ++
vcl/inc/skia/x11/gdiimpl.hxx | 5 +++
vcl/skia/SkiaHelper.cxx | 81 +++++++++++++++++++++++++++++++----
vcl/skia/gdiimpl.cxx | 16 +------
vcl/skia/x11/gdiimpl.cxx | 63 ++++++++++++++++++---------
6 files changed, 167 insertions(+), 67 deletions(-)

Upstream: cgit.freedesktop.org


  • Share