diff --git a/index.js b/index.js index 4e6e7dd..56377fd 100644 --- a/index.js +++ b/index.js @@ -2216,7 +2216,12 @@ if (isElectron()) { }; - // electronApp.commandLine.appendSwitch("--ignore-gpu-blacklist"); + + electronApp.commandLine.appendSwitch('ignore-gpu-blacklist', 'true') + electronApp.commandLine.appendSwitch('enable-gpu-rasterization', 'true') + electronApp.commandLine.appendSwitch('enable-zero-copy', 'true') + electronApp.commandLine.appendSwitch('disable-software-rasterizer', 'true') + electronApp.commandLine.appendSwitch('enable-native-gpu-memory-buffers', 'true') // This method will be called when Electron has finished // initialization and is ready to create browser windows. diff --git a/package.json b/package.json index d3f61b1..fb7d696 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "OpenBuildsMachineDriver", - "version": "1.0.103", + "version": "1.0.104", "license": "AGPL-3.0", "description": "Machine Interface Driver for OpenBuilds", "author": "github.com/openbuilds ",