default to graphics accelaration
This commit is contained in:
@@ -107,7 +107,7 @@
|
||||
|
||||
wrapProgram $out/bin/jprototerm \
|
||||
--set GDK_BACKEND x11 \
|
||||
--set JAVA_TOOL_OPTIONS "-Dprism.order=sw" \
|
||||
--set JAVA_TOOL_OPTIONS "-Dprism.order=es2,sw -Dprism.verbose=true" \
|
||||
--prefix LD_LIBRARY_PATH : ${pkgs.lib.makeLibraryPath [ openjfx jlib ]}:${openjfx}/modules_libs/javafx.graphics \
|
||||
--prefix PATH : ${pkgs.lib.makeBinPath [ pkgs.util-linux pkgs.bash ]}
|
||||
|
||||
|
||||
@@ -78,7 +78,7 @@ public final class Main extends Application {
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
System.setProperty("prism.order", "sw");
|
||||
System.setProperty("prism.order", "es2,sw");
|
||||
System.setProperty("prism.verbose", "true");
|
||||
launch(Main.class, args);
|
||||
}
|
||||
|
||||
@@ -23,18 +23,21 @@
|
||||
"name": "com.sun.prism.es2.ES2Pipeline",
|
||||
"allDeclaredConstructors": true,
|
||||
"allPublicConstructors": true,
|
||||
"allDeclaredMethods": true,
|
||||
"allPublicMethods": true
|
||||
},
|
||||
{
|
||||
"name": "com.sun.prism.es2.X11GLFactory",
|
||||
"allDeclaredConstructors": true,
|
||||
"allPublicConstructors": true,
|
||||
"allDeclaredMethods": true,
|
||||
"allPublicMethods": true
|
||||
},
|
||||
{
|
||||
"name": "com.sun.prism.sw.SWPipeline",
|
||||
"allDeclaredConstructors": true,
|
||||
"allPublicConstructors": true,
|
||||
"allDeclaredMethods": true,
|
||||
"allPublicMethods": true
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user