[Libreoffice-commits] core.git: vcl/skia
LuboÅ¡ LuÅák (via logerrit)
logerrit at kemper.freedesktop.org
Thu Feb 13 15:03:09 UTC 2020
vcl/skia/SkiaHelper.cxx | 7 +++++++
1 file changed, 7 insertions(+)
New commits:
commit e76bb4eab607148381e70310ef9e22cc6213555a
Author: Luboš Luňák <l.lunak at collabora.com>
AuthorDate: Thu Feb 13 16:01:33 2020 +0100
Commit: Luboš Luňák <l.lunak at collabora.com>
CommitDate: Thu Feb 13 16:02:35 2020 +0100
make sure SAL_SKIA=vulkan also overrides settings
Change-Id: I2933fec07b594c47520087664f50d48184122818
diff --git a/vcl/skia/SkiaHelper.cxx b/vcl/skia/SkiaHelper.cxx
index c305c5275ea5..c0972ab2e0a0 100644
--- a/vcl/skia/SkiaHelper.cxx
+++ b/vcl/skia/SkiaHelper.cxx
@@ -180,6 +180,13 @@ static bool initRenderMethodToUse()
methodToUse = RenderRaster;
return true;
}
+ if (strcmp(env, "vulkan") == 0)
+ {
+ methodToUse = RenderVulkan;
+ return true;
+ }
+ SAL_WARN("vcl.skia", "Unrecognized value of SAL_SKIA");
+ abort();
}
if (officecfg::Office::Common::VCL::ForceSkiaRaster::get())
{
More information about the Libreoffice-commits
mailing list