default to graphics accelaration

This commit is contained in:
Gregor Lohaus
2026-05-27 16:18:04 +02:00
parent a2de5118c1
commit addeed6f30
3 changed files with 5 additions and 2 deletions

View File

@@ -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 ]}

View File

@@ -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);
}

View File

@@ -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
}
]