< prev index next >

src/java.desktop/macosx/classes/sun/java2d/opengl/CGLSurfaceData.java

Print this page

        

@@ -61,10 +61,15 @@
         scale = type == TEXTURE ? 1 : gc.getDevice().getScaleFactor();
         this.width = width * scale;
         this.height = height * scale;
     }
 
+    public boolean canRenderLCDText(SunGraphics2D sg2d) {
+        // TODO: check LCD requirements
+        return true;
+    }
+
     protected CGLSurfaceData(CPlatformView pView, CGLGraphicsConfig gc,
                              ColorModel cm, int type,int width, int height)
     {
         this(gc, cm, type, width, height);
         this.pView = pView;
< prev index next >