summaryrefslogtreecommitdiffstats
path: root/src/newt/classes
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2012-03-18 16:33:07 +0100
committerSven Gothel <[email protected]>2012-03-18 16:33:07 +0100
commitd570fa74d4fd22459aa1579749a7705949a2a748 (patch)
tree6e535ce86c531c36af3806789f778489e7c7a3dd /src/newt/classes
parent4c5d6c1b5570fe1ba2cfbbed46259f0a21534ff5 (diff)
Reduce Thread.dumpStack() in debug mode where no negative behavior appears or a stack trace may be helpful.
Diffstat (limited to 'src/newt/classes')
-rw-r--r--src/newt/classes/jogamp/newt/WindowImpl.java1
-rw-r--r--src/newt/classes/jogamp/newt/driver/android/AndroidWindow.java1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/newt/classes/jogamp/newt/WindowImpl.java b/src/newt/classes/jogamp/newt/WindowImpl.java
index c73f72cfd..6a0449e30 100644
--- a/src/newt/classes/jogamp/newt/WindowImpl.java
+++ b/src/newt/classes/jogamp/newt/WindowImpl.java
@@ -783,7 +783,6 @@ public abstract class WindowImpl implements Window, NEWTEventConsumer
public void setVisible(boolean visible) {
if(DEBUG_IMPLEMENTATION) {
System.err.println("Window setVisible: START ("+getThreadName()+") "+getX()+"/"+getY()+" "+getWidth()+"x"+getHeight()+", fs "+fullscreen+", windowHandle "+toHexString(windowHandle)+", visible: "+this.visible+" -> "+visible+", parentWindowHandle "+toHexString(parentWindowHandle)+", parentWindow "+(null!=parentWindow));
- Thread.dumpStack();
}
runOnEDTIfAvail(true, new VisibleAction(visible));
}
diff --git a/src/newt/classes/jogamp/newt/driver/android/AndroidWindow.java b/src/newt/classes/jogamp/newt/driver/android/AndroidWindow.java
index 26aa1a806..e747b9ea7 100644
--- a/src/newt/classes/jogamp/newt/driver/android/AndroidWindow.java
+++ b/src/newt/classes/jogamp/newt/driver/android/AndroidWindow.java
@@ -302,7 +302,6 @@ public class AndroidWindow extends jogamp.newt.WindowImpl implements Callback2 {
protected void createNativeImpl() {
Log.d(MD.TAG, "createNativeImpl 0 - surfaceHandle 0x"+Long.toHexString(surfaceHandle)+
", format "+format+", "+getX()+"/"+getY()+" "+getWidth()+"x"+getHeight()+" - "+Thread.currentThread().getName());
- Thread.dumpStack();
if(0!=getParentWindowHandle()) {
throw new NativeWindowException("Window parenting not supported (yet)");
}