diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2020-05-06 13:43:04 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2020-05-06 14:24:38 +0200 |
commit | 626ccb3c223b5c9e26875f63a8aa1ab11674cd72 (patch) | |
tree | 54ce53ed01e48cef02e6dfa02601cadd64a3b006 | |
parent | da2116dd2eeaedbd8d22f6f46da56ce212e2be15 (diff) |
allow disabling Skia's Vulkan use in safe mode (tdf#132439)
Change-Id: I2991ace387356f049fba1a730041bbb4c62c876c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93562
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
-rw-r--r-- | comphelper/source/misc/backupfilehelper.cxx | 5 | ||||
-rw-r--r-- | svx/uiconfig/ui/safemodedialog.ui | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/comphelper/source/misc/backupfilehelper.cxx b/comphelper/source/misc/backupfilehelper.cxx index e443c384d85b..5381f48a62aa 100644 --- a/comphelper/source/misc/backupfilehelper.cxx +++ b/comphelper/source/misc/backupfilehelper.cxx @@ -1914,6 +1914,11 @@ namespace comphelper "ForceOpenGL", "false")); xRootElement->appendChild(lcl_getConfigElement(xDocument, "/org.openoffice.Office.Common/Misc", "UseOpenCL", "false")); + // Do not disable Skia entirely, just force it's CPU-based raster mode. + xRootElement->appendChild(lcl_getConfigElement(xDocument, "/org.openoffice.Office.Common/VCL", + "ForceSkia", "false")); + xRootElement->appendChild(lcl_getConfigElement(xDocument, "/org.openoffice.Office.Common/VCL", + "ForceSkiaRaster", "true")); // write back uno::Reference< xml::sax::XSAXSerializable > xSerializer(xDocument, uno::UNO_QUERY); diff --git a/svx/uiconfig/ui/safemodedialog.ui b/svx/uiconfig/ui/safemodedialog.ui index c48526f3fc59..2a2a74afaf8d 100644 --- a/svx/uiconfig/ui/safemodedialog.ui +++ b/svx/uiconfig/ui/safemodedialog.ui @@ -213,7 +213,7 @@ You can make one or more of the following changes to your user profile to return </child> <child> <object class="GtkCheckButton" id="check_disable_hw_acceleration"> - <property name="label" translatable="yes" context="safemodedialog|check_disable_hw_acceleration">Disable hardware acceleration (OpenGL, OpenCL)</property> + <property name="label" translatable="yes" context="safemodedialog|check_disable_hw_acceleration">Disable hardware acceleration (OpenGL, OpenCL, Vulkan)</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> |