modules/graphics/src/main/java/com/sun/prism/impl/PrismSettings.java
Print this page
*** 88,97 ****
--- 88,98 ----
public static final boolean perfLogFirstPaintExit;
public static final boolean superShader;
public static final boolean skipMeshNormalComputation;
public static final boolean forceUploadingPainter;
public static final boolean forceAlphaTestShader;
+ public static final boolean forceNonAntialiasedShape;
private PrismSettings() {
}
*** 349,358 ****
--- 350,362 ----
forceUploadingPainter = getBoolean(systemProperties, "prism.forceUploadingPainter", false);
// Force the use of fragment shader that does alpha testing (i.e. discard if alpha == 0.0)
forceAlphaTestShader = getBoolean(systemProperties, "prism.forceAlphaTestShader", false);
+ // Force non anti-aliasing (not smooth) shape rendering
+ forceNonAntialiasedShape = getBoolean(systemProperties, "prism.forceNonAntialiasedShape", false);
+
}
private static int parseInt(String s, int dflt, int trueDflt,
String errMsg) {
return "true".equalsIgnoreCase(s)