From cd5dc09d25e901c59eba9ec4a68858801fcee267 Mon Sep 17 00:00:00 2001 From: Prithvi Reddy Date: Thu, 21 Mar 2024 19:13:29 +0530 Subject: [PATCH] [PM-3316] Feature addition - Toggle Hardware Acceleration [Desktop] (#5968) Added a toggle for disabling/enabling hardware acceleration on Desktop client. Resolves #2615 --------- Co-authored-by: Hinton --- .../src/app/accounts/settings.component.html | 17 ++++++++++++ .../src/app/accounts/settings.component.ts | 12 +++++++++ .../src/app/services/services.module.ts | 6 +++++ apps/desktop/src/locales/en/messages.json | 6 +++++ apps/desktop/src/main.ts | 16 ++++++++++++ .../services/desktop-settings.service.ts | 26 +++++++++++++++++++ .../src/platform/state/state-definitions.ts | 1 + 7 files changed, 84 insertions(+) create mode 100644 apps/desktop/src/platform/services/desktop-settings.service.ts diff --git a/apps/desktop/src/app/accounts/settings.component.html b/apps/desktop/src/app/accounts/settings.component.html index 7a61a55ccff..b35d3ed2254 100644 --- a/apps/desktop/src/app/accounts/settings.component.html +++ b/apps/desktop/src/app/accounts/settings.component.html @@ -412,6 +412,23 @@

"enableBrowserIntegrationFingerprintDesc" | i18n }} +
+
+ +
+ {{ + "enableHardwareAccelerationDesc" | i18n + }} +