File Revert-disable-hardware-acceleration.patch of Package signal-desktop
Revert an upstream change done for 5.62.0 and allow hardware acceleration again.
It can be disabled by the user in electron-flags.conf in case of driver problems.
--- a/app/main.ts
+++ b/app/main.ts
@@ -1614,12 +1614,6 @@ app.commandLine.appendSwitch('disable-features', 'HardwareMediaKeyHandling');
)}`;
app.commandLine.appendSwitch('disable-features', featuresToDisable);
-// <canvas/> rendering is often utterly broken on Linux when using GPU
-// acceleration.
-if (DISABLE_GPU) {
- app.disableHardwareAcceleration();
-}
-
// This has to run before the 'ready' event.
electronProtocol.registerSchemesAsPrivileged([
{