Skip to content

Commit 64614ae

Browse files
authored
Disable swiftshader due to crashes (#107)
1 parent 74c45f5 commit 64614ae

File tree

1 file changed

+6
-4
lines changed
  • java/org.eclipse.set.browser/src/org/eclipse/set/browser/cef/handlers

1 file changed

+6
-4
lines changed

java/org.eclipse.set.browser/src/org/eclipse/set/browser/cef/handlers/AppHandler.java

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,17 @@ public long get() {
4040
private long get_browser_process_handler(final long app) {
4141
return browserProcessHandler.get();
4242
}
43-
43+
4444
@SuppressWarnings({ "unused", "static-method" }) // Called via JNI
4545
private void on_before_command_line_processing(final long app, final long process_type, final long command_line) {
4646
// Disable updating Chromium components from Google servers
47+
cef_command_line_t.cefswt_append_switch(command_line, "use-gl", "angle");
48+
cef_command_line_t.cefswt_append_switch(command_line, "use-angle", "vulkan");
49+
4750
cef_command_line_t.cefswt_append_switch(command_line, "disable-component-update", null);
48-
51+
4952
// If debugging is enabled, allow remote debugging
50-
if(ChromiumStatic.getCEFConfiguration().DebugPort != 0)
51-
{
53+
if (ChromiumStatic.getCEFConfiguration().DebugPort != 0) {
5254
cef_command_line_t.cefswt_append_switch(command_line, "remote-allow-origins", "*");
5355
}
5456
}

0 commit comments

Comments
 (0)