< prev index next >

src/java.desktop/unix/classes/sun/java2d/xr/XRSurfaceData.java

Print this page

        

@@ -31,11 +31,10 @@
 import sun.awt.*;
 import sun.java2d.InvalidPipeException;
 import sun.java2d.SunGraphics2D;
 import sun.java2d.SurfaceData;
 import sun.java2d.SurfaceDataProxy;
-import sun.java2d.jules.*;
 import sun.java2d.loops.*;
 import sun.java2d.pipe.*;
 import sun.java2d.x11.*;
 import sun.font.FontManagerNativeLibrary;
 

@@ -144,17 +143,10 @@
                 }
                 // custom paints handled by super.validatePipe() below
             }
         }
 
-        if (sg2d.antialiasHint == SunHints.INTVAL_ANTIALIAS_ON &&
-            JulesPathBuf.isCairoAvailable())
-        {
-            sg2d.shapepipe = aaShapePipe;
-            sg2d.drawpipe = aaPixelToShapeConv;
-            sg2d.fillpipe = aaPixelToShapeConv;
-        } else {
             if (txPipe != null) {
                 if (sg2d.transformState >= SunGraphics2D.TRANSFORM_TRANSLATESCALE) {
                     sg2d.drawpipe = txPipe;
                     sg2d.fillpipe = txPipe;
                 } else if (sg2d.strokeState != SunGraphics2D.STROKE_THIN) {

@@ -168,11 +160,10 @@
             } else {
                 if (!validated) {
                     super.validatePipe(sg2d);
                 }
             }
-        }
 
         // install the text pipe based on our earlier decision
         sg2d.textpipe = textpipe;
 
         // always override the image pipe with the specialized XRender pipe

@@ -526,15 +517,10 @@
                 xrpipe = new XRRenderer(maskBuffer.getMaskBuffer());
                 xrtxpipe = new PixelToShapeConverter(xrpipe);
                 xrtextpipe = maskBuffer.getTextRenderer();
                 xrDrawImage = new XRDrawImage();
 
-                if (JulesPathBuf.isCairoAvailable()) {
-                    aaShapePipe =
-                       new JulesShapePipe(XRCompositeManager.getInstance(this));
-                    aaPixelToShapeConv = new PixelToShapeConverter(aaShapePipe);
-                }
             } finally {
                 SunToolkit.awtUnlock();
             }
         }
     }
< prev index next >