Skip to content

Commit

Permalink
chore: enable Vulkan, OpenGL, WebGPU
Browse files Browse the repository at this point in the history
  • Loading branch information
ChugunovRoman committed Nov 9, 2023
1 parent 89054eb commit 0e21ded
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/main/App.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,14 @@ export default class App {
// Full flags reference: https://peter.sh/experiments/chromium-command-line-switches/
// app.commandLine.appendSwitch("no-sandbox");
// app.commandLine.appendSwitch("ignore-gpu-blocklist");
// app.commandLine.appendSwitch("enable-gpu-rasterization");
// app.commandLine.appendSwitch("enable-video-decode");
// app.commandLine.appendSwitch("enable-accelerated-2d-canvas");
// app.commandLine.appendSwitch("enable-experimental-canvas-features");

app.commandLine.appendSwitch("enable-gpu-rasterization");
app.commandLine.appendSwitch("enable-unsafe-webgpu");
app.commandLine.appendSwitch("use-vulkan");

const colorSpace = storage.settings.app.enableColorSpaceSrgb;

if (colorSpace) {
Expand Down

0 comments on commit 0e21ded

Please sign in to comment.