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