File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
java/org.eclipse.set.browser/src/org/eclipse/set/browser/cef/handlers Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -40,15 +40,17 @@ public long get() {
40
40
private long get_browser_process_handler (final long app ) {
41
41
return browserProcessHandler .get ();
42
42
}
43
-
43
+
44
44
@ SuppressWarnings ({ "unused" , "static-method" }) // Called via JNI
45
45
private void on_before_command_line_processing (final long app , final long process_type , final long command_line ) {
46
46
// 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
+
47
50
cef_command_line_t .cefswt_append_switch (command_line , "disable-component-update" , null );
48
-
51
+
49
52
// If debugging is enabled, allow remote debugging
50
- if (ChromiumStatic .getCEFConfiguration ().DebugPort != 0 )
51
- {
53
+ if (ChromiumStatic .getCEFConfiguration ().DebugPort != 0 ) {
52
54
cef_command_line_t .cefswt_append_switch (command_line , "remote-allow-origins" , "*" );
53
55
}
54
56
}
You can’t perform that action at this time.
0 commit comments