Пример #1
0
 @Override
 public SurfaceData createManagedSurface(int w, int h, int transparency) {
   return GLXSurfaceData.createData(
       this, w, h, getColorModel(transparency), null, OGLSurfaceData.TEXTURE);
 }
Пример #2
0
 /** Creates a new SurfaceData that will be associated with the given X11ComponentPeer. */
 @Override
 public SurfaceData createSurfaceData(X11ComponentPeer peer) {
   return GLXSurfaceData.createData(peer);
 }