JOGLChecker.check(); pool = new HashMap<PBufferKey, GLPbuffer>( maxNumberOfBuffers ); maxTextureSize = determineMaxPBufferSize();
JOGLChecker.check(); LOG.info( "JOGL check ok." );
@Override public void init( DeegreeServicesMetadataType serviceMetadata, DeegreeServiceControllerType mainConf, Object controllerConf ) { LOG.info( "Checking for JOGL." ); JOGLChecker.check(); LOG.info( "JOGL status check successful." ); identification = serviceMetadata.getServiceIdentification(); provider = serviceMetadata.getServiceProvider(); DeegreeWPVS cfg = (DeegreeWPVS) controllerConf; NamespaceBindings nsContext = new NamespaceBindings(); nsContext.addNamespace( "wpvs", "http://www.deegree.org/services/wpvs" ); try { publishedInformation = cfg.getPublishedInformation(); parsePublishedInformation( nsContext, publishedInformation ); ServiceConfiguration sc = cfg.getServiceConfiguration(); service = new PerspectiveViewService( metadata.getLocation(), sc, workspace ); } catch ( ServiceInitException e ) { throw new ResourceInitException( e.getMessage(), e ); } }