diff options
author | Sven Gothel <[email protected]> | 2023-01-22 07:05:46 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2023-01-22 07:05:46 +0100 |
commit | f8a932f932bad986c649e287fd042210341cdcbf (patch) | |
tree | bbb83fdd63c0974668a83f880f1664c66bc2e12c /src/jogl/classes/jogamp/opengl/macosx/cgl | |
parent | f91bd273d59eef08d8ae2d8b2a86e8ba2c8f17ac (diff) |
MacOSXCGLContext: Fix typo in DEBUG output
Diffstat (limited to 'src/jogl/classes/jogamp/opengl/macosx/cgl')
-rw-r--r-- | src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXCGLContext.java | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXCGLContext.java b/src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXCGLContext.java index 42fc97b1a..c671a743b 100644 --- a/src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXCGLContext.java +++ b/src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXCGLContext.java @@ -897,7 +897,7 @@ public class MacOSXCGLContext extends GLContextImpl backingLayerHost = NativeWindowFactory.getOffscreenLayerSurface(drawable.getNativeSurface(), true); if(DEBUG) { - System.err.println("MaxOSXCGLContext.NSOpenGLImpl.associateDrawable: "+bound+", ctx "+toHexString(contextHandle)+ + System.err.println("MacOSXCGLContext.NSOpenGLImpl.associateDrawable: "+bound+", ctx "+toHexString(contextHandle)+ ", hasBackingLayerHost "+(null!=backingLayerHost)+", attachGLLayerCmd "+attachGLLayerCmd); // Thread.dumpStack(); } @@ -956,7 +956,7 @@ public class MacOSXCGLContext extends GLContextImpl backingLayerHost, ctx, gl3ShaderProgramName, pixelFormat, pbufferHandle, texID, chosenCaps.isBackgroundOpaque(), lastWidth, lastHeight, winSize[0], winSize[1] ); if(DEBUG) { - System.err.println("MaxOSXCGLContext.NSOpenGLImpl.associateDrawable(true).calayer: "+attachGLLayerCmd); + System.err.println("MacOSXCGLContext.NSOpenGLImpl.associateDrawable(true).calayer: "+attachGLLayerCmd); } OSXUtil.RunOnMainThread(false /* wait */, false /* kickNSApp */, attachGLLayerCmd); } else { // -> null == backingLayerHost @@ -981,7 +981,7 @@ public class MacOSXCGLContext extends GLContextImpl // All CALayer lifecycle ops are deferred on main-thread final DetachGLLayerCmd dCmd = new DetachGLLayerCmd(cmd); if(DEBUG) { - System.err.println("MaxOSXCGLContext.NSOpenGLImpl.associateDrawable(false).calayer: "+dCmd+" - "+Thread.currentThread().getName()); + System.err.println("MacOSXCGLContext.NSOpenGLImpl.associateDrawable(false).calayer: "+dCmd+" - "+Thread.currentThread().getName()); } OSXUtil.RunOnMainThread(false /* wait */, true /* kickNSApp */, dCmd); if( null != gl3ShaderProgram ) { @@ -1046,7 +1046,7 @@ public class MacOSXCGLContext extends GLContextImpl if(!insideContextMadeCurrent) { System.err.println(); } - System.err.println("MaxOSXCGLContext.makeCurrent Bug1398: recursive "+insideContextMadeCurrent+", nsViewChanged "+nsViewChanged+", isAWTEDT "+isAWTEventDispatchThread()+", "+Thread.currentThread()); + System.err.println("MacOSXCGLContext.makeCurrent Bug1398: recursive "+insideContextMadeCurrent+", nsViewChanged "+nsViewChanged+", isAWTEDT "+isAWTEventDispatchThread()+", "+Thread.currentThread()); System.err.println(" NSViewDescriptor: last "+lastNSViewDescr); System.err.println(" NSViewDescriptor: curr "+nsViewDescr); } @@ -1065,7 +1065,7 @@ public class MacOSXCGLContext extends GLContextImpl if( lockCGLContext ) { lastSetNSViewCmd = null; // done, no more required } else if( DEBUG1398 ) { - System.err.println("MaxOSXCGLContext.makeCurrent Bug1398: Skip CGLLockContext, "+Thread.currentThread()); + System.err.println("MacOSXCGLContext.makeCurrent Bug1398: Skip CGLLockContext, "+Thread.currentThread()); } } } else { @@ -1084,7 +1084,7 @@ public class MacOSXCGLContext extends GLContextImpl } else { cglContextLocked = false; if(DEBUG) { - System.err.println("MaxOSXCGLContext.makeCurrent: Could not lock context: err 0x"+Integer.toHexString(err)+": "+this); + System.err.println("MacOSXCGLContext.makeCurrent: Could not lock context: err 0x"+Integer.toHexString(err)+": "+this); } return false; } @@ -1108,7 +1108,7 @@ public class MacOSXCGLContext extends GLContextImpl final int surfaceLockCount = null != surfaceLock ? surfaceLock.getHoldCount() : 1; if(DEBUG1398) { - System.err.println("MaxOSXCGLContext.contextMadeCurrent.0 Bug1398: Cure missing CGLContextLock, "+Thread.currentThread()); + System.err.println("MacOSXCGLContext.contextMadeCurrent.0 Bug1398: Cure missing CGLContextLock, "+Thread.currentThread()); System.err.println(" SurfaceLock: "+surfaceLock); } // Reduce lock-count so context.release()'s surface.unlockSurface() will actually release the lock @@ -1129,7 +1129,7 @@ public class MacOSXCGLContext extends GLContextImpl t1 = Platform.currentTimeMillis(); } if(DEBUG1398) { - System.err.println("MaxOSXCGLContext.contextMadeCurrent.1 Bug1398: SetNSViewCmd[waited "+(t1-t0)+"ms, done "+_lastSetNSViewCmd.done+"], surfaceLock "+surfaceLock); + System.err.println("MacOSXCGLContext.contextMadeCurrent.1 Bug1398: SetNSViewCmd[waited "+(t1-t0)+"ms, done "+_lastSetNSViewCmd.done+"], surfaceLock "+surfaceLock); } lastSetNSViewCmd = null; // if !done due to timeout, avoid another !cglContextLocked and hence SetNSViewCmd issuance } @@ -1158,7 +1158,7 @@ public class MacOSXCGLContext extends GLContextImpl } } if( DEBUG1398 ) { - System.err.println("MaxOSXCGLContext.release Bug1398: recursive "+insideContextMadeCurrent+", cglContextLocked "+cglContextLocked+", isAWTEDT "+isAWTEventDispatchThread()+", "+Thread.currentThread()); + System.err.println("MacOSXCGLContext.release Bug1398: recursive "+insideContextMadeCurrent+", cglContextLocked "+cglContextLocked+", isAWTEDT "+isAWTEventDispatchThread()+", "+Thread.currentThread()); if(!insideContextMadeCurrent) { System.err.println(); } @@ -1387,7 +1387,7 @@ public class MacOSXCGLContext extends GLContextImpl try { CGL.setContextView(ctx, nsViewDescr.nsViewHandle); if (DEBUG1398) { - System.err.println("MaxOSXCGLContext.SetNSViewCmd Bug1398: OK, drawable "+toHexString(drawable.hashCode())+", "+nsViewDescr+" - "+getThreadName()); + System.err.println("MacOSXCGLContext.SetNSViewCmd Bug1398: OK, drawable "+toHexString(drawable.hashCode())+", "+nsViewDescr+" - "+getThreadName()); } } catch (final Throwable t) { System.err.println("Caught exception on thread "+getThreadName()); |