src/java.desktop/macosx/classes/sun/java2d/opengl/CGLGraphicsConfig.java
changeset 53673 e04d39094915
parent 52537 814c49afb1a7
child 57196 a95707a39ff5
child 58324 0aba35254e00
equal deleted inserted replaced
53672:f024302abefd 53673:e04d39094915
     1 /*
     1 /*
     2  * Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2011, 2019, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
   183     @Override
   183     @Override
   184     public long getNativeConfigInfo() {
   184     public long getNativeConfigInfo() {
   185         return pConfigInfo;
   185         return pConfigInfo;
   186     }
   186     }
   187 
   187 
   188     /**
       
   189      * {@inheritDoc}
       
   190      *
       
   191      * @see sun.java2d.pipe.hw.BufferedContextProvider#getContext
       
   192      */
       
   193     @Override
   188     @Override
   194     public OGLContext getContext() {
   189     public OGLContext getContext() {
   195         return context;
   190         return context;
   196     }
   191     }
   197 
   192 
   393         }
   388         }
   394 
   389 
   395         return vi;
   390         return vi;
   396     }
   391     }
   397 
   392 
   398     /**
       
   399      * {@inheritDoc}
       
   400      *
       
   401      * @see sun.java2d.pipe.hw.AccelGraphicsConfig#getContextCapabilities
       
   402      */
       
   403     @Override
   393     @Override
   404     public ContextCapabilities getContextCapabilities() {
   394     public ContextCapabilities getContextCapabilities() {
   405         return oglCaps;
   395         return oglCaps;
   406     }
   396     }
   407 
   397