public WGLVSyncOffScreenSurfaceData( WComponentPeer peer, WGLGraphicsConfig gc, int width, int height, Image image, ColorModel cm, int type) { super(peer, gc, width, height, image, cm, type); flipSurface = WGLSurfaceData.createData(peer, image, FLIP_BACKBUFFER); }
@Override protected SurfaceData createAccelSurface(GraphicsConfiguration gc, int width, int height) { return WGLSurfaceData.createData( (WGLGraphicsConfig) gc, width, height, gc.getColorModel(), bImg, OGLSurfaceData.PBUFFER); }