Beispiel #1
0
 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);
 }
Beispiel #2
0
 @Override
 protected SurfaceData createAccelSurface(GraphicsConfiguration gc, int width, int height) {
   return WGLSurfaceData.createData(
       (WGLGraphicsConfig) gc, width, height, gc.getColorModel(), bImg, OGLSurfaceData.PBUFFER);
 }