Re: [OpenJDK 2D-Dev] OGLGraphicsConfig

2009-10-19 Thread Mario Torre
Il 07/10/2009 19:07, Chris Campbell ha scritto: It's package-private because it's only accessed within the sun.java2d.opengl package, and in general we strive to reduce the visibility of classes/interfaces. The concrete GLX/WGL implementations also live in that package, so there was no reason to

Re: [OpenJDK 2D-Dev] OGLGraphicsConfig

2009-10-07 Thread Chris Campbell
It's package-private because it's only accessed within the sun.java2d.opengl package, and in general we strive to reduce the visibility of classes/interfaces. The concrete GLX/WGL implementations also live in that package, so there was no reason to make it public. There's probably no har

[OpenJDK 2D-Dev] OGLGraphicsConfig

2009-10-07 Thread Mario Torre
Hi all! Is there any reason why sun.java2d.OGLGraphicsConfig is not public? I would like to make it public so that I can have some more ways to reuse the code in the OpenGL pipeline, for example by having an EGL based implementation that doesn't depend on X11 at all. Of course, I could use a