Skip to content

Commit f82fae6

Browse files
author
lijiahao
committed
test
1 parent a7ef6cf commit f82fae6

1 file changed

Lines changed: 13 additions & 7 deletions

File tree

main/application.ts

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,17 +45,23 @@ export default class Application {
4545
);
4646
this._log = Debug("xstreaming");
4747

48-
ElectronApp.commandLine.appendSwitch('use-vulkan')
49-
// ElectronApp.commandLine.appendSwitch('use-angle', 'vulkan')
50-
ElectronApp.commandLine.appendSwitch('enable-features', 'Vulkan,VulkanFromANGLE,DefaultANGLEVulkan,VaapiIgnoreDriverChecks,VaapiVideoDecoder,PlatformHEVCDecoderSupport,CanvasOopRasterization')
51-
// ElectronApp.commandLine.appendSwitch('disable-features', 'UseChromeOSDirectVideoDecoder');
48+
// ElectronApp.commandLine.appendSwitch('use-vulkan')
49+
// // ElectronApp.commandLine.appendSwitch('use-angle', 'vulkan')
50+
// ElectronApp.commandLine.appendSwitch('enable-features', 'Vulkan,VulkanFromANGLE,DefaultANGLEVulkan,VaapiIgnoreDriverChecks,VaapiVideoDecoder,PlatformHEVCDecoderSupport,CanvasOopRasterization')
51+
// // ElectronApp.commandLine.appendSwitch('disable-features', 'UseChromeOSDirectVideoDecoder');
52+
// ElectronApp.commandLine.appendSwitch('enable-gpu-rasterization')
53+
// ElectronApp.commandLine.appendSwitch('enable-oop-rasterization')
54+
// ElectronApp.commandLine.appendSwitch('enable-accelerated-video-decode')
55+
// ElectronApp.commandLine.appendSwitch('ozone-platform-hint', 'x11')
56+
// ElectronApp.commandLine.appendSwitch('ignore-gpu-blocklist')
57+
// ElectronApp.commandLine.appendSwitch('no-sandbox');
58+
// ElectronApp.commandLine.appendSwitch('enable-zero-copy');
59+
60+
ElectronApp.commandLine.appendSwitch('ignore-gpu-blacklist')
5261
ElectronApp.commandLine.appendSwitch('enable-gpu-rasterization')
5362
ElectronApp.commandLine.appendSwitch('enable-oop-rasterization')
5463
ElectronApp.commandLine.appendSwitch('enable-accelerated-video-decode')
5564
ElectronApp.commandLine.appendSwitch('ozone-platform-hint', 'x11')
56-
ElectronApp.commandLine.appendSwitch('ignore-gpu-blocklist')
57-
ElectronApp.commandLine.appendSwitch('no-sandbox');
58-
ElectronApp.commandLine.appendSwitch('enable-zero-copy');
5965

6066
this.readStartupFlags();
6167
this.loadApplicationDefaults();

0 commit comments

Comments
 (0)