diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2020-04-09 15:47:34 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2020-04-10 21:15:33 +0200 |
commit | e3f5e49ac3aff3db9491b57e001579729f21bd56 (patch) | |
tree | 7a2134ccba8a6ff37b52550c37ab82fcfc93aaa3 /vcl/inc/driverblocklist.hxx | |
parent | ad65fa305cc73ae0bbed44e140c11ad5638ce440 (diff) |
dump info about Skia and Vulkan drivers to a log file
Apparently it's hard for users to find out the actual Vulkan driver
version (as compared to the marketing version), which is needed
for blacklisting. And raster performance is noticeably better
if Skia is compiled using Clang. So just dump the info to
<cachedir>/skia.log (where on Windows the <cachedir> should be
AppData\Roaming\LibreOffice\4\cache).
Change-Id: Iafbc32637579b831275c60554f064479a326b917
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91980
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'vcl/inc/driverblocklist.hxx')
-rw-r--r-- | vcl/inc/driverblocklist.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/inc/driverblocklist.hxx b/vcl/inc/driverblocklist.hxx index c9b83b3f365e..8c1747be472f 100644 --- a/vcl/inc/driverblocklist.hxx +++ b/vcl/inc/driverblocklist.hxx @@ -36,6 +36,8 @@ const int DeviceVendorMax = VendorMicrosoft + 1; /// Returns vendor for the given vendor ID, or VendorAll if not known. VCL_DLLPUBLIC DeviceVendor GetVendorFromId(uint32_t id); +VCL_DLLPUBLIC OUStringLiteral GetVendorNameFromId(uint32_t id); + // The rest should be private (only for the unittest). struct InvalidFileException |