Print this page
rev 54883 : JDK-8220154 Improve java2d rendering performance on macOS by using Metal framework

Split Close
Expand all
Collapse all
          --- old/src/java.desktop/share/classes/sun/java2d/opengl/OGLGraphicsConfig.java
          +++ new/src/java.desktop/share/classes/sun/java2d/opengl/OGLGraphicsConfig.java
↓ open down ↓ 26 lines elided ↑ open up ↑
  27   27  
  28   28  import sun.java2d.SurfaceData;
  29   29  import sun.awt.image.SurfaceManager;
  30   30  import sun.java2d.pipe.hw.AccelGraphicsConfig;
  31   31  
  32   32  /**
  33   33   * This interface collects the methods that are provided by both
  34   34   * GLXGraphicsConfig and WGLGraphicsConfig, making it easier to invoke these
  35   35   * methods directly from OGLSurfaceData.
  36   36   */
  37      -interface OGLGraphicsConfig extends
       37 +public interface OGLGraphicsConfig extends
  38   38      AccelGraphicsConfig, SurfaceManager.ProxiedGraphicsConfig
  39   39  {
  40   40      OGLContext getContext();
  41   41      long getNativeConfigInfo();
  42   42      boolean isCapPresent(int cap);
  43   43      SurfaceData createManagedSurface(int w, int h, int transparency);
  44   44  }
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX