modules/graphics/src/main/java/com/sun/prism/impl/PrismSettings.java

Print this page

        

@@ -88,10 +88,11 @@
     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,10 +350,13 @@
         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)