firstCaught = t; } else { GLException.dumpThrowable("subsequent", t); firstCaught = t; } else { GLException.dumpThrowable("subsequent", t);
/** * Default implementation to handle destroy notifications from the windowing system. * * <p> * If the {@link NativeSurface} does not implement {@link WindowClosingProtocol} * or {@link WindowClosingMode#DISPOSE_ON_CLOSE} is enabled (default), * a thread safe destruction is being induced. * </p> */ protected final void defaultWindowDestroyNotifyOp() { final NativeSurface ns = getNativeSurface(); final boolean shallClose; if(ns instanceof WindowClosingProtocol) { shallClose = WindowClosingMode.DISPOSE_ON_CLOSE == ((WindowClosingProtocol)ns).getDefaultCloseOperation(); } else { shallClose = true; } if( shallClose ) { try { destroyAvoidAwareOfLocking(); } catch( final Throwable t ) { // Intentionally catch and ignore exception, // so the destroy mechanism of the native windowing system is not corrupted! GLException.dumpThrowable("ignored", t); } } }
if(null==context) { if (DEBUG) { GLException.dumpThrowable("informal", new GLException("Info: GLDrawableHelper " + this + ".invokeGL(): NULL GLContext"));
flushGLRunnables(); if( null != contextReleaseCaught ) { GLException.dumpThrowable("subsequent", contextReleaseCaught);
flushGLRunnables(); if( null != contextReleaseCaught ) { GLException.dumpThrowable("subsequent", contextReleaseCaught);
GLException.dumpThrowable("subsequent", contextCloseCaught);