< prev index next >
src/java.desktop/unix/classes/sun/java2d/opengl/GLXSurfaceData.java
Print this page
*** 38,56 ****
public abstract class GLXSurfaceData extends OGLSurfaceData {
protected X11ComponentPeer peer;
private GLXGraphicsConfig graphicsConfig;
! private native void initOps(X11ComponentPeer peer, long aData);
protected GLXSurfaceData(X11ComponentPeer peer, GLXGraphicsConfig gc,
ColorModel cm, int type)
{
super(gc, cm, type);
this.peer = peer;
this.graphicsConfig = gc;
! initOps(peer, graphicsConfig.getAData());
}
public GraphicsConfiguration getDeviceConfiguration() {
return graphicsConfig;
}
--- 38,57 ----
public abstract class GLXSurfaceData extends OGLSurfaceData {
protected X11ComponentPeer peer;
private GLXGraphicsConfig graphicsConfig;
! private native void initOps(OGLGraphicsConfig gc, X11ComponentPeer peer,
! long aData);
protected GLXSurfaceData(X11ComponentPeer peer, GLXGraphicsConfig gc,
ColorModel cm, int type)
{
super(gc, cm, type);
this.peer = peer;
this.graphicsConfig = gc;
! initOps(gc, peer, graphicsConfig.getAData());
}
public GraphicsConfiguration getDeviceConfiguration() {
return graphicsConfig;
}
< prev index next >