summaryrefslogtreecommitdiffstats
path: root/include/comphelper
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2016-10-20 18:15:05 +0200
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2016-11-01 14:54:04 +0000
commit1161de521e2a828d292f673a05c1344a295e4cae (patch)
treeb0555953ea12ae79a10593ed0e16081d400a8b99 /include/comphelper
parentsysui: add "translate" urls to AppData files (diff)
downloadcore-1161de521e2a828d292f673a05c1344a295e4cae.tar.gz
core-1161de521e2a828d292f673a05c1344a295e4cae.zip
safemode: Add option to disable H/W acceleration
Change-Id: Ic6751717c14d317b5a4bc64c4fd1cf2b2f5efabf Reviewed-on: https://gerrit.libreoffice.org/30112 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'include/comphelper')
-rw-r--r--include/comphelper/backupfilehelper.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/comphelper/backupfilehelper.hxx b/include/comphelper/backupfilehelper.hxx
index 08572510e4b2..5d3173f28b68 100644
--- a/include/comphelper/backupfilehelper.hxx
+++ b/include/comphelper/backupfilehelper.hxx
@@ -167,6 +167,9 @@ namespace comphelper
static bool isTryDeinstallAllExtensionsPossible();
static void tryDeinstallAllExtensions();
+ /// Disables OpenGL and OpenCL
+ static void tryDisableHWAcceleration();
+
/** resets User-Customizations like Settings and UserInterface modifications
*/
static bool isTryResetCustomizationsPossible();